1(globalThis.wpRiseJsonp=globalThis.wpRiseJsonp||[]).push([["defaultVendors-node_modules_pnpm_articulate_react-image_0_0_10_react_19_2_5_node_modules_arti-bc8279","node_modules_pnpm_react_19_2_5_node_modules_react_jsx-runtime_js"],{39975(f,d,e){"use strict";e.d(d,{A:()=>qe});var n=e(9608),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),E=e(77372),w=e.n(E),T=e(78717),C=e.n(T),O=e(95272),R=e.n(O),B=e(71920),M=e.n(B),F=e(78696),H=e.n(F);const U=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];function W(ye,xe,De){return`${ye}/${De}/${xe}`}const X=C()(U),te=ye=>!Number.isNaN(Number(ye)),q=i()(2,ye=>{const xe=H()(te,w()(ye));return R()(X,l()({h:xe,height:xe,w:xe,width:xe}),M(),v()(g()(":")),g()(","))}),ae=ye=>{const{imagesUri:xe,hidpi:De,imageKey:Fe}=ye;if(Fe==null)return;const ke=q(De?2:1,ye);return{backgroundImage:`url("${W(xe,Fe,ke)}")`}};function le(ye,xe){xe===void 0&&(xe={});var De=xe.insertAt;if(!(!ye||typeof document>"u")){var Fe=document.head||document.getElementsByTagName("head")[0],be=document.createElement("style");be.type="text/css",De==="top"&&Fe.firstChild?Fe.insertBefore(be,Fe.firstChild):Fe.appendChild(be),be.styleSheet?be.styleSheet.cssText=ye:be.appendChild(document.createTextNode(ye))}}var pe=".styles_image__32Tdo{display:inline-block}",ge={image:"styles_image__32Tdo"};le(pe,{insertAt:"top"});const Ie=a()(["imagesUri","imageKey","hidpi","style",...U]),Ce=ye=>({...ye.style,...ae(ye)}),Je=({alt:ye,...xe})=>n.createElement("span",Object.assign({"aria-label":ye,className:ge.image,role:"img",style:Ce(xe)},Ie(xe)));Je.defaultProps={alt:"Image",imagesUri:"",style:{}};const qe=Je},9385(f,d,e){"use strict";e.d(d,{A:()=>Os});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(35807),h=e(40376),v=e.n(h);const E=ir=>g.A.create({baseURL:ir,withCredentials:!0}),w=v()(String,E);async function T(ir,Bt,sr){const{email:Cr,googleIdToken:Fn,password:Pe,tenantId:Be}=sr;try{const it=Fn?{tenantId:Be,token:Fn}:{password:Pe,tenantId:Be,username:Cr},st=Fn?"google/signin":"signin";await w(ir.HEYOKRA_AUTH_SERVICE_URI).post(st,it)}catch(it){throw Object.assign(new Error,it.response.data)}}const C=m()(3,T);var O=e(29705),R=e.n(O),B=e(34919),M=e.n(B);async function F(ir,Bt,sr){const{email:Cr,login:Fn,oktaNamespace:Pe,password:Be}=sr;try{const it=await w(ir.AUTH_SERVICE_URI).post("/api/v1/authn",{password:Be,username:Fn||`${Pe}/${Cr}`,options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});if(M()(["data","status"],"LOCKED_OUT",it)){const st=new Error("User Locked Out");throw st.response={data:{errorCode:"USER_LOCKED_OUT"}},st}return R()(["data","sessionToken"],it)}catch(it){throw Object.assign(new Error,it.response.data)}}const H=m()(3,F);async function U(ir,Bt,sr){const{idp:Cr}=sr;return Cr==="heyokra"?await C(ir,Bt,sr):await H(ir,Bt,sr)}const W=m()(3,U);var X=e(5968),te=e.n(X),q=e(60549),ae=e.n(q),le=e(27256),pe=e.n(le);function ge(){return window.tenant&&window.tenant.idp==="heyokra"}async function Ie(ir,Bt,sr,Cr){Cr.clear();const Fn=ge()?sr.HEYOKRA_AUTH_SERVICE_URI:sr.AUTH_SERVICE_URI;await w(Fn).delete("/api/v1/sessions/me").then(ae()(()=>Bt.emit&&ir.emit("session:closed"))).catch(pe()(M()(["response","status"],404),te()))}const Ce=m()(4,Ie);var Je=e(56731),qe=e.n(Je),ye=e(67513),xe=e.n(ye),De=e(23813),Fe=e.n(De);const be=Fe()(9),ke=xe()(qe());function Ge(ir){const{client_id:Bt,issuer:sr,idp:Cr,nonce:Fn,prompt:Pe="none",redirect_uri:Be=window.location.origin,response_mode:it,scope:st,sessionToken:jt,state:Gt}=ir,ar=new URLSearchParams(ke({client_id:Bt,idp:Cr,nonce:Fn||be(),prompt:Pe,redirect_uri:Be,response_mode:it,response_type:"id_token token",scope:st,sessionToken:jt,state:Gt}));return Object.assign(new URL(`${sr}/v1/authorize`,window.location.origin),{search:ar.toString()}).toString()}var Xe=e(17892),At=e.n(Xe);class yt extends At(){constructor(...Bt){super(...Bt),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",this._handleMessage.bind(this))}emit(...Bt){super.emit(...Bt),navigator.serviceWorker&&navigator.serviceWorker.ready.then(sr=>{sr.active.postMessage({jsonrpc:"2.0",method:"emit",params:Bt})})}_handleMessage(Bt){Bt.data&&Bt.data.jsonrpc==="2.0"&&Bt.data.method==="emit"&&super.emit(...Bt.data.params)}}var kt=e(71556),Nt=e.n(kt),Ir=e(63579),yr=e.n(Ir),Wr=e(78575),$r=e.n(Wr),sn=e(24769),Hr=e.n(sn),pt=e(13463),et=e.n(pt),wr=e(58613),Dr=e.n(wr),Sr=e(47598),kr=e.n(Sr),qt=e(84978),Sn=e.n(qt),dr=e(50291),Nr=e.n(dr),un=e(6067),Xt=e.n(un),br=e(31904),$t=e.n(br),wt=e(78312),Ar=e.n(wt),Q=e(43015),ut=e.n(Q),tr=e(17232),rt=e.n(tr),_t=e(46127),Yr=e.n(_t),ln=e(41522),cn=e.n(ln),gn=e(95736),wi=e.n(gn),ki=e(42266),Ur=e.n(ki),Bi=e(82336),bs=e.n(Bi),Di=e(2072),on=e.n(Di);function fi(ir,Bt){return Math.round(ir+Math.random()+(Bt-ir))}function qi(ir,Bt){return Bt&&fi(0,ir*Bt**2)}function ri(ir={},Bt){const{base:sr=700,tries:Cr=10,when:Fn=on()}=ir;function Pe(...Be){let it=0;function st(){return Nt().resolveAfter(qi(sr,it)).chain(Gt)}function jt(ar){return++it<Cr?st():Nt().Rejected(ar)}function Gt(){return Bt(...Be).bichain(Ar()(Fn,jt,Nt().Rejected),Nt().of)}return Gt()}return Pe}const Vi=m()(2,ri);var si=e(49118),ks=e.n(si);function cr(ir,Bt){if(ir.length!==Bt.length)return!1;for(var sr=0;sr<ir.length;sr++)if(ir[sr]!==Bt[sr])return!1;return!0}function fe(ir,Bt){Bt===void 0&&(Bt=cr);var sr,Cr=[],Fn,Pe=!1;function Be(){for(var it=[],st=0;st<arguments.length;st++)it[st]=arguments[st];return Pe&&sr===this&&Bt(it,Cr)||(Fn=ir.apply(this,it),Pe=!0,sr=this,Cr=it),Fn}return Be}const Qe=fe(ks()),mt=5e3,xt=Symbol("TimeoutError");
1class Mr extends Error{constructor(){super("Authorization timed out")}}Mr.prototype[xt]=!0;const vn=Vi({tries:2,when:ir=>ir[xt]}),Ut={};let Yn=0;const mi=v()(Yr()("AUTH_SERVICE_URI"),ir=>{window.addEventListener("message",Bt=>{const{origin:sr}=new URL(ir.AUTH_SERVICE_URI,window.location.origin);if(Bt.origin===sr){const{data:{access_token:Cr,error:Fn,error_description:Pe,id_token:Be,state:it}={}}=Bt,st=Ut[it];st&&(Fn?st.reject(new Error([Fn,Pe].join(", "))):st.resolve({access_token:Cr,id_token:Be}))}})});function yn(ir,Bt,sr){return new(Nt())((Cr,Fn)=>{const Pe=ae()(()=>{delete Ut[Be],document.body.removeChild(st)});mi(ir);const Be=Yn++,it=be(),st=document.createElement("iframe");return st.style.display="none",document.body.appendChild(st),Nt()((jt,Gt)=>{const ar=ge(),ur={resolve:Gt,reject:jt};Ut[Be]=ur,st.addEventListener("error",bs()(jt,Yr()("error"))),st.src=Ge({client_id:ir.OKTA_CLIENT_ID,issuer:ar?ir.HEYOKRA_OIDC_ISSUER_URI:ir.OIDC_ISSUER_URI,nonce:it,redirect_uri:ir.REDIRECT_URI,response_mode:ar?"post_message":"okta_post_message",scope:ir.OIDC_SCOPE,sessionToken:sr,state:Be})}).race(Nt().rejectAfter(mt,new Mr)).chain(({id_token:jt,access_token:Gt})=>{const ar=jt?Qe(jt):null;return it!==ar.nonce?Nt().Reject(new Error(`Expected nonce ${it} but received ${ar.nonce}`)):(Bt.set(jt,Gt),Nt().of(Bt.get()))}).bimap(Pe,Pe).fork(Cr,Fn,Pe)})}const ji=({AUTH_SERVICE_URI:ir},Bt)=>[ir,Bt].join("|");function Tn(ir){const Bt={};return function(...Cr){return Nt()((Fn,Pe)=>{const Be={resolve:Pe,reject:Fn},it=ji(...Cr),st=Symbol();Bt[it]==null&&(Bt[it]={listeners:new Map});const jt=Bt[it];if(jt.listeners.set(st,Be),jt.listeners.size===1){const Gt=ar=>ur=>{const Un=[];for(const An of jt.listeners.values())try{An[ar](ur)}catch(jn){Un.push(jn)}if(delete Bt[it],Un.length>0)throw Un[0]};jt.cancel=ir(...Cr).fork(Gt("reject"),Gt("resolve"))}return function(){jt.listeners.delete(st),jt.listeners.size===0&&jt.cancel&&jt.cancel()}})}}const Cs=m()(3,Tn(vn(yn))),$i=ir=>window.fetch(ir.clone()),gs=Promise.reject.bind(Promise),vs=ir=>ir instanceof Response,Vt=ir=>cn()(ir,"status"),hr=Dr()(vs,Vt(ut()(500))),rn=kr()(vs),zn=Sn()(pe()(Yr()("ok"),gs),$i),$n=et()({when:Nr()(hr,rn),tries:3},zn),bn=Ur()(2,ir=>Dr()(yr()($t()("OKTA_CLIENT_ID",ir)),Vt($r()(s()(Xt(),[401,403]))))),ni=rt()([],["roles"]),ai=rt()("",["subscription","status"]),yi=r()((ir,Bt,[,sr])=>{const[Cr,Fn]=[Bt,sr].map(ni),[Pe,Be]=[Bt,sr].map(ai);wi()(Cr,Fn).length>0&&ir.emit("change:roles",sr,Bt),Pe!==Be&&ir.emit("change:status",sr,Bt)}),es=ir=>window.location.hostname.includes(ir),Ei=r()((ir,{RISE_ACCOUNTS_URI:Bt,RISE_DOMAIN:sr},Cr)=>es(sr)&&Bt&&Cr.message.includes("redirect_uri")?Hr()({method:"GET",url:`${Bt}/api/subdomain_active`}).chain(({data:Fn})=>(Fn===!1?ir.emit("change:subdomain"):ir.emit("unauthorized",Cr),Nt().Rejected(Cr))).toPromise():(Cr instanceof DOMException&&Cr.name==="AbortError"||ir.emit("unauthorized",Cr),Promise.reject(Cr))),Hi=r()((ir,Bt,sr,Cr)=>{if(sr!=null&&sr.sub!==Cr[1].sub)throw ir.emit("unauthorized",Bt),Bt;return Cr}),zi=(ir,Bt)=>new Promise((sr,Cr)=>{if(!(Bt instanceof AbortSignal)){ir.fork(Cr,sr);return}const Fn=()=>Cr(new DOMException("Aborted","AbortError"));if(Bt.aborted){Fn();return}let Pe=Function.prototype;const Be=()=>Pe();Bt.addEventListener("abort",Be);const it=st=>jt=>{Bt.removeEventListener("abort",Be),st(jt)};Pe=ir.fork(it(Cr),it(sr),it(Fn))}),us=r()((ir,Bt,sr,Cr,Fn)=>{const[,Pe]=sr.get();return zi(Cs(Bt,sr,void 0),Cr.signal).then(Hi(ir,Fn,Pe),Ei(ir,Bt)).then(ae()(yi(ir,Pe))).then(()=>$n(Cr))}),Ss=Ur()(5,(ir,Bt,sr,Cr)=>Ar()(bn(Bt),us(ir,Bt,sr,Cr),gs)),as=pe()(vs,gs),$s=ir=>(Bt,sr,Cr,Fn)=>{const Pe=new Request(Cr,Fn);return $n(Pe).catch(Ss(ir,Bt,sr,Pe)).catch(as)};var Es=e(55595),ls=e.n(Es);function Ts(ir){return ir!=null&&typeof ir=="object"&&ir["@@functional/placeholder"]===!0}function de(ir){return function Bt(sr){return arguments.length===0||Ts(sr)?Bt:ir.apply(this,arguments)}}function $e(ir){return function Bt(sr,Cr){switch(arguments.length){case 0:return Bt;case 1:return Ts(sr)?Bt:de(function(Fn){return ir(sr,Fn)});default:return Ts(sr)&&Ts(Cr)?Bt:Ts(sr)?de(function(Fn){return ir(Fn,Cr)}):Ts(Cr)?de(function(Fn){return ir(sr,Fn)}):ir(sr,Cr)}}}var Pt=$e(function(Bt,sr){for(var Cr={},Fn=0;Fn<Bt.length;)Bt[Fn]in sr&&(Cr[Bt[Fn]]=sr[Bt[Fn]]),Fn+=1;return Cr});const or=Pt;var tn=e(94211);const Vn=(...ir)=>
1Cs(...ir).toPromise(),Ri=m()(3,Vn),ts=new URLSearchParams(window.location.hash.substr(1));let ss=ts.get("id_token"),Li=ts.get("access_token");ss&&(ts.delete("id_token"),window.history.replaceState(null,null,`#${ts.toString()}`)),Li&&(ts.delete("access_token"),ts.delete("expires_in"),ts.delete("scope"),ts.delete("token_type"),window.history.replaceState(null,null,`#${ts.toString()}`));async function Ia(ir,Bt){return ss?(Bt.set(ss,Li),ss=Li=void 0):Bt.get()[0]||await Ri(ir,Bt,void 0),Bt.get()}async function Sa(ir,Bt){return Bt.clear(),await Ia(ir,Bt)}const ha=2,Qa=250;class _s{constructor(Bt,sr,...Cr){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=Bt,this._state=sr,this._errorEmitter=new(At()),this._closed=!1,this._params=Cr,this._listeners={},this._resetRetryTimes(),this._init()}_emitError(Bt){this._errorEmitter.emit("error",new ErrorEvent("error",{colno:Bt.colno,error:Bt,filename:Bt.filename,lineno:Bt.lineno,message:Bt.message}))}_init(){if(!this._closed){this._source=new tn.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 Bt in this._listeners)for(const sr of this._listeners[Bt])this._source.addEventListener(Bt,sr)}}_onError(Bt){Bt.status>=500&&this._retryAttempts>0?(this._retryTimeout=setTimeout(this._initDelegate,this._retryIn),this._retryAttempts--,this._retryIn=Qa*2**(ha-this._retryAttempts+1)):(Bt.status===401||Bt.status===403)&&this._retryAuthz?(Sa(this._env,this._state).then(this._initDelegate).catch(this._emitErrorDelegate),this._retryAuthz=!1):this._errorEmitter.emit("error",Bt)}_resetRetryTimes(){this._retryAttempts=ha,this._retryAuthz=!0,this._retryIn=Qa}addEventListener(Bt,sr){Bt==="error"?this._errorEmitter.on("error",sr):(this._listeners[Bt]=this._listeners[Bt]||[],this._listeners[Bt].push(sr),this._source.addEventListener(Bt,sr))}close(){return this._closed=!0,clearTimeout(this._retryTimeout),this._source.close()}dispatchEvent(...Bt){return this._source.dispatchEvent(...Bt)}removeEventListener(Bt,sr){Bt==="error"?this._errorEmitter.off("error",sr):(ls()(this._listeners[Bt],[sr]),this._source.removeEventListener(Bt,sr))}}["onerror","onmessage","onopen"].forEach(ir=>{Object.defineProperty(_s.prototype,ir,{get(){return this[`_${ir}`]},set(Bt){this[`_${ir}`]=this._source[ir]=Bt}})}),["readyState","url","withCredentials"].forEach(ir=>{Object.defineProperty(_s.prototype,ir,{get(){return this._source[ir]}})}),Object.assign(_s.prototype,or(["CONNECTING","OPEN","CLOSED"],tn.EventSourcePolyfill.prototype));function fr(ir,Bt){return class extends _s{constructor(...sr){super(ir,Bt,...sr)}}}const Aa=M()(["response","status"],404),en=ir=>w(ir).post("/api/v1/sessions/me/lifecycle/refresh",void 0,{headers:{Prefer:"return=minimal"}});async function pa(ir,Bt,sr,Cr){if(ge())return;const Fn={base:1e3,tries:5,when:Pe=>!Aa(Pe)};await et()(Fn,en)(sr.AUTH_SERVICE_URI).then(ae()(()=>Bt.emit&&ir.emit("session:refreshed"))).catch(Pe=>{throw Aa(Pe)&&(Cr.clear(),Bt.emit&&ir.emit("session:closed")),Pe})}const Pa=m()(4,pa);var Xs=e(11993),Hs=e.n(Xs),ao=e(39136),Wa=e.n(ao);function Co(ir,Bt){return ir?Nt()((sr,Cr)=>{let Fn=!1;const Pe=st=>jt=>{Fn=!0,clearTimeout(it),st(jt)},Be=Bt.fork(Pe(sr),Pe(Cr),Pe(Function.prototype)),it=setTimeout(()=>{Fn||(Be(),sr(new Error(`Timeout after ${ir}ms`)))},ir);return Be}):Bt}const _o=m()(2,Co),Oo=ir=>Wa()(ir,["response","status"]),Ks=r()(ir=>Dr()(yr()($t()("OKTA_CLIENT_ID",ir)),Oo($r()(s()(Xt(),[401,403]))))),Mi=Oo(ut()(500)),Me=kr()(Oo(Boolean)),je=ir=>{const{backoffBase:Bt}=ir,sr={base:Bt,when:Nr()(Mi,Me),tries:5};return Vi(sr,Hr())(ir)},Ot=rt()([],["roles"]),Wt=rt()("",["subscription","status"]),Br=r()((ir,Bt,[,sr])=>{const[Cr,Fn]=[Bt,sr].map(Ot),[Pe,Be]=[Bt,sr].map(Wt);wi()(Cr,Fn).length>0&&ir.emit("change:roles",sr,Bt),Pe!==Be&&ir.emit("change:status",sr,Bt)}),Vr=ir=>window.location.hostname.includes(ir),an=r()((ir,{RISE_ACCOUNTS_URI:Bt,RISE_DOMAIN:sr},Cr)=>Vr(sr)&&Bt&&Cr.message.includes("redirect_uri")?Hr()({method:"GET",url:`${Bt}/api/subdomain_active`}).chain(({data:Fn})=>(Fn===!1?ir.emit("change:subdomain"):ir.emit("unauthorized",Cr),Nt().Rejected(Cr))):(ir.emit("unauthorized",Cr),Nt().Rejected(Cr))),ii=r()((ir,Bt,sr,Cr)=>sr!=null&&sr.sub!==Cr[1].sub?(ir.emit("unauthorized",Bt),Nt().Rejected(Bt)):Nt().of(Cr)),Yi=r()((ir,Bt,sr,Cr,Fn)=>{const[,Pe]=sr.get();return Cs(Bt,sr,void 0).bichain(an(ir,Bt),ii(ir,Fn,Pe)).map(ae()(Br(ir,Pe))).chain(()=>je(Cr))}),Ui=Ur()(4,(ir,Bt,sr,Cr)=>Ar()(Ks(Bt),Yi(ir,Bt,sr,Cr),Nt().Rejected)),bi=r()((ir,Bt,sr,Cr)=>je(Cr).bichain(Ui(ir,Bt,sr,Cr),Nt().of)),ms=r()((ir,Bt,sr,Cr)=>_o(Cr.timeout,bi(ir,Bt,sr,Hs()("timeout",Cr)))),Le=ir=>R()([1,"sub"],ir.get());async function Ye(ir,Bt,sr,Cr){const Fn=Le(sr);await Ce(ir,{emit:!1},Bt,sr);try{const Pe=await W(Bt,sr,Cr),Be=await Ri(Bt,sr,Pe),it=Le(sr);return Fn&&Fn!==it&&ir.emit("session:closed"),Be}catch(Pe){throw Fn&&ir.emit("session:closed"),Pe}}const ft=m()(4,Ye);var ht=e(53101);function Mt(ir){return ht.parse(document.cookie)[ir]}function Jt(ir,Bt){const sr=ir.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=ht.serialize(Bt,"",{domain:sr,expires:new Date(0),path:"/",secure:!0})}const Er=m()(2,Jt);function Lr(ir,Bt,[sr]){if(!Bt)return;const Cr=ir.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=ht.serialize(Bt,sr,{domain:Cr,path:"/",secure:!0})}const Mn=m()(3,Lr);function Pn(ir){return{clear(){Er(ir,ir.SESSION_COOKIE_NAME),Er(ir,ir.ACCESS_COOKIE_NAME)},get(){const Bt=Mt(ir.SESSION_COOKIE_NAME),sr=Mt(ir.ACCESS_COOKIE_NAME),Cr=Bt?Qe(Bt):null,Fn=sr?Qe(sr):null;return[Bt,Cr,sr,Fn]},set(Bt,sr){const Cr=Bt?Qe(Bt):null,Fn=sr?Qe(sr):null;Mn(ir,ir.SESSION_COOKIE_NAME,[Bt,Cr]),Mn(ir,ir.ACCESS_COOKIE_NAME,[sr,Fn])}}}const kn=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],Gi=r()((ir,Bt,sr)=>u()(sr,[ir,Bt])),os=ir=>kn.reduce((Bt,sr)=>(Bt[sr]=ir[sr].bind(ir),Bt),{});function Os(ir){const Bt=new yt,sr=Pn(ir);return{getAuthorizationUrl:Ge,EventSource:fr(ir,sr),...os(Bt),...s()(Gi(ir,sr),{authenticate:W,closeSession:Ce(Bt,{emit:!0}),fetch:$s(Bt),refreshSession:Pa(Bt,{emit:!1}),request:ms(Bt),resetSession:Sa,resumeSession:Ia,startSession:ft(Bt)})}}},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,E){v.__proto__=E}||function(v,E){for(var w in E)E.hasOwnProperty(w)&&(v[w]=E[w])},m(g,h)};return function(g,h){m(g,h);function v(){this.constructor=g}
1g.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,E){h===void 0&&(h="unknown error from the peer"),v===void 0&&(v=-32e3);var w=m.call(this,h)||this;return w.code=v,w.data=E,w}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,E=h?"method not found: "+h:"method not found";return v=m.call(this,E,-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}),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(w,T){return a(w,"type",{configurable:!0,value:T,writable:!0})},i=function(w){return w===null?"null":typeof w},u=function(w,T){if(T==="1.0"){if(w==null)throw new r.InvalidRequest("invalid error "+i(w))}else if(w==null||!n.isInteger(w.code)||!n.isString(w.message))throw new r.InvalidRequest("invalid error: "+i(w)+" instead of {code, message}")},l=function(w){if(!n.isNumber(w)&&!n.isString(w))throw new r.InvalidRequest("invalid identifier: "+i(w)+" instead of number or string")},m=function(w,T){if(T==="2.0"){if(w!==void 0&&!Array.isArray(w)&&!n.isObject(w))throw new r.InvalidRequest("invalid params: "+i(w)+" instead of undefined, array or object")}else if(!Array.isArray(w))throw new r.InvalidRequest("invalid params: "+i(w)+" instead of array")},g=function(w){var T=w.jsonrpc;if(T===void 0)return"1.0";if(T==="2.0")return"2.0";throw new r.InvalidRequest("invalid version: "+i(T)+" instead of undefined or '2.0'")},h=function(w,T){return w===(T==="2.0"?void 0:null)},v=function(w,T){var C=w.error;return C!==(T==="2.0"?void 0:null)};d.isNotificationPayload=function(w,T){if(n.isString(w.method)){var C=w.id;if(h(C,T))return m(w.params,T),!0}return!1},d.isRequestPayload=function(w,T){if(n.isString(w.method)){var C=w.id;if(!h(C,T))return l(C),m(w.params,T),!0}return!1},d.isErrorPayload=function(w,T){if(!n.isString(w.method)&&v(w,T)){var C=w.id;return C!==null&&l(C),u(w.error,T),!0}return!1},d.isResponsePayload=function(w,T){return!n.isString(w.method)&&!v(w,T)?(l(w.id),!0):!1};function E(w){if(n.isString(w))try{w=JSON.parse(w)}catch(C){throw C instanceof SyntaxError?new r.InvalidJson:C}if(Array.isArray(w))return w.map(E);var T=g(w);if(d.isNotificationPayload(w,T))s(w,"notification");else if(d.isRequestPayload(w,T))s(w,"request");else if(d.isErrorPayload(w,T))s(w,"error");else if(d.isResponsePayload(w,T))s(w,"response");else throw new r.InvalidJson;return w}
1d.parse=E,d.default=E,E.result=function(T){var C=E(T);if(!Array.isArray(C)){if(C.type==="error")throw C.error;if(C.type==="response")return C.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")}},96932(){"use strict"},24769(f,d,e){var n=e(71556),r=e(43845);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_EFFECT"}))};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(T,C){return typeof C===T}),v=function(T){return m(u(E),Math.max,0,g(T))},E=r([[h("object"),v],[h("function"),i],[l,n(0)]]),w=function(T,C){for(var O=[],R=arguments.length-2;R-- >0;)O[R]=arguments[R+2];var B=v(C),M=s(B+1,T);return O.length===0?B===0?function(){for(var F=[],H=arguments.length;H--;)F[H]=arguments[H];return M.apply(void 0,[C].concat(F))}:M(C):M.apply(void 0,[C].concat(O))};f.exports=a(w)},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 E=g.tries;E===void 0&&(E=10);var w=g.when;w===void 0&&(w=s);var T=function(){for(var C=[],O=arguments.length;O--;)C[O]=arguments[O];var R=0,B=function(){return new Promise(function(H,U){setTimeout(function(){M().then(H,U)},l(v,R))})},M=function(){return Promise.resolve(C).then(n(h)).catch(a(w,F,i))},F=function(H){return++R<E?B():i(H)};return M()};return T},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 E=u.apply(null,h);return m[E]||(m[E]={},m[E].async=n(function(w,T){Object.assign(m[E],{reject:w,resolve:T})})),clearTimeout(m[E].timeout),m[E].timeout=setTimeout(function(){var w=m[E],T=w.reject,C=w.resolve;l.apply(null,h).fork(T,C),delete m[E]},i),m[E].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(E){g[E].last=Date.now();var w=g[E],T=w.args,C=w.reject,O=w.resolve;m.apply(null,T).fork(C,O),delete g[E].args,delete g[E].timeout},v=function(){for(var E=[],w=arguments.length;w--;)E[w]=arguments[w];return a(function(){var T=l.apply(null,E);g[T]||(g[T]={},g[T].async=n(function(R,B){Object.assign(g[T],{reject:R,resolve:B})})),g[T].args=E;var C=Date.now()-(g[T].last||0);if(!g[T].timeout){var O=s(0,u-C);g[T].timeout=setTimeout(h.bind(null,T),O)}return g[T].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},87352(f,d,e){"use strict";e.d(d,{$:()=>r});var n=e(69421);function r(a,s){s.silentMultipleInit||n.Vy.error(`${a} is already initialized.`)}},78552(f,d,e){"use strict";e.d(d,{Z:()=>i,m:()=>s});var n=e(72060),r=e(9077),a=e(69421);
1function s(u){const l={version:"7.0.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:")())}},19179(f,d,e){"use strict";e.d(d,{l:()=>s,q:()=>a});var n=e(9077),r=e(17528);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 E=(0,n.dm)(R=>{!R.isTrusted&&!R.__ddIsTrusted&&!i.allowUntrustedEvents||(g&&O(),m(R))}),w=v?{capture:h,passive:v}:h,T=window.EventTarget&&u instanceof EventTarget?window.EventTarget.prototype:u,C=(0,r.W)(T,"addEventListener");l.forEach(R=>C.call(u,R,E,w));function O(){const R=(0,r.W)(T,"removeEventListener");l.forEach(B=>R.call(u,B,E,w))}return{stop:O}}},25260(f,d,e){"use strict";e.d(d,{B9:()=>g,DQ:()=>T,OR:()=>l,Ri:()=>u,TV:()=>i,z$:()=>E});var n=e(69421),r=e(28011),a=e(88563),s=e(10707);function i(R,B,M=0,F){const H=new Date;H.setTime(H.getTime()+M);const U=`expires=${H.toUTCString()}`,W=F&&F.crossSite?"none":"strict",X=F&&F.domain?`;domain=${F.domain}`:"",te=F&&F.secure?";secure":"",q=F&&F.partitioned?";partitioned":"";document.cookie=`${R}=${B};${U};path=/;samesite=${W}${X}${te}${q}`}function u(R){const B=(0,a.rx)(document.cookie,R);if(B!=="")return B}function l(R){return(0,a.Dh)(document.cookie).get(R)||[]}let m;function g(R){return m||(m=(0,a.it)(document.cookie)),m.get(R)}function h(){m=void 0}function v(R,B){i(R,"",0,B)}function E(R){if(document.cookie===void 0||document.cookie===null)return!1;try{const B=`dd_cookie_test_${(0,a.lk)()}`,M="test";i(B,M,r.iW,R);const F=u(B)===M;return v(B,R),F}catch(B){return n.Vy.error(B),!1}}let w;function T(R=location.hostname,B=document.referrer){if(w===void 0){const M=C(R,B);if(M){const F=`dd_site_test_${(0,a.lk)()}`,H="test",U=M.split(".");let W=U.pop();for(;U.length&&!u(F);)W=`${U.pop()}.${W}`,i(F,H,r.OY,{domain:W});v(F,{domain:W}),w=W}}return w}function C(R,B){try{return R||(0,s.c$)(B).hostname}catch{}}function O(){w=void 0}},35712(f,d,e){"use strict";e.d(d,{h:()=>a});var n=e(17528),r=e(82447);function a(s,i){return(0,n.W)((0,r.VZ)(),"fetch")(s,i)}},40881(f,d,e){"use strict";e.d(d,{i:()=>w});var n=e(56767),r=e(9077),a=e(26303),s=e(28011),i=e(10707),u=e(82447),l=e(4006),m=e(89336);async function g(B){const M=B.getReader(),F=[];for(;;){const H=await M.read();if(H.done)break;F.push(H.value)}return M.cancel().catch(m.l),(0,l.wh)(F)}var h=e(25705);let v;const E=[];function w({responseBodyAction:B}={}){return B&&E.push(B),v||(v=C()),v}function T(){v=void 0,E.length=0}function C(){return new a.cP(B=>{if(!u.J2.fetch)return;const{stop:M}=(0,n.H)(u.J2,"fetch",F=>O(F,B),{computeHandlingStack:!0});return M})}function O({parameters:B,onPostCall:M,handlingStack:F},H){const[U,W]=B;let X=W&&W.method;X===void 0&&U instanceof Request&&(X=U.method);const te=X!==void 0?String(X).toUpperCase():"GET",q=U instanceof Request?U.url:(0,i.l2)(String(U)),ae=(0,s.M8)(),le={state:"start",init:W,input:U,method:te,startClocks:ae,url:q,handlingStack:F,isAbortedOnStart:U instanceof Request&&U.signal?.aborted||W?.signal?.aborted||!1};H.notify(le),B[0]=le.input,B[1]=le.init,M(pe=>{R(H,pe,le).catch(r.Dx)})}async function R(B,M,F){const H=F;let U;try{U=await M}catch(X){B.notify({...H,state:"resolve",status:0,isAborted:H.init?.signal?.aborted||X instanceof DOMException&&X.code===DOMException.ABORT_ERR,error:X});return}if(H.response=U,H.status=U.status,H.responseType=U.type,H.isAborted=!1,E.reduce((X,te)=>Math.max(X,te(H)),0)===1){const X=(0,h.i)(U);if(X&&X.body)try{const te=await g(X.body);H.responseBody=new TextDecoder().decode(te)}catch{}}B.notify({...H,state:"resolve"})}},99513(f,d,e){"use strict";e.d(d,{Kp:()=>l,_T:()=>u,y5:()=>i});var n=e(26303),r=e(62189),a=e(82447),s=e(19179);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"],E=>{E.type==="visibilitychange"&&document.visibilityState==="hidden"?g.notify({reason:i.HIDDEN}):E.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)}},33908(f,d,e){"use strict";e.d(d,{H:()=>a,N:()=>s});var n=e(89336),r=e(19179);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)})}},61767(f,d,e){"use strict";e.d(d,{G:()=>g});var n=e(56767),r=e(26303),a=e(28011),s=e(10707),i=e(82447),u=e(19179);let l;const m=new WeakMap;function g(C){return l||(l=h(C)),l}function h(C){return"XMLHttpRequest"in i.J2?new r.cP(O=>{const{stop:R}=(0,n.H)(XMLHttpRequest.prototype,"open",v),{stop:B}=(0,n.H)(XMLHttpRequest.prototype,"send",F=>{E(F,C,O)},{computeHandlingStack:!0}),{stop:M}=(0,n.H)(XMLHttpRequest.prototype,"abort",w);return()=>{R(),B(),M()}}):new r.cP}function v({target:C,parameters:[O,R]}){m.set(C,{state:"open",method:String(O).toUpperCase(),url:(0,s.l2)(String(R))})}function E({target:C,parameters:[O],handlingStack:R},B,M){const F=m.get(C);if(!F)return;const H=F;H.state="start",H.startClocks=(0,a.M8)(),H.isAborted=!1,H.xhr=C,H.handlingStack=R,H.requestBody=O;let U=!1;const{stop:W}=(0,n.H)(C,"onreadystatechange",()=>{C.readyState===XMLHttpRequest.DONE&&X()}),X=()=>
1{if(te(),W(),U)return;U=!0;const q=F;q.duration=(0,a.vk)(H.startClocks.timeStamp,(0,a.nx)()),q.status=C.status,typeof C.response=="string"&&(q.responseBody=C.response),M.notify({...q,state:"complete"})},{stop:te}=(0,u.q)(B,C,"loadend",X);M.notify(H)}function w({target:C}){const O=m.get(C);O&&(O.isAborted=!0)}function T(){l=void 0}},30264(f,d,e){"use strict";e.d(d,{t:()=>ae});var n=e(26303),r=e(48121),a=e(40881),s=e(61767),i=e(69421),u=e(94542),l=e(56767),m=e(28011),g=e(89033),h=e(82447),v=e(37143),E=e(78976);function w(){return new n.cP(le=>{const pe=(Ce,Je)=>{const qe=(0,v.As)({stackTrace:Je,originalError:Ce,startClocks:(0,m.M8)(),nonErrorPrefix:"Uncaught",source:E.g.SOURCE,handling:"unhandled"});le.notify(qe)},{stop:ge}=T(pe),{stop:Ie}=C(pe);return()=>{ge(),Ie()}})}function T(le){return(0,l.H)((0,h.VZ)(),"onerror",({parameters:[pe,ge,Ie,Ce,Je]})=>{let qe;(0,v.bJ)(Je)||(qe=(0,g.h)(pe,ge,Ie,Ce)),le(Je??pe,qe)})}function C(le){return(0,l.H)((0,h.VZ)(),"onunhandledrejection",({parameters:[pe]})=>{le(pe.reason||"Empty reason")})}var O=e(9077),R=e(91698),B=e(61770),M=e(64278);let F={};function H(le){const pe=le.map(ge=>(F[ge]||(F[ge]=W(ge)),F[ge]));return(0,n.Fx)(...pe)}function U(){F={}}function W(le){return new n.cP(pe=>{const ge=i.JZ[le];return i.JZ[le]=(...Ie)=>{ge.apply(console,Ie);const Ce=(0,M.uC)("console error");(0,O.um)(()=>{pe.notify(X(Ie,le,Ce))})},()=>{i.JZ[le]=ge}})}function X(le,pe,ge){const Ie=le.map(Ce=>te(Ce)).join(" ");if(pe===i.bP.error){const Ce=le.find(v.bJ),Je=(0,v.As)({originalError:Ce,handlingStack:ge,startClocks:(0,m.M8)(),source:E.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return Je.message=Ie,{api:pe,message:Ie,handlingStack:ge,error:Je}}return{api:pe,message:Ie,error:void 0,handlingStack:ge}}function te(le){return typeof le=="string"?(0,R.a)(le):(0,v.bJ)(le)?(0,M.NR)((0,g.T)(le)):(0,B.s)((0,R.a)(le),void 0,2)}const q=500;function ae(){const le=new n.dX(q,Ie=>{(0,u.A2)("Early data collection dropped data on unbuffer",{count:Ie})}),pe=[];function ge(Ie,Ce){pe.push(Ce.subscribe(Je=>{le.notify({type:Ie,data:Je})}))}return ge(0,(0,r.B)(w)()),ge(1,(0,a.i)()),ge(2,(0,s.G)({allowUntrustedEvents:!0})),ge(3,H(Object.values(i.bP))),{observable:le,stop:()=>pe.forEach(Ie=>Ie.unsubscribe())}}},28505(f,d,e){"use strict";e.d(d,{WA:()=>R,uT:()=>B,bX:()=>H,hO:()=>W,Sz:()=>U});var n=e(72060),r=e(69421),a=e(53943),s=e(35677),i=e(83359),u=e(21877),l=e(82447),m=e(42755),g=e(48121);const h=["chrome-extension://","moz-extension://"];function v(X){return h.some(te=>X.includes(te))}function E(X,te=""){if(v(X))return!1;const ae=te.split(` 2`).filter(le=>{const pe=le.trim();return pe.length&&/^at\s+|@/.test(pe)})[1]||"";return v(ae)}const w="Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided.",T="SDK initialized on a non-allowed domain.";function C(X,te){const q=(0,g.B)((0,l.VZ)().location),ae=q?q.origin:"",le=X.allowedTrackingOrigins;if(!le)return E(ae,te)?(r.Vy.error(w),!1):!0;const pe=(0,m.K)(le,ae);return pe||r.Vy.error(T),pe}var O=e(52760);const R={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},B={ALL:"all",SAMPLED:"sampled"};function M(X,te){return X!=null&&typeof X!="string"?(r.Vy.error(`${te} must be defined as a string`),!1):!0}function F(X){return X&&typeof X=="string"&&!/(datadog|ddog|datad0g|dd0g)/.test(X)?(r.Vy.error(`Site should be a valid Datadog site. ${r.xG} ${r.fH}/getting_started/site/.`),!1):!0}function H(X,te){return X!==void 0&&!(0,a.fp)(X)?(r.Vy.error(`${te} Sample Rate should be a number between 0 and 100`),!1):!0}function U(X,te){if(!X||!X.clientToken){r.Vy.error("Client Token is not configured, we will not send any data.");return}if(X.allowedTrackingOrigins!==void 0&&!Array.isArray(X.allowedTrackingOrigins)){r.Vy.error("Allowed Tracking Origins must be an array");return}if(!(!F(X.site)||!H(X.sessionSampleRate,"Session")||!H(X.telemetrySampleRate,"Telemetry")||!H(X.telemetryConfigurationSampleRate,"Telemetry Configuration")||!H(X.telemetryUsageSampleRate,"Telemetry Usage")||!M(X.version,"Version")||!M(X.env,"Env")||!M(X.service,"Service")||!C(X,te??""))){if(X.trackingConsent!==void 0&&!(0,s.Rj)(u.w,X.trackingConsent)){r.Vy.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:X.beforeSend&&(0,n.y)(X.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:(0,i.n)(X),sessionSampleRate:X.sessionSampleRate??100,telemetrySampleRate:X.telemetrySampleRate??20,telemetryConfigurationSampleRate:X.telemetryConfigurationSampleRate??5,telemetryUsageSampleRate:X.telemetryUsageSampleRate??5,service:X.service??void 0,env:X.env??void 0,version:X.version??void 0,datacenter:X.datacenter??void 0,silentMultipleInit:!!X.silentMultipleInit,allowUntrustedEvents:!!X.allowUntrustedEvents,trackingConsent:X.trackingConsent??u.w.GRANTED,trackAnonymousUser:X.trackAnonymousUser??!0,storeContextsAcrossPages:!!X.storeContextsAcrossPages,variant:X.variant,sdkVersion:X.sdkVersion,...(0,O.T)(X)}}}function W(X){return{session_sample_rate:X.sessionSampleRate,telemetry_sample_rate:X.telemetrySampleRate,telemetry_configuration_sample_rate:X.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:X.telemetryUsageSampleRate,use_before_send:!!X.beforeSend,use_partitioned_cross_site_session_cookie:X.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:X.useSecureSessionCookie,use_proxy:!!X.proxy,silent_multiple_init:X.silentMultipleInit,track_session_across_subdomains:X.trackSe
2ssionAcrossSubdomains,track_anonymous_user:X.trackAnonymousUser,session_persistence:Array.isArray(X.sessionPersistence)?X.sessionPersistence[0]:X.sessionPersistence,store_contexts_across_pages:!!X.storeContextsAcrossPages,allow_untrusted_events:!!X.allowUntrustedEvents,tracking_consent:X.trackingConsent,use_allowed_tracking_origins:Array.isArray(X.allowedTrackingOrigins),source:X.source,sdk_version:X.sdkVersion,variant:X.variant}}},1341(f,d,e){"use strict";e.d(d,{G:()=>l,n:()=>i});var n=e(28011),r=e(10707),a=e(88563),s=e(8216);function i(g,h,v){const E=u(g,h);return{build(w,T){const C=m(g,h,w,T,v);return E(C)},trackType:h}}function u(g,h){const v=`/api/v2/${h}`,E=g.proxy;if(typeof E=="string"){const T=(0,r.l2)(E);return C=>`${T}?ddforward=${encodeURIComponent(`${v}?${C}`)}`}if(typeof E=="function")return T=>E({path:v,parameters:T});const w=l(g);return T=>`https://${w}${v}?${T}`}function l(g){const{site:h=s.NW}=g,v=h.split("."),E=v.pop();return`browser-intake-${v.join("-")}.${E}`}function m({clientToken:g,source:h="browser"},v,E,{retry:w,encoding:T},C=[]){const O=[`ddsource=${h}`,`dd-api-key=${g}`,`dd-evp-origin-version=${encodeURIComponent("7.0.0")}`,"dd-evp-origin=browser",`dd-request-id=${(0,a.lk)()}`].concat(C);return T&&O.push(`dd-evp-encoding=${T}`),v==="rum"&&(O.push(`batch_time=${(0,n.nx)()}`,`_dd.api=${E}`),w&&O.push(`_dd.retry_count=${w.count}`,`_dd.retry_after=${w.lastFailureStatus}`)),O.join("&")}},52760(f,d,e){"use strict";e.d(d,{T:()=>a,w:()=>l});var n=e(8216),r=e(1341);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))}},25847(f,d,e){"use strict";e.d(d,{q:()=>r});var n=e(82447);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}}},23114(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"}},34305(f,d,e){"use strict";e.d(d,{D:()=>g});var n=e(60461),r=e(91698),a=e(26303),s=e(69421),i=e(9612);function u(h){const v=(0,i.P)(h)==="object";return v||s.Vy.error("Unsupported context:",h),v}function l(h,v,E){const w={...h};for(const[T,{required:C,type:O}]of Object.entries(v))O==="string"&&!m(w[T])&&(w[T]=String(w[T])),C&&m(w[T])&&s.Vy.warn(`The property ${T} of ${E} is required; context will not be sent to the intake.`);return w}function m(h){return h==null||h===""}function g(h="",{propertiesConfig:v={}}={}){let E={};const w=new a.cP,T={getContext:()=>(0,n.Go)(E),setContext:C=>{u(C)?E=(0,r.a)(l(C,v,h)):T.clearContext(),w.notify()},setContextProperty:(C,O)=>{E=(0,r.a)(l({...E,[C]:O},v,h)),w.notify()},removeContextProperty:C=>{delete E[C],l(E,v,h),w.notify()},clearContext:()=>{E={},w.notify()},changeObservable:w};return T}},30759(f,d,e){"use strict";e.d(d,{P:()=>s,q:()=>a});var n=e(94542),r=e(9077);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))})}},41295(f,d,e){"use strict";e.d(d,{Ck:()=>u});var n=e(19179),r=e(60461),a=e(35677);const s="_dd_c",i=[];function u(g,h,v,E){const w=l(v,E);i.push((0,n.q)(g,window,"storage",({key:B})=>{w===B&&C()})),h.changeObservable.subscribe(O);const T=(0,r.kg)(R(),h.getContext());(0,a.RI)(T)||h.setContext(T);function C(){h.setContext(R())}function O(){localStorage.setItem(w,JSON.stringify(h.getContext()))}function R(){const B=localStorage.getItem(w);return B?JSON.parse(B):{}}}function l(g,h){return`${s}_${g}_${h}`}function m(){i.map(g=>g.stop())}},11955(f,d,e){"use strict";e.d(d,{B:()=>i,K:()=>u});var n=e(41295),r=e(72149),a=e(35677),s=e(34305);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"}}})}},46523(f,d,e){"use strict";e.d(d,{F:()=>a,s:()=>s});var n=e(41295),r=e(34305);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")}},90231(f,d,e){"use strict";e.d(d,{j3:()=>i});var n=e(88563);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}}},52853(f,d,e){"use strict";e.d(d,{l:()=>r});var n=e(72149);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})}},75715(f,d,e){"use strict";e.d(d,{$:()=>i,Y:()=>u});var n=e(41295),r=e(72149),a=e(34305),s=e(35677);function i(l,m,g,h){const v=u();return m.storeContextsAcrossPages&&(0,n.Ck)(m,v,h,1),l.register(0,({eventType:E,startTime:w})=>{const T=v.getContext(),C=g.findTrackedSession(w);return C&&C.anonymousId&&!T.anonymous_id&&m.trackAnonymousUser&&(T.anonymous_id=C.anonymousId),(0,s.RI)(T)?r.$O:{type:E,usr:T}}),v}function u(){return(0,a.D)("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}},37143(f,d,e){"use strict";e.d(d,{$X:()=>E,As:()=>m,bJ:()=>w,e6:()=>u});var n=e(91698),r=e(61770),a=e(89033),s=e(64278),i=e(9612);const u="No stack, consider using an instance of Error";function l({originalError:C,stackTrace:O,source:R,useFallbackStack:B=!0,nonErrorPrefix:M}){const F=w(C);return!O&&F&&(O=(0,a.T)(C)),{source:R,type:O?O.name:void 0,message:g(O,F,M,C),stack:O?(0,s.Yn)(O):B?u:void 0}}function m({stackTrace:C,originalError:O,handlingStack:R,componentStack:B,startClocks:M,nonErrorPrefix:F,useFallbackStack:H=!0,source:U,handling:W}){const X=l({originalError:O,stackTrace:C,source:U,useFallbackStack:H,nonErrorPrefix:F});return{startClocks:M,handling:W,handlingStack:R,componentStack:B,originalError:O,...X,causes:w(O)?T(O,U):void 0,fingerprint:h(O),context:v(O)}}function g(C,O,R,B){return C?.message&&C?.name?C.message:O?"Empty message":R?`${R} ${(0,r.s)((0,n.a)(B))}`:(0,r.s)((0,n.a)(B))}function h(C){return w(C)&&"dd_fingerprint"in C?String(C.dd_fingerprint):void 0}function v(C){if((0,i.O)(C))return C.dd_context}function E(C){return/@ (.+)/.exec(C)?.[1]}function w(C){return C instanceof Error||Object.prototype.toString.call(C)==="[object Error]"}function T(C,O){const R=[];let B=C.cause;for(;B!=null&&R.length<10;){const M=l({originalError:B,source:O,useFallbackStack:!1});R.push(M),B=w(B)?B.cause:void 0}return R.length?R:void 0}},78976(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"}},34585(f,d,e){"use strict";e.d(d,{$:()=>i});var n=e(40046),r=e(28011),a=e(78976);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}}}},8216(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"]},34336(f,d,e){"use strict";e.d(d,{V:()=>m,u:()=>g});var n=e(64278),r=e(9077),a=e(26303),s=e(19179),i=e(88563),u=e(78976),l=e(28011);const m={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function g(O,R){const B=[];R.includes(m.cspViolation)&&B.push(v(O));const M=R.filter(F=>F!==m.cspViolation);return M.length&&B.push(h(M)),(0,a.Fx)(...B)}function h(O){return new a.cP(R=>{if(!window.ReportingObserver)return;const B=(0,r.dm)((F,H)=>
2F.forEach(U=>R.notify(E(U)))),M=new window.ReportingObserver(B,{types:O,buffered:!0});return M.observe(),()=>{M.disconnect()}})}function v(O){return new a.cP(R=>{const{stop:B}=(0,s.q)(O,document,"securitypolicyviolation",M=>{R.notify(w(M))});return B})}function E(O){const{type:R,body:B}=O;return T({type:B.id,message:`${R}: ${B.message}`,originalError:O,stack:C(B.id,B.message,B.sourceFile,B.lineNumber,B.columnNumber)})}function w(O){const R=`'${O.blockedURI}' blocked by '${O.effectiveDirective}' directive`;return T({type:O.effectiveDirective,message:`${m.cspViolation}: ${R}`,originalError:O,csp:{disposition:O.disposition},stack:C(O.effectiveDirective,O.originalPolicy?`${R} of the policy "${(0,i._R)(O.originalPolicy,100,"...")}"`:"no policy",O.sourceFile,O.lineNumber,O.columnNumber)})}function T(O){return{startClocks:(0,l.M8)(),source:u.g.REPORT,handling:"unhandled",...O}}function C(O,R,B,M,F){return B?(0,n.Yn)({name:O,message:R,stack:[{func:"?",url:B,line:M??void 0,column:F??void 0}]}):void 0}},59773(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}},46256(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)}},93590(f,d,e){"use strict";e.d(d,{AQ:()=>r,HB:()=>a,Q_:()=>u,_P:()=>s});var n=e(28011);const r=4*n.MA,a=15*n.iW,s=n.$H,i="0",u={COOKIE:"cookie",MEMORY:"memory",LOCAL_STORAGE:"local-storage"}},57508(f,d,e){"use strict";e.d(d,{Ql:()=>te,ox:()=>X});var n=e(26303),r=e(26956),a=e(28011),s=e(19179),i=e(40046),u=e(48121),l=e(89336),m=e(88563),g=e(82447),h=e(69421),v=e(46256),E=e(94542),w=e(9077),T=e(25260),C=e(25838),O=e(15862),R=e(93590),B=e(81362),M=e(83359);const F=a.iW,H=R.AQ,U=a.MA*12;let W=[];async function X(ge,Ie){const Ce=(0,a.$S)(),Je=new n.cP,qe=new n.cP;let ye;if(!ge.sessionStoreStrategyType){h.Vy.warn("No storage available for session. We will not send any data.");return}const xe=(0,u.B)(M.p)(ge.sessionStoreStrategyType,ge),De=(0,r.qj)({expireDelay:H});W.push(()=>De.stop());let Fe=!1;const{throttled:be,cancel:ke}=(0,l.n)(()=>{Fe=!1,xe.setSessionState(Hr=>(0,B.tw)(Hr,ge)).catch(w.Dx)},a.OY);W.push(ke);let Ge;W.push(()=>(0,i.DJ)(Ge));let Xe=!1;W.push(()=>{Xe=!0});const At=await yt().catch(w.Dx);if(!At||Xe)return;if(!Ie.isGranted()){$r();return}return De.add(sn(At),(0,a.Oc)().relative),Nt(At),kt(),Ir(),(0,E.Gk)("Session manager init metrics",{metrics:{duration:(0,a.vk)(Ce,(0,a.$S)())}}),yr();async function yt(){let Hr={};return await xe.setSessionState(pt=>{const et=(0,B.T7)(pt,ge);return Hr=(0,B.tw)(et,ge),Hr}),Hr}function kt(){const Hr=xe.sessionObservable.subscribe(({cookieValues:pt,sessionState:et})=>{Nt(et),Wr(et,{from:"sessionObservable",cookieValues:pt})});W.push(()=>Hr.unsubscribe())}function Nt(Hr){(0,i.DJ)(Ge);const pt=(0,B.Ad)(Hr);if(pt){const et=pt-(0,a.x3)();Ge=(0,i.wg)(()=>{xe.setSessionState(wr=>(0,B.W3)(wr)?(Ie.isGranted()||delete wr.anonymousId,(0,B.zn)(wr,ge)):wr).catch(w.Dx)},et)}}function Ir(){Ie.observable.subscribe(()=>{Ie.isGranted()?(Fe=!1,xe.setSessionState(Hr=>(0,B.tw)(Hr,ge)).catch(w.Dx)):$r()}),g.Wq||(ae(ge,()=>{Ie.isGranted()&&be()}),le(ge,()=>{Fe||xe.setSessionState(Hr=>(0,B.DE)(Hr)).catch(w.Dx)}),pe(ge,()=>{xe.setSessionState(Hr=>(0,B.T7)(Hr,ge)).catch(w.Dx)}))}function yr(){return{findSession:(Hr,pt)=>De.find(Hr,pt),findTrackedSession:(Hr,pt)=>{const et=De.find(Hr,pt);if(!(!et||et.id==="invalid"||!(0,v.$5)(et.id,ge.sessionSampleRate))&&!((0,a.x3)()-et.createdAt>U))return et},renewObservable:Je,expireObservable:qe,expire:$r,updateSessionState:Hr=>{xe.setSessionState(pt=>({...pt,...Hr})).catch(w.Dx)}}}function Wr(Hr,{from:pt,cookieValues:et}){const wr=De.find(),Dr=wr?.id!==void 0,Sr=Hr.id!==void 0,kr=Dr&&Sr&&wr.id!==Hr.id;if(Dr&&(!Sr||kr)&&((0,C.sr)(C.R9.SESSION_RENEWAL_DEBUG_CONTEXT)&&(ye={previousSession:wr&&{...wr},newState:{...Hr},from:pt,cookieValues:et,cookies:(0,T.OR)(O.Z),locksAvailable:!!globalThis.navigator?.locks,cookieStoreAvailable:!!globalThis.cookieStore}),Fe=!0,qe.notify(),De.closeActive((0,a.$S)())),Sr&&(!Dr||kr)){if(Fe)return;De.add(sn(Hr),(0,a.$S)()),Je.notify((0,C.sr)(C.R9.SESSION_RENEWAL_DEBUG_CONTEXT)?{expire:ye,renew:{previousSession:wr&&{...wr},newState:{...Hr},from:pt,cookieValues:et,cookies:(0,T.OR)(O.Z),locksAvailable:!!globalThis.navigator?.locks,cookieStoreAvailable:!!globalThis.cookieStore}}:void 0)}else Dr&&Sr&&!kr&&(wr.isReplayForced=!!Hr.forcedReplay)}function $r(){ke();const Hr=(0,B.zn)(De.find(),ge);Ie.isGranted()||delete Hr.anonymousId,Wr(Hr,{from:"expire"}),xe.setSessionState(pt=>(Ie.isGranted()||delete pt.anonymousId,(0,B.zn)(pt,ge))).catch(w.Dx)}function sn(Hr){const pt=(0,B.bH)(Hr)??(0,a.nx)();return Hr.id?{id:Hr.id,isReplayForced:!!Hr.forcedReplay,anonymousId:Hr.anonymousId,createdAt:pt}:{id:"invalid",isReplayForced:!1,anonymousId:void 0,createdAt:pt}}}function te(){let Ie={id:(0,m.lk)(),isReplayForced:!1,anonymousId:void 0,createdAt:(0,a.nx)()};return Promise.resolve({findSession:()=>Ie,findTrackedSession:()=>Ie,renewObservable:new n.cP,expireObservable:new n.cP,expire:l.l,updateSessionState:Ce=>{Ie={...Ie,...Ce}}})}function q(){W.forEach(ge=>ge()),W=[]}function ae(ge,Ie){const{stop:Ce}=(0,s.l)(ge,window,["click","touchstart","keydown","scroll"],Ie,{capture:!0,passive:!0});W.push(Ce)}function le(ge,Ie){const Ce=()=>{document.visibilityState==="visible"&&Ie()},{stop:Je}=(0,s.q)(ge,document,"visibilitychange",Ce);W.push(Je);const qe=(0,i.yb)(Ce,F);W.push(()=>{(0,i.vG)(qe)})}function pe(ge,Ie){const{stop:Ce}=(0,s.q)(ge,window,"resume",Ie,{capture:!0});W.push(Ce)}},81362(f,d,e){"use strict";e.d(d,{DE:()=>U,tw:()=>H,bH:()=>h,Ad:()=>v,zn:()=>E,T7:()=>F,W3:()=>C,TE:()=>w,H9:()=>M,D9:()=>B});
2var n=e(35677),r=e(62189),a=e(28011),s=e(88563),i=e(93590);const u=/^([a-zA-Z]+)=([a-z0-9-]+)$/,l="&";function m(W){return!!W&&(W.indexOf(l)!==-1||u.test(W))}const g="1";function h(W){return W.created?Number(W.created):void 0}function v(W){const X=W.expire&&Number(W.expire),te=h(W);if(X&&te)return Math.min(X,te+i.AQ)}function E(W,X){const te={isExpired:g};return X.trackAnonymousUser&&W?.anonymousId&&(te.anonymousId=W?.anonymousId),te}function w(W){return(0,n.RI)(W)}function T(W){return!w(W)}function C(W){return W.isExpired!==void 0||!O(W)}function O(W){const X=v(W);return X?(0,a.x3)()<X:!1}function R(W){W.expire=String((0,a.x3)()+i.HB)}function B(W){return(0,r.WP)(W).map(([X,te])=>X==="anonymousId"?`aid=${te}`:`${X}=${te}`).join(l)}function M(W){const X={};return m(W)&&W.split(l).forEach(te=>{const q=u.exec(te);if(q!==null){const[,ae,le]=q;ae==="aid"?X.anonymousId=le:X[ae]=le}}),X}function F(W,X){return w(W)?(X.trackAnonymousUser&&(W.anonymousId=(0,s.lk)()),E(W,X)):W}function H(W,X){if(w(W))return W;let te=W;return C(W)&&(te=E(W,X)),te.id||(te.id=(0,s.lk)(),te.created=String((0,a.x3)())),X.trackAnonymousUser&&!te.anonymousId&&(te.anonymousId=(0,s.lk)()),delete te.isExpired,R(te),te}function U(W){return C(W)||w(W)||!W.id||R(W),W}},83359(f,d,e){"use strict";e.d(d,{p:()=>De,n:()=>qe});var n=e(82447),r=e(69421),a=e(93590),s=e(35677),i=e(25260),u=e(81362),l=e(26303),m=e(48121),g=e(9077),h=e(40046),v=e(28011),E=e(94542),w=e(19179);function T(Fe,be,ke){const Ge=(0,m.B)(window.cookieStore);return Ge?C(Fe,be,ke,Ge):R(Fe,ke)}function C(Fe,be,ke,Ge){const Xe=new l.cP(()=>(0,w.q)(be,Ge,"change",yt=>{(yt.changed.some(Nt=>Nt.name===Fe)||yt.deleted.some(Nt=>Nt.name===Fe))&&Xe.notify()}).stop);return{async getAll(){return(await Ge.getAll(Fe)).map(yt=>yt.value)},async getAllAndSet(At){const yt=await Ge.getAll(Fe),kt=yt.map(yr=>yr.value),{value:Nt,expireDelay:Ir}=At(kt);try{await Ge.set({name:Fe,value:Nt,expires:(0,v.x3)()+Ir,path:"/",sameSite:ke.crossSite?"none":"strict",domain:ke.domain,secure:ke.secure,partitioned:ke.partitioned})}catch(yr){const Wr=(0,i.OR)(Fe);(0,E.A2)("Failed to set cookie using Cookie Store API",{"error.message":yr.message,newValue:Nt,cookieOptions:{...ke},cookies:yt.map($r=>({...$r})),cookieCount:yt.length,documentCookies:Wr})}},observable:Xe}}const O=v.OY;function R(Fe,be){let ke=(0,i.OR)(Fe);const Ge=new l.cP(()=>{const At=(0,h.yb)(()=>{const yt=(0,i.OR)(Fe);Xe(yt)},O);return()=>{(0,h.vG)(At)}});function Xe(At){String(At)!==String(ke)&&(ke=At,Ge.notify())}return{getAll(){return Promise.resolve((0,i.OR)(Fe))},async getAllAndSet(At){const yt=(0,i.OR)(Fe),{value:kt,expireDelay:Nt}=At(yt);(0,i.TV)(Fe,kt,Nt,be),await Promise.resolve(),Xe([kt])},observable:Ge}}var B=e(15862);const M=0;function F(Fe){const be=te(Fe);return be&&(0,i.z$)(be)?{type:a.Q_.COOKIE,cookieOptions:be}:void 0}let H;function U(Fe,be){const ke=new l.cP,Ge=!!be.trackAnonymousUser,Xe=q(Fe),At=(0,m.B)(T)(B.Z,be,Fe);let yt=!0;At.observable.subscribe(()=>{At.getAll().then(Nt=>{ke.notify({cookieValues:Nt,sessionState:W(Nt,Xe)})}).catch(g.Dx)});function kt(Nt){return At.getAllAndSet(Ir=>{let yr=W(Ir,Xe);yt&&(0,s.RI)(yr)&&(yr=W((0,i.OR)(B.R),Xe)),yt=!1;const Wr=Nt(yr),$r=X(Wr,Fe),sn=Ge?a._P:a.AQ;return{value:$r,expireDelay:sn}})}return{async setSessionState(Nt){typeof navigator<"u"&&navigator.locks?await navigator.locks.request(B.Z,()=>kt(Nt)):(H=(H??Promise.resolve()).then(()=>kt(Nt)),await H)},sessionObservable:ke}}function W(Fe,be){let ke;for(const Ge of Fe.slice().reverse())if(ke=(0,u.H9)(Ge),ke.c===be)break;return delete ke?.c,ke??{}}function X(Fe,be){return(0,u.D9)((0,s.RI)(Fe)?Fe:{...Fe,c:q(be)})}function te(Fe){const be={};if(be.secure=!!Fe.useSecureSessionCookie||!!Fe.usePartitionedCrossSiteSessionCookie,be.crossSite=!!Fe.usePartitionedCrossSiteSessionCookie,be.partitioned=!!Fe.usePartitionedCrossSiteSessionCookie,Fe.trackSessionAcrossSubdomains){const ke=(0,i.DQ)();if(!ke)return;be.domain=ke}return be}function q(Fe){const be=Fe.domain?Fe.domain.split(".").length-1:0;let ke=0;return ke|=M<<5,ke|=be<<1,ke|=Fe.crossSite?1:0,ke.toString(16)}var ae=e(88563);const le="_dd_test_";function pe(){try{const Fe=(0,ae.lk)(),be=`${le}${Fe}`;localStorage.setItem(be,Fe);const ke=localStorage.getItem(be);return localStorage.removeItem(be),Fe===ke?{type:a.Q_.LOCAL_STORAGE}:void 0}catch{return}}function ge(Fe){const be=new l.cP(Ge=>(0,w.q)(Fe,window,"storage",Xe=>{Xe.key===B.Z&&Xe.storageArea===localStorage&&Ge.notify({sessionState:(0,u.H9)(Xe.newValue)})}).stop);let ke=!0;return{async setSessionState(Ge){let Xe=(0,u.H9)(localStorage.getItem(B.Z));ke&&(0,u.TE)(Xe)&&(Xe=(0,u.H9)(localStorage.getItem(B.R))),ke=!1;const At=Ge(Xe);localStorage.setItem(B.Z,(0,u.D9)(At)),await Promise.resolve(),be.notify({sessionState:At})},sessionObservable:be}}const Ie="_DD_SESSION";function Ce(){return{type:a.Q_.MEMORY}}function Je(){const Fe=(0,n.VZ)();Fe[Ie]||(Fe[Ie]={});const be=Fe[Ie],ke=new l.cP,Ge=be.onChange;return be.onChange=Xe=>{Ge?.(Xe),ke.notify({sessionState:Xe})},{async setSessionState(Xe){const At=be.state??{},yt=(0,s.yG)(Xe(At));be.state=yt,await Promise.resolve(),be.onChange?.(yt)},sessionObservable:ke}}function qe(Fe){const{sessionPersistence:be}=Fe,ke=ye(be);for(const Ge of ke){const Xe=xe(Ge,Fe);if(Xe!==void 0)return Xe}}function ye(Fe){return Array.isArray(Fe)?Fe:Fe!==void 0?[Fe]:n.Wq?[a.Q_.MEMORY]:[a.Q_.COOKIE]}function xe(Fe,be){switch(Fe){case a.Q_.COOKIE:return F(be);case a.Q_.LOCAL_STORAGE:return pe();case a.Q_.MEMORY:return Ce();default:r.Vy.error(`Invalid session persistence '${String(Fe)}'`);return}}function De(Fe,be){switch(Fe.type){case a.Q_.COOKIE:return U(Fe.cookieOptions,be);case a.Q_.LOCAL_STORAGE:return ge(be);case a.Q_.MEMORY:return Je()}}},15862(f,d,e){"use strict";e.d(d,{R:()=>r,Z:()=>n});const n="_dd_s_v2",r="_dd_s"},72521(f,d,e){"use strict";e.d(d,{Fs:()=>v,IM:()=>h,ao:()=>g});var n=e(25260),r=e(82447),a=e(35677);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 T=E();return w(T)?T:void 0}function v(){return!!h()}function E(){const T=r.J2._DATADOG_SYNTHETICS_RUM_CONTEXT;if(T)return T;const C=(0,n.B9)(m);return C?(0,a.XU)(decodeURIComponent(C)):{test_id:window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,n.B9)(i),result_id:window._DATADOG_SYNTHETICS_RESULT_ID||(0,n.B9)(u)}}function w(T){return typeof T=="object"&&T!==null&&typeof T.test_id=="string"&&typeof T.result_id=="string"}},75267(f,d,e){"use strict";e.d(d,{NQ:()=>s,iP:()=>i,m5:()=>a});var n=e(69421);const r=200;function a(l){const{env:m,service:g,version:h,datacenter:v,sdkVersion:E,variant:w}=l,T=[s("sdk_version",E??"7.0.0")];return m&&T.push(s("env",m)),g&&T.push(s("service",g)),h&&T.push(s("version",h)),v&&T.push(s("datacenter",v)),w&&T.push(s("variant",w)),T}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)}},94542(f,d,e){"use strict";e.d(d,{Rr:()=>ke,A2:()=>Fe,VJ:()=>be,Gk:()=>Ge,Q6:()=>Xe,a5:()=>Ce});var n=e(69421),r=e(37143),a=e(64278),s=e(25838),i=e(75267),u=e(8216),l=e(26303),m=e(28011),g=e(9077),h=e(48847),v=e(53943),E=e(61770),w=e(60461),T=e(89033),C=e(25847),O=e(33928),R=e(1053),B=e(15261),M=e(52895),F=e(1995),H=e(99513),U=e(72149),W=e(82447),X=e(89336);const te={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},q=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],ae=1,le=[u.R8,u.KG],pe=15;let ge;function Ie(){return ge||(ge=new l.dX(100)),ge}function Ce(kt,Nt,Ir){const yr=new l.cP,{enabled:Wr,metricsEnabled:$r}=Je(kt,Nt,Ir,yr),{stop:sn}=qe(Nt,yr);return{stop:sn,enabled:Wr,metricsEnabled:$r}}function Je(kt,Nt,Ir,yr,Wr=ae,$r=pe){const sn={},Hr=!le.includes(Nt.site)&&(0,v.ic)(Nt.telemetrySampleRate),pt={[te.LOG]:Hr,[te.CONFIGURATION]:Hr&&(0,v.ic)(Nt.telemetryConfigurationSampleRate),[te.USAGE]:Hr&&(0,v.ic)(Nt.telemetryUsageSampleRate),metric:Hr&&(0,v.ic)(Wr)},et=ye(),wr=Ie();return wr.subscribe(({rawEvent:Sr,metricName:kr})=>{if(kr&&!pt.metric||!pt[Sr.type])return;const qt=kr||Sr.status||Sr.type;let Sn=sn[qt];if(Sn||(Sn=sn[qt]=new Set),Sn.size>=$r)return;const dr=(0,E.s)(Sr);if(Sn.has(dr))return;const Nr=Ir.triggerHook(1,{startTime:(0,m.M8)().relative});if(Nr===U.ug)return;const un=Dr(Nr,kt,Sr,et);yr.notify(un),(0,h.b)("telemetry",un),Sn.add(dr)}),wr.unbuffer(),(0,g.Bd)(be),{enabled:Hr,metricsEnabled:pt.metric};function Dr(Sr,kr,qt,Sn){const Nr={type:"telemetry",date:(0,m.M8)().timeStamp,service:kr,version:"7.0.0",source:"browser",_dd:{format_version:2},telemetry:(0,w.kg)(qt,{runtime_env:Sn,connectivity:(0,C.q)(),sdk_setup:"npm"}),ddtags:(0,i.m5)(Nt).join(","),experimental_features:Array.from((0,s.q7)())};return(0,w.kg)(Nr,Sr)}}function qe(kt,Nt){const Ir=[];if((0,O.d0)()){const yr=(0,O.Y9)(),Wr=Nt.subscribe($r=>yr.send("internal_telemetry",$r));Ir.push(Wr.unsubscribe)}else{const yr=[kt.rumEndpointBuilder];kt.replica&&De(kt)&&yr.push(kt.replica.rumEndpointBuilder);const Wr=(0,R.X)({encoder:(0,F.N)(),request:(0,B.sA)(yr,X.l),flushController:(0,M.tO)({pageMayExitObservable:(0,H._T)(kt),sessionExpireOb
2servable:new l.cP})});Ir.push(Wr.stop);const $r=Nt.subscribe(Wr.add);Ir.push($r.unsubscribe)}return{stop:()=>Ir.forEach(yr=>yr())}}function ye(){return{is_local_file:W.J2.location?.protocol==="file:",is_worker:W.Wq}}function xe(){ge=void 0}function De(kt){return kt.site===u.Bb}function Fe(kt,Nt){(0,g.oO)(n.bP.debug,kt,Nt),Ie().notify({rawEvent:{type:te.LOG,message:kt,status:"debug",...Nt}})}function be(kt,Nt){Ie().notify({rawEvent:{type:te.LOG,status:"error",...At(kt),...Nt}})}function ke(kt){Ie().notify({rawEvent:{type:te.CONFIGURATION,configuration:kt}})}function Ge(kt,Nt){Ie().notify({rawEvent:{type:te.LOG,message:kt,status:"debug",...Nt},metricName:kt})}function Xe(kt){Ie().notify({rawEvent:{type:te.USAGE,usage:kt}})}function At(kt){if((0,r.bJ)(kt)){const Nt=(0,T.T)(kt);return{error:{kind:Nt.name,stack:(0,a.Yn)(yt(Nt))},message:Nt.message}}return{error:{stack:r.e6},message:`Uncaught ${(0,E.s)(kt)}`}}function yt(kt){return kt.stack=kt.stack.filter(Nt=>!Nt.url||q.some(Ir=>Nt.url.startsWith(Ir))),kt}},21877(f,d,e){"use strict";e.d(d,{D:()=>a,w:()=>r});var n=e(26303);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}}},72149(f,d,e){"use strict";e.d(d,{$O:()=>a,XP:()=>s,ug:()=>r});var n=e(60461);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)}}}},81745(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)}}}}},72060(f,d,e){"use strict";e.d(d,{y:()=>r});var n=e(69421);function r(a,s){return(...i)=>{try{return a(...i)}catch(u){n.Vy.error(s,u)}}}},69421(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:"},1995(f,d,e){"use strict";e.d(d,{N:()=>r});var n=e(4006);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}}}},25838(f,d,e){"use strict";e.d(d,{Aq:()=>s,R9:()=>r,q7:()=>m,sr:()=>u});var n=e(35677),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.TRACK_RESOURCE_HEADERS="track_resource_headers",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}},17528(f,d,e){"use strict";e.d(d,{W:()=>r});var n=e(82447);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}},82447(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},56767(f,d,e){"use strict";e.d(d,{H:()=>i,t:()=>u});var n=e(40046),r=e(9077),a=e(89336),s=e(64278);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 E=!1;const w=function(){if(E)return v.apply(this,arguments);const T=Array.from(arguments);let C;(0,r.um)(g,null,[{target:this,parameters:T,onPostCall:R=>{C=R},handlingStack:h?(0,s.uC)("instrumented method"):void 0}]);const O=v.apply(this,T);return C&&(0,r.um)(C,null,[O]),O};return l[m]=w,{stop:()=>{E=!0,l[m]===w&&(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 E=(T,C)=>{(0,n.wg)(()=>{E!==v&&g(T,C)},0)};const w=function(T){h.set.call(this,T),E(this,T)};return Object.defineProperty(l,m,{set:w}),{stop:()=>{Object.getOwnPropertyDescriptor(l,m)?.set===w&&Object.defineProperty(l,m,h),E=v}}}},42755(f,d,e){"use strict";e.d(d,{K:()=>s,V:()=>a});var n=e(69421),r=e(9612);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})}},60461(f,d,e){"use strict";e.d(d,{Go:()=>a,kg:()=>s});var n=e(9612);
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}}}},48121(f,d,e){"use strict";e.d(d,{B:()=>r});const n=new Map;function r(a){return a}},9077(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(69421);let r,a=!1;function s(E){r=E}function i(E){a=E}function u(){r=void 0,a=!1}function l(E,w,T){const C=T.value;T.value=function(...O){return(r?m(C):C).apply(this,O)}}function m(E){return function(...w){return g(E,this,w)}}function g(E,w,T){try{return E.apply(w,T)}catch(C){h(C)}}function h(E){if(v(E),r)try{r(E)}catch(w){v(w)}}function v(...E){a&&n.Vy.error("[MONITOR]",...E)}},26303(f,d,e){"use strict";e.d(d,{dX:()=>u,cP:()=>s,Fx:()=>i});var n=e(9077),r=e(82447);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})}}},55827(f,d,e){"use strict";e.d(d,{BB:()=>s});var n=e(40046),r=e(9077),a=e(28011);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)}},48847(f,d,e){"use strict";e.d(d,{b:()=>r});var n=e(82447);function r(a,s){const i=n.J2.__ddBrowserSdkExtensionCallback;i&&i({type:a,payload:s})}},61770(f,d,e){"use strict";e.d(d,{M:()=>a,s:()=>r});var n=e(89336);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}},91698(f,d,e){"use strict";e.d(d,{a:()=>l});var n=e(69421),r=e(4006),a=e(61770);const s=220*r._m,i="$",u=3;function l(T,C=s){const O=(0,a.M)(Object.prototype),R=(0,a.M)(Array.prototype),B=[],M=new WeakMap,F=m(T,i,void 0,B,M),H=JSON.stringify(F);let U=H?H.length:0;if(U>C){w(C,"discarded",T);return}for(;B.length>0&&U<C;){const W=B.shift();let X=0;if(Array.isArray(W.source))for(let te=0;te<W.source.length;te++){const q=m(W.source[te],W.path,te,B,M);if(q!==void 0?U+=JSON.stringify(q).length:U+=4,U+=X,X=1,U>C){w(C,"truncated",T);break}W.target[te]=q}else for(const te in W.source)if(Object.prototype.hasOwnProperty.call(W.source,te)){const q=m(W.source[te],W.path,te,B,M);if(q!==void 0&&(U+=JSON.stringify(q).length+X+te.length+u,X=1),U>C){w(C,"truncated",T);break}W.target[te]=q}}return O(),R(),F}function m(T,C,O,R,B){const M=E(T);if(!M||typeof M!="object")return g(M);const F=h(M);if(F!=="[Object]"&&F!=="[Array]"&&F!=="[Error]")return F;const H=T;if(B.has(H))return`[Reference seen at ${B.get(H)}]`;const U=O!==void 0?`${C}.${O}`:C,W=Array.isArray(M)?[]:{};return B.set(H,U),R.push({source:M,target:W,path:U}),W}function g(T){return typeof T=="bigint"?`[BigInt] ${T.toString()}`:typeof T=="function"?`[Function] ${T.name||"unknown"}`:typeof T=="symbol"?`[Symbol] ${T.description||T.toString()}`:T}function h(T){try{if(T instanceof Event)return v(T);if(T instanceof RegExp)return`[RegExp] ${T.toString()}`;const O=Object.prototype.toString.call(T).match(/\[object (.*)\]/);if(O&&O[1])return`[${O[1]}]`}catch{}return"[Unserializable]"}function v(T){return{type:T.type,isTrusted:T.isTrusted,currentTarget:T.currentTarget?h(T.currentTarget):null,target:T.target?h(T.target):null}}function E(T){const C=T;if(C&&typeof C.toJSON=="function")try{return C.toJSON()}catch{}return T}function w(T,C,O){n.Vy.warn(`The data provided has been ${C} as it is over the limit of ${T} characters:`,O)}},89033(f,d,e){"use strict";e.d(d,{T:()=>a,h:()=>B});var n=e(9612);const r="?";function a(X){const te=[];let q=R(X,"stack");const ae=String(X);if(q&&q.startsWith(ae)&&(q=q.slice(ae.length)),q&&q.split(` 3`).forEach(le=>{const pe=m(le)||v(le)||w(le)||O(le);pe&&(!pe.func&&pe.line&&(pe.func=r),te.push(pe))}),te.length>0&&W()&&X instanceof Error){const le=[];let pe=X;for(;(pe=Object.getPrototypeOf(pe))&&H(pe);){const ge=pe.constructor?.name||r;le.push(ge)}for(let ge=le.length-1;ge>=0&&te[0]?.func===le[ge];ge--)te.shift()}return{message:R(X,"message"),name:R(X,"name"),stack:te}}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(X){const te=u.exec(X);if(!te)return;const q=te[2]&&te[2].indexOf("native")===0,ae=te[2]&&te[2].indexOf("eval")===0,le=l.exec(te[2]);return ae&&le&&(te[2]=le[1],te[3]=le[2],te[4]=le[3]),{args:q?[te[2]]:[],column:te[4]?+te[4]:void 0,func:te[1]||r,line:te[3]?+te[3]:void 0,url:q?void 0:te[2]}}const g="(?:(.*)?(?: @))",h=new RegExp(`^\\s*at\\s*${g}?\\s*${s}${i}?${i}??\\s*$`,"i");function v(X){const te=h.exec(X);if(te)return{args:[],column:te[4]?+te[4]:void 0,func:te[1]||r,line:te[3]?+te[3]:void 0,url:te[2]}}
3const E=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function w(X){const te=E.exec(X);if(te)return{args:[],column:te[4]?+te[4]:void 0,func:te[1]||r,line:+te[3],url:te[2]}}const T=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,C=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function O(X){const te=T.exec(X);if(!te)return;const q=te[3]&&te[3].indexOf(" > eval")>-1,ae=C.exec(te[3]);return q&&ae&&(te[3]=ae[1],te[4]=ae[2],te[5]=void 0),{args:te[2]?te[2].split(","):[],column:te[5]?+te[5]:void 0,func:te[1]||r,line:te[4]?+te[4]:void 0,url:te[3]}}function R(X,te){return(0,n.O)(X)&&typeof X[te]=="string"?X[te]:void 0}function B(X,te,q,ae){if(te===void 0)return;const{name:le,message:pe}=F(X);return{name:le,message:pe,stack:[{url:te,column:ae,line:q}]}}const M=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function F(X){let te,q;return{}.toString.call(X)==="[object String]"&&([,te,q]=M.exec(X)),{name:te,message:q}}function H(X){return String(X.constructor).startsWith("class ")}let U;function W(){if(U!==void 0)return U;class X extends Error{constructor(){super(),this.name="Error"}}const[te,q]=[X,Error].map(ae=>new ae);return U=H(Object.getPrototypeOf(te))&&q.stack!==te.stack,U}},64278(f,d,e){"use strict";e.d(d,{NR:()=>i,Yn:()=>s,uC:()=>a});var n=e(9077),r=e(89033);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}`:"",E=m.line&&m.column?`:${m.column}`:"";l+=` 4 at ${g}${h} @ ${m.url}${v}${E}`}),l}function i(u){return`${u.name||"Error"}: ${u.message}`}},40046(f,d,e){"use strict";e.d(d,{DJ:()=>i,vG:()=>l,wg:()=>s,yb:()=>u});var n=e(17528),r=e(9077),a=e(82447);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)}},50811(f,d,e){"use strict";e.d(d,{Ai:()=>r,EI:()=>a,R3:()=>n});function n(s){const i=new Set;return 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}},4006(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}},89336(f,d,e){"use strict";e.d(d,{l:()=>a,n:()=>r});var n=e(40046);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:(...E)=>{if(g){h=E;return}l?s(...E):h=E,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(){}},53943(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"}},35677(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}},62189(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)}},25705(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}}},88563(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),E=h>=55296&&h<=56319?m+1:m;return l.length<=E?l:`${l.slice(0,E)}${g}`}},28011(f,d,e){"use strict";e.d(d,{$H:()=>u,$S:()=>T,FR:()=>l,Gw:()=>B,M8:()=>C,MA:()=>s,OY:()=>r,Oc:()=>O,TP:()=>h,T_:()=>W,Zj:()=>v,gs:()=>M,iW:()=>a,jR:()=>m,nx:()=>w,pu:()=>H,vk:()=>R,x3:()=>E});var n=e(53943);const r=1e3,a=60*r,s=60*a,u=365*(24*s);function l(X){return{relative:X,timeStamp:g(X)}}function m(X){return{relative:M(X),timeStamp:X}}function g(X){const te=E()-performance.now();return te>W()?Math.round(B(te,X)):F(X)}function h(){return Math.round(E()-B(W(),performance.now()))}function v(X){return(0,n.Et)(X)?(0,n.LI)(X*1e6,0):X}function E(){return new Date().getTime()}function w(){return E()}function T(){return performance.now()}function C(){return{relative:T(),timeStamp:w()}}function O(){return{relative:0,timeStamp:W()}}function R(X,te){return te-X}function B(X,te){return X+te}function M(X){return X-W()}function F(X){return Math.round(B(W(),X))}function H(X){return X<u}let U;function W(){return U===void 0&&(U=performance.timing?.navigationStart??performance.timeOrigin),U}},9612(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"}},10707(f,d,e){"use strict";e.d(d,{AY:()=>a,L2:()=>s,c$:()=>i,l2:()=>r});var n=e(82447);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}},26956(f,d,e){"use strict";e.d(d,{qj:()=>h});var n,r=e(40046),a=e(50811),s=e(28011);const i=1/0,u=s.iW;let l;const m=new Set;function g(){m.forEach(E=>E())}function h({expireDelay:E,maxEntries:w}){let T=[];l||(l=(0,r.yb)(()=>g(),u));const C=()=>{const W=(0,s.$S)()-E;for(;T.length>0&&T[T.length-1].endTime<W;)T.pop()};m.add(C);function O(W,X){const te={value:W,startTime:X,endTime:i,remove:()=>{(0,a.Ai)(T,te)},close:q=>{te.endTime=q}};return w&&T.length>=w&&T.pop(),T.unshift(te),te}function R(W=i,X={returnInactive:!1}){for(const te of T)if(te.startTime<=W){if(X.returnInactive||W<=te.endTime)return te.value;break}}function B(W){const X=T[0];X&&X.endTime===i&&X.close(W)}function M(W=i,X=0){const te=(0,s.Gw)(W,X);return T.filter(q=>q.startTime<=te&&W<=q.endTime).map(q=>q.value)}function F(W){return T.filter(X=>X.startTime===W)}function H(){T=[]}function U(){m.delete(C),m.size===0&&l&&((0,r.vG)(l),l=void 0)}return{add:O,find:R,closeActive:B,findAll:M,getEntries:F,reset:H,stop:U}}function v(){m.clear(),n(l),l=void 0}},1053(f,d,e){"use strict";e.d(d,{X:()=>l});var n=e(69421),r=e(62189),a=e(99513),s=e(61770),i=e(4006);const u=256*i._m;function l({encoder:g,request:h,flushController:v}){let E={};const w=v.flushObservable.subscribe(R=>O(R));function T(R,B,M){if(M!==void 0){let F;E[M]!==void 0?F=B-g.estimateEncodedBytesCount(E[M]):(v.notifyBeforeAddMessage(B),F=0),E[M]=R,v.notifyAfterAddMessage(F)}else v.notifyBeforeAddMessage(B),g.write(g.isEmpty?R:` 5${R}`,F=>{v.notifyAfterAddMessage(F-B)})}function C(R,B){const M=(0,s.s)(R),F=g.estimateEncodedBytesCount(M);if(F>=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}T(M,F,B)}function O(R){const B=(0,r.KQ)(E).join(` 6`);E={};const M=(0,a.Kp)(R.reason),F=M?h.sendOnExit:h.send;if(M&&g.isAsync){const H=g.finishSync();H.outputBytesCount&&F(m(H));
6const U=[H.pendingData,B].filter(Boolean).join(` 7`);U&&F({data:U,bytesCount:(0,i.WW)(U)})}else B&&g.write(g.isEmpty?B:` 8${B}`),g.finish(H=>{F(m(H))})}return{flushController:v,add:C,upsert:C,stop:w.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}}},33928(f,d,e){"use strict";e.d(d,{Ww:()=>a,Y9:()=>r,d0:()=>s});var n=e(82447);function r(){const u=i();if(u)return{getCapabilities(){return JSON.parse(u.getCapabilities?.()||"[]")},getPrivacyLevel(){return u.getPrivacyLevel?.()},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}},52895(f,d,e){"use strict";e.d(d,{tO:()=>m});var n=e(82447),r=e(26303),a=e(40046),s=e(28011),i=e(15261);const u=30*s.OY,l=n.Wq?1:50;function m({pageMayExitObservable:g,sessionExpireObservable:h}){let v;const E=new r.cP,w=g.subscribe(U=>{v=U.reason;try{E.notify(U.reason)}finally{v=void 0}B(U.reason)}),T=h.subscribe(()=>B("session_expire")),C=new r.cP(()=>()=>{w.unsubscribe(),T.unsubscribe()});let O=0,R=0;function B(U){if(R===0)return;const W=R,X=O;R=0,O=0,H(),C.notify({reason:U,messagesCount:W,bytesCount:X})}let M;function F(){M===void 0&&(M=(0,a.wg)(()=>{B("duration_limit")},u))}function H(){(0,a.DJ)(M),M=void 0}return{flushObservable:C,preparePageExitFlushObservable:E,get messagesCount(){return R},notifyBeforeAddMessage(U){O+U>=i.AK&&B(v??"bytes_limit"),R+=1,O+=U,F()},notifyAfterAddMessage(U=0){O+=U,R>=l?B(v??"messages_limit"):O>=i.AK&&B(v??"bytes_limit")}}}},15261(f,d,e){"use strict";e.d(d,{AK:()=>U,sA:()=>W});var n=e(35712),r=e(9077),a=e(26303),s=e(4006),i=e(40046),u=e(28011),l=e(25705),m=e(78976);const g=80*s._m,h=32,v=20*s.iH,E=u.iW,w=u.OY;function T(le,pe,ge,Ie,Ce,Je){pe.transportStatus===0&&pe.queuedPayloads.size()===0&&pe.bandwidthMonitor.canHandle(le)?O(le,pe,ge,Je,{onSuccess:()=>R(0,pe,ge,Ie,Ce,Je),onFailure:()=>{pe.queuedPayloads.enqueue(le)||Je.notify({type:"queue-full",bandwidth:pe.bandwidthMonitor.stats(),payload:le}),C(pe,ge,Ie,Ce,Je)}}):pe.queuedPayloads.enqueue(le)||Je.notify({type:"queue-full",bandwidth:pe.bandwidthMonitor.stats(),payload:le})}function C(le,pe,ge,Ie,Ce){le.transportStatus===2&&(0,i.wg)(()=>{const Je=le.queuedPayloads.first();O(Je,le,pe,Ce,{onSuccess:()=>{le.queuedPayloads.dequeue(),le.currentBackoffTime=w,R(1,le,pe,ge,Ie,Ce)},onFailure:()=>{le.currentBackoffTime=Math.min(E,le.currentBackoffTime*2),C(le,pe,ge,Ie,Ce)}})},le.currentBackoffTime)}function O(le,pe,ge,Ie,{onSuccess:Ce,onFailure:Je}){pe.bandwidthMonitor.add(le),ge(le,qe=>{pe.bandwidthMonitor.remove(le),B(qe)?(pe.transportStatus=pe.bandwidthMonitor.ongoingRequestCount>0?1:2,le.retry={count:le.retry?le.retry.count+1:1,lastFailureStatus:qe.status},Ie.notify({type:"failure",bandwidth:pe.bandwidthMonitor.stats(),payload:le}),Je()):(pe.transportStatus=0,Ie.notify({type:"success",bandwidth:pe.bandwidthMonitor.stats(),payload:le}),Ce())})}function R(le,pe,ge,Ie,Ce,Je){le===0&&pe.queuedPayloads.isFull()&&!pe.queueFullReported&&(Ce({message:`Reached max ${Ie} events size queued for upload: ${v/s.iH}MiB`,source:m.g.AGENT,startClocks:(0,u.M8)()}),pe.queueFullReported=!0);const qe=pe.queuedPayloads;for(pe.queuedPayloads=F();qe.size()>0;)T(qe.dequeue(),pe,ge,Ie,Ce,Je)}function B(le){return le.type!=="opaque"&&(le.status===0&&!navigator.onLine||le.status===408||le.status===429||(0,l.G)(le.status))}function M(){return{transportStatus:0,currentBackoffTime:w,bandwidthMonitor:H(),queuedPayloads:F(),queueFullReported:!1}}function F(){const le=[];return{bytesCount:0,enqueue(pe){return this.isFull()?!1:(le.push(pe),this.bytesCount+=pe.bytesCount,!0)},first(){return le[0]},dequeue(){const pe=le.shift();return pe&&(this.bytesCount-=pe.bytesCount),pe},size(){return le.length},isFull(){return this.bytesCount>=v}}}function H(){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 U=16*s._m;function W(le,pe,ge=U){const Ie=new a.cP,Ce=M();return{observable:Ie,send:Je=>{for(const qe of le)T(Je,Ce,(ye,xe)=>{ae(qe,ye,xe)},qe.trackType,pe,Ie)},sendOnExit:Je=>{for(const qe of le)X(qe,ge,Je)}}}function X(le,pe,ge){if(ge.bytesCount<pe)try{const Ce=le.build("beacon",ge);if(navigator.sendBeacon(Ce,ge.data))return}catch(Ce){q(Ce)}ae(le,ge)}let te=!1;function q(le){te||(te=!0,(0,r.Dx)(le))}function ae(le,pe,ge){const Ie=le.build("fetch",pe);(0,n.h)(Ie,{method:"POST",body:pe.data,mode:"cors"}).then((0,r.dm)(Ce=>ge?.({status:Ce.status,type:Ce.type}))).catch((0,r.dm)(()=>ge?.({status:0})))}},69411(f,d,e){"use strict";e.d(d,{yf:()=>cr});var n=e(78552),r=e(82447),a=e(21877),s=e(30264),i=e(48121),u=e(9077),l=e(94542),m=e(30759),g=e(23114),h=e(91698),v=e(60461),E=e(87352),w=e(34305),T=e(37143),C=e(78976),O=e(28011),R=e(64278),B=e(75267);function M(fe,Re,Qe){const mt=Qe.getHandler(),xt=Array.isArray(mt)?mt:[mt];return H[fe]>=H[Qe.getLevel()]&&xt.includes(Re)}const F={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},H={[F.ok]:0,[F.debug]:1,[F.info]:2,[F.notice]:4,[F.warn]:5,[F.error]:6,[F.critical]:7,[F.alert]:8,[F.emerg]:9};function U(fe,{includeMessage:Re=!1}={}){return{stack:fe.stack,kind:fe.type,message:Re?fe.message:void 0,causes:fe.causes,fingerprint:fe.fingerprint,handling:fe.handling}}var W=function(fe,Re,Qe,mt){var xt=arguments.length,Mr=xt<3?Re:mt===null?mt=Object.getOwnPropertyDescriptor(Re,Qe):mt,vn;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Mr=Reflect.decorate(fe,Re,Qe,mt);else for(var Ut=fe.length-1;Ut>=0;Ut--)(vn=fe[Ut])&&(Mr=(xt<3?vn(Mr):xt>3?vn(Re,Qe,Mr):vn(Re,Qe))||Mr);return xt>3&&Mr&&Object.defineProperty(Re,Qe,Mr),Mr};const X={console:"console",http:"http",silent:"silent"},te=Object.keys(F);class q{constructor(Re,Qe,mt=X.http,xt=F.debug,Mr={}){this.handleLogStrategy=Re,this.handlerType=mt,this.level=xt,this.contextManager=(0,w.D)("logger"),this.tags=[],this.contextManager.setContext(Mr),Qe&&this.contextManager.setContextProperty("logger",{name:Qe})}logImplementation(Re,Qe,mt=F.info,xt,Mr){const vn=(0,h.a)(Qe);let Ut;if(xt!=null){const Yn=(0,T.As)({originalError:xt,nonErrorPrefix:"Provided",source:C.g.LOGGER,handling:"handled",startClocks:(0,O.M8)()});Ut=(0,v.kg)({error:U(Yn,{includeMessage:!0})},Yn.context,vn)}else Ut=vn;this.handleLogStrategy({message:(0,h.a)(Re),context:Ut,status:mt},this,Mr)}log(Re,Qe,mt=F.info,xt){let Mr;M(mt,X.http,this)&&(Mr=(0,R.uC)("log")),this.logImplementation(Re,Qe,mt,xt,Mr)}setContext(Re){this.contextManager.setContext(Re)}getContext(){return this.contextManager.getContext()}setContextProperty(Re,Qe){this.contextManager.setContextProperty(Re,Qe)}
8removeContextProperty(Re){this.contextManager.removeContextProperty(Re)}clearContext(){this.contextManager.clearContext()}addTag(Re,Qe){this.tags.push((0,B.NQ)(Re,Qe))}removeTagsWithKey(Re){const Qe=(0,B.iP)(Re);this.tags=this.tags.filter(mt=>mt!==Qe&&!mt.startsWith(`${Qe}:`))}getTags(){return this.tags.slice()}setHandler(Re){this.handlerType=Re}getHandler(){return this.handlerType}setLevel(Re){this.level=Re}getLevel(){return this.level}}W([u.Ed],q.prototype,"logImplementation",null),q.prototype.ok=ae(F.ok),q.prototype.debug=ae(F.debug),q.prototype.info=ae(F.info),q.prototype.notice=ae(F.notice),q.prototype.warn=ae(F.warn),q.prototype.error=ae(F.error),q.prototype.critical=ae(F.critical),q.prototype.alert=ae(F.alert),q.prototype.emerg=ae(F.emerg);function ae(fe){return function(Re,Qe,mt){let xt;M(fe,X.http,this)&&(xt=(0,R.uC)("log")),this.logImplementation(Re,Qe,fe,mt,xt)}}function le(){return r.Wq?{}:{view:{referrer:document.referrer,url:window.location.href}}}var pe=e(48847),ge=e(99513),Ie=e(11955),Ce=e(75715
8),Je=e(46523),qe=e(90231),ye=e(33928),xe=e(34585),De=e(72149);function Fe(fe,Re,Qe,mt,xt,Mr){const vn=te.concat(["custom"]),Ut={};vn.forEach(Yn=>{Ut[Yn]=(0,xe.$)(Yn,xt,Mr)}),Re.subscribe(0,({rawLogsEvent:Yn,messageContext:mi=void 0,savedCommonContext:yn=void 0,domainContext:ji,ddtags:Tn=[]})=>{const Cs=(0,O.gs)(Yn.date),$i=yn||mt(),gs=Qe.triggerHook(0,{startTime:Cs});if(gs===De.ug)return;const vs=(0,B.m5)(fe),Vt=(0,v.kg)({view:$i.view},gs,Yn,mi,{ddtags:vs.concat(Tn).join(",")});fe.beforeSend?.(Vt,ji)===!1||Vt.origin!==C.g.AGENT&&(Ut[Vt.status]??Ut.custom).isLimitReached()||Re.notify(1,Vt)})}var be=e(69421);const ke={[be.bP.log]:F.info,[be.bP.debug]:F.debug,[be.bP.info]:F.info,[be.bP.warn]:F.warn,[be.bP.error]:F.error};function Ge(fe,Re,Qe){const mt=Qe.subscribe(({data:xt,type:Mr})=>{if(Mr!==3||!fe.forwardConsoleLogs.includes(xt.api))return;const vn={rawLogsEvent:{date:(0,O.nx)(),message:xt.message,origin:C.g.CONSOLE,error:xt.error&&U(xt.error),status:ke[xt.api]},messageContext:xt.error?.context,domainContext:{handlingStack:xt.handlingStack}};Re.notify(0,vn)});return{stop:()=>mt.unsubscribe()}}var Xe=e(34336);function At(fe,Re){const Qe=(0,Xe.u)(fe,fe.forwardReports).subscribe(mt=>{let xt=mt.message,Mr;const vn=mt.originalError.type==="deprecation"?F.warn:F.error;vn===F.error?Mr=U(mt):mt.stack&&(xt+=` Found in ${(0,T.$X)(mt.stack)}`),Re.notify(0,{rawLogsEvent:{date:(0,O.nx)(),message:xt,origin:C.g.REPORT,error:Mr,status:vn}})});return{stop:()=>{Qe.unsubscribe()}}}var yt=e(89336),kt=e(40881),Nt=e(59773),Ir=e(52760),yr=e(25705),Wr=e(89033),$r=e(88563);function sn(fe,Re,Qe){if(!fe.forwardErrorsToLogs)return{stop:yt.l};(0,kt.i)({responseBodyAction:vn=>xt(vn)?1:0});const mt=Qe.subscribe(({data:vn,type:Ut})=>{Ut===1&&vn.state==="resolve"?Mr(Nt.Y.FETCH,vn):Ut===2&&vn.state==="complete"&&Mr(Nt.Y.XHR,vn)});function xt(vn){return!(0,Ir.w)(vn.url)&&!vn.isAborted&&(Hr(vn)||(0,yr.G)(vn.status))}function Mr(vn,Ut){if(!xt(Ut))return;const Yn="error"in Ut&&Ut.error?(0,R.Yn)((0,Wr.T)(Ut.error)):Ut.responseBody||"Failed to load",mi={handlingStack:Ut.handlingStack};Re.notify(0,{rawLogsEvent:{message:`${pt(vn)} error ${Ut.method} ${Ut.url}`,date:Ut.startClocks.timeStamp,error:{stack:(0,$r._R)(Yn,fe.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:Ut.method,status_code:Ut.status,url:Ut.url},status:F.error,origin:C.g.NETWORK},domainContext:mi})}return{stop:()=>mt.unsubscribe()}}function Hr(fe){return fe.status===0&&fe.responseType!=="opaque"}function pt(fe){return Nt.Y.XHR===fe?"XHR":"Fetch"}function et(fe,Re,Qe){if(!fe.forwardErrorsToLogs)return{stop:yt.l};const mt=Qe.subscribe(xt=>{if(xt.type===0){const Mr=xt.data;Re.notify(0,{rawLogsEvent:{message:Mr.message,date:Mr.startClocks.timeStamp,error:U(Mr),origin:C.g.SOURCE,status:F.error},messageContext:Mr.context})}});return{stop:()=>{mt.unsubscribe()}}}var wr=e(81745);const Dr=wr.D;function Sr(fe){function Re(Qe,mt,xt,Mr,vn){const Ut=(0,v.kg)(mt.getContext(),Qe.context);if(M(Qe.status,X.console,mt)&&qt(Qe,Ut),M(Qe.status,X.http,mt)){const Yn={rawLogsEvent:{date:vn||(0,O.nx)(),message:Qe.message,status:Qe.status,origin:C.g.LOGGER},messageContext:Ut,savedCommonContext:Mr,ddtags:mt.getTags()};xt&&(Yn.domainContext={handlingStack:xt}),fe.notify(0,Yn)}}return{handleLog:Re}}const kr={[F.ok]:be.bP.debug,[F.debug]:be.bP.debug,[F.info]:be.bP.info,[F.notice]:be.bP.info,[F.warn]:be.bP.warn,[F.error]:be.bP.error,[F.critical]:be.bP.error,[F.alert]:be.bP.error,[F.emerg]:be.bP.error};function qt({status:fe,message:Re},Qe){be.Z9[kr[fe]].call(be.JZ,Re,Qe)}var Sn=e(1053),dr=e(1995),Nr=e(15261),un=e(52895);function Xt(fe,Re,Qe,mt,xt){const Mr=[fe.logsEndpointBuilder];fe.replica&&Mr.push(fe.replica.logsEndpointBuilder);const vn=(0,Sn.X)({encoder:(0,dr.N)(),request:(0,Nr.sA)(Mr,Qe),flushController:(0,un.tO)({pageMayExitObservable:mt,sessionExpireObservable:xt.expireObservable})});return Re.subscribe(1,Ut=>{vn.add(Ut)}),vn}function br(fe){const Re=(0,ye.Y9)();fe.subscribe(1,Qe=>{Re.send("log",Qe)})}function $t(fe){return{get:Re=>{const Qe=fe.findTrackedSession(Re);if(Qe)return{session_id:Qe.id}}}}function wt(fe){return Re=>{fe.notify(0,{rawLogsEvent:{message:Re.message,date:Re.startClocks.timeStamp,origin:C.g.AGENT,status:F.error}}),(0,l.A2)("Error reported to customer",{"error.message":Re.message})}}var Ar=e(72521);function Q(fe){const Re=r.J2;fe.register(0,({startTime:xt})=>{const Mr=Qe(xt);return Mr||De.$O}),fe.register(1,({startTime:xt})=>{const Mr=Qe(xt);return Mr?{application:{id:Mr.application_id},view:{id:Mr.view?.id},action:{id:Mr.user_action?.id}}:De.$O});function Qe(xt){const vn=(0,Ar.ao)()?Re.DD_RUM_SYNTHETICS:Re.DD_RUM,Ut=mt(xt,vn);if(Ut)return Ut}function mt(xt,Mr){if(Mr&&Mr.getInternalContext)return Mr.getInternalContext(xt)}}function ut(fe,Re,Qe){fe.register(0,({startTime:mt})=>{const xt=Qe.findTrackedSession(mt);return Qe.findTrackedSession(mt,{returnInactive:!0})?{service:Re.service,session_id:xt?xt.id:void 0,session:xt?{id:xt.id}:void 0}:De.ug})}const tr="logs";function rt(fe,Re,Qe,mt,xt){const Mr=new Dr,vn=[];Mr.subscribe(1,$i=>(0,pe.b)("logs",$i));const Ut=wt(Mr),Yn=(0,ge._T)(fe);ut(xt,fe,Re);const mi=(0,Ie.B)(xt,fe,tr),yn=(0,Ce.$)(xt,fe,Re,tr),ji=(0,Je.F)(xt,fe,tr,!1);Q(xt),(0,qe.j3)(xt),sn(fe,Mr,mt),et(fe,Mr,mt),Ge(fe,Mr,mt),mt.unbuffer(),At(fe,Mr);const{handleLog:Tn}=Sr(Mr);if(Fe(fe,Mr,xt,Qe,Ut),(0,ye.d0)())br(Mr);else{const{stop:$i}=Xt(fe,Mr,Ut,Yn,Re);vn.push(()=>$i())}const Cs=$t(Re);return{handleLog:Tn,getInternalContext:Cs.get,accountContext:mi,globalContext:ji,userContext:yn,stop:()=>
8{vn.forEach($i=>$i())}}}var _t=e(26303),Yr=e(25838),ln=e(57508),cn=e(52853);const gn=De.XP;var wi=e(4006),ki=e(28505),Ur=e(62189),Bi=e(50811);const bs=32*wi._m;function Di(fe,Re){const Qe=(0,ki.Sz)(fe,Re),mt=on(fe.forwardConsoleLogs,(0,Ur.KQ)(be.bP),"Forward Console Logs"),xt=on(fe.forwardReports,(0,Ur.KQ)(Xe.V),"Forward Reports");if(!(!Qe||!mt||!xt))return{forwardErrorsToLogs:fe.forwardErrorsToLogs!==!1,forwardConsoleLogs:mt,forwardReports:xt,requestErrorResponseLengthLimit:bs,...Qe}}function on(fe,Re,Qe){if(fe===void 0)return[];if(!(fe==="all"||Array.isArray(fe)&&fe.every(mt=>Re.includes(mt)))){be.Vy.error(`${Qe} should be "all" or an array with allowed values "${Re.join('", "')}"`);return}return fe==="all"?Re:(0,Bi.R3)(fe)}function fi(fe){const Re=(0,ki.hO)(fe);return{forward_errors_to_logs:fe.forwardErrorsToLogs,forward_console_logs:fe.forwardConsoleLogs,forward_reports:fe.forwardReports,...Re}}function qi(fe,Re){function Qe(){return Re.isGranted()?De.$O:De.ug}fe.register(0,Qe),fe.register(1,Qe)}function ri(fe,Re,Qe){const xt=new _t.dX(500,$i=>{(0,l.A2)("preStartLogs buffer data lost",{count:$i})}),Mr=(0,Je.s)();(0,m.P)(Mr,g.N.globalContext,xt);const vn=(0,Ie.K)();(0,m.P)(vn,g.N.accountContext,xt);const Ut=(0,Ce.Y)();(0,m.P)(Ut,g.N.userContext,xt);let Yn,mi,yn;const ji=gn(),Tn=Re.observable.subscribe(Cs);function Cs(){if(!mi||!Yn||!yn)return;Tn.unsubscribe();const $i=Qe(mi,yn,ji);xt.subscribe(gs=>gs($i)),xt.unbuffer()}return{init($i,gs){if(!$i){be.Vy.error("Missing configuration");return}if((0,Yr.Aq)($i.enableExperimentalFeatures),(0,ye.d0)()&&($i=Vi($i)),Yn=$i,mi){(0,E.$)("DD_LOGS",$i);return}const vs=Di($i,gs);vs&&(mi=vs,Re.tryToInit(vs.trackingConsent),Re.onGrantedOnce(()=>{qi(ji,Re),(0,i.B)(l.a5)("browser-logs-sdk",vs,ji),((0,ye.d0)()?(0,ln.Ql)():(0,i.B)(ln.ox)(vs,Re)).then(hr=>{hr&&(yn=hr,(0,cn.l)(ji,yn),(0,l.Rr)(fi($i)),Cs())}).catch(u.Dx)}))},get initConfiguration(){return Yn},globalContext:Mr,accountContext:vn,userContext:Ut,getInternalContext:yt.l,handleLog($i,gs,vs,Vt=fe(),hr=(0,O.nx)()){xt.notify(rn=>rn.handleLog($i,gs,vs,Vt,hr))}}}function Vi(fe){return{...fe,clientToken:"empty"}}function si(){const fe=(0,a.D)(),Re=(0,s.t)().observable;let Qe=ri(le,fe,(vn,Ut,Yn)=>{const mi=(0,i.B)(rt)(vn,Ut,le,Re,Yn);return Qe=ks(Qe,mi),mi});const mt=()=>Qe,xt={},Mr=new q((...vn)=>Qe.handleLog(...vn));return(0,n.m)({logger:Mr,init:vn=>{const Ut=new Error().stack;(0,u.um)(()=>Qe.init(vn,Ut))},setTrackingConsent:(0,u.dm)(vn=>{fe.update(vn),(0,l.Q6)({feature:"set-tracking-consent",tracking_consent:vn})}),getGlobalContext:(0,m.q)(mt,g.N.globalContext,g.Q.getContext),setGlobalContext:(0,m.q)(mt,g.N.globalContext,g.Q.setContext),setGlobalContextProperty:(0,m.q)(mt,g.N.globalContext,g.Q.setContextProperty),removeGlobalContextProperty:(0,m.q)(mt,g.N.globalContext,g.Q.removeContextProperty),clearGlobalContext:(0,m.q)(mt,g.N.globalContext,g.Q.clearContext),createLogger:(0,u.dm)((vn,Ut={})=>(xt[vn]=new q((...Yn)=>Qe.handleLog(...Yn),(0,h.a)(vn),Ut.handler,Ut.level,(0,h.a)(Ut.context)),xt[vn])),getLogger:(0,u.dm)(vn=>xt[vn]),getInitConfiguration:(0,u.dm)(()=>(0,v.Go)(Qe.initConfiguration)),getInternalContext:(0,u.dm)(vn=>Qe.getInternalContext(vn)),setUser:(0,m.q)(mt,g.N.userContext,g.Q.setContext),getUser:(0,m.q)(mt,g.N.userContext,g.Q.getContext),setUserProperty:(0,m.q)(mt,g.N.userContext,g.Q.setContextProperty),removeUserProperty:(0,m.q)(mt,g.N.userContext,g.Q.removeContextProperty),clearUser:(0,m.q)(mt,g.N.userContext,g.Q.clearContext),setAccount:(0,m.q)(mt,g.N.accountContext,g.Q.setContext),getAccount:(0,m.q)(mt,g.N.accountContext,g.Q.getContext),setAccountProperty:(0,m.q)(mt,g.N.accountContext,g.Q.setContextProperty),removeAccountProperty:(0,m.q)(mt,g.N.accountContext,g.Q.removeContextProperty),clearAccount:(0,m.q)(mt,g.N.accountContext,g.Q.clearContext)})}function ks(fe,Re){return{...fe,init:Qe=>{(0,E.$)("DD_LOGS",Qe)},getInternalContext:Re.getInternalContext,globalContext:Re.globalContext,userContext:Re.userContext,accountContext:Re.accountContext}}const cr=si();(0,n.Z)((0,r.VZ)(),"DD_LOGS",cr)},87331(f,d,e){"use strict";e.d(d,{eT:()=>ei,o:()=>Ci,$m:()=>ur,NT:()=>Un,Wd:()=>Pi,bb:()=>R,K:()=>B,do:()=>je,K$:()=>Wu,wP:()=>Da,wI:()=>_o,W3:()=>cr,PJ:()=>Ti,dT:()=>ma,$4:()=>Oo,Gn:()=>id,zL:()=>Jl,dx:()=>Vc,rf:()=>V,pB:()=>
8xo,g1:()=>Zl,nS:()=>Hs,XS:()=>ao,p_:()=>Wa,AB:()=>Ed,jR:()=>xs,ei:()=>us,ap:()=>ho,Ie:()=>Fo});var n=e(21877),r=e(30264),a=e(1995),s=e(48121),i=e(64278),u=e(9077),l=e(94542),m=e(78552),g=e(60461),h=e(91698),v=e(28011),E=e(25838),w=e(30759),T=e(23114),C=e(88563),O=e(87352);const R={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},B={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},M={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",SESSION_RENEWAL:"session_renewal",BF_CACHE:"bf_cache"},F={CLICK:"click",CUSTOM:"custom",TAP:"tap",SCROLL:"scroll",SWIPE:"swipe",APPLICATION_START:"application_start",BACK:"back"},H={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"},U={DURATION:"duration",OPERATION_STEP:"operation_step"};var W=e(69421),X=e(28505),te=e(53943),q=e(35677),ae=e(50811),le=e(42755),pe=e(9612);const ge=["tracecontext","datadog"],Ie=["cache-control","etag","age","expires","content-type","content-encoding","vary","content-length","server-timing","x-cache"];function Ce(z,b){if(z.trackFeatureFlagsForEvents!==void 0&&!Array.isArray(z.trackFeatureFlagsForEvents)&&W.Vy.warn("trackFeatureFlagsForEvents should be an array"),!z.applicationId){W.Vy.error("Application ID is not configured, no RUM data will be collected.");return}if(!(0,X.bX)(z.sessionReplaySampleRate,"Session Replay")||!(0,X.bX)(z.traceSampleRate,"Trace"))return;if(z.excludedActivityUrls!==void 0&&!Array.isArray(z.excludedActivityUrls)){W.Vy.error("Excluded Activity Urls should be an array");return}const _=Je(z);if(!_)return;const L=(0,X.Sz)(z,b),G=xe(z);if(!L)return;const Y=z.sessionReplaySampleRate??0;return{applicationId:z.applicationId,actionNameAttribute:z.actionNameAttribute,sessionReplaySampleRate:Y,startSessionReplayRecordingManually:z.startSessionReplayRecordingManually!==void 0?!!z.startSessionReplayRecordingManually:Y===0,traceSampleRate:z.traceSampleRate??100,rulePsr:(0,te.Et)(z.traceSampleRate)?z.traceSampleRate/100:void 0,allowedTracingUrls:_,excludedActivityUrls:z.excludedActivityUrls??[],workerUrl:z.workerUrl,compressIntakeRequests:!!z.compressIntakeRequests,trackUserInteractions:!!(z.trackUserInteractions??!0),trackViewsManually:!!z.trackViewsManually,trackResources:!!(z.trackResources??!0),trackResourceHeaders:Fe(z),trackLongTasks:!!(z.trackLongTasks??!0),subdomain:z.subdomain,defaultPrivacyLevel:(0,q.Rj)(X.WA,z.defaultPrivacyLevel)?z.defaultPrivacyLevel:X.WA.MASK_USER_INPUT,enablePrivacyForActionName:z.enablePrivacyForActionName!==!1,traceContextInjection:(0,q.Rj)(X.uT,z.traceContextInjection)?z.traceContextInjection:X.uT.SAMPLED,plugins:z.plugins||[],trackFeatureFlagsForEvents:z.trackFeatureFlagsForEvents||[],profilingSampleRate:z.profilingSampleRate??0,propagateTraceBaggage:z.propagateTraceBaggage!==!1,allowedGraphQlUrls:G,...L}}function Je(z){if(z.allowedTracingUrls===void 0)return[];if(!Array.isArray(z.allowedTracingUrls)){W.Vy.error("Allowed Tracing URLs should be an array");return}if(z.allowedTracingUrls.length!==0&&z.service===void 0){W.Vy.error("Service needs to be configured when tracing is enabled");return}const b=[];return z.allowedTracingUrls.forEach(_=>{const L=ye(_);L?b.push(L):W.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",_)}),b}function qe(z){const b=new Set;return(0,ae.EI)(z.allowedTracingUrls)&&z.allowedTracingUrls.forEach(_=>{ye(_)?.propagatorTypes.forEach(L=>b.add(L))}),Array.from(b)}function ye(z){if((0,le.V)(z))return{match:z,propagatorTypes:ge};if((0,pe.O)(z)&&(0,le.V)(z.match)&&(z.propagatorTypes===null||z.propagatorTypes===void 0||Array.isArray(z.propagatorTypes)))return{match:z.match,propagatorTypes:z.propagatorTypes||ge}}function xe(z){if(!z.allowedGraphQlUrls)return[];if(!Array.isArray(z.allowedGraphQlUrls))return W.Vy.warn("allowedGraphQlUrls should be an array"),[];const b=[];
8return z.allowedGraphQlUrls.forEach(_=>{(0,le.V)(_)?b.push({match:_,trackPayload:!1,trackResponseErrors:!1}):(0,pe.O)(_)&&(0,le.V)(_.match)&&b.push({match:_.match,trackPayload:!!_.trackPayload,trackResponseErrors:!!_.trackResponseErrors})}),b}const De=["request","response","any"];function Fe(z){const b=z.trackResourceHeaders;if(b===void 0||b===!1)return[];if(b===!0)return Ie.map(L=>({name:L}));if(!Array.isArray(b))return W.Vy.warn("trackResourceHeaders should be true or an array of MatchHeader"),[];if(b.length===0)return W.Vy.warn("trackResourceHeaders is an empty array, no headers will be captured"),[];const _=[];return b.forEach((L,G)=>{if(!(0,pe.O)(L)||!(0,le.V)(L.name)){W.Vy.warn(`trackResourceHeaders[${G}] should be a MatchHeader object with a 'name' property`);return}if(L.url!==void 0&&!(0,le.V)(L.url)){W.Vy.warn(`trackResourceHeaders[${G}].url should be a MatchOption`);return}if(L.extractor!==void 0&&!(L.extractor instanceof RegExp)){W.Vy.warn(`trackResourceHeaders[${G}].extractor should be a RegExp`);return}if(L.location!==void 0&&!De.includes(L.location)){W.Vy.warn(`trackResourceHeaders[${G}].location should be 'request', 'response', or 'any'`);return}_.push({...L,name:typeof L.name=="string"?L.name.toLowerCase():L.name})}),_}function be(z){return(0,ae.EI)(z)&&z.some(b=>(0,pe.O)(b)&&b.trackPayload)}function ke(z){return(0,ae.EI)(z)&&z.some(b=>(0,pe.O)(b)&&b.trackResponseErrors)}function Ge(z){if(z===!0)return"default_headers";if(Array.isArray(z))return"custom"}function Xe(z){const b=(0,X.hO)(z);return{session_replay_sample_rate:z.sessionReplaySampleRate,start_session_replay_recording_manually:z.startSessionReplayRecordingManually,trace_sample_rate:z.traceSampleRate,trace_context_injection:z.traceContextInjection,propagate_trace_baggage:z.propagateTraceBaggage,action_name_attribute:z.actionNameAttribute,use_allowed_tracing_urls:(0,ae.EI)(z.allowedTracingUrls),use_allowed_graph_ql_urls:(0,ae.EI)(z.allowedGraphQlUrls),use_track_graph_ql_payload:be(z.allowedGraphQlUrls),use_track_graph_ql_response_errors:ke(z.allowedGraphQlUrls),selected_tracing_propagators:qe(z),default_privacy_level:z.defaultPrivacyLevel,enable_privacy_for_action_name:z.enablePrivacyForActionName,use_excluded_activity_urls:(0,ae.EI)(z.excludedActivityUrls),use_worker_url:!!z.workerUrl,compress_intake_requests:z.compressIntakeRequests,track_views_manually:z.trackViewsManually,track_user_interactions:z.trackUserInteractions,track_resources:z.trackResources,track_long_task:z.trackLongTasks,plugins:z.plugins?.map(_=>({name:_.name,..._.getConfigurationTelemetry?.()})),track_feature_flags_for_events:z.trackFeatureFlagsForEvents,remote_configuration_id:z.remoteConfigurationId,profiling_sample_rate:z.profilingSampleRate,use_remote_configuration_proxy:!!z.remoteConfigurationProxy,track_resource_headers:Ge(z.trackResourceHeaders),...b}}var At=e(25260),yt=e(35712),kt=e(1341);function Nt(z,b){b.lastIndex=0;const _=b.exec(z);if(!_)return;const[L,G]=_;return G||L}function Ir(z){const b=[];let _=0,L;const G={quote:void 0,escapeSequence:void 0};let Y="";for(const se of z){if(L=et[_].find(ce=>pt[ce](se,G)),!L)return[];if(G.escapeSequence!==void 0&&L!==12){if(!Sr(G.escapeSequence))return[];Y+=qt(G.escapeSequence),G.escapeSequence=void 0}wr.includes(L)?Y+=se:Dr.includes(L)&&Y!==""?(b.push(Y),Y=""):L===12?G.escapeSequence=G.escapeSequence?`${G.escapeSequence}${se}`:se:L===8?G.quote=se:L===9&&(G.quote=void 0),_=L}return et[_].includes(1)?(Y!==""&&b.push(Y),b):[]}const yr=/[a-zA-Z_$]/,Wr=/[a-zA-Z0-9_$]/,$r=/[0-9]/,sn=/[a-fA-F0-9]/,Hr=`'"`,pt={0:()=>!1,1:()=>!1,2:z=>yr.test(z),3:z=>Wr.test(z),4:z=>z===".",5:z=>z==="[",6:z=>z==="]",7:z=>$r.test(z),8:z=>Hr.includes(z),9:(z,b)=>z===b.quote,10:()=>!0,11:z=>z==="\\",12:(z,b)=>b.escapeSequence===void 0?`${b.quote}/\\bfnrtu`.includes(z):b.escapeSequence.startsWith("u")&&b.escapeSequence.length<5?sn.test(z):!1},et={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]},wr=[2,3,7,10],Dr=[4,5,6];function Sr(z){return`"'/\\bfnrt`.includes(z)||z.startsWith("u")&&z.length===5}const kr={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:` 9`,r:"\r",t:" "};function qt(z){return z.startsWith("u")?String.fromCharCode(parseInt(z.slice(1),16)):kr[z]}const Sn="v1",dr=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyF
9orActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function Nr(z,b){let _;const L=Xt(),G=await Ar(z);return G.ok?(L.increment("fetch","success"),_=un(z,G.value,b,L)):(L.increment("fetch","failure"),W.Vy.error(G.error)),(0,l.Gk)("remote configuration metrics",{metrics:L.get()}),_}function un(z,b,_,L){const G={...z};return dr.forEach(Tt=>{Tt in b&&(G[Tt]=Y(b[Tt]))}),Object.keys(_).forEach(Tt=>{b[Tt]!==void 0&&se(_[Tt],b[Tt])}),G;function Y(Tt){if(Array.isArray(Tt))return Tt.map(Y);if((0,pe.O)(Tt)){if(br(Tt)){const Ct=Tt.rcSerializedType;switch(Ct){case"string":return Tt.value;case"regex":return $t(Tt.value);case"dynamic":return ce(Tt);default:W.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${Ct}"`);return}}return(0,q.LG)(Tt,Y)}return Tt}function se(Tt,Ct){Ct.forEach(({key:Lt,value:vr})=>{Tt.setContextProperty(Lt,Y(vr))})}function ce(Tt){const Ct=Tt.strategy;let Lt;switch(Ct){case"cookie":Lt=he(Tt);break;case"dom":Lt=Ae(Tt);break;case"js":Lt=at(Tt);break;case"localStorage":Lt=Se(Tt);break;default:W.Vy.error(`Unsupported remote configuration: "strategy": "${Ct}"`);return}const vr=Tt.extractor;return vr!==void 0&&typeof Lt=="string"?wt(vr,Lt):Lt}function he({name:Tt}){const Ct=(0,At.Ri)(Tt);return L.increment("cookie",Ct!==void 0?"success":"missing"),Ct}function Se({key:Tt}){let Ct;try{Ct=localStorage.getItem(Tt)}catch{L.increment("localStorage","failure");return}return L.increment("localStorage",Ct!==null?"success":"missing"),Ct??void 0}function Ae({selector:Tt,attribute:Ct}){let Lt;try{Lt=document.querySelector(Tt)}catch{W.Vy.error(`Invalid selector in the remote configuration: '${Tt}'`),L.increment("dom","failure");return}if(!Lt){L.increment("dom","missing");return}if(Ve(Lt,Ct)){W.Vy.error(`Forbidden element selected by the remote configuration: '${Tt}'`),L.increment("dom","failure");return}const vr=Ct!==void 0?Lt.getAttribute(Ct):Lt.textContent;if(vr===null){L.increment("dom","missing");return}return L.increment("dom","success"),vr}function Ve(Tt,Ct){return Tt.getAttribute("type")==="password"&&Ct==="value"}function at({path:Tt}){let Ct=window;const Lt=Ir(Tt);if(Lt.length===0){W.Vy.error(`Invalid JSON path in the remote configuration: '${Tt}'`),L.increment("js","failure");return}for(const vr of Lt){if(!(vr in Ct)){L.increment("js","missing");return}try{Ct=Ct[vr]}catch(zt){W.Vy.error(`Error accessing: '${Tt}'`,zt),L.increment("js","failure");return}}return L.increment("js","success"),Ct}}function Xt(){const z={fetch:{}};return{get:()=>z,increment:(b,_)=>{z[b]||(z[b]={}),z[b][_]||(z[b][_]=0),z[b][_]=z[b][_]+1}}}function br(z){return"rcSerializedType"in z}function $t(z){try{return new RegExp(z)}catch{W.Vy.error(`Invalid regex in the remote configuration: '${z}'`)}}function wt(z,b){const _=$t(z.value);if(_!==void 0)return Nt(b,_)}async function Ar(z){let b;try{b=await(0,yt.h)(Q(z))}catch{b=void 0}if(!b||!b.ok)return{ok:!1,error:new Error("Error fetching the remote configuration.")};const _=await b.json();return _.rum?{ok:!0,value:_.rum}:{ok:!1,error:new Error("No remote configuration for RUM.")}}function Q(z){return z.remoteConfigurationProxy?z.remoteConfigurationProxy:`https://sdk-configuration.${(0,kt.G)(z)}/${Sn}/${encodeURIComponent(z.remoteConfigurationId)}.json`}function ut(z,b,_){if(z)for(const L of z){const G=L[b];G&&G(_)}}var tr=e(26303),rt=e(46523),_t=e(75715),Yr=e(11955),ln=e(33928),cn=e(89336),gn=e(82447),wi=e(57508),ki=e(52853),Ur=e(72521),Bi=e(72149);const bs=Bi.XP;function Di(z,b){z.register(1,()=>b.isGranted()?Bi.$O:Bi.ug)}function on({ignoreInitIfSyntheticsWillInjectRum:z=!0,startDeflateWorker:b},_,L){const Y=new tr.dX(500,nn=>{(0,l.A2)("preStartRum buffer data lost",{count:nn})}),se=(0,rt.s)();(0,w.P)(se,T.N.globalContext,Y);const ce=(0,_t.Y)();(0,w.P)(ce,T.N.userContext,Y);const he=(0,Yr.K)();(0,w.P)(he,T.N.accountContext,Y);let Se,Ae,Ve,at,Tt,Ct;const Lt=bs(),vr=_.observable.subscribe(qr),zt={};let Xr=!1;function qr(){if(Xr||!Ve||!at||!Tt||!Ct)return;vr.unsubscribe();let nn;if(at.trackViewsManually){if(!Se)return;nn=Se.options}const Gr=at.trackViewsManually?Se?.callback:void 0,Qt=L(at,Tt,Ae,nn,Ct,Lt);Xr=!0,Y.subscribe(Kn=>{Kn!==Gr&&Kn(Qt)}),Y.unbuffer()}function Dn(nn,Gr){const Qt=(0,ln.d0)();if(Qt&&(nn=fi(nn)),Ve=nn,at){(0,O.$)("DD_RUM",nn);return}const Kn=Ce(nn,Gr);Kn&&(Kn.compressIntakeRequests&&!Qt&&b&&(Ae=b(Kn,"Datadog RUM",cn.l),!Ae)||(at=Kn,_.tryToInit(Kn.trackingConsent),_.onGrantedOnce(()=>{if(Di(Lt,_),Ct=(0,s.B)(l.a5)("browser-rum-sdk",Kn,Lt),gn.Wq){W.Vy.warn("The RUM SDK is not supported in a web or service worker environment.");return}((0,ln.d0)()?(0,wi.Ql)():(0,s.B)(wi.ox)(Kn,_)).then(Ai=>{Ai&&(Tt=Ai,(0,ki.l)(Lt,Tt,{application:{id:Kn.applicationId}}),(0,l.Rr)(Xe(nn)),qr())}).catch(u.Dx)})))}const Nn=(nn,Gr,Qt,Kn)=>{Y.notify(Ds=>Ds.addOperationStepVital((0,h.a)(nn),Gr,(0,h.a)(Qt),(0,h.a)(Kn)))};return{init(nn,Gr,Qt){if(!nn){W.Vy.error("Missing configuration");return}(0,E.Aq)(nn.enableExperimentalFeatures),Ve=nn,!(z&&(0,Ur.ao)())&&(ut(nn.plugins,"onInit",{initConfiguration:nn,publicApi:Gr}),nn.remoteConfigurationId?Nr(nn,{user:ce,context:se}).then(Kn=>{Kn&&Dn(Kn,Qt)}
9).catch(u.Dx):Dn(nn,Qt))},get initConfiguration(){return Ve},getInternalContext:cn.l,stopSession:cn.l,addTiming(nn,Gr=(0,v.nx)()){Y.notify(Qt=>Qt.addTiming(nn,Gr))},setLoadingTime:(nn=>{Y.notify(Gr=>Gr.setLoadingTime(nn))}),startView(nn,Gr=(0,v.M8)()){const Qt=Kn=>{Kn.startView(nn,Gr)};Y.notify(Qt),Se||(Se={options:nn,callback:Qt},qr())},setViewName(nn){Y.notify(Gr=>Gr.setViewName(nn))},setViewContext(nn){Y.notify(Gr=>Gr.setViewContext(nn))},setViewContextProperty(nn,Gr){Y.notify(Qt=>Qt.setViewContextProperty(nn,Gr))},getViewContext:()=>zt,globalContext:se,userContext:ce,accountContext:he,addAction(nn){Y.notify(Gr=>Gr.addAction(nn))},startAction(nn,Gr){const Qt=(0,v.M8)();Y.notify(Kn=>Kn.startAction(nn,Gr,Qt))},stopAction(nn,Gr){const Qt=(0,v.M8)();Y.notify(Kn=>Kn.stopAction(nn,Gr,Qt))},startResource(nn,Gr){const Qt=(0,v.M8)();Y.notify(Kn=>Kn.startResource(nn,Gr,Qt))},stopResource(nn,Gr){const Qt=(0,v.M8)();Y.notify(Kn=>Kn.stopResource(nn,Gr,Qt))},addError(nn){Y.notify(Gr=>Gr.addError(nn))},addFeatureFlagEvaluation(nn,Gr){Y.notify(Qt=>Qt.addFeatureFlagEvaluation(nn,Gr))},startDurationVital(nn,Gr){const Qt=(0,v.M8)();Y.notify(Kn=>Kn.startDurationVital(nn,Gr,Qt))},stopDurationVital(nn,Gr){const Qt=(0,v.M8)();Y.notify(Kn=>Kn.stopDurationVital(nn,Gr,Qt))},addDurationVital(nn){Y.notify(Gr=>Gr.addDurationVital(nn))},addOperationStepVital:Nn}}function fi(z){return{...z,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:z.defaultPrivacyLevel??(0,ln.Y9)()?.getPrivacyLevel()}}var qi=e(48847),ri=e(99513),Vi=e(90231),si=e(17528);function ks(){const z=cr();return new tr.cP(b=>{const _=new z((0,u.dm)(L=>b.notify(L)));return _.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>_.disconnect()})}function cr(){let z;const b=window;if(b.Zone&&(z=(0,si.W)(b,"MutationObserver"),b.MutationObserver&&z===b.MutationObserver)){const _=new b.MutationObserver(cn.l),L=(0,si.W)(_,"originalInstance");z=L&&L.constructor}return z||(z=b.MutationObserver),z}var fe=e(56767);function Re(){const z=new tr.cP,{stop:b}=(0,fe.H)(window,"open",()=>z.notify());return{observable:z,stop:b}}function Qe(z,b,_,L,G){return{get:Y=>{const se=_.findView(Y),ce=G.findUrl(Y),he=b.findTrackedSession(Y);if(he&&se&&ce){const Se=L.findActionId(Y);return{application_id:z,session_id:he.id,user_action:Se?{id:Se}:void 0,view:{id:se.id,name:se.name,referrer:ce.referrer,url:ce.url}}}}}}var mt=e(81745);const xt=mt.D;var Mr=e(93590),vn=e(26956);const Ut=Mr.AQ;function Yn(z){const b=(0,vn.qj)({expireDelay:Ut});z.subscribe(1,L=>{b.add(_(L),L.startClocks.relative)}),z.subscribe(6,({endClocks:L})=>{b.closeActive(L.relative)}),z.subscribe(3,L=>{const G=b.find(L.startClocks.relative);G&&(L.name&&(G.name=L.name),L.context&&(G.context=L.context),G.sessionIsActive=L.sessionIsActive)}),z.subscribe(10,()=>{b.reset()});function _(L){return{service:L.service,version:L.version,context:L.context,id:L.id,name:L.name,startClocks:L.startClocks}}return{findView:L=>b.find(L),stop:()=>{b.stop()}}}var mi=e(61767),yn=e(59773),ji=e(40881),Tn=e(10707),Cs=e(52760);const $i=[[yn.v.DOCUMENT,z=>z==="navigation"],[yn.v.XHR,z=>z==="xmlhttprequest"],[yn.v.FETCH,z=>z==="fetch"],[yn.v.BEACON,z=>z==="beacon"],[yn.v.CSS,(z,b)=>/\.css$/i.test(b)],[yn.v.JS,(z,b)=>/\.js$/i.test(b)],[yn.v.IMAGE,(z,b)=>["image","img","icon"].includes(z)||/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(b)!==null],[yn.v.FONT,(z,b)=>/\.(woff|eot|woff2|ttf)$/i.exec(b)!==null],[yn.v.MEDIA,(z,b)=>["audio","video"].includes(z)||/\.(mp3|mp4)$/i.exec(b)!==null]];function gs(z){const b=z.name;if(!(0,Tn.AY)(b))return yn.v.OTHER;const _=(0,Tn.L2)(b);for(const[L,G]of $i)if(G(z.initiatorType,_))return L;return yn.v.OTHER}function vs(...z){for(let b=1;b<z.length;b+=1)if(z[b-1]>z[b])return!1;return!0}function Vt(z){return z.initiatorType==="xmlhttprequest"||z.initiatorType==="fetch"}function hr(z){const{duration:b,startTime:_,responseEnd:L}=z;return z.initiatorType==="navigation"||b===0&&_<L?(0,v.vk)(_,L):b}function rn(z){if(!$n(z))return;const{startTime:b,fetchStart:_,workerStart:L,redirectStart:G,redirectEnd:Y,domainLookupStart:se,domainLookupEnd:ce,connectStart:he,secureConnectionStart:Se,connectEnd:Ae,requestStart:Ve,responseStart:at,responseEnd:Tt}=z,Ct={download:ni(b,at,Tt),first_byte:ni(b,Ve,at)};return 0<L&&L<_&&(Ct.worker=ni(b,L,_)),_<Ae&&(Ct.connect=ni(b,he,Ae),he<=Se&&Se<=Ae&&(Ct.ssl=ni(b,Se,Ae))),_<ce&&(Ct.dns=ni(b,se,ce)),b<Y&&(Ct.redirect=ni(b,G,Y)),Ct}function zn(z){return z.duration>=0}function $n(z){const b=vs(z.startTime,z.fetchStart,z.domainLookupStart,z.domainLookupEnd,z.connectStart,z.connectEnd,z.requestStart,z.responseStart,z.responseEnd),_=bn(z)?vs(z.startTime,z.redirectStart,z.redirectEnd,z.fetchStart):!0;return b&&_}function bn(z){return z.redirectEnd>z.startTime}function ni(z,b,_){if(z<=b&&b<=_)return{duration:(0,v.Zj)((0,v.vk)(b,_)),start:(0,v.Zj)((0,v.vk)(z,b))}}function ai(z){return z.nextHopProtocol===""?void 0:z.nextHopProtocol}function yi(z){return z.deliveryType===""?"other":z.deliveryType}function es(z){if(z.startTime<z.responseStart){const{encodedBodySize:b,decodedBodySize:_,transferSize:L}=z;return{size:_,encoded_body_size:b,decoded_body_size:_,transfer_size:L}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}function Ei(z){return z&&(!(0,Cs.w)(z)||(0,E.sr)(E.R9.TRACK_INTAKE_REQUESTS))}const Hi=/data:(.+)?(;base64)?,/g,zi=24e3;
9function us(z,b=zi){if(z.length<=b||!z.startsWith("data:"))return z;const _=z.substring(0,100).match(Hi);return _?`${_[0]}[...]`:z}var Ss=e(62189),as=e(46256);function oi(){return Es(64)}function $s(){return Es(63)}function Es(z){const b=crypto.getRandomValues(new Uint32Array(2));let _=BigInt(b[0])+(BigInt(b[1])<<32n);return z===63&&(_&=0x7fffffffffffffffn),_}function ls(z){return z.toString(16).padStart(16,"0")}function Ts(z){z.status===0&&!z.isAborted&&(z.traceId=void 0,z.spanId=void 0,z.traceSampled=void 0)}function de(z,b,_,L){return{clearTracingIfNeeded:Ts,traceFetch:G=>$e(z,G,b,_,L,Y=>{if(G.input instanceof Request&&!G.init?.headers)G.input=new Request(G.input),Object.keys(Y).forEach(se=>{G.input.headers.append(se,Y[se])});else{G.init=(0,q.yG)(G.init);const se=[];G.init.headers instanceof Headers?G.init.headers.forEach((ce,he)=>{se.push([he,ce])}):Array.isArray(G.init.headers)?G.init.headers.forEach(ce=>{se.push(ce)}):G.init.headers&&Object.keys(G.init.headers).forEach(ce=>{se.push([ce,G.init.headers[ce]])}),G.init.headers=se.concat((0,Ss.WP)(Y))}}),traceXhr:(G,Y)=>$e(z,G,b,_,L,se=>{try{Object.keys(se).forEach(ce=>{Y.setRequestHeader(ce,se[ce])})}catch{}})}}function $e(z,b,_,L,G,Y){const se=_.findTrackedSession();if(!se)return;const ce=z.allowedTracingUrls.find(Ae=>(0,le.K)([Ae.match],b.url,!0));if(!ce)return;const he=(0,as.$5)(se.id,(0,as.it)(z.sessionSampleRate,z.traceSampleRate));(he||z.traceContextInjection===X.uT.ALL)&&(b.traceSampled=he,b.traceId=oi(),b.spanId=$s(),Y(Pt(b.traceId,b.spanId,b.traceSampled,se.id,ce.propagatorTypes,L,G,z)))}function Pt(z,b,_,L,G,Y,se,ce){const he={};if(G.forEach(Se=>{switch(Se){case"datadog":{Object.assign(he,{"x-datadog-origin":"rum","x-datadog-parent-id":b.toString(),"x-datadog-sampling-priority":_?"1":"0","x-datadog-trace-id":z.toString()});break}case"tracecontext":{Object.assign(he,{traceparent:`00-0000000000000000${ls(z)}-${ls(b)}-0${_?"1":"0"}`,tracestate:`dd=s:${_?"1":"0"};o:rum`});break}case"b3":{Object.assign(he,{b3:`${ls(z)}-${ls(b)}-${_?"1":"0"}`});break}case"b3multi":{Object.assign(he,{"X-B3-TraceId":ls(z),"X-B3-SpanId":ls(b),"X-B3-Sampled":_?"1":"0"});break}}}),ce.propagateTraceBaggage){const Se={"session.id":L},Ae=Y.getContext().id;typeof Ae=="string"&&(Se["user.id"]=Ae);const Ve=se.getContext().id;typeof Ve=="string"&&(Se["account.id"]=Ve);const at=Object.entries(Se).map(([Tt,Ct])=>`${Tt}=${encodeURIComponent(Ct)}`).join(",");at&&(he.baggage=at)}return he}var or=e(4006);const tn=32*or._m;function Vn(z,b){const _=ss(z,b.trackPayload);if(_){if(b.trackResponseErrors&&z.responseBody){const L=Ri(z.responseBody);L&&(_.error_count=L.length,_.errors=L)}return _}}function Ri(z){const b=(0,q.XU)(z);if(!b||typeof b!="object")return;const _=b;return(0,ae.EI)(_.errors)?_.errors.map(G=>({message:G.message,path:G.path,locations:G.locations,code:G.extensions?.code})):void 0}function ts(z,b){return b.allowedGraphQlUrls.find(_=>(0,le.K)([_.match],z))}function ss(z,b=!1){let _;if(z.method==="POST"?_=Li(z.requestBody):z.method==="GET"&&(_=Ia(z.url)),!!_)return Sa(_,b)}function Li(z){if(!z||typeof z!="string")return;const b=(0,q.XU)(z);if(b)return{query:b.query,operationName:b.operationName,variables:b.variables?JSON.stringify(b.variables):void 0}}function Ia(z){const b=(0,Tn.c$)(z).searchParams,_=b.get("variables"),L=_&&(0,q.XU)(_)!==void 0?_:void 0;return{query:b.get("query")||void 0,operationName:b.get("operationName")||void 0,variables:L}}function Sa(z,b){let _,L,G;if(z.query){const Y=z.query.trim();_=ha(Y),b&&(L=(0,C._R)(Y,tn,"..."))}return z.variables&&(G=z.variables),{operationType:_,operationName:z.operationName,variables:G,payload:L}}function ha(z){return z.match(/^\s*(query|mutation|subscription)\b/i)?.[1]}let Qa=1;function _s(z,b,_,L,G,Y){const se=de(b,_,L,G);fr(z,b,se,Y),Aa(z,b,se,Y)}function fr(z,b,_,L){const G=[];return G.push((0,mi.G)(b).subscribe(Y=>{Y.state==="start"&&Ei(Y.url)&&(_.traceXhr(Y,Y.xhr),en(Y))})),G.push(L.subscribe(({data:Y,type:se})=>{if(se!==2)return;const ce=Y;if(Ei(ce.url))switch(ce.state){case"start":en(ce),z.notify(7,{requestIndex:ce.requestIndex,url:ce.url});break;case"complete":_.clearTracingIfNeeded(ce),z.notify(8,{...ce,type:yn.Y.XHR,isAbortedOnStart:!1});break}}
9)),{stop:()=>G.forEach(Y=>Y.unsubscribe())}}function Aa(z,b,_,L){const G=[];return G.push((0,ji.i)({responseBodyAction:Y=>ts(Y.url,b)?.trackResponseErrors?1:0}).subscribe(Y=>{Y.state==="start"&&Ei(Y.url)&&(_.traceFetch(Y),en(Y))})),G.push(L.subscribe(({data:Y,type:se})=>{if(se!==1)return;const ce=Y;if(Ei(ce.url))switch(ce.state){case"start":en(ce),z.notify(7,{requestIndex:ce.requestIndex,url:ce.url});break;case"resolve":_.clearTracingIfNeeded(ce),z.notify(8,{...ce,duration:(0,v.vk)(ce.startClocks.timeStamp,(0,v.nx)()),type:yn.Y.FETCH,requestBody:ce.init?.body});break}})),{stop:()=>G.forEach(Y=>Y.unsubscribe())}}function en(z){z.requestIndex||(z.requestIndex=Qa++)}function pa(z){return(0,te.Et)(z)&&z<0?void 0:z}function Pa(z){return z.nodeType===Node.TEXT_NODE}function Xs(z){return z.nodeType===Node.COMMENT_NODE}function Hs(z){return z.nodeType===Node.ELEMENT_NODE}function ao(z){return Hs(z)&&!!z.shadowRoot}function Wa(z){const b=z;return!!b.host&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&Hs(b.host)}function Co(z){return z.childNodes.length>0||ao(z)}function _o(z,b){let _=z.firstChild;for(;_;)b(_),_=_.nextSibling;ao(z)&&b(z.shadowRoot)}function Oo(z){return Wa(z)?z.host:z.parentNode}function Ks(z){if(z.parentElement)return z.parentElement;const b=z.parentNode;return b&&Wa(b)?b.host:null}var Mi=e(40046),Me=e(19179),je;(function(z){z.EVENT="event",z.FIRST_INPUT="first-input",z.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",z.LAYOUT_SHIFT="layout-shift",z.LONG_TASK="longtask",z.LONG_ANIMATION_FRAME="long-animation-frame",z.NAVIGATION="navigation",z.PAINT="paint",z.RESOURCE="resource",z.VISIBILITY_STATE="visibility-state"})(je||(je={}));function Ot(z,b){return new tr.cP(_=>{const L=ce=>{const he=Yi(ce);he.length>0&&_.notify(he)};let G,Y=!0;const se=new PerformanceObserver((0,u.dm)(ce=>{Y?G=(0,Mi.wg)(()=>L(ce.getEntries())):L(ce.getEntries())}));return se.observe(b),Y=!1,Br(z),()=>{se.disconnect(),(0,Mi.DJ)(G)}})}let Wt;function Br(z){!Wt&&an()&&"addEventListener"in performance&&(Wt=(0,Me.q)(z,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()}))}function Vr(){Wt&&(Wt.stop(),Wt=void 0)}function an(){return window.performance!==void 0&&"getEntries"in performance}function ii(z){return PerformanceObserver.supportedEntryTypes.includes(z)}function Yi(z){return z.filter(b=>!Ui(b))}function Ui(z){return z.entryType===je.RESOURCE&&(!Ei(z.name)||!zn(z))}const bi=100,Ws=100,ms="data-dd-excluded-activity-mutations";function Le(z,b,_,L,G,Y){const se=(0,s.B)(Ye)(z,b,_,L);let ce,he=!1;const Se=(0,Mi.wg)((0,u.dm)(()=>Tt({hadActivity:!1})),bi),Ae=Y!==void 0?(0,Mi.wg)((0,u.dm)(()=>Tt({hadActivity:!0,end:(0,v.nx)()})),Y):void 0,Ve=se.subscribe(({isBusy:Ct})=>{(0,Mi.DJ)(Se),(0,Mi.DJ)(ce);const Lt=(0,v.nx)();Ct||(ce=(0,Mi.wg)((0,u.dm)(()=>Tt({hadActivity:!0,end:Lt})),Ws))}),at=()=>{he=!0,(0,Mi.DJ)(Se),(0,Mi.DJ)(ce),(0,Mi.DJ)(Ae),Ve.unsubscribe()};function Tt(Ct){he||(at(),G(Ct))}return{stop:at}}function Ye(z,b,_,L){return new tr.cP(G=>{const Y=[];let se,ce=0;return Y.push(b.subscribe(Se=>{Se.every(ht)||he()}),_.subscribe(he),Ot(L,{type:je.RESOURCE}).subscribe(Se=>{Se.some(Ae=>!ft(L,Ae.name))&&he()}),z.subscribe(7,Se=>{ft(L,Se.url)||(se===void 0&&(se=Se.requestIndex),ce+=1,he())}),z.subscribe(8,Se=>{ft(L,Se.url)||se===void 0||Se.requestIndex<se||(ce-=1,he())})),()=>{Y.forEach(Se=>Se.unsubscribe())};function he(){G.notify({isBusy:ce>0})}})}function ft(z,b){return(0,le.K)(z.excludedActivityUrls,b)}function ht(z){const b=z.type==="characterData"?z.target.parentElement:z.target;return!!(b&&Hs(b)&&b.matches(`[${ms}], [${ms}] *`))}const Mt="data-dd-action-name",Jt="Masked Element",Er="xxx",Lr="::shadow ",Mn=[Mt,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],Pn=[Fn,Bt],kn=[Fn,sr,Cr];function Gi(z,b){if(!z.isConnected)return;const _=os(z),L=[];for(const{rootNode:G,target:Y}of _){const se=Os(Y,G,b);if(!se)return;L.push(se)}return L.join(Lr)}function os(z){const b=[];let _=z;for(;_;){const L=_.getRootNode();if(b.push({rootNode:L,target:_}),Wa(L))_=L.host;else break}return b.reverse()}function Os(z,b,_){let L,G=z;for(;G&&G.nodeName!=="HTML";){const Y=st(G,b,Pn,jt,_,L);if(Y)return ar(Y,L);const ce=st(G,b,kn,Gt,_,L)||Be(G);L=ar(ce,L),G=G.parentElement}return L}function ir(z){return/[0-9]/.test(z)}
9function Bt(z){if(z.id&&!ir(z.id))return`#${CSS.escape(z.id)}`}function sr(z){if(z.tagName==="BODY")return;const b=z.classList;for(let _=0;_<b.length;_+=1){const L=b[_];if(!ir(L))return`${CSS.escape(z.tagName)}.${CSS.escape(L)}`}}function Cr(z){return CSS.escape(z.tagName)}function Fn(z,b){if(b){const L=_(b);if(L)return L}for(const L of Mn){const G=_(L);if(G)return G}function _(L){if(z.hasAttribute(L))return`${CSS.escape(z.tagName)}${Pe(L,z.getAttribute(L))}`}}function Pe(z,b){return`[${z}="${CSS.escape(b)}"]`}function Be(z){const b=it(z);return`${CSS.escape(z.tagName)}:nth-of-type(${b})`}function it(z){let _=z.parentNode.firstElementChild,L=1;for(;_&&_!==z;)_.tagName===z.tagName&&(L+=1),_=_.nextElementSibling;return L}function st(z,b,_,L,G,Y){for(const se of _){const ce=se(z,G);if(ce&&L(z,b,ce,Y))return ce}}function jt(z,b,_,L){return b.querySelectorAll(ar(_,L)).length===1}function Gt(z,b,_,L){let G;if(L===void 0)G=se=>se.matches(_);else{const se=ar(`${_}:scope`,L);G=ce=>ce.querySelector(se)!==null}let Y=z.previousElementSibling;for(;Y;){if(G(Y))return!1;Y=Y.previousElementSibling}for(Y=z.nextElementSibling;Y;){if(G(Y))return!1;Y=Y.nextElementSibling}return!0}function ar(z,b){return b?`${z}>${b}`:z}const ur={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:X.WA.ALLOW,MASK:X.WA.MASK,MASK_USER_INPUT:X.WA.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:X.WA.MASK_UNLESS_ALLOWLISTED},Un="data-dd-privacy",An="allow",jn="mask",Wi="mask-user-input",Vs="mask-unless-allowlisted",Pi="hidden",ws="dd-privacy-",Ci="***",ei="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",hi={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0},Ps="x";function Zi(z){return`[${Un}="${z}"], .${ws}${z}`}function Ti(z,b,_){if(_&&_.has(z))return _.get(z);const L=Oo(z),G=L?Ti(L,b,_):b,Y=ma(z),se=xs(Y,G);return _&&_.set(z,se),se}function xs(z,b){switch(b){case ur.HIDDEN:case ur.IGNORE:return b}switch(z){case ur.ALLOW:case ur.MASK:case ur.MASK_USER_INPUT:case ur.MASK_UNLESS_ALLOWLISTED:case ur.HIDDEN:case ur.IGNORE:return z;default:return b}}function ma(z){if(Hs(z)){if(z.tagName==="BASE")return ur.ALLOW;if(z.tagName==="INPUT"){const b=z;if(b.type==="password"||b.type==="email"||b.type==="tel"||b.type==="hidden")return ur.MASK;const _=b.getAttribute("autocomplete");if(_&&(_.startsWith("cc-")||_.endsWith("-password")))return ur.MASK}if(z.matches(Zi(ur.HIDDEN)))return ur.HIDDEN;if(z.matches(Zi(ur.MASK)))return ur.MASK;if(z.matches(Zi(ur.MASK_UNLESS_ALLOWLISTED)))return ur.MASK_UNLESS_ALLOWLISTED;if(z.matches(Zi(ur.MASK_USER_INPUT)))return ur.MASK_USER_INPUT;if(z.matches(Zi(ur.ALLOW)))return ur.ALLOW;if($(z))return ur.IGNORE}}function Fo(z,b){switch(b){case ur.MASK:case ur.HIDDEN:case ur.IGNORE:return!0;case ur.MASK_UNLESS_ALLOWLISTED:return Pa(z)?la(z.parentNode)?!0:!ne(z.textContent||""):la(z);case ur.MASK_USER_INPUT:return Pa(z)?la(z.parentNode):la(z);default:return!1}}function ho(z,b,_,L,G){if(L!==ur.MASK&&L!==ur.MASK_UNLESS_ALLOWLISTED||b===Un||Mn.includes(b)||b===G.actionNameAttribute)return!1;switch(b){case"title":case"alt":case"placeholder":case"aria-label":case"name":return!0}return!!(z==="A"&&b==="href"||z==="IFRAME"&&b==="srcdoc"||_&&b.startsWith("data-")||(z==="IMG"||z==="SOURCE")&&(b==="src"||b==="srcset"))}function la(z){if(!z||z.nodeType!==z.ELEMENT_NODE)return!1;const b=z;if(b.tagName==="INPUT")switch(b.type){case"button":case"color":case"reset":case"submit":return!1}return!!hi[b.tagName]}function Fa(z){return z.replace(/\S/g,Ps)}function V(z,b){const _=z.parentElement?.tagName;let L=z.textContent||"";if(_==="HEAD"&&!L.trim())return;const Y=b;if(_==="SCRIPT")L=Ci;else if(Y===ur.HIDDEN)L=Ci;else if(Fo(z,Y))if(_==="DATALIST"||_==="SELECT"||_==="OPTGROUP"){if(!L.trim())return}else _==="OPTION"?L=Ci:L=Fa(L);return L}
9function $(z){if(z.nodeName==="SCRIPT")return!0;if(z.nodeName==="LINK"){const _=b("rel");return/preload|prefetch/i.test(_)&&b("as")==="script"||_==="shortcut icon"||_==="icon"}if(z.nodeName==="META"){const _=b("name"),L=b("rel"),G=b("property");return/^msapplication-tile(image|color)$/.test(_)||_==="application-name"||L==="icon"||L==="apple-touch-icon"||L==="shortcut icon"||_==="keywords"||_==="description"||/^(og|twitter|fb):/.test(G)||/^(og|twitter):/.test(_)||_==="pinterest"||_==="robots"||_==="googlebot"||_==="bingbot"||z.hasAttribute("http-equiv")||_==="author"||_==="generator"||_==="framework"||_==="publisher"||_==="progid"||/^article:/.test(G)||/^product:/.test(G)||_==="google-site-verification"||_==="yandex-verification"||_==="csrf-token"||_==="p:domain_verify"||_==="verify-v1"||_==="verification"||_==="shopify-checkout-api-token"}function b(_){return(z.getAttribute(_)||"").toLowerCase()}return!1}function ne(z){return!z||!z.trim()?!0:window.$DD_ALLOW?.has(z.toLocaleLowerCase())||!1}function me(z,b){return ne(z)?z:b||Fa(z)}function Oe({lifeCycle:z,isChildEvent:b,onChange:_=cn.l}){const L={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},G=z.subscribe(13,Y=>{if(!(Y.type==="view"||Y.type==="vital"||!b(Y)))switch(Y.type){case R.ERROR:L.errorCount+=1,_();break;case R.ACTION:L.actionCount+=1,Y.action.frustration&&(L.frustrationCount+=Y.action.frustration.type.length),_();break;case R.LONG_TASK:L.longTaskCount+=1,_();break;case R.RESOURCE:Y._dd?.discarded||(L.resourceCount+=1,_());break}});return{stop:()=>{G.unsubscribe()},eventCounts:L}}const ze=5*v.iW;function nt(z){const b=(0,vn.qj)({expireDelay:ze}),_=new Map;function L(at){_.delete(at.key),at.eventCounts?.stop()}function G(){_.forEach(at=>{L(at)}),b.reset()}const Y=z.subscribe(10,G);
9function se(at,Tt,Ct,Lt){const vr=(0,C.lk)(),zt=b.add(vr,Tt.relative),Xr=_.get(at);Xr&&L(Xr);const qr=Lt?.isChildEvent?Oe({lifeCycle:z,isChildEvent:Lt.isChildEvent(vr)}):void 0,Dn={id:vr,key:at,startClocks:Tt,data:Ct,historyEntry:zt,eventCounts:qr};return _.set(at,Dn),Dn}function ce(at,Tt,Ct){const Lt=_.get(at);if(!Lt)return;const vr=Ct?(0,g.kg)(Lt.data,Ct):Lt.data;Lt.historyEntry.close(Tt.relative);const zt=(0,v.vk)(Lt.startClocks.timeStamp,Tt.timeStamp),Xr=Lt.eventCounts?.eventCounts;return L(Lt),{...vr,id:Lt.id,startClocks:Lt.startClocks,duration:zt,counts:Xr}}function he(at){const Tt=_.get(at);if(!Tt)return;const Ct=Tt.eventCounts?.eventCounts;return L(Tt),Tt.historyEntry.remove(),{...Tt.data,id:Tt.id,startClocks:Tt.startClocks,counts:Ct}}function Se(at){return b.findAll(at)}function Ae(at){return _.get(at)?.eventCounts?.eventCounts}function Ve(){Y.unsubscribe(),G(),b.stop()}return{start:se,stop:ce,discard:he,getCounts:Ae,findId:Se,stopAll:Ve}}const ct=["HTML","BODY"],Dt=2*or._m,Zt=Mn.concat(["role","type","disabled","readonly","tabindex","draggable","target","rel","download","method","action","enctype","autocomplete"]);function Ft(z,b){const _=z.filter(Y=>Y instanceof Element&&!ct.includes(Y.tagName));if(_.length===0)return"";const L=b?[b].concat(Zt):Zt;let G="";for(const Y of _){const se=Rr(Y,L);if(G+=se,G.length>=Dt)return(0,C._R)(G,Dt)}return G}function Rr(z,b){const _=Cr(z),L=Bt(z),G=Jr(z),Y=Rn(z,b),se=In(z);return`${_}${L||""}${Y}${G}${se};`}function Jr(z){return Array.from(z.classList).filter(b=>!ir(b)).sort().map(b=>`.${CSS.escape(b)}`).join("")}function In(z){const b=Array.from(z.parentNode.children);if(b.length<=1)return"";const _=b.filter(Y=>Y.tagName===z.tagName),L=b.indexOf(z),G=it(z);return`:nth-child(${L+1})${_.length>1?`:nth-of-type(${G})`:""}`}function Rn(z,b){const _=[],L=Array.from(z.attributes);for(const G of L)b.includes(G.name)&&_.push(Pe(G.name,G.value));return _.sort().join("")}const Jn=v.OY,_i=100;function qn(z,b){const _=[];let L=0,G;Y(z);function Y(he){he.stopObservable.subscribe(se),_.push(he),(0,Mi.DJ)(G),G=(0,Mi.wg)(ce,Jn)}function se(){L===1&&_.every(he=>he.isStopped())&&(L=2,b(_))}function ce(){(0,Mi.DJ)(G),L===0&&(L=1,se())}return{tryAppend:he=>L!==0?!1:_.length>0&&!Xi(_[_.length-1].event,he.event)?(ce(),!1):(Y(he),!0),stop:()=>{ce()}}}function Xi(z,b){return z.target===b.target&&cs(z,b)<=_i&&z.timeStamp-b.timeStamp<=Jn}function cs(z,b){return Math.sqrt(Math.pow(z.clientX-b.clientX,2)+Math.pow(z.clientY-b.clientY,2))}function nr(z,b,_=ur.ALLOW){const L=new Map,{actionNameAttribute:G}=b,Y=Fr(z,Mt)||G&&Fr(z,G);return Y?{name:Y,nameSource:"custom_attribute"}:_===ur.MASK?{name:Jt,nameSource:"mask_placeholder"}:ra(z,ui,b,L)||ra(z,Ni,b,L)||{name:"",nameSource:"blank"}}function Fr(z,b){const _=_r(z,`[${b}]`);if(!_)return;const L=_.getAttribute(b);return hu(na(L.trim()))}function _r(z,b){let _=z;for(;_;){if(_.matches(b))return _;_=Ks(_)}return null}const ui=[(z,b,_)=>{if("labels"in z&&z.labels&&z.labels.length>0)return $o(z.labels[0],b,_)},z=>{if(z.nodeName==="INPUT"){const b=z,_=b.getAttribute("type");if(_==="button"||_==="submit"||_==="reset")return{name:b.value,nameSource:"text_content"}}},(z,b,_)=>{if(z.nodeName==="BUTTON"||z.nodeName==="LABEL"||z.getAttribute("role")==="button")return $o(z,b,_)},(z,b,_)=>bo(z,"aria-label",b,_),(z,b,_)=>{const L=z.getAttribute("aria-labelledby");if(L)return{name:L.split(/\s+/).map(G=>zo(z,G)).filter(G=>!!G).map(G=>Yu(G,b,_)).join(" "),nameSource:"text_content"}},(z,b,_)=>bo(z,"alt",b,_),(z,b,_)=>bo(z,"name",b,_),(z,b,_)=>bo(z,"title",b,_),(z,b,_)=>bo(z,"placeholder",b,_),(z,b,_)=>{if("options"in z&&z.options.length>0)return $o(z.options[0],b,_)}],Ni=[(z,b,_)=>$o(z,b,_)],ci=10;function ra(z,b,_,L){let G=z,Y=0;for(;Y<=ci&&G&&G.nodeName!=="BODY"&&G.nodeName!=="HTML"&&G.nodeName!=="HEAD";){for(const se of b){const ce=se(G,_,L);if(ce){const{name:he,nameSource:Se}=ce,Ae=he&&he.trim();if(Ae)return{name:hu(na(Ae)),nameSource:Se}}}if(G.nodeName==="FORM")break;G=Ks(G),Y+=1}}function na(z){return z.replace(/\s+/g," ")}function hu(z){return z.length>100?`${(0,C._R)(z,100)} [...]`:z}function zo(z,b){const _=z.getRootNode();if(_ instanceof ShadowRoot){const L=_.getElementById(b);if(L)return L}return z.ownerDocument?z.ownerDocument.getElementById(b):null}
9function bo(z,b,_,L){const{enablePrivacyForActionName:G,defaultPrivacyLevel:Y}=_;let se=z.getAttribute(b);if(se&&G){const ce=Ti(z,Y,L);ho(z.tagName,b,se,ce,_)&&(se=me(se,Jt))}else se||(se="");return{name:se,nameSource:"standard_attribute"}}function $o(z,b,_){return{name:Yu(z,b,_)||"",nameSource:"text_content"}}function Yu(z,b,_){if(z.isContentEditable)return;const{enablePrivacyForActionName:L,actionNameAttribute:G,defaultPrivacyLevel:Y}=b,se=document.createTreeWalker(z,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,he);let ce="";for(;se.nextNode();){const Se=se.currentNode;if(Hs(Se)){(Se.nodeName==="BR"||Se.nodeName==="P"||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(Se).display))&&(ce+=" ");continue}ce+=Se.textContent||""}return ce.replace(/\s+/g," ").trim();function he(Se){const Ae=Ti(Se,Y,_);if(L&&Ae&&Fo(Se,Ae))return NodeFilter.FILTER_REJECT;if(Hs(Se)){if(Se.hasAttribute(Mt)||G&&Se.hasAttribute(G))return NodeFilter.FILTER_REJECT;const Ve=getComputedStyle(Se);if(Ve.visibility!=="visible"||Ve.display==="none"||Ve.contentVisibility&&Ve.contentVisibility!=="visible")return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}}function ua(z,{onPointerDown:b,onPointerUp:_}){let L,G={selection:!1,input:!1,scroll:!1},Y;const se=[(0,Me.q)(z,window,"pointerdown",ce=>{Mu(ce)&&(L=pu(),G={selection:!1,input:!1,scroll:!1},Y=b(ce))},{capture:!0}),(0,Me.q)(z,window,"selectionchange",()=>{(!L||!pu())&&(G.selection=!0)},{capture:!0}),(0,Me.q)(z,window,"scroll",()=>{G.scroll=!0},{capture:!0,passive:!0}),(0,Me.q)(z,window,"pointerup",ce=>{if(Mu(ce)&&Y){const he=G;_(Y,ce,()=>he),Y=void 0}},{capture:!0}),(0,Me.q)(z,window,"input",()=>{G.input=!0},{capture:!0})];return{stop:()=>{se.forEach(ce=>ce.stop())}}}function pu(){const z=window.getSelection();return!z||z.isCollapsed}function Mu(z){return z.target instanceof Element&&z.isPrimary!==!1}const Ea=3;function Yl(z,b){if(ul(z))return b.addFrustration(H.RAGE_CLICK),z.some(Lc)&&b.addFrustration(H.DEAD_CLICK),b.hasError&&b.addFrustration(H.ERROR_CLICK),{isRage:!0};const _=z.some(L=>L.getUserActivity().selection);return z.forEach(L=>{L.hasError&&L.addFrustration(H.ERROR_CLICK),Lc(L)&&!_&&L.addFrustration(H.DEAD_CLICK)}),{isRage:!1}}function ul(z){if(z.some(b=>b.getUserActivity().selection||b.getUserActivity().scroll))return!1;for(let b=0;b<z.length-(Ea-1);b+=1)if(z[b+Ea-1].event.timeStamp-z[b].event.timeStamp<=v.OY)return!0;return!1}const Io='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 Lc(z){if(z.hasPageActivity||z.getUserActivity().input||z.getUserActivity().scroll)return!1;let b=z.event.target;return b.tagName==="LABEL"&&b.hasAttribute("for")&&(b=document.getElementById(b.getAttribute("for"))),!b||!b.matches(Io)}const Xl=10*v.OY,Us=new Map;function su(z){const b=Us.get(z);return Us.delete(z),b}function oo(z,b){Us.set(z,b),Us.forEach((_,L)=>{(0,v.vk)(L,(0,v.$S)())>Xl&&Us.delete(L)})}function ku(z){return b=>b.action!==void 0&&b.action.id!==void 0&&b.action.id.includes(z)}function Ml(z,b,_,L){const G=nt(z),Y=new tr.cP;let se;z.subscribe(5,Se),z.subscribe(11,Se);const{stop:ce}=ua(L,{onPointerDown:Ae=>oe(L,z,b,Ae,_),onPointerUp:({clickActionBase:Ae,hadActivityOnPointerDown:Ve},at,Tt)=>{mr(L,z,b,_,G,Y,he,Ae,at,Tt,Ve)}});return{stop:()=>{Se(),Y.notify(),ce(),G.stopAll()},findActionId:G.findId};function he(Ae){if(!se||!se.tryAppend(Ae)){const Ve=Ae.clone();se=qn(Ae,at=>{Gn(at,Ve),se=void 0})}}function Se(){se&&se.stop()}}function oe(z,b,_,L,G){let Y;if(z.enablePrivacyForActionName?Y=Ti(gt(L),z.defaultPrivacyLevel):Y=ur.ALLOW,Y===ur.HIDDEN)return;const se=ot(L,Y,z);let ce=!1;return Le(b,_,G,z,he=>{ce=he.hadActivity},bi),{clickActionBase:se,hadActivityOnPointerDown:()=>ce}}function mr(z,b,_,L,G,Y,se,ce,he,Se,Ae){const Ve=mn(b,G,Se,ce,he);se(Ve);const at=ce?.target?.selector;at&&oo(he.timeStamp,at);const{stop:Tt}=Le(b,_,L,z,zt=>{zt.hadActivity&&zt.end<Ve.startClocks.timeStamp?Ve.discard():zt.hadActivity?Ve.stop(zt.end):Ae()?Ve.stop(Ve.startClocks.timeStamp):Ve.stop()},Xl),Ct=b.subscribe(5,({endClocks:zt})=>{Ve.stop(zt.timeStamp)}),Lt=b.subscribe(11,()=>{Ve.stop((0,v.nx)())}),vr=Y.subscribe(()=>{Ve.stop()});Ve.stopObservable.subscribe(()=>{Lt.unsubscribe(),Ct.unsubscribe(),Tt(),vr.unsubscribe()})}function ot(z,b,_){const L=gt(z),G=L.getBoundingClientRect(),Y=Gi(L,_.actionNameAttribute),se=Ft(z.composedPath(),_.actionNameAttribute);Y&&oo(z.timeStamp,Y);const{name:ce,nameSource:he}=nr(L,_,b);return{type:F.CLICK,target:{width:Math.round(G.width),height:Math.round(G.height),selector:Y,composedPathSelector:se||void 0},position:{x:Math.round(z.clientX-G.left),y:Math.round(z.clientY-G.top)},name:ce,nameSource:he}}function gt(z){if(z.composed&&ao(z.target)&&typeof z.composedPath=="function"){const b=z.composedPath();if(b.length>0&&b[0]instanceof Element)return b[0]}return z.target}function mn(z,b,_,L,G){const Y=(0,C.lk)(),se=(0,v.FR)(G.timeStamp),ce=b.start(Y,se,L,{isChildEvent:ku});z.notify(15,ce);let he=0,Se;const Ae=[],Ve=new tr.cP;
9function at(Tt){he===0&&(he=1,Se=Tt?b.stop(Y,(0,v.jR)(Tt)):b.discard(Y),Ve.notify())}return{event:G,stop:at,stopObservable:Ve,get hasError(){const Tt=Se?.counts??b.getCounts(Y);return Tt?Tt.errorCount>0:!1},get hasPageActivity(){return Se&&"duration"in Se},getUserActivity:_,addFrustration:Tt=>{Ae.push(Tt)},get startClocks(){return se},isStopped:()=>he===1||he===2,clone:()=>mn(z,b,_,L,G),validate:Tt=>{if(at(),he!==1||!Se)return;const Ct={frustrationTypes:Ae,events:Tt??[G],event:G,...Se,counts:Se.counts};z.notify(0,Ct),he=2},discard:()=>{at(),he=2}}}function Gn(z,b){const{isRage:_}=Yl(z,b);_?(z.forEach(L=>L.discard()),b.stop((0,v.nx)()),b.validate(z.map(L=>L.event))):(b.discard(),z.forEach(L=>L.validate()))}function fs(z,b){const _=nt(z);function L(se,ce={},he=(0,v.M8)()){const Se=ce.actionKey??se,Ae=_.start(Se,he,{name:se,...ce},{isChildEvent:ku});z.notify(15,Ae)}function G(se,ce={},he=(0,v.M8)()){const Se=ce.actionKey??se,Ae=_.stop(Se,he,ce);if(!Ae)return;const Ve=[];Ae.counts&&Ae.counts.errorCount>0&&Ve.push(H.ERROR_CLICK);const at={...Ae,type:Ae.type||F.CUSTOM,frustrationTypes:Ve};b(at)}function Y(se){b({id:(0,C.lk)(),frustrationTypes:[],...se})}return{addAction:Y,startAction:L,stopAction:G,findActionId:_.findId,stop:_.stopAll}}const Rs=1;function fa(z,b,_,L,G){const{unsubscribe:Y}=z.subscribe(0,Ae=>{z.notify(12,Ho(Ae))}),se=cn.l;let ce;G.trackUserInteractions&&(ce=Ml(z,_,L,G));const he=fs(z,Ae=>{z.notify(12,Ho(Ae))}),Se={findActionId:Ae=>{const Ve=he.findActionId(Ae),at=ce?.findActionId(Ae)??[];return Ve.concat(at)}};return b.register(0,({startTime:Ae,eventType:Ve})=>{if(Ve!==R.ERROR&&Ve!==R.RESOURCE&&Ve!==R.LONG_TASK)return Bi.$O;const at=Ve===R.LONG_TASK?(0,v.Gw)(Ae,Rs):Ae,Tt=Se.findActionId(at);return Tt.length?{type:Ve,action:{id:Tt}}:Bi.$O}),b.register(1,({startTime:Ae})=>({action:{id:Se.findActionId(Ae)}})),{addAction:he.addAction,startAction:he.startAction,stopAction:he.stopAction,actionContexts:Se,stop:()=>{Y(),se(),he.stop(),ce?.stop()}}}function Ho(z){const b=po(z),_=pa((0,v.Zj)(z.duration));return{rawRumEvent:{type:R.ACTION,date:z.startClocks.timeStamp,action:{id:z.id,target:{name:z.name},type:z.type,..._!==void 0&&{loading_time:_},...z.counts&&{error:{count:z.counts.errorCount},long_task:{count:z.counts.longTaskCount},resource:{count:z.counts.resourceCount}},frustration:{type:z.frustrationTypes}},...b?{_dd:{action:{target:{selector:z.target?.selector||void 0,width:z.target?.width||void 0,height:z.target?.height||void 0,composed_path_selector:z.target?.composedPathSelector},position:z.position,name_source:z.nameSource}}}:{context:z.context}},duration:z.duration,startClocks:z.startClocks,domainContext:b?{events:z.events}:{handlingStack:z.handlingStack}}}function po(z){return"events"in z}var Ja=e(37143),Xu=e(78976),Bo=e(34336);function mu(z,b){const _=(0,Bo.u)(z,[Bo.V.cspViolation,Bo.V.intervention]).subscribe(L=>b.notify(L));return{stop:()=>{_.unsubscribe()}}}function kl(z,b,_){const L=new tr.cP;return _.subscribe(({data:G,type:Y})=>{Y===0?L.notify(G):Y===3&&G.api===W.bP.error&&L.notify(G.error)}),mu(b,L),L.subscribe(G=>z.notify(14,{error:G})),Nu(z)}function Nu(z){return z.subscribe(14,({error:b})=>{z.notify(12,au(b))}),{addError:({error:b,handlingStack:_,componentStack:L,startClocks:G,context:Y})=>{const se=(0,Ja.As)({originalError:b,handlingStack:_,componentStack:L,startClocks:G,nonErrorPrefix:"Provided",source:Xu.g.CUSTOM,handling:"handled"});se.context=(0,g.kg)(se.context,Y),z.notify(14,{error:se})}}}function au(z){const b={date:z.startClocks.timeStamp,error:{id:(0,C.lk)(),message:z.message,source:z.source,stack:z.stack,handling_stack:z.handlingStack,component_stack:z.componentStack,type:z.type,handling:z.handling,causes:z.causes,source_type:"browser",fingerprint:z.fingerprint,csp:z.csp},type:R.ERROR,context:z.context},_={error:z.originalError,handlingStack:z.handlingStack};return{rawRumEvent:b,startClocks:z.startClocks,domainContext:_}}var mo=e(55827);const Po=v.OY,Is=30;function ou(){const z=[];function b(L){let G;if(!L||L.didTimeout){const Y=performance.now();G=()=>Is-(performance.now()-Y)}else G=L.timeRemaining.bind(L);for(;G()>0&&z.length;)z.shift()();z.length&&_()}function _(){(0,mo.BB)(b,{timeout:Po})}return{push(L){z.push(L)===1&&_()},stop(){z.length=0}}}var Qu=e(33908);const Nl=2*v.iW;function Fu(z){const b=Bu(z)||xl(z);if(!(!b||b.traceTime<=(0,v.T_)()-Nl))return b.traceId}function Bu(z){const b=z.querySelector("meta[name=dd-trace-id]"),_=z.querySelector("meta[name=dd-trace-time]");return Uu(b&&b.content,_&&_.content)}function xl(z){const b=go(z);if(b)return Uu((0,C.rx)(b,"trace-id"),(0,C.rx)(b,"trace-time"))}function Uu(z,b){const _=b&&Number(b);if(!(!z||!_))return{traceId:z,traceTime:_}}function go(z){for(let b=0;b<z.childNodes.length;b+=1){const _=ju(z.childNodes[b]);if(_)return _}if(z.body)for(let b=z.body.childNodes.length-1;b>=0;b-=1){const _=z.body.childNodes[b],L=ju(_);if(L)return L;if(!Pa(_))break}}function ju(z){if(z&&Xs(z)){const b=/^\s*DATADOG;(.*?)\s*$/.exec(z.data);if(b)return b[1]}}function Wo(){if(ii(je.NAVIGATION)){const _=performance.getEntriesByType(je.NAVIGATION)[0];if(_)return _}const z=gu(),b={entryType:je.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:z.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...b,toJSON:void 0}),...z};return b}function gu(){const z={},b=performance.timing;for(const _ in b)if((0,te.Et)(b[_])){const L=_,G=b[L];z[L]=G===0?0:(0,v.gs)(G)}return z}function pc(z){return z.responseStart>=0&&z.responseStart<=(0,v.$S)()?z.responseStart:void 0}function we(){if(ii(je.RESOURCE))return performance.getEntriesByType(je.RESOURCE)}function Ze(z,b){const _=we();if(_)return(0,Ss.Uk)(_,L=>L.name===z&&L.startTime<=b)}const lt=1e3;function Rt(z){const b=new Set;let _=!1;const L=z.subscribe(8,G=>{if(b.add(G),b.size>lt){const Y=b.values().next().value;if(!_){_=!0;let se;if((0,E.sr)(E.R9.TOO_MANY_REQUESTS_INVESTIGATION)){let ce=0,he=0,Se=0,Ae=0;for(const at of b)at.isAborted&&ce++,at.isAbortedOnStart&&he++,at.type===yn.Y.XHR&&Se++,performance.getEntriesByName(at.url,"resource").some(Lt=>Lt.startTime>=at.startClocks.relative)||Ae++;const Ve=(0,v.nx)()-Y.startClocks.timeStamp;se={abortedCount:ce,abortedOnStartCount:he,xhrCount:Se,fetchCount:b.size-Se,olde
9stRequestAge:Ve,oldestRequestEndAge:Ve-Y.duration,withoutMatchingEntryCount:Ae}}(0,l.A2)("Too many requests",se)}b.delete(Y)}});return{getMatchingRequest(G){let Y=1/0,se;for(const ce of b){const he=G.startTime-ce.startClocks.relative;0<=he&&he<Y&&ce.url===G.name&&(Y=Math.abs(he),se=ce)}return se&&b.delete(se),se},stop(){L.unsubscribe()}}}function Kt(z,b){function _(G,Y={},se=(0,v.M8)()){const ce=Y.resourceKey??G;b.start(ce,se,{url:G,...Y})}function L(G,Y={},se=(0,v.M8)()){const ce=Y.resourceKey??G,he=b.stop(ce,se,{context:Y.context,type:Y.type});if(!he)return;const Se=(0,v.vk)(he.startClocks.relative,se.relative),Ae={date:he.startClocks.timeStamp,type:R.RESOURCE,resource:{id:he.id,type:he.type||yn.v.OTHER,url:us(he.url),duration:(0,v.Zj)(Se),method:he.method,status_code:Y.statusCode,size:Y.size},_dd:{},context:he.context};z.notify(12,{rawRumEvent:Ae,startClocks:he.startClocks,duration:Se,domainContext:{isManual:!0}})}return{startResource:_,stopResource:L}}function Or(z,b){const _=(0,s.B)(ou)(),L=Rt(z),G=Ot(b,{type:je.RESOURCE,buffered:!0}).subscribe(Se=>{for(const Ae of Se)se(()=>hn(Ae,L,b))}),{stop:Y}=(0,Qu.H)(b,"interactive",()=>{se(()=>hn(Wo(),L,b))});function se(Se){_.push(()=>{const Ae=Se();Ae&&z.notify(12,Ae)})}const ce=nt(z),he=Kt(z,ce);return{startResource:he.startResource,stopResource:he.stopResource,stop:()=>{Y(),_.stop(),G.unsubscribe(),ce.stopAll()}}}function hn(z,b,_){const L=Vt(z)?b.getMatchingRequest(z):void 0,G=L?gi(L,_):Ii(z,_);if(!_.trackResources&&!G)return;const Y=(0,v.FR)(z.startTime),se=hr(z),ce=(0,E.sr)(E.R9.TRACK_RESOURCE_HEADERS)?Za(L,_):void 0,he=(0,g.kg)({date:Y.timeStamp,resource:{id:(0,C.lk)(),duration:(0,v.Zj)(se),type:gs(z),method:L?.method,status_code:L?L.status:js(z.responseStatus),url:L?us(L.url):z.name,protocol:ai(z),delivery_type:yi(z),graphql:L&&Ke(L,_),render_blocking_status:z.renderBlockingStatus,...es(z),...rn(z)},type:R.RESOURCE,_dd:{discarded:!_.trackResources}},G,xi(z),ce);return{startClocks:Y,duration:se,rawRumEvent:he,domainContext:vi(z,L)}}function Ke(z,b){const _=ts(z.url,b);if(_)return Vn(z,_)}function xi(z){const b=z.contentType;if(b)return{resource:{response:{headers:{"content-type":b}}}}}function vi(z,b){return{performanceEntry:z,isManual:!1,isAborted:b?b.isAborted:!1,handlingStack:b?.handlingStack,requestInit:b?.init,requestInput:b?.input,response:b?.response,error:b?.error,xhr:b?.xhr}}function gi(z,b){if(z.traceSampled&&z.traceId&&z.spanId)return{_dd:{span_id:z.spanId.toString(),trace_id:z.traceId.toString(),rule_psr:b.rulePsr}}}function Ii(z,b){if(z.initiatorType!=="navigation")return;const _=(0,s.B)(Fu)(document);if(_)return{_dd:{trace_id:_,span_id:$s().toString(),rule_psr:b.rulePsr}}}function js(z){return z===0?void 0:z}function Za(z,b){const _=b.trackResourceHeaders;if(_.length===0||!z)return;const L=_.filter(he=>he.url!==void 0?(0,le.K)([he.url],z.url,!0):!0);if(L.length===0)return;const G=L.filter(he=>he.location===void 0||he.location==="any"||he.location==="response"),Y=L.filter(he=>he.location===void 0||he.location==="any"||he.location==="request"),se=G.length>0?qa(z,G):void 0,ce=Y.length>0?Ca(z,Y):void 0;if(!(!se&&!ce))return{resource:{request:ce?{headers:ce}:void 0,response:se?{headers:se}:void 0}}}function qa(z,b){if(z.type===yn.Y.FETCH&&z.response)return no(z.response.headers,b);if(z.type===yn.Y.XHR&&z.xhr){const _=z.xhr.getAllResponseHeaders();if(_)try{return no(new Headers(_u(_)),b)}catch{}}}function Ca(z,b){if(z.type!==yn.Y.FETCH)return;let _;return z.init?.headers?_=new Headers(z.init.headers):z.input instanceof Request&&(_=z.input.headers),_?no(_,b):void 0}const Va=/(token|cookie|secret|authorization|(api|secret|access|app).?key|(client|connecting|real).?ip|forwarded)/,ca=100,Ma=128;function no(z,b){const _={};let L=0,G=0,Y=!1;return z.forEach((se,ce)=>{if(G++,L>=ca){Y||(W.Vy.warn(`Maximum number of headers (${ca}) has been reached. Further headers are dropped.`),Y=!0);return}const he=ce.toLowerCase();if(Va.test(he))return;const Se=b.find(at=>(0,le.K)([at.name],he));if(!Se)return;const{extractor:Ae}=Se,Ve=Ae?Nt(se,Ae):se;Ve!==void 0&&(Ve.length>Ma&&(W.Vy.warn(`Header "${he}" value was truncated from ${Ve.length} to ${Ma} characters.`),(0,l.A2)("Resource header value was truncated",{header_name:he,original_length:Ve.length,limit:Ma})),_[he]=(0,C._R)(Ve,Ma),L++)}),Y&&(0,l.A2)("Maximum number of resource headers reached",{collectedHeaderCount:L,totalHeaderCount:G}),L>0?_:void 0}function _u(z){const b=[],_=z.trim().split(/\r\n/);for(const L of _){const G=L.indexOf(":");G>0&&b.push([L.substring(0,G).trim(),L.substring(G+1).trim()])}return b}function So(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch{return}}var Ao=e(34305);function Fl(z,b,_){const{stop:L,eventCounts:G}=Oe({lifeCycle:z,isChildEvent:Y=>Y.view.id===b,onChange:_});return{stop:L,eventCounts:G}}const zu=10*v.iW;function Au(z,b,_){return{stop:Ot(z,{type:je.PAINT,buffered:!0}).subscribe(G=>{const Y=G.find(se=>se.name==="first-contentful-paint"&&se.startTime<b.timeStamp&&se.startTime<zu);Y&&_(Y.startTime)}).unsubscribe}}function Mc(z,b){requestAnimationFrame(()=>{requestAnimationFrame(()=>{b((0,v.vk)(z,(0,v.$S)()))})})}function $u(z,b){return kc(z,()=>{const _=(0,s.B)(Wo)();mc(_)||b(Hu(_))})}function Hu(z){return{domComplete:z.domComplete,domContentLoaded:z.domContentLoadedEventEnd,domInteractive:z.domInteractive,loadEvent:z.loadEventEnd,firstByte:pc(z)}}function mc(z){return z.loadEventEnd<=0}function kc(z,b){let _;const{stop:L}=(0,Qu.H)(z,"complete",()=>{_=(0,Mi.wg)(()=>b())});return{stop:()=>{L(),(0,Mi.DJ)(_)}}}const rd=10*v.iW;function uu(z,b,_,L){let G=1/0;const{stop:Y}=(0,Me.l)(z,_,["pointerdown","keydown"],he=>{G=he.timeStamp},{capture:!0,once:!0});let se=0;const ce=Ot(z,{type:je.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(he=>{const Se=(0,Ss.Uk)(he,Ae=>Ae.entryType===je.LARGEST_CONTENTFUL_PAINT&&Ae.startTime<G&&Ae.startTime<b.timeStamp&&Ae.startTime<rd&&Ae.size>se);if(Se){let Ae;Se.element&&(Ae=Gi(Se.element,z.actionNameAttribute));const Ve=Hn(Se),at=Se.startTime,Tt=ll(Ve,at);L({value:at,targetSelector:Ae,resourceUrl:Ve,subParts:Tt}),se=Se.size}});return{stop:()=>{Y(),ce.unsubscribe()}}}function Hn(z){return z.url===""?void 0:z.url}function ll(z,b){const _=pc(Wo());if(_===void 0)return;const L=z?Ze(z,b):void 0,G=L?Math.max(_,L.requestStart||L.startTime):_,Y=Math.min(b,Math.max(G,L?.responseEnd||0));return{loadDelay:G-_,loadTime:Y-G,renderDelay:b-Y}}function gc(z,b,_=window){if(document.visibilityState==="hidden")return{timeStamp:0,stop:cn.l};if(ii(je.VISIBILITY_STATE)){const Y=performance.getEntriesByType(je.VISIBILITY_STATE).filter(se=>se.name==="hidden").find(se=>se.startTime>=b.relative);if(Y)return{timeStamp:Y.startTime,stop:cn.l}}let L=1/0;const{stop:G}=(0,Me.l)(z,_,["pagehide","visibilitychange"],Y=>{(Y.type==="pagehide"||document.visibilityState==="hidden")&&(L=Y.timeStamp,G())},{capture:!0});return{get timeStamp(){return L},stop:G}}function vu(z,b,_,L){const G={},{stop:Y}=$u(z,Ae=>{_(Ae.loadEvent),G.navigationTimings=Ae,L()}),se=gc(z,b),{stop:ce}=Au(z,se,Ae=>{G.firstContentfulPaint=Ae,L()}),{stop:he}=uu(z,se,window,Ae=>{G.largestContentfulPaint=Ae,L()});function Se(){Y(),ce(),he(),se.stop()}return{stop:Se,initialViewMetrics:G}}const Ta=(z,b)=>z*b,qo=(z,b)=>{const _=Math.max(z.left,b.left),L=Math.max(z.top,b.top),G=Math.min(z.right,b.right),Y=Math.min(z.bottom,b.bottom);return _>=G||L>=Y?0:Ta(G-_,Y-L)},Ba=z=>{const b=Ta(z.previousRect.width,z.previousRect.height),_=Ta(z.currentRect.width,z.currentRect.height),L=qo(z.previousRect,z.currentRect);return b+_-L};function Yo(z,b,_){if(!Ro())return{stop:cn.l};let L=0,G;_({value:0});const Y=Nc(),se=Ot(z,{type:je.LAYOUT_SHIFT,buffered:!0}).subscribe(ce=>{for(const he of ce){if(he.hadRecentInput||he.startTime<b)continue;const{cumulatedValue:Se,isMaxValue:Ae}=Y.update(he);if(Ae){const Ve=Vo(he.sources);G={target:Ve?.node?new WeakRef(Ve.node):void 0,time:(0,v.vk)(b,he.startTime),previousRect:Ve?.previousRect,currentRect:Ve?.currentRect,devicePixelRatio:window.devicePixelRatio}}if(Se>L){L=Se;const Ve=G?.target?.deref();_({value:(0,te.LI)(L,4),targetSelector:Ve&&Gi(Ve,z.actionNameAttribute),time:G?.time,previousRect:G?.previousRect?vc(G.previousRect):void 0,currentRect:G?.currentRect?vc(G.currentRect):void 0,devicePixelRatio:G?.devicePixelRatio})}}});return{stop:()=>{se.unsubscribe()}}}function Vo(z){let b;for(const _ of z)if(_.node&&Hs(_.node)){const L=Ba(_);(!b||Ba(b)<L)&&(b=_)}return b}function vc({x:z,y:b,width:_,height:L}){return{x:z,y:b,width:_,height:L}}const Bl=5*v.OY,yu=v.OY;function Nc(){let z=0,b,_,L=0;return{update:G=>{const Y=b===void 0||G.startTime-_>=yu||G.startTime-b>=Bl;let se;return Y?(b=_=G.startTime,L=z=G.value,se=!0):(z+=G.value,_=G.startTime,se=G.value>L,se&&(L=G.value)),{cumulatedValue:z,isMaxValue:se}}}}function Ro(){return ii(je.LAYOUT_SHIFT)&&"WeakRef"in window}let Cu,Ou=0,Ul=1/0,Ql=0;
9function nd(){"interactionCount"in performance||Cu||(Cu=new window.PerformanceObserver((0,u.dm)(z=>{z.getEntries().forEach(b=>{const _=b;_.interactionId&&(Ul=Math.min(Ul,_.interactionId),Ql=Math.max(Ql,_.interactionId),Ou=(Ql-Ul)/7+1)})})),Cu.observe({type:"event",buffered:!0,durationThreshold:0}))}const bu=()=>Cu?Ou:window.performance.interactionCount||0;function cl(){Cu&&(Cu.disconnect(),Cu=void 0,Ou=0,Ul=1/0,Ql=0)}const Ju=10,Xo=1*v.iW,Zu=8;function yc(z,b,_){if(!vd())return{getInteractionToNextPaint:()=>{},setViewEnd:cn.l,stop:cn.l};let L=1/0,G;const{getViewInteractionCount:Y,stopViewInteractionCount:se}=Ga(_),ce=Iu(Y),he=qu(ce),Se=Ot(z,{type:je.FIRST_INPUT,buffered:!0}).subscribe(Ve),Ae=Ot(z,{type:je.EVENT,durationThreshold:40,buffered:!0}).subscribe(Ve);function Ve(Tt){for(const Lt of Tt)Lt.interactionId&&Lt.startTime>=b&&Lt.startTime<=L&&(ce.process(Lt),he.process(Lt));he.pruneUntracked();const Ct=ce.estimateP98Interaction();Ct&&at(Ct)}function at(Tt){const Ct=(0,v.vk)(b,Tt.startTime);if(!G||Tt.duration!==G.duration||Ct!==G.startTime){let Lt=su(Tt.startTime);!Lt&&Tt.target&&Hs(Tt.target)&&(Lt=Gi(Tt.target,z.actionNameAttribute)),G={duration:Tt.duration,startTime:Ct,targetSelector:Lt}}G.subParts=he.computeSubParts(Tt,wn(G.duration))}return{getInteractionToNextPaint:()=>{if(G)return{value:wn(G.duration),targetSelector:G.targetSelector,time:G.startTime,subParts:G.subParts};if(Y())return{value:0}}
9,setViewEnd:Tt=>{L=Tt,se()},stop:()=>{Ae.unsubscribe(),Se.unsubscribe(),he.stop()}}}function Iu(z){const b=[];function _(){b.sort((L,G)=>G.duration-L.duration).splice(Ju)}return{process(L){const G=b.findIndex(se=>L.interactionId===se.interactionId),Y=b[b.length-1];G!==-1?L.duration>b[G].duration&&(b[G]=L,_()):(b.length<Ju||L.duration>Y.duration)&&(b.push(L),_())},estimateP98Interaction(){const L=Math.min(b.length-1,Math.floor(z()/50));return b[L]},isTracked(L){return b.some(G=>G.interactionId===L)}}}function Ga(z){nd();const b=z===M.INITIAL_LOAD?0:bu();let _={stopped:!1};function L(){return bu()-b}return{getViewInteractionCount:()=>_.stopped?_.interactionCount:L(),stopViewInteractionCount:()=>{_={stopped:!0,interactionCount:L()}}}}function qu(z){const b=new Map;function _(L,G){L.startTime=Math.min(G.startTime,L.startTime),L.processingStart=Math.min(G.processingStart,L.processingStart),L.processingEnd=Math.max(G.processingEnd,L.processingEnd)}return{process(L){if(L.interactionId===void 0||!L.processingStart||!L.processingEnd)return;const G=L.startTime+L.duration,Y=b.get(L.interactionId);if(Y){_(Y,L);return}for(const[,se]of b.entries())if(Math.abs(G-se.referenceRenderTime)<=Zu){_(se,L),b.set(L.interactionId,se);return}b.set(L.interactionId,{startTime:L.startTime,processingStart:L.processingStart,processingEnd:L.processingEnd,referenceRenderTime:G})},pruneUntracked(){for(const[L]of b)z.isTracked(L)||b.delete(L)},computeSubParts(L,G){if(!L.processingStart||!L.processingEnd||L.interactionId===void 0)return;const Y=b.get(L.interactionId);if(!Y)return;const se=Math.max(Y.startTime+G,Y.processingStart),ce=Math.min(Y.processingEnd,se);return{inputDelay:(0,v.vk)(Y.startTime,Y.processingStart),processingDuration:(0,v.vk)(Y.processingStart,ce),presentationDelay:(0,v.vk)(ce,se)}},stop(){b.clear()}}}function vd(){return ii(je.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype}function wn(z){return Math.min(z,Xo)}function Fc(z,b,_,L,G,Y,se){let ce=G===M.INITIAL_LOAD,he=!0;const Se=[],Ae=gc(L,Y);function Ve(){if(!he&&!ce&&Se.length>0){const Tt=Math.max(...Se);Tt<Ae.timeStamp-Y.relative&&se(Tt)}}const{stop:at}=Le(z,b,_,L,Tt=>{he&&(he=!1,Tt.hadActivity&&Se.push((0,v.vk)(Y.timeStamp,Tt.end)),Ve())});return{stop:()=>{at(),Ae.stop()},setLoadEvent:Tt=>{ce&&(ce=!1,Se.push(Tt),Ve())}}}function id(){let z;const b=window.visualViewport;return b?z=b.pageLeft-b.offsetLeft:window.scrollX!==void 0?z=window.scrollX:z=window.pageXOffset||0,Math.round(z)}function Jl(){let z;const b=window.visualViewport;return b?z=b.pageTop-b.offsetTop:window.scrollY!==void 0?z=window.scrollY:z=window.pageYOffset||0,Math.round(z)}let Oa;function Zl(z){return Oa||(Oa=ql(z)),Oa}function ql(z){return new tr.cP(b=>{const{throttled:_}=(0,cn.n)(()=>{b.notify(xo())},200);return(0,Me.q)(z,window,"resize",_,{capture:!0,passive:!0}).stop})}function xo(){const z=window.visualViewport;return z?{width:Number(z.width*z.scale),height:Number(z.height*z.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}const El=v.OY;function el(z,b,_,L=Bc(z)){let G=0,Y=0,se=0;const ce=L.subscribe(({scrollDepth:he,scrollTop:Se,scrollHeight:Ae})=>{let Ve=!1;if(he>G&&(G=he,Ve=!0),Ae>Y){Y=Ae;const at=(0,v.$S)();se=(0,v.vk)(b.relative,at),Ve=!0}Ve&&_({maxDepth:Math.min(G,Y),maxDepthScrollTop:Se,maxScrollHeight:Y,maxScrollHeightTime:se})});return{stop:()=>ce.unsubscribe()}}function jl(){const z=Jl(),{height:b}=xo(),_=Math.round((document.scrollingElement||document.documentElement).scrollHeight),L=Math.round(b+z);return{scrollHeight:_,scrollDepth:L,scrollTop:z}}function Bc(z,b=El){return new tr.cP(_=>{function L(){_.notify(jl())}const G=(0,cn.n)(L,b,{leading:!1,trailing:!0}),Y=document.scrollingElement||document.documentElement,se=new ResizeObserver((0,u.dm)(G.throttled));Y&&se.observe(Y);const ce=(0,Me.q)(z,window,"scroll",G.throttled,{passive:!0});return()=>{G.cancel(),se.disconnect(),ce.stop()}})}function sa(z,b,_,L,G,Y,se){const ce={};let he=!1,Se=!1;const{stop:Ae,setLoadEvent:Ve}=Fc(z,b,_,L,Y,se,zt=>{he||(ce.loadingTime=zt,G())}),{stop:at}=el(L,se,zt=>{ce.scroll=zt}),{stop:Tt}=Yo(L,se.relative,zt=>{ce.cumulativeLayoutShift=zt,G()}),{stop:Ct,getInteractionToNextPaint:Lt,setViewEnd:vr}=yc(L,se.relative,Y);return{stop:()=>{Ae(),Tt(),at()},stopINPTracking:Ct,setLoadEvent:Ve,setViewEnd:zt=>{Se=!0,vr(zt)},getCommonViewMetrics:()=>(ce.interactionToNextPaint=Lt(),ce),setLoadingTime:zt=>{if(Se)return;const Xr=(0,v.vk)(se.timeStamp,zt??(0,v.nx)());he||Ae(),he=!0,ce.loadingTime=Xr,G()}}}function zl(z,b){const{stop:_}=(0,Me.q)(z,window,"pageshow",L=>{L.persisted&&b(L)},{capture:!0});return _}function tl(z,b,_){Mc(z.relative,L=>{b.firstContentfulPaint=L,b.largestContentfulPaint={value:L},_()})}const bc=3e3,dl=5*v.iW,$l=5*v.iW;function yd(z,b,_,L,G,Y,se){const ce=new Set;let he=Ve(M.INITIAL_LOAD,(0,v.Oc)(),se),Se;at();let Ae;Y&&(Ae=Tt(G),Se=zl(L,Ct=>{he.end();const Lt=(0,v.FR)(Ct.timeStamp);he=Ve(M.BF_CACHE,Lt,void 0)}));
9function Ve(Ct,Lt,vr){const zt=rl(z,b,_,L,Ct,Lt,vr);return ce.add(zt),zt.stopObservable.subscribe(()=>{ce.delete(zt)}),zt}function at(){z.subscribe(10,Ct=>{const Lt=he.contextManager.getContext();Ct&&(Lt.is_session_renewal=!0,Lt.renew_event=Ct),he=Ve(M.SESSION_RENEWAL,void 0,{name:he.name,service:he.service,version:he.version,context:Lt})}),z.subscribe(9,()=>{he.end({sessionIsActive:!1})})}function Tt(Ct){return Ct.subscribe(({oldLocation:Lt,newLocation:vr})=>{hl(Lt,vr)&&(he.end(),he=Ve(M.ROUTE_CHANGE))})}return{addTiming:(Ct,Lt=(0,v.nx)())=>{he.addTiming(Ct,Lt)},setLoadingTime:Ct=>he.setLoadingTime(Ct),startView:(Ct,Lt)=>{he.end({endClocks:Lt}),he=Ve(M.ROUTE_CHANGE,Lt,Ct)},setViewContext:Ct=>{he.contextManager.setContext(Ct)},setViewContextProperty:(Ct,Lt)=>{he.contextManager.setContextProperty(Ct,Lt)},setViewName:Ct=>{he.setViewName(Ct)},getViewContext:()=>he.contextManager.getContext(),stop:()=>{Ae&&Ae.unsubscribe(),Se&&Se(),he.end(),ce.forEach(Ct=>Ct.stop())}}}function rl(z,b,_,L,G,Y=(0,v.M8)(),se){const ce=(0,C.lk)(),he=new tr.cP,Se={};let Ae=0,Ve;const at=(0,q.yG)((0,s.B)(window.location)),Tt=(0,Ao.D)();let Ct=!0,Lt=se?.name;const vr=se?.service||L.service,zt=se?.version||L.version,Xr=se?.context,qr=se?.handlingStack;Xr&&Tt.setContext(Xr);const Dn={id:ce,name:Lt,startClocks:Y,service:vr,version:zt,context:Xr,url:se?.url};z.notify(1,Dn),z.notify(2,Dn);const{throttled:Nn,cancel:Zn}=(0,cn.n)(Do,bc,{leading:!1}),{setLoadEvent:nn,setViewEnd:Gr,stop:Qt,stopINPTracking:Kn,getCommonViewMetrics:Ds,setLoadingTime:Ai}=sa(z,b,_,L,Ys,G,Y),{stop:hs,initialViewMetrics:ys}=G===M.INITIAL_LOAD?vu(L,Y,nn,Ys):{stop:cn.l,initialViewMetrics:{}};G===M.BF_CACHE&&tl(Y,ys,Ys);const{stop:As,eventCounts:rs}=Fl(z,ce,Ys),oa=(0,Mi.yb)(Do,dl),uo=z.subscribe(11,vo=>{vo.reason===ri.y5.UNLOADING&&Do()});Do(),Tt.changeObservable.subscribe(Ys);function Uo(){z.notify(3,{id:ce,name:Lt,context:Tt.getContext(),startClocks:Y,sessionIsActive:Ct})}function Ys(){Uo(),Nn()}function Do(){Zn(),Uo(),Ae+=1;const vo=Ve===void 0?(0,v.nx)():Ve.timeStamp;z.notify(4,{customTimings:Se,documentVersion:Ae,id:ce,name:Lt,service:vr,version:zt,context:Tt.getContext(),loadingType:G,location:at,handlingStack:qr,startClocks:Y,commonViewMetrics:Ds(),initialViewMetrics:ys,duration:(0,v.vk)(Y.timeStamp,vo),isActive:Ve===void 0,sessionIsActive:Ct,eventCounts:rs})}return{get name(){return Lt},service:vr,version:zt,contextManager:Tt,stopObservable:he,end(vo={}){Ve||(Ve=vo.endClocks??(0,v.M8)(),Ct=vo.sessionIsActive??!0,z.notify(5,{endClocks:Ve}),z.notify(6,{endClocks:Ve}),(0,Mi.vG)(oa),Gr(Ve.relative),Qt(),uo.unsubscribe(),Do(),(0,Mi.wg)(()=>{this.stop()},$l))},stop(){hs(),As(),Kn(),he.notify()},addTiming(vo,cu){if(Ve)return;const lo=(0,v.pu)(cu)?cu:(0,v.vk)(Y.timeStamp,cu);Se[fl(vo)]=lo,Ys()},setLoadingTime:Ai,setViewName(vo){Lt=vo,Do()}}}function fl(z){const b=z.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return b!==z&&W.Vy.warn(`Invalid timing name: ${z}, sanitized to: ${b}`),b}function hl(z,b){return z.pathname!==b.pathname||!Uc(b.hash)&&pl(b.hash)!==pl(z.hash)}function Uc(z){const b=z.substring(1);return b!==""&&!!document.getElementById(b)}function pl(z){const b=z.indexOf("?");return b<0?z:z.slice(0,b)}function Tl(z,b,_,L,G,Y,se,ce,he){return z.subscribe(4,Se=>z.notify(12,ec(Se,_,se))),b.register(0,({startTime:Se,eventType:Ae})=>{const Ve=ce.findView(Se);return Ve?{type:Ae,service:Ve.service,version:Ve.version,context:Ve.context,view:{id:Ve.id,name:Ve.name}}:Bi.ug}),b.register(1,({startTime:Se})=>({view:{id:ce.findView(Se)?.id}})),yd(z,L,G,_,Y,!_.trackViewsManually,he)}function ec(z,b,_){const L=_.getReplayStats(z.id),G=z.commonViewMetrics?.cumulativeLayoutShift?.devicePixelRatio,Y={_dd:{document_version:z.documentVersion,replay_stats:L,cls:G?{device_pixel_ratio:G}:void 0,configuration:{start_session_replay_recording_manually:b.startSessionReplayRecordingManually}},date:z.startClocks.timeStamp,type:R.VIEW,view:{action:{count:z.eventCounts.actionCount},frustration:{count:z.eventCounts.frustrationCount},cumulative_layout_shift:z.commonViewMetrics.cumulativeLayoutShift?.value,cumulative_layout_shift_time:(0,v.Zj)(z.commonViewMetrics.cumulativeLayoutShift?.time),cumulative_layout_shift_target_selector:z.commonViewMetrics.cumulativeLayoutShift?.targetSelector,first_byte:(0,v.Zj)(z.initialViewMetrics.navigationTimings?.firstByte),dom_complete:(0,v.Zj)(z.initialViewMetrics.navigationTimings?.domComplete),dom_content_loaded:(0,v.Zj)(z.initialViewMetrics.navigationTimings?.domContentLoaded),dom_interactive:(0,v.Zj)(z.initialViewMetrics.navigationTimings?.domInteractive),error:{count:z.eventCounts.errorCount},first_contentful_paint:(0,v.Zj)(z.initialViewMetrics.firstContentfulPaint),interaction_to_next_paint:(0,v.Zj)(z.commonViewMetrics.interactionToNextPaint?.value),interaction_to_next_paint_time:(0,v.Zj)(z.commonViewMetrics.interactionToNextPaint?.time),interaction_to_next_paint_target_selector:z.commonViewMetrics.interactionToNextPaint?.targetSelector,is_active:z.isActive,name:z.name,largest_contentful_paint:(0,v.Zj)(z.initialViewMetrics.largestContentfulPaint?.value),largest_contentful_paint_target_selector:z.initialViewMetrics.largestContentfulPaint?.targetSelector,load_event:(0,v.Zj)(z.initialViewMetrics.navigationTimings?.loadEvent),loading_time:pa((0,v.Zj)(z.commonViewMetrics.loadingTime)),loading_type:z.loadingType,long_task:{count:z.eventCounts.longTaskCount},performance:da(z.commonViewMetrics,z.initialViewMetrics),resource:{count:z.eventCounts.resourceCount},time_spent:(0,v.Zj)(z.duration)},display:z.commonViewMetrics.scroll?{scroll:{max_depth:z.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:z.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:z.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,v.Zj)(z.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:b.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:So()}};return(0,q.RI)(z.customTimings)||(Y.view.custom_timings=(0,q.LG)(z.customTimings,v.Zj)),{rawRumEvent:Y,startClocks:z.startClocks,duration:z.duration,domainContext:{location:z.location,handlingStack:z.handlingStack}}}function da({cumulativeLayoutShift:z,interactionToNextPaint:b},{firstContentfulPaint:_,largestContentfulPaint:L}){return{cls:z&&{score:z.value,timestamp:(0,v.Zj)(z.time),target_selector:z.targetSelector,previous_rect:z.previousRect,current_rect:z.currentRect},fcp:_&&{timestamp:(0,v.Zj)(_)},inp:b&&{duration:(0,v.Zj)(b.value),timestamp:(0,v.Zj)(b.time),target_selector:b.targetSelector,sub_parts:b.subParts?{input_delay:(0,v.Zj)(b.subParts.inputDelay),processing_duration:(0,v.Zj)(b.subParts.processingDuration),presentation_delay:(0,v.Zj)(b.subParts.presentationDelay)}:void 0},lcp:L&&{timestamp:(0,v.Zj)(L.value),target_selector:L.targetSelector,resource_url:L.resourceUrl,sub_parts:L.subParts?{load_delay:(0,v.Zj)(L.subParts.loadDelay),load_time:(0,v.Zj)(L.subParts.loadTime),render_delay:(0,v.Zj)(L.subParts.renderDelay)}:void 0}}}var N=e(1053),re=e(15261),Ee=e(52895);function Ue(z,b,_,L,G,Y){const se=[z.rumEndpointBuilder];
9z.replica&&se.push(z.replica.rumEndpointBuilder);const ce=(0,N.X)({encoder:Y(2),request:(0,re.sA)(se,_),flushController:(0,Ee.tO)({pageMayExitObservable:L,sessionExpireObservable:G})});return b.subscribe(13,he=>{he.type===R.VIEW?ce.upsert(he,he.view.id):ce.add(he)}),ce}function dt(z){const b=(0,ln.Y9)();z.subscribe(13,_=>{b.send("rum",_)})}const gr=Mr.AQ;function _n(z,b,_){const L=(0,vn.qj)({expireDelay:gr});let G;z.subscribe(1,({startClocks:ce,url:he})=>{const Se=(0,s.B)(location).href,Ae=he!==void 0?(0,Tn.c$)(he,Se).href:Se;L.add(se({url:Ae,referrer:G||document.referrer}),ce.relative),G=Ae}),z.subscribe(6,({endClocks:ce})=>{L.closeActive(ce.relative)});const Y=_.subscribe(({newLocation:ce})=>{const he=L.find();if(he){const Se=(0,v.$S)();L.closeActive(Se),L.add(se({url:ce.href,referrer:he.referrer}),Se)}});function se({url:ce,referrer:he}){return{url:ce,referrer:he}}return b.register(0,({startTime:ce,eventType:he})=>{const Se=L.find(ce);return Se?{type:he,view:{url:Se.url,referrer:Se.referrer}}:Bi.ug}),{findUrl:ce=>L.find(ce),stop:()=>{Y.unsubscribe(),L.stop()}}}function Ki(z){let b=(0,q.yG)(location);return new tr.cP(_=>{const{stop:L}=Gs(z,Y),{stop:G}=aa(z,Y);function Y(){if(b.href===location.href)return;const se=(0,q.yG)(location);_.notify({newLocation:se,oldLocation:b}),b=se}return()=>{L(),G()}})}function Gs(z,b){const{stop:_}=(0,fe.H)(Eo("pushState"),"pushState",({onPostCall:Y})=>{Y(b)}),{stop:L}=(0,fe.H)(Eo("replaceState"),"replaceState",({onPostCall:Y})=>{Y(b)}),{stop:G}=(0,Me.q)(z,window,"popstate",b);return{stop:()=>{_(),L(),G()}}}function aa(z,b){return(0,Me.q)(z,window,"hashchange",b)}function Eo(z){return Object.prototype.hasOwnProperty.call(history,z)?history:History.prototype}const Pu=Mr.AQ,wl=200;function jc(z,b,_){const L=(0,vn.qj)({expireDelay:Pu});return z.subscribe(1,({startClocks:G})=>{L.add({},G.relative)}),z.subscribe(6,({endClocks:G})=>{L.closeActive(G.relative)}),b.register(0,({startTime:G,eventType:Y})=>{if(!_.trackFeatureFlagsForEvents.concat([R.VIEW,R.ERROR]).includes(Y))return Bi.$O;const ce=L.find(G);return!ce||(0,q.RI)(ce)?Bi.$O:{type:Y,feature_flags:ce}}),{addFeatureFlagEvaluation:(G,Y)=>{const se=L.find();se&&(se[G]=Y)}}}const Hl=10*v.OY;let _l,nl;function Wl(z,b,_){z.metricsEnabled&&(ml(),nl=!1,b.subscribe(13,()=>{nl=!0}),_.subscribe(({bytesCount:L,messagesCount:G})=>{nl&&(nl=!1,_l.batchCount+=1,S(_l.batchBytesCount,L),S(_l.batchMessagesCount,G))}),(0,Mi.yb)(Qo,Hl))}function Qo(){_l.batchCount!==0&&((0,l.Gk)("Customer data measures",_l),ml())}function Al(){return{min:1/0,max:0,sum:0}}function S(z,b){z.sum+=b,z.min=Math.min(z.min,b),z.max=Math.max(z.max,b)}function ml(){_l={batchCount:0,batchBytesCount:Al(),batchMessagesCount:Al()}}const Qs=4e3,Fi=500,bd=Mr.AQ;function sd(z,b,_=Fi){const L=(0,vn.qj)({expireDelay:bd,maxEntries:Qs});let G;ii(je.VISIBILITY_STATE)&&performance.getEntriesByType(je.VISIBILITY_STATE).forEach(Se=>{const Ae=Se.name==="hidden"?"hidden":"active";se(Ae,Se.startTime)}),se(fn(),(0,v.$S)());const{stop:Y}=(0,Me.l)(b,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],he=>{se(nf(he),he.timeStamp)},{capture:!0});function se(he,Se=(0,v.$S)()){he!==G&&(G=he,L.closeActive(Se),L.add({state:G,startTime:Se},Se))}function ce(he,Se,Ae){return L.findAll(Se,Ae).some(Ve=>Ve.state===he)}return z.register(0,({startTime:he,duration:Se=0,eventType:Ae})=>{if(Ae===R.VIEW){const Ve=L.findAll(he,Se);return{type:Ae,_dd:{page_states:zc(Ve,he,_)}}}return Ae===R.ACTION||Ae===R.ERROR?{type:Ae,view:{in_foreground:ce("active",he,0)}}:Bi.$O}),{wasInPageStateDuringPeriod:ce,addPageState:se,stop:()=>{Y(),L.stop()}}}function zc(z,b,_){if(z.length!==0)return z.slice(-_).reverse().map(({state:L,startTime:G})=>({state:L,start:(0,v.Zj)((0,v.vk)(b,G))}))}function nf(z){return z.type==="freeze"?"frozen":z.type==="pagehide"?z.persisted?"frozen":"terminated":fn()}function fn(){return document.visibilityState==="hidden"?"hidden":document.hasFocus()?"active":"passive"}function ga(z,b){let _;const L=requestAnimationFrame((0,u.dm)(()=>{_=xo()})),G=Zl(b).subscribe(Y=>{_=Y}).unsubscribe;return z.register(0,({eventType:Y})=>
9({type:Y,display:_?{viewport:_}:void 0})),{stop:()=>{G(),L&&cancelAnimationFrame(L)}}}function eo(z,b){const _=nt(z);function L(he){return!b.wasInPageStateDuringPeriod("frozen",he.startClocks.relative,he.duration)}function G(he){L(he)&&z.notify(12,Ka(he))}function Y(he,Se,Ae,Ve){if(!(0,E.sr)(E.R9.FEATURE_OPERATION_VITAL))return;const{operationKey:at,context:Tt,description:Ct,handlingStack:Lt}=Ae||{},vr={name:he,type:U.OPERATION_STEP,operationKey:at,failureReason:Ve,stepType:Se,startClocks:(0,v.M8)(),context:(0,h.a)(Tt),description:Ct,handlingStack:Lt};z.notify(12,Ka(vr))}function se(he,Se={},Ae=(0,v.M8)()){const{id:Ve}=_.start(Se.vitalKey??he,Ae,{name:he,...Se});z.notify(16,{id:Ve,name:he,startClocks:Ae,...Se})}function ce(he,Se={},Ae=(0,v.M8)()){const Ve=_.stop(Se.vitalKey??he,Ae,Se);Ve&&G({type:U.DURATION,...Ve})}return{addOperationStepVital:Y,addDurationVital:G,startDurationVital:se,stopDurationVital:ce}}function Ka(z){const{startClocks:b,type:_,name:L,description:G,context:Y,handlingStack:se}=z,he={id:(z.type===U.DURATION?z.id:void 0)??(0,C.lk)(),type:_,name:L,description:G,..._===U.DURATION?{duration:(0,v.Zj)(z.duration)}:{step_type:z.stepType,operation_key:z.operationKey,failure_reason:z.failureReason}};return{rawRumEvent:{date:b.timeStamp,vital:he,type:R.VITAL,context:Y},startClocks:b,duration:_===U.DURATION?z.duration:void 0,domainContext:se?{handlingStack:se}:{}}}function Zs(z,b){const _=window.cookieStore?Cl(z):Ua;return new tr.cP(L=>_(b,G=>L.notify(G)))}function Cl(z){return(b,_)=>(0,Me.q)(z,window.cookieStore,"change",G=>{const Y=G.changed.find(se=>se.name===b)||G.deleted.find(se=>se.name===b);Y&&_(Y.value)}).stop}const Sc=v.OY;function Ua(z,b){let _=(0,At.Ri)(z);const L=(0,Mi.yb)(()=>{const G=(0,At.Ri)(z);G!==_&&(_=G,b(G))},Sc);return()=>{(0,Mi.vG)(L)}}const Ru="datadog-ci-visibility-test-execution-id";function Ol(z,b,_=Zs(z,Ru)){let L=(0,At.B9)(Ru)||window.Cypress?.env("traceId");const G=_.subscribe(Y=>{L=Y});return b.register(0,({eventType:Y})=>typeof L!="string"?Bi.$O:{type:Y,session:{type:"ci_test"},ci_test:{test_execution_id:L}}),{stop:()=>{G.unsubscribe()}}}function xc(z,b){const _=ii(je.LONG_ANIMATION_FRAME)?je.LONG_ANIMATION_FRAME:je.LONG_TASK,L=Ot(b,{type:_,buffered:!0}).subscribe(G=>{for(const Y of G){if(!b.trackLongTasks)break;const se=(0,v.FR)(Y.startTime),ce=gl(Y,se);z.notify(12,{rawRumEvent:ce,startClocks:se,duration:Y.duration,domainContext:{performanceEntry:Y}})}});return{stop:()=>L.unsubscribe()}}function gl(z,b){const _=(0,C.lk)(),L=(0,v.Zj)(z.duration),G={date:b.timeStamp,type:R.LONG_TASK,_dd:{discarded:!1}};return z.entryType===je.LONG_TASK?{...G,long_task:{id:_,entry_type:B.LONG_TASK,duration:L}}:{...G,long_task:{id:_,entry_type:B.LONG_ANIMATION_FRAME,duration:L,blocking_duration:(0,v.Zj)(z.blockingDuration),first_ui_event_timestamp:(0,v.Zj)(z.firstUIEventTimestamp),render_start:(0,v.Zj)(z.renderStart),style_and_layout_start:(0,v.Zj)(z.styleAndLayoutStart),start_time:(0,v.Zj)(z.startTime),scripts:z.scripts.map(Y=>({duration:(0,v.Zj)(Y.duration),pause_duration:(0,v.Zj)(Y.pauseDuration),forced_style_and_layout_duration:(0,v.Zj)(Y.forcedStyleAndLayoutDuration),start_time:(0,v.Zj)(Y.startTime),execution_start:(0,v.Zj)(Y.executionStart),source_url:Y.sourceURL,source_function_name:Y.sourceFunctionName,source_char_position:Y.sourceCharPosition,invoker:Y.invoker,invoker_type:Y.invokerType,window_attribution:Y.windowAttribution}))}}}function Sd(z){z.register(0,({eventType:b})=>(0,Ur.Fs)()?{type:b,session:{type:"synthetics"},synthetics:{...(0,Ur.IM)(),injected:(0,Ur.ao)()}}:Bi.$O)}var tc=e(34585),jd=e(75267);function zd(z,b,_){const L=(0,g.Go)(z),G=_(L);return(0,Ss.WP)(b).forEach(([Y,se])=>vl(z,L,Y.split(/\.|(?=\[\])/),se)),G}function vl(z,b,_,L){const[G,...Y]=_;if(G==="[]"){Array.isArray(z)&&Array.isArray(b)&&z.forEach((se,ce)=>vl(se,b[ce],Y,L));return}if(!(!il(z)||!il(b))){if(Y.length>0)return vl(z[G],b[G],Y,L);$c(z,G,b[G],L)}}function $c(z,b,_,L){if(z[b]===_)return;const G=(0,pe.P)(_);G===L?z[b]=(0,h.a)(_):L==="object"&&(G==="undefined"||G==="null")&&(z[b]={})}function il(z){return(0,pe.P)(z)==="object"}const eu={"view.name":"string","view.url":"string","view.referrer":"string"},to={context:"object"},ja={service:"string",version:"string"};let lu;function rc(z,b,_,L,G){lu={[R.VIEW]:{"view.performance.lcp.resource_url":"string",...to,...eu,...ja},[R.ERROR]:{"error.message":"string","error.stack":"string","error.handling_stack":"string","error.resource.url":"string","error.fingerprint":"string",...to,...eu,...ja},[R.RESOURCE]:{"resource.url":"string","resource.graphql.variables":"string","resource.request.headers":"object","resource.response.headers":"object",...to,...eu,...ja},[R.ACTION]:{"action.target.name":"string",...to,...eu,...ja},[R.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...to,...eu,...ja},[R.VITAL]:{...to,...eu,...ja}};const Y={[R.ERROR]:(0,tc.$)(R.ERROR,L,G),[R.ACTION]:(0,tc.$)(R.ACTION,L,G),[R.VITAL]:(0,tc.$)(R.VITAL,L,G)};b.subscribe(12,({startClocks:se,duration:ce,rawRumEvent:he,domainContext:Se})=>{const Ae=_.triggerHook(0,{eventType:he.type,rawRumEvent:he,domainContext:Se,startTime:se.relative,duration:ce});if(Ae===Bi.ug)return;const Ve=(0,g.kg)(Ae,he,{ddtags:(0,jd.m5)(z).join(",")});$d(Ve,z.beforeSend,Se,Y)&&((0,q.RI)(Ve.context)&&delete Ve.context,b.notify(13,Ve))})}function $d(z,b,_,L){if(b){const Y=zd(z,lu[z.type],se=>b(se,_));if(Y===!1&&z.type!==R.VIEW)return!1;Y===!1&&W.Vy.warn("Can't dismiss view events using beforeSend!")}return!L[z.type]?.isLimitReached()}
9function Wu(z,b){return(0,ln.d0)()?(0,ln.Ww)("records")?1:0:(0,as.$5)(z.id,(0,as.it)(b.sessionSampleRate,b.sessionReplaySampleRate))?1:z.isReplayForced?2:0}function ad(z,b,_,L,G){z.register(0,({eventType:Y,startTime:se})=>{const ce=_.findTrackedSession(se),he=G.findView(se);if(!ce||!he)return Bi.ug;let Se,Ae,Ve;return Y===R.VIEW?(Se=L.getReplayStats(he.id)?!0:void 0,Ae=Wu(ce,b)===1,Ve=he.sessionIsActive?void 0:!1):Se=L.isRecording()?!0:void 0,{type:Y,session:{id:ce.id,type:"user",has_replay:Se,sampled_for_replay:Ae,is_active:Ve}}})}var Vl=e(25847);function Hc(z){z.register(0,({eventType:b})=>({type:b,connectivity:(0,Vl.q)()}))}function yl(z,b,_){z.register(0,({eventType:L})=>{const G=b.source;return{type:L,_dd:{format_version:2,drift:(0,v.TP)(),configuration:{session_sample_rate:(0,te.LI)(b.sessionSampleRate,3),session_replay_sample_rate:(0,te.LI)(b.sessionReplaySampleRate,3),profiling_sample_rate:(0,te.LI)(b.profilingSampleRate,3),trace_sample_rate:(0,te.LI)(b.traceSampleRate,3)},browser_sdk_version:(0,ln.d0)()?"7.0.0":void 0,sdk_name:_},application:{id:b.applicationId},date:(0,v.nx)(),source:G}})}const Hd=[R.ACTION,R.ERROR,R.LONG_TASK,R.RESOURCE,R.VITAL];function sf(z){return{addEvent:(b,_,L,G)=>{Hd.includes(_.type)&&z.notify(12,{startClocks:(0,v.FR)(b),rawRumEvent:_,domainContext:L,duration:G})}}}function Jo(z,b){if(!b.metricsEnabled)return{stop:cn.l};const{unsubscribe:_}=z.subscribe(4,({initialViewMetrics:L})=>{!L.largestContentfulPaint||!L.navigationTimings||((0,l.Gk)("Initial view metrics",{metrics:za(L.largestContentfulPaint,L.navigationTimings)}),_())});return{stop:_}}function za(z,b){return{lcp:{value:z.value},navigation:{domComplete:b.domComplete,domContentLoaded:b.domContentLoaded,domInteractive:b.domInteractive,firstByte:b.firstByte,loadEvent:b.loadEvent}}}var Wc=e(89033);function Sf(z){const b=window,_=new Map;function L(){b.DD_SOURCE_CODE_CONTEXT&&((0,Ss.WP)(b.DD_SOURCE_CODE_CONTEXT).forEach(([G,Y])=>{const ce=(0,Wc.T)({stack:G}).stack[0];if(!ce.url){(0,l.VJ)("Source code context: missing frame url",{stack:G});return}_.has(ce.url)||_.set(ce.url,Y)}),b.DD_SOURCE_CODE_CONTEXT={})}L(),z.register(0,({domainContext:G,rawRumEvent:Y})=>{if(L(),_.size===0)return Bi.$O;const se=xd(G,Y),ce=se&&_.get(se);return ce?{type:Y.type,service:ce.service,version:ce.version}:Bi.$O})}function xd(z,b){if(b.type==="long_task"&&b.long_task.entry_type==="long-animation-frame")return b.long_task.scripts[0]?.source_url;let _;return"handlingStack"in z&&(_=z.handlingStack),b.type==="error"&&b.error.stack&&(_=b.error.stack),(0,Wc.T)({stack:_}).stack[0]?.url}function bl(z,b,_,L,G,Y,se,ce,he,Se){const Ae=[],Ve=new xt;Ve.subscribe(13,zt=>(0,qi.b)("rum",zt)),b.expireObservable.subscribe(()=>Ve.notify(9)),b.renewObservable.subscribe(zt=>Ve.notify(10,zt));const at=zt=>{Ve.notify(14,{error:zt}),(0,l.A2)("Error reported to customer",{"error.message":zt.message})},Tt=(0,ri._T)(z);if((0,ln.d0)()){dt(Ve);const zt=Tt.subscribe(Xr=>{Ve.notify(11,Xr)});Ae.push(()=>zt.unsubscribe())}else{const zt=Ue(z,Ve,at,Tt,b.expireObservable,Y),Xr=zt.flushController.preparePageExitFlushObservable.subscribe(qr=>{Ve.notify(11,{reason:qr})});Ae.push(()=>Xr.unsubscribe()),Ae.push(()=>zt.stop()),Wl(ce,Ve,zt.flushController.flushObservable)}const{stop:Ct}=Jo(Ve,ce);Ae.push(Ct);const{stop:Lt,...vr}=Ec(Ve,he,z,b,_,G,se,Se,at);return Ae.push(Lt),se.unbuffer(),Ae.push(()=>L.stop()),{...vr,lifeCycle:Ve,sessionManager:b,stopSession:()=>b.expire(),telemetry:ce,stop:()=>{Ae.forEach(zt=>zt())},hooks:he}}function Ec(z,b,_,L,G,Y,se,ce,he){const Se=[],Ae=ks(),Ve=Ki(_),{observable:at,stop:Tt}=Re();Se.push(Tt),yl(b,_,ce);const Ct=sd(b,_);Se.push(()=>Ct.stop());const Lt=Yn(z);Se.push(()=>Lt.stop());const vr=_n(z,b,Ve);Se.push(()=>vr.stop());const zt=jc(z,b,_);ad(b,_,L,G,Lt),Hc(b),(0,Vi.j3)(b);const Xr=(0,rt.F)(b,_,"rum",!0),qr=(0,_t.$)(b,_,L,"rum"),Dn=(0,Yr.B)(b,_,"rum"),Nn=fa(z,b,Ae,at,_);Se.push(Nn.stop);const Zn=sf(z),nn=ga(b,_);Se.push(nn.stop);const Gr=Ol(_,b);Se.push(Gr.stop),Sd(b),rc(_,z,b,he);const{addTiming:Qt,setLoadingTime:Kn,startView:Ds,setViewName:Ai,setViewContext:hs,setViewContextProperty:ys,getViewContext:As,stop:rs}=Tl(z,b,_,Ae,at,Ve,G,Lt,Y);Sf(b),Se.push(rs);const oa=Or(z,_);Se.push(oa.stop);const{stop:uo}=xc(z,_);Se.push(uo);const{addError:Uo}=kl(z,_,se);_s(z,_,L,qr,Dn,se);const Ys=eo(z,Ct),Do=Qe(_.applicationId,L,Lt,Nn.actionContexts,vr);return{addAction:Nn.addAction,startAction:Nn.startAction,stopAction:Nn.stopAction,startResource:oa.startResource,stopResource:oa.stopResource,addEvent:Zn.addEvent,addError:Uo,addTiming:Qt,setLoadingTime:Kn,addFeatureFlagEvaluation:zt.addFeatureFlagEvaluation,startView:Ds,setViewContext:hs,setViewContextProperty:ys,getViewContext:As,setVie
9wName:Ai,viewHistory:Lt,sessionManager:L,stopSession:()=>L.expire(),getInternalContext:Do.get,startDurationVital:Ys.startDurationVital,stopDurationVital:Ys.stopDurationVital,addDurationVital:Ys.addDurationVital,addOperationStepVital:Ys.addOperationStepVital,globalContext:Xr,userContext:qr,accountContext:Dn,stop:()=>Se.forEach(vo=>vo())}}function Ed(z,b,_={}){const L=(0,n.D)(),G=(0,r.t)();let Y=on(_,L,(Se,Ae,Ve,at,Tt,Ct)=>{const Lt=Ve&&_.createDeflateEncoder?zt=>_.createDeflateEncoder(Se,Ve,zt):a.N,vr=(0,s.B)(bl)(Se,Ae,z,b,at,Lt,G.observable,Tt,Ct,_.sdkName);return z.onRumStart(vr.lifeCycle,Se,Ae,vr.viewHistory,Ve,vr.telemetry),b.onRumStart(vr.lifeCycle,vr.hooks,Se,Ae,vr.viewHistory,Lt),Y=ph(Y,vr),ut(Se.plugins,"onRumStart",{addEvent:vr.addEvent,addError:vr.addError}),vr});const se=()=>Y,ce=Se=>{const Ae=(0,i.uC)("view");(0,u.um)(()=>{const Ve=typeof Se=="object"?Se:{name:Se};Y.startView({...Ve,handlingStack:Ae}),(0,l.Q6)({feature:"start-view"})})},he=(0,m.m)({init:Se=>{const Ae=new Error().stack;(0,u.um)(()=>Y.init(Se,he,Ae))},setTrackingConsent:(0,u.dm)(Se=>{L.update(Se),(0,l.Q6)({feature:"set-tracking-consent",tracking_consent:Se})}),setViewName:(0,u.dm)(Se=>{Y.setViewName(Se),(0,l.Q6)({feature:"set-view-name"})}),setViewContext:(0,u.dm)(Se=>{Y.setViewContext(Se),(0,l.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,u.dm)((Se,Ae)=>{Y.setViewContextProperty(Se,Ae),(0,l.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,u.dm)(()=>((0,l.Q6)({feature:"set-view-context-property"}),Y.getViewContext())),getInternalContext:(0,u.dm)(Se=>Y.getInternalContext(Se)),getInitConfiguration:(0,u.dm)(()=>(0,g.Go)(Y.initConfiguration)),addAction:(Se,Ae)=>{const Ve=(0,i.uC)("action");(0,u.um)(()=>{Y.addAction({name:(0,h.a)(Se),context:(0,h.a)(Ae),startClocks:(0,v.M8)(),type:F.CUSTOM,handlingStack:Ve}),(0,l.Q6)({feature:"add-action"})})},startAction:(0,u.dm)((Se,Ae)=>{Y.initConfiguration&&!(0,E.sr)(E.R9.START_STOP_ACTION)||Y.startAction((0,h.a)(Se),{type:(0,h.a)(Ae&&Ae.type),context:(0,h.a)(Ae&&Ae.context),actionKey:Ae&&Ae.actionKey})}),stopAction:(0,u.dm)((Se,Ae)=>{Y.initConfiguration&&!(0,E.sr)(E.R9.START_STOP_ACTION)||Y.stopAction((0,h.a)(Se),{type:(0,h.a)(Ae&&Ae.type),context:(0,h.a)(Ae&&Ae.context),actionKey:Ae&&Ae.actionKey})}),startResource:(0,u.dm)((Se,Ae)=>{Y.initConfiguration&&!(0,E.sr)(E.R9.START_STOP_RESOURCE)||Y.startResource((0,h.a)(Se),{type:(0,h.a)(Ae&&Ae.type),method:(0,h.a)(Ae&&Ae.method),context:(0,h.a)(Ae&&Ae.context),resourceKey:Ae&&Ae.resourceKey})}),stopResource:(0,u.dm)((Se,Ae)=>{Y.initConfiguration&&!(0,E.sr)(E.R9.START_STOP_RESOURCE)||Y.stopResource((0,h.a)(Se),{type:(0,h.a)(Ae&&Ae.type),statusCode:Ae&&Ae.statusCode,size:Ae&&Ae.size,context:(0,h.a)(Ae&&Ae.context),resourceKey:Ae&&Ae.resourceKey})}),addError:(Se,Ae)=>{const Ve=(0,i.uC)("error");(0,u.um)(()=>{Y.addError({error:Se,handlingStack:Ve,context:(0,h.a)(Ae),startClocks:(0,v.M8)()}),(0,l.Q6)({feature:"add-error"})})},addTiming:(0,u.dm)((Se,Ae)=>{Y.addTiming((0,h.a)(Se),Ae)}),setViewLoadingTime:(0,u.dm)(()=>{const Se=(0,v.nx)();Y.setLoadingTime(Se),(0,l.Q6)({feature:"addViewLoadingTime"})}),setGlobalContext:(0,w.q)(se,T.N.globalContext,T.Q.setContext,"set-global-context"),getGlobalContext:(0,w.q)(se,T.N.globalContext,T.Q.getContext,"get-global-context"),setGlobalContextProperty:(0,w.q)(se,T.N.globalContext,T.Q.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:(0,w.q)(se,T.N.globalContext,T.Q.removeContextProperty,"remove-global-context-property"),clearGlobalContext:(0,w.q)(se,T.N.globalContext,T.Q.clearContext,"clear-global-context"),setUser:(0,w.q)(se,T.N.userContext,T.Q.setContext,"set-user"),getUser:(0,w.q)(se,T.N.userContext,T.Q.getContext,"get-user"),setUserProperty:(0,w.q)(se,T.N.userContext,T.Q.setContextProperty,"set-user-property"),removeUserProperty:(0,w.q)(se,T.N.userContext,T.Q.removeContextProperty,"remove-user-property"),clearUser:(0,w.q)(se,T.N.userContext,T.Q.clearContext,"clear-user"),setAccount:(0,w.q)(se,T.N.accountContext,T.Q.setContext,"set-account"),getAccount:(0,w.q)(se,T.N.accountContext,T.Q.getContext,"get-account"),setAccountProperty:(0,w.q)(se,T.N.accountContext,T.Q.setContextProperty,"set-account-property"),removeAccountProperty:(0,w.q)(se,T.N.accountContext,T.Q.removeContextProperty,"remove-account-property"),clearAccount:(0,w.q)(se,T.N.accountContext,T.Q.clearContext,"clear-account"),startView:ce,stopSession:(0,u.dm)(()=>{Y.stopSession(),(0,l.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,u.dm)((Se,Ae)=>{Y.addFeatureFlagEvaluation((0,h.a)(Se),(0,h.a)(Ae)),(0,l.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,u.dm)(()=>z.getSessionReplayLink()),startSessionReplayRecording:(0,u.dm)(Se=>{z.start(Se),(0,l.Q6)({feature:"start-session-replay-recording",force:Se&&Se.force})}),stopSessionReplayRecording:(0,u.dm)(()=>z.stop()),addDurationVital:(Se,Ae)=>{const Ve=(0,i.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"add-duration-vital"}
9),Y.addDurationVital({id:(0,C.lk)(),name:(0,h.a)(Se),type:U.DURATION,startClocks:(0,v.jR)(Ae.startTime),duration:Ae.duration,context:(0,h.a)(Ae&&Ae.context),description:(0,h.a)(Ae&&Ae.description),handlingStack:Ve})})},startDurationVital:(Se,Ae)=>{const Ve=(0,i.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"start-duration-vital"}),Y.startDurationVital((0,h.a)(Se),{vitalKey:Ae&&Ae.vitalKey,context:(0,h.a)(Ae&&Ae.context),description:(0,h.a)(Ae&&Ae.description),handlingStack:Ve})})},stopDurationVital:(0,u.dm)((Se,Ae)=>{(0,l.Q6)({feature:"stop-duration-vital"}),Y.stopDurationVital((0,h.a)(Se),{vitalKey:Ae&&Ae.vitalKey,context:(0,h.a)(Ae&&Ae.context),description:(0,h.a)(Ae&&Ae.description)})}),startFeatureOperation:(Se,Ae)=>{const Ve=(0,i.uC)("vital");(0,u.um)(()=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"start"}),Y.addOperationStepVital(Se,"start",{...Ae,handlingStack:Ve})})},succeedFeatureOperation:(0,u.dm)((Se,Ae)=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"succeed"}),Y.addOperationStepVital(Se,"end",Ae)}),failFeatureOperation:(0,u.dm)((Se,Ae,Ve)=>{(0,l.Q6)({feature:"add-operation-step-vital",action_type:"fail"}),Y.addOperationStepVital(Se,"end",Ve,Ae)}),DEFAULT_TRACKED_RESOURCE_HEADERS:Ie});return he}function ph(z,b){return{...z,init:_=>{(0,O.$)("DD_RUM",_)},getInternalContext:b.getInternalContext,stopSession:b.stopSession,getViewContext:b.getViewContext,globalContext:b.globalContext,userContext:b.userContext,accountContext:b.accountContext}}var od=e(8216);function Vc(z,{session:b,viewContext:_,errorType:L}){const G=b?b.id:"no-session-id",Y=[];L!==void 0&&Y.push(`error-type=${L}`),_&&(Y.push(`seed=${_.id}`),Y.push(`from=${_.startClocks.timeStamp}`));const se=nc(z),ce=`/rum/replay/sessions/${G}`;return`${se}${ce}?${Y.join("&")}`}function nc(z){const b=z.site,_=z.subdomain||Du(z);return`https://${_?`${_}.`:""}${b}`}function Du(z){switch(z.site){case od.NW:case od.dV:return"app";case od.Bb:return"dd";default:return}}var Td=e(61770);function Da(z,b,_,L){const G=ce=>{b.notify(14,{error:ce}),(0,l.A2)("Error reported to customer",{"error.message":ce.message})},Y=(0,re.sA)([z.profilingEndpointBuilder],G),se=_(L);return{async send({event:ce,...he}){const Se=new FormData,Ae=(0,Td.s)(ce);if(!Ae)throw new Error("Failed to serialize event");Se.append("event",new Blob([Ae],{type:"application/json"}),"event.json");let Ve=Ae.length;for(const[at,Tt]of(0,Ss.WP)(he)){const Ct=(0,Td.s)(Tt);if(!Ct)throw new Error("Failed to serialize attachment");const Lt=await ic(se,Ct);Ve+=Lt.outputBytesCount,Se.append(at,new Blob([Lt.output]),at)}Y.send({data:Se,bytesCount:Ve})}}}function ic(z,b){return new Promise(_=>{z.write(b),z.finish(L=>{_(L)})})}},7117(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,E){g(v).segments_total_raw_size+=E}function l(v){return r?.get(v)}function m(){r=void 0}function g(v){r||(r=new Map);let E;return r.has(v)?E=r.get(v):(E={records_count:0,segments_count:0,segments_total_raw_size:0},r.set(v,E),r.size>n&&h()),E}function h(){if(!r)return;const v=r.keys().next().value;v&&r.delete(v)}},83407(f,d,e){"use strict";e.d(d,{L2:()=>Hr});var n=e(78552),r=e(82447),a=e(87331),s=e(33928),i=e(89336),u=e(7117),l=e(19179),m=e(4006);function g(pt,et,wr){let Dr=0,Sr=[],kr,qt=!0,Sn=0;const dr=[],{stop:Nr}=(0,l.q)(pt,et,"message",({data:br})=>{if(br.type!=="wrote"||br.streamId!==wr)return;const $t=dr[0];$t&&($t.id===br.id?(dr.shift(),Dr+=br.additionalBytesCount,Sr.push(br.result),kr=br.trailer,$t.writeCallback?$t.writeCallback(br.result.byteLength):$t.finishCallback&&$t.finishCallback()):$t.id<br.id&&Nr())});function un(){const br=Sr.length===0?new Uint8Array(0):(0,m.wh)(Sr.concat(kr)),$t={rawBytesCount:Dr,output:br,outputBytesCount:br.byteLength,encoding:"deflate"};return Dr=0,Sr=[],$t}function Xt(){qt||(et.postMessage({action:"reset",streamId:wr}),qt=!0)}return{isAsync:!0,get isEmpty(){return qt},write(br,$t){et.postMessage({action:"write",id:Sn,data:br,streamId:wr}),dr.push({id:Sn,writeCallback:$t,data:br}),qt=!1,Sn+=1},finish(br){Xt(),dr.length?(dr.forEach($t=>{delete $t.writeCallback}),dr[dr.length-1].finishCallback=()=>br(un())):br(un())},finishSync(){Xt();const br=dr.map($t=>$t.data).join("");return dr.length=0,{...un(),pendingData:br}},estimateEncodedBytesCount(br){return br.length/8},stop(){Nr()}}}var h=e(28011),v=e(48121),E=e(40046),w=e(69421),T=e(94542);function C({configuredUrl:pt,error:et,source:wr,scriptType:Dr}){if(w.Vy.error(`${wr} failed to start: an error occurred while initializing the ${Dr}:`,et),et instanceof Event||et instanceof Error&&O(et.message)){let Sr;pt?Sr=`Please make sure the ${Dr} URL ${pt} is correct and CSP is correctly configured.`:Sr="Please make sure CSP is correctly configured.",w.Vy.error(`${Sr} See documentation at ${w.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else Dr==="worker"&&(0,T.VJ)(et)}function O(pt){return pt.includes("Content Security Policy")||pt.includes("requires 'TrustedScriptURL'")}const R=30*h.OY;function B(pt){return new Worker(pt.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
vendor: 5,817 bytes, line 9
9Uint8Array([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;a++)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;
vendor: 7,127 bytes, line 9
9for(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)}(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.0.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 M={status:0};function F(pt,et,wr){switch(M.status===0&&W(pt,et),M.status){case 1:return M.initializationFailureCallbacks.push(wr),M.worker;case 3:return M.worker}}function H(){(M.status===3||M.status===1)&&M.stop(),M={status:0}}function U(){return M.status}function W(pt,et){try{const wr=(0,v.B)(B)(pt),{stop:Dr}=(0,l.q)(pt,wr,"error",qt=>{q(pt,et,qt)}),{stop:Sr}=(0,l.q)(pt,wr,"message",({data:qt})=>{qt.type==="errored"?q(pt,et,qt.error,qt.streamId):qt.type==="initialized"&&te(qt.version)});wr.postMessage({action:"init"}),(0,E.wg)(()=>X(et),R),M={status:1,worker:wr,stop:()=>{Dr(),Sr()},initializationFailureCallbacks:[]}}catch(wr){q(pt,et,wr)}}function X(pt){M.status===1&&(w.Vy.error(`${pt} failed to start: a timeout occurred while initializing the Worker`),M.initializationFailureCallbacks.forEach(et=>et()),M={status:2})}function te(pt){M.status===1&&(M={status:3,worker:M.worker,stop:M.stop,version:pt})}function q(pt,et,wr,Dr){M.status===1||M.status===0?(C({configuredUrl:pt.workerUrl,error:wr,source:et,scriptType:"worker"}),M.status===1&&M.initializationFailureCallbacks.forEach(Sr=>Sr()),M={status:2}):(0,T.VJ)(wr,{worker_version:M.status===3&&M.version,stream_id:Dr})}var ae=e(26303),le=e(33908),pe=e(9077);function ge(pt,et,wr,Dr){const Sr=et.findTrackedSession(),kr=Ie(pt,Sr,Dr),qt=wr.findView();return(0,a.dx)(pt,{viewContext:qt,errorType:kr,session:Sr})}function Ie(pt,et,wr){if(!et)return"rum-not-tracked";if((0,a.K$)(et,pt)===0)return"incorrect-session-plan";if(!wr)return"replay-not-started"}function Ce(pt,et){if(!pt.metricsEnabled)return{stop:i.l};let wr,Dr,Sr;const{unsubscribe:kr}=et.subscribe(qt=>{switch(qt.type){case"start":wr={forced:qt.forced,timestamp:(0,h.nx)()},Dr=void 0,Sr=void 0;break;case"document-ready":wr&&(Dr=(0,h.vk)(wr.timestamp,(0,h.nx)()));break;case"recorder-settled":wr&&(Sr=(0,h.vk)(wr.timestamp,(0,h.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":kr(),wr&&(0,T.Gk)("Recorder init metrics",{metrics:Je(wr.forced,Sr,(0,h.vk)(wr.timestamp,(0,h.nx)()),qt.type,Dr)});break}});return{stop:kr}}function Je(pt,et,wr,Dr,Sr){return{forced:pt,loadRecorderModuleDuration:et,recorderInitDuration:wr,result:Dr,waitForDocReadyDuration:Sr}}async function qe(){try{return await(0,v.B)(ye)()}catch(pt){C({error:pt,source:"Recorder",scriptType:"module"})}}async function ye(){return(await e.e("datadogRecorder").then(e.bind(e,88276))).startRecording}function xe(pt,et,wr,Dr,Sr,kr){let qt=0,Sn;et.subscribe(9,()=>{(qt===2||qt===3)&&(Xt(),qt=1)}),et.subscribe(10,()=>{qt===1&&un()});const dr=new ae.cP;Ce(kr,dr);const Nr=async br=>{dr.notify({type:"start",forced:br});const[$t]=await Promise.all([ke(dr,{type:"recorder-settled"},qe()),ke(dr,{type:"document-ready"},(0,le.N)(pt,"interactive"))]);if(qt!==2){dr.notify({type:"aborted"});return}if(!$t){qt=0,dr.notify({type:"recorder-load-failed"});return}const wt=Sr();if(!wt){qt=0,dr.notify({type:"deflate-encoder-load-failed"});return}({stop:Sn}=$t(et,pt,wr,Dr,wt,kr)),qt=3,dr.notify({type:"succeeded"})};function un(br){const $t=wr.findTrackedSession(),wt=$t?(0,a.K$)($t,pt):void 0;if(!De(wt,br)){qt=1;return}if(Fe(qt))return;qt=2;const Ar=be(wt,br)||!1;Nr(Ar).catch(pe.Dx),Ar&&wr.updateSessionState({forcedReplay:"1"})}function Xt(){qt===3&&Sn?.(),qt=0}return{start:un,stop:Xt,getSessionReplayLink(){return ge(pt,wr,Dr,qt!==0)},isRecording:()=>qt===3}}function De(pt,et){return pt!==void 0&&(pt!==0||et?.force)}function Fe(pt){return pt===2||pt===3}function be(pt,et){return et&&et.force&&pt===0}async function ke(pt,et,wr){try{return await wr}finally{pt.notify(et)}}function Ge(){let pt=0;return{strategy:{start(){pt=1},stop(){pt=2},isRecording:()=>!1,getSessionReplayLink:i.l},shouldStartImmediately(et){return pt===1||pt===0&&!et.startSessionReplayRecordingManually}}}
9function Xe(){if((0,s.d0)()&&!(0,s.Ww)("records"))return{start:i.l,stop:i.l,getReplayStats:()=>{},onRumStart:i.l,isRecording:()=>!1,getSessionReplayLink:()=>{}};let{strategy:pt,shouldStartImmediately:et}=Ge();return{start:Dr=>pt.start(Dr),stop:()=>pt.stop(),getSessionReplayLink:()=>pt.getSessionReplayLink(),onRumStart:wr,isRecording:()=>U()===3&&pt.isRecording(),getReplayStats:Dr=>U()===3?(0,u.lv)(Dr):void 0};function wr(Dr,Sr,kr,qt,Sn,dr){let Nr;function un(){return Nr||(Sn??(Sn=F(Sr,"Datadog Session Replay",()=>pt.stop())),Sn&&(Nr=g(Sr,Sn,1))),Nr}pt=xe(Sr,Dr,kr,qt,un,dr),et(Sr)&&pt.start()}}var At=e(46256);function yt(){return(0,r.VZ)().Profiler!==void 0}var kt=e(72149);function Nt(pt){let et={status:"starting"};return pt.register(0,({eventType:wr})=>wr!==a.bb.VIEW&&wr!==a.bb.LONG_TASK&&wr!==a.bb.ACTION&&wr!==a.bb.VITAL?kt.$O:{type:wr,_dd:{profiling:et}}),{get:()=>et,set:wr=>{et=wr}}}async function Ir(){try{return await(0,v.B)(yr)()}catch(pt){C({error:pt,source:"Profiler",scriptType:"module"})}}async function yr(){return(await e.e("datadogProfiler").then(e.bind(e,54912))).createRumProfiler}function Wr(){let pt;function et(wr,Dr,Sr,kr,qt,Sn){const dr=kr.findTrackedSession();if(!dr||!(0,At.$5)(dr.id,(0,At.it)(Sr.sessionSampleRate,Sr.profilingSampleRate)))return;const Nr=Nt(Dr);if(!(0,v.B)(yt)()){Nr.set({status:"error",error_reason:"not-supported-by-browser"});return}Ir().then(un=>{if(!un){Nr.set({status:"error",error_reason:"failed-to-lazy-load"});return}pt=un(Sr,wr,kr,Nr,Sn,qt,void 0),pt.start()}).catch(pe.Dx)}return{onRumStart:et,stop:()=>{pt?.stop()}}}const $r=Xe(),sn=Wr(),Hr=(0,a.AB)($r,sn,{startDeflateWorker:F,createDeflateEncoder:g,sdkName:"rum"});(0,n.Z)((0,r.VZ)(),"DD_RUM",Hr)},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
90a80 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},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},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};var 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
90zM0 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},98134(f,d,e){"use strict";e.d(d,{g:()=>gu});/*! 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(we,Ze,lt){return(Ze=l(Ze))in we?Object.defineProperty(we,Ze,{value:lt,enumerable:!0,configurable:!0,writable:!0}):we[Ze]=lt,we}function r(we,Ze){if(typeof Ze!="function"&&Ze!==null)throw new TypeError("Super expression must either be null or a function");we.prototype=Object.create(Ze&&Ze.prototype,{constructor:{value:we,writable:!0,configurable:!0}}),Object.defineProperty(we,"prototype",{writable:!1}),Ze&&i(we,Ze)}function a(we,Ze){var lt=Object.keys(we);if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(we);Ze&&(Rt=Rt.filter(function(Kt){return Object.getOwnPropertyDescriptor(we,Kt).enumerable})),lt.push.apply(lt,Rt)}return lt}function s(we){for(var Ze=1;Ze<arguments.length;Ze++){var lt=arguments[Ze]!=null?arguments[Ze]:{};
13Ze%2?a(Object(lt),!0).forEach(function(Rt){n(we,Rt,lt[Rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(lt)):a(Object(lt)).forEach(function(Rt){Object.defineProperty(we,Rt,Object.getOwnPropertyDescriptor(lt,Rt))})}return we}function i(we,Ze){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(lt,Rt){return lt.__proto__=Rt,lt},i(we,Ze)}function u(we,Ze){if(typeof we!="object"||!we)return we;var lt=we[Symbol.toPrimitive];if(lt!==void 0){var Rt=lt.call(we,Ze||"default");if(typeof Rt!="object")return Rt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Ze==="string"?String:Number)(we)}function l(we){var Ze=u(we,"string");return typeof Ze=="symbol"?Ze:Ze+""}function m(){m=function(Kt,Or){return new lt(Kt,void 0,Or)};var we=RegExp.prototype,Ze=new WeakMap;function lt(Kt,Or,hn){var Ke=RegExp(Kt,Or);return Ze.set(Ke,hn||Ze.get(Kt)),i(Ke,lt.prototype)}function Rt(Kt,Or){var hn=Ze.get(Or);return Object.keys(hn).reduce(function(Ke,xi){var vi=hn[xi];if(typeof vi=="number")Ke[xi]=Kt[vi];else{for(var gi=0;Kt[vi[gi]]===void 0&&gi+1<vi.length;)gi++;Ke[xi]=Kt[vi[gi]]}return Ke},Object.create(null))}return r(lt,RegExp),lt.prototype.exec=function(Kt){var Or=we.exec.call(this,Kt);if(Or){Or.groups=Rt(Or,this);var hn=Or.indices;hn&&(hn.groups=Rt(hn,this))}return Or},lt.prototype[Symbol.replace]=function(Kt,Or){if(typeof Or=="string"){var hn=Ze.get(this);return we[Symbol.replace].call(this,Kt,Or.replace(/\$<([^>]+)>/g,function(xi,vi){var gi=hn[vi];return"$"+(Array.isArray(gi)?gi.join("$"):gi)}))}if(typeof Or=="function"){var Ke=this;return we[Symbol.replace].call(this,Kt,function(){var xi=arguments;return typeof xi[xi.length-1]!="object"&&(xi=[].slice.call(xi)).push(Rt(xi,Ke)),Or.apply(this,xi)})}return we[Symbol.replace].call(this,Kt,Or)},m.apply(this,arguments)}const g=()=>{};let h={},v={},E=null,w={mark:g,measure:g};try{typeof window<"u"&&(h=window),typeof document<"u"&&(v=document),typeof MutationObserver<"u"&&(E=MutationObserver),typeof performance<"u"&&(w=performance)}catch{}const{userAgent:T=""}=h.navigator||{},C=h,O=v,R=E,B=w,M=!!C.document,F=!!O.documentElement&&!!O.head&&typeof O.addEventListener=="function"&&typeof O.createElement=="function",H=~T.indexOf("MSIE")||~T.indexOf("Trident/");var U=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,W=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,X={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"}},te={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},q=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],ae="classic",le="duotone",pe="sharp",ge="sharp-duotone",Ie=[ae,le,pe,ge],Ce={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"}},qe=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}]]),ye={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"}
vendor: 4,371 bytes, line 13
13,sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},xe=["fak","fa-kit","fakd","fa-kit-duotone"],De={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Fe=["kit"],be={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},ke=["fak","fakd"],Ge={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},Xe={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},At={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},yt=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],kt=["fak","fa-kit","fakd","fa-kit-duotone"],Nt={"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"}},yr={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},Wr={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"}},$r=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],sn=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...yt,...$r],Hr=["solid","regular","light","thin","duotone","brands"],pt=[1,2,3,4,5,6,7,8,9,10],et=pt.concat([11,12,13,14,15,16,17,18,19,20]),wr=[...Object.keys(yr),...Hr,"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",At.GROUP,At.SWAP_OPACITY,At.PRIMARY,At.SECONDARY].concat(pt.map(we=>"".concat(we,"x"))).concat(et.map(we=>"w-".concat(we))),Dr={"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 Sr="___FONT_AWESOME___",kr=16,qt="fa",Sn="svg-inline--fa",dr="data-fa-i2svg",Nr="data-fa-pseudo-element",un="data-fa-pseudo-element-pending",Xt="data-prefix",br="data-icon",$t="fontawesome-i2svg",wt="async",Ar=["HTML","HEAD","STYLE","SCRIPT"],Q=(()=>{try{return!0}catch{return!1}})();function ut(we){return new Proxy(we,{get(Ze,lt){return lt in Ze?Ze[lt]:Ze[ae]}})}const tr=s({},X);tr[ae]=s(s(s(s({},{"fa-duotone":"duotone"}),X[ae]),De.kit),De["kit-duotone"]);const rt=ut(tr),_t=s({},ye);_t[ae]=s(s(s(s({},{duotone:"fad"}),_t[ae]),Xe.kit),Xe["kit-duotone"]);const Yr=ut(_t),ln=s({},Wr);ln[ae]=s(s({},ln[ae]),Ge.kit);const cn=ut(ln),gn=s({},Ir);gn[ae]=s(s({},gn[ae]),be.kit);const wi=ut(gn),ki=U,Ur="fa-layers-text",Bi=W,bs=s({},Ce),Di=ut(bs),on=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],fi=te,qi=[...Fe,...wr],ri=C.FontAwesomeConfig||{};function Vi(we){var Ze=O.querySelector("script["+we+"]");if(Ze)return Ze.getAttribute(we)}function si(we){return we===""?!0:we==="false"?!1:we==="true"?!0:we}O&&typeof O.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(Ze=>{let[lt,Rt]=Ze;const Kt=si(Vi(lt));Kt!=null&&(ri[Rt]=Kt)});const ks={styleDefault:"solid",familyDefault:ae,cssPrefix:qt,replacementClass:Sn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ri.familyPrefix&&(ri.cssPrefix=ri.familyPrefix);const cr=s(s({},ks),ri);cr.autoReplaceSvg||(cr.observeMutations=!1);const fe={};Object.keys(ks).forEach(we=>{Object.defineProperty(fe,we,{enumerable:!0,set:function(Ze){cr[we]=Ze,Re.forEach(lt=>lt(fe))},get:function(){return cr[we]}})}),Object.defineProperty(fe,"familyPrefix",{enumerable:!0,set:function(we){cr.cssPrefix=we,Re.forEach(Ze=>Ze(fe))},get:function(){return cr.cssPrefix}}),C.FontAwesomeConfig=fe;const Re=[];function Qe(we){return Re.push(we),()=>{Re.splice(Re.indexOf(we),1)}}const mt=kr,xt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Mr(we){if(!we||!F)return;const Ze=O.createElement("style");Ze.setAttribute("type","text/css"),Ze.innerHTML=we;const lt=O.head.childNodes;let Rt=null;for(let Kt=lt.length-1;Kt>-1;Kt--){const Or=lt[Kt],hn=(Or.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(hn)>-1&&(Rt=Or)}return O.head.insertBefore(Ze,Rt),we}const vn="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ut(){let we=12,Ze="";for(;we-- >0;)Ze+=vn[Math.random()*62|0];return Ze}function Yn(we){const Ze=[];for(let lt=(we||[]).length>>>0;lt--;)Ze[lt]=we[lt];return Ze}function mi(we){return we.classList?Yn(we.classList):(we.getAttribute("class")||"").split(" ").filter(Ze=>Ze)}function yn(we){return"".concat(we).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ji(we){return Object.keys(we||{}).reduce((Ze,lt)=>Ze+"".concat(lt,'="').concat(yn(we[lt]),'" '),"").trim()}function Tn(we){return Object.keys(we||{}).reduce((Ze,lt)=>Ze+"".concat(lt,": ").concat(we[lt].trim(),";"),"")}function Cs(we){return we.size!==xt.size||we.x!==xt.x||we.y!==xt.y||we.rotate!==xt.rotate||we.flipX||we.flipY}function $i(we){let{transform:Ze,containerWidth:lt,iconWidth:Rt}=we;const Kt={transform:"translate(".concat(lt/2," 256)")},Or="translate(".concat(Ze.x*32,", ").concat(Ze.y*32,") "),hn="scale(".concat(Ze.size/16*(Ze.flipX?-1:1),", ").concat(Ze.size/16*(Ze.flipY?-1:1),") "),Ke="rotate(".concat(Ze.rotate," 0 0)"),xi={transform:"".concat(Or," ").concat(hn," ").concat(Ke)},vi={transform:"translate(".concat(Rt/2*-1," -256)")};return{outer:Kt,inner:xi,path:vi}}function gs(we){let{transform:Ze,width:lt=kr,height:Rt=kr,startCentered:Kt=!1}=we,Or="";return Kt&&H?Or+="translate(".concat(Ze.x/mt-lt/2,"em, ").concat(Ze.y/mt-Rt/2,"em) "):Kt?Or+="translate(calc(-50% + ".concat(Ze.x/mt,"em), calc(-50% + ").concat(Ze.y/mt,"em)) "):Or+="translate(".concat(Ze.x/mt,"em, ").concat(Ze.y/mt,"em) "),Or+="scale(".concat(Ze.size/mt*(Ze.flipX?-1:1),", ").concat(Ze.size/mt*(Ze.flipY?-1:1),") "),Or+="rotate(".concat(Ze.rotate,"deg) "),Or}var vs=
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 Vt(){const we=qt,Ze=Sn,lt=fe.cssPrefix,Rt=fe.replacementClass;let Kt=vs;if(lt!==we||Rt!==Ze){const Or=new RegExp("\\.".concat(we,"\\-"),"g"),hn=new RegExp("\\--".concat(we,"\\-"),"g"),Ke=new RegExp("\\.".concat(Ze),"g");Kt=Kt.replace(Or,".".concat(lt,"-")).replace(hn,"--".concat(lt,"-")).replace(Ke,".".concat(Rt))}return Kt}let hr=!1;function rn(){fe.autoAddCss&&!hr&&(Mr(Vt()),hr=!0)}var zn={mixout(){return{dom:{css:Vt,insertCss:rn}}},hooks(){return{beforeDOMElementCreation(){rn()},beforeI2svg(){rn()}}}};const $n=C||{};$n[Sr]||($n[Sr]={}),$n[Sr].styles||($n[Sr].styles={}),$n[Sr].hooks||($n[Sr].hooks={}),$n[Sr].shims||($n[Sr].shims=[]);var bn=$n[Sr];const ni=[],ai=function(){O.removeEventListener("DOMContentLoaded",ai),yi=1,ni.map(we=>we())};let yi=!1;F&&(yi=(O.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(O.readyState),yi||O.addEventListener("DOMContentLoaded",ai));function es(we){F&&(yi?setTimeout(we,0):ni.push(we))}function Ei(we){const{tag:Ze,attributes:lt={},children:Rt=[]}=we;return typeof we=="string"?yn(we):"<".concat(Ze," ").concat(ji(lt),">").concat(Rt.map(Ei).join(""),"</").concat(Ze,">")}function Hi(we,Ze,lt){if(we&&we[Ze]&&we[Ze][lt])return{prefix:Ze,iconName:lt,icon:we[Ze][lt]}}var zi=function(Ze,lt){return function(Rt,Kt,Or,hn){return Ze.call(lt,Rt,Kt,Or,hn)}},us=function(Ze,lt,Rt,Kt){var Or=Object.keys(Ze),hn=Or.length,Ke=Kt!==void 0?zi(lt,Kt):lt,xi,vi,gi;for(Rt===void 0?(xi=1,gi=Ze[Or[0]]):(xi=0,gi=Rt);xi<hn;xi++)vi=Or[xi],gi=Ke(gi,Ze[vi],vi,Ze);return gi};function Ss(we){const Ze=[];let lt=0;const Rt=we.length;for(;lt<Rt;){const Kt=we.charCodeAt(lt++);if(Kt>=55296&&Kt<=56319&<<Rt){const Or=we.charCodeAt(lt++);(Or&64512)==56320?Ze.push(((Kt&1023)<<10)+(Or&1023)+65536):(Ze.push(Kt),lt--)}else Ze.push(Kt)}return Ze}function as(we){const Ze=Ss(we);return Ze.length===1?Ze[0].toString(16):null}function oi(we,Ze){const lt=we.length;let Rt=we.charCodeAt(Ze),Kt;return Rt>=55296&&Rt<=56319&<>Ze+1&&(Kt=we.charCodeAt(Ze+1),Kt>=56320&&Kt<=57343)?(Rt-55296)*1024+Kt-56320+65536:Rt}function $s(we){return Object.keys(we).reduce((Ze,lt)=>{const Rt=we[lt];return!!Rt.icon?Ze[Rt.iconName]=Rt.icon:Ze[lt]=Rt,Ze},{})}function Es(we,Ze){let lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:Rt=!1}=lt,Kt=$s(Ze);typeof bn.hooks.addPack=="function"&&!Rt?bn.hooks.addPack(we,$s(Ze)):bn.styles[we]=s(s({},bn.styles[we]||{}),Kt),we==="fas"&&Es("fa",Ze)}const ls=[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:Ts,shims:de}=bn,$e=Object.keys(cn),Pt=$e.reduce((we,Ze)=>(we[Ze]=Object.keys(cn[Ze]),we),{});let or=null,tn={},Vn={},Ri={},ts={},ss={};function Li(we){return~qi.indexOf(we)}function Ia(we,Ze){const lt=Ze.split("-"),Rt=lt[0],Kt=lt.slice(1).join("-");return Rt===we&&Kt!==""&&!Li(Kt)?Kt:null}const Sa=()=>{const we=Rt=>us(Ts,(Kt,Or,hn)=>(Kt[hn]=us(Or,Rt,{}),Kt),{});tn=we((Rt,Kt,Or)=>(Kt[3]&&(Rt[Kt[3]]=Or),Kt[2]&&Kt[2].filter(Ke=>typeof Ke=="number").forEach(Ke=>{Rt[Ke.toString(16)]=Or}),Rt)),Vn=we((Rt,Kt,Or)=>(Rt[Or]=Or,Kt[2]&&Kt[2].filter(Ke=>typeof Ke=="string").forEach(Ke=>{Rt[Ke]=Or}),Rt)),ss=we((Rt,Kt,Or)=>{const hn=Kt[2];return Rt[Or]=Or,hn.forEach(Ke=>{Rt[Ke]=Or}),Rt});const Ze="far"in Ts||fe.autoFetchSvg,lt=us(de,(Rt,Kt)=>{const Or=Kt[0];let hn=Kt[1];const Ke=Kt[2];return hn==="far"&&!Ze&&(hn="fas"),typeof Or=="string"&&(Rt.names[Or]={prefix:hn,iconName:Ke}),typeof Or=="number"&&(Rt.unicodes[Or.toString(16)]={prefix:hn,iconName:Ke}),Rt},{names:{},unicodes:{}});Ri=lt.names,ts=lt.unicodes,or=Xs(fe.styleDefault,{family:fe.familyDefault})};Qe(we=>{or=Xs(we.styleDefault,{family:fe.familyDefault})}),Sa();function ha(we,Ze){return(tn[we]||{})[Ze]}function Qa(we,Ze){return(Vn[we]||{})[Ze]}function _s(we,Ze){return(ss[we]||{})[Ze]}function fr(we){return Ri[we]||{prefix:null,iconName:null}}function Aa(we){const Ze=ts[we],lt=ha("fas",we);return Ze||(lt?{prefix:"fas",iconName:lt}:null)||{prefix:null,iconName:null}}function en(){return or}const pa=()=>({prefix:null,iconName:null,rest:[]}
566);function Pa(we){let Ze=ae;const lt=$e.reduce((Rt,Kt)=>(Rt[Kt]="".concat(fe.cssPrefix,"-").concat(Kt),Rt),{});return Ie.forEach(Rt=>{(we.includes(lt[Rt])||we.some(Kt=>Pt[Rt].includes(Kt)))&&(Ze=Rt)}),Ze}function Xs(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:lt=ae}=Ze,Rt=rt[lt][we];if(lt===le&&!we)return"fad";const Kt=Yr[lt][we]||Yr[lt][Rt],Or=we in bn.styles?we:null;return Kt||Or||null}function Hs(we){let Ze=[],lt=null;return we.forEach(Rt=>{const Kt=Ia(fe.cssPrefix,Rt);Kt?lt=Kt:Rt&&Ze.push(Rt)}),{iconName:lt,rest:Ze}}function ao(we){return we.sort().filter((Ze,lt,Rt)=>Rt.indexOf(Ze)===lt)}function Wa(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:lt=!1}=Ze;let Rt=null;const Kt=sn.concat(kt),Or=ao(we.filter(Ii=>Kt.includes(Ii))),hn=ao(we.filter(Ii=>!sn.includes(Ii))),Ke=Or.filter(Ii=>(Rt=Ii,!q.includes(Ii))),[xi=null]=Ke,vi=Pa(Or),gi=s(s({},Hs(hn)),{},{prefix:Xs(xi,{family:vi})});return s(s(s({},gi),Ks({values:we,family:vi,styles:Ts,config:fe,canonical:gi,givenPrefix:Rt})),Co(lt,Rt,gi))}function Co(we,Ze,lt){let{prefix:Rt,iconName:Kt}=lt;if(we||!Rt||!Kt)return{prefix:Rt,iconName:Kt};const Or=Ze==="fa"?fr(Kt):{},hn=_s(Rt,Kt);return Kt=Or.iconName||hn||Kt,Rt=Or.prefix||Rt,Rt==="far"&&!Ts.far&&Ts.fas&&!fe.autoFetchSvg&&(Rt="fas"),{prefix:Rt,iconName:Kt}}const _o=Ie.filter(we=>we!==ae||we!==le),Oo=Object.keys(Wr).filter(we=>we!==ae).map(we=>Object.keys(Wr[we])).flat();function Ks(we){const{values:Ze,family:lt,canonical:Rt,givenPrefix:Kt="",styles:Or={},config:hn={}}=we,Ke=lt===le,xi=Ze.includes("fa-duotone")||Ze.includes("fad"),vi=hn.familyDefault==="duotone",gi=Rt.prefix==="fad"||Rt.prefix==="fa-duotone";if(!Ke&&(xi||vi||gi)&&(Rt.prefix="fad"),(Ze.includes("fa-brands")||Ze.includes("fab"))&&(Rt.prefix="fab"),!Rt.prefix&&_o.includes(lt)&&(Object.keys(Or).find(js=>Oo.includes(js))||hn.autoFetchSvg)){const js=qe.get(lt).defaultShortPrefixId;Rt.prefix=js,Rt.iconName=_s(Rt.prefix,Rt.iconName)||Rt.iconName}return(Rt.prefix==="fa"||Kt==="fa")&&(Rt.prefix=en()||"fas"),Rt}class Mi{constructor(){this.definitions={}}add(){for(var Ze=arguments.length,lt=new Array(Ze),Rt=0;Rt<Ze;Rt++)lt[Rt]=arguments[Rt];const Kt=lt.reduce(this._pullDefinitions,{});Object.keys(Kt).forEach(Or=>{this.definitions[Or]=s(s({},this.definitions[Or]||{}),Kt[Or]),Es(Or,Kt[Or]);const hn=cn[ae][Or];hn&&Es(hn,Kt[Or]),Sa()})}reset(){this.definitions={}}_pullDefinitions(Ze,lt){const Rt=lt.prefix&<.iconName&<.icon?{0:lt}:lt;return Object.keys(Rt).map(Kt=>{const{prefix:Or,iconName:hn,icon:Ke}=Rt[Kt],xi=Ke[2];Ze[Or]||(Ze[Or]={}),xi.length>0&&xi.forEach(vi=>{typeof vi=="string"&&(Ze[Or][vi]=Ke)}),Ze[Or][hn]=Ke}),Ze}}let Me=[],je={};const Ot={},Wt=Object.keys(Ot);function Br(we,Ze){let{mixoutsTo:lt}=Ze;return Me=we,je={},Object.keys(Ot).forEach(Rt=>{Wt.indexOf(Rt)===-1&&delete Ot[Rt]}),Me.forEach(Rt=>{const Kt=Rt.mixout?Rt.mixout():{};if(Object.keys(Kt).forEach(Or=>{typeof Kt[Or]=="function"&&(lt[Or]=Kt[Or]),typeof Kt[Or]=="object"&&Object.keys(Kt[Or]).forEach(hn=>{lt[Or]||(lt[Or]={}),lt[Or][hn]=Kt[Or][hn]})}),Rt.hooks){const Or=Rt.hooks();Object.keys(Or).forEach(hn=>{je[hn]||(je[hn]=[]),je[hn].push(Or[hn])})}Rt.provides&&Rt.provides(Ot)}),lt}function Vr(we,Ze){for(var lt=arguments.length,Rt=new Array(lt>2?lt-2:0),Kt=2;Kt<lt;Kt++)Rt[Kt-2]=arguments[Kt];return(je[we]||[]).forEach(hn=>{Ze=hn.apply(null,[Ze,...Rt])}),Ze}function an(we){for(var Ze=arguments.length,lt=new Array(Ze>1?Ze-1:0),Rt=1;Rt<Ze;Rt++)lt[Rt-1]=arguments[Rt];(je[we]||[]).forEach(Or=>{Or.apply(null,lt)})}function ii(){const we=arguments[0],Ze=Array.prototype.slice.call(arguments,1);return Ot[we]?Ot[we].apply(null,Ze):void 0}function Yi(we){we.prefix==="fa"&&(we.prefix="fas");let{iconName:Ze}=we;const lt=we.prefix||en();if(Ze)return Ze=_s(lt,Ze)||Ze,Hi(Ui.definitions,lt,Ze)||Hi(bn.styles,lt,Ze)}const Ui=new Mi,Le={noAuto:()=>{fe.autoReplaceSvg=!1,fe.observeMutations=!1,an("noAuto")},config:fe,dom:{i2svg:function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return F?(an("beforeI2svg",we),ii("pseudoElements2svg",we),ii("i2svg",we)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:Ze}=we;fe.autoReplaceSvg===!1&&(fe.autoReplaceSvg=!0),fe.observeMutations=!0,es(()=>{Ye({autoReplaceSvgRoot:Ze}),an("watch",we)})}},parse:{icon:we=>{if(we===null)return null;if(typeof we=="object"&&we.prefix&&we.iconName)return{prefix:we.prefix,iconName:_s(we.prefix,we.iconName)||we.iconName};if(Array.isArray(we)&&we.length===2){const Ze=we[1].indexOf("fa-")===0?we[1].slice(3):we[1],lt=Xs(we[0]);return{prefix:lt,iconName:_s(lt,Ze)||Ze}}if(typeof we=="string"&&(we.indexOf("".concat(fe.cssPrefix,"-"))>-1||we.match(ki))){const Ze=Wa(we.split(" "),{skipLookups:!0});return{prefix:Ze.prefix||en(),iconName:_s(Ze.prefix,Ze.iconName)||Ze.iconName}}if(typeof we=="string"){const Ze=en();return{prefix:Ze,iconName:_s(Ze,we)||we}}}},library:Ui,findIconDefinition:Yi,toHtml:Ei},Ye=function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:Ze=O}=we;(Object.keys(bn.styles).length>0||fe.autoFetchSvg)&&F&&fe.autoReplaceSvg&&Le.dom.i2svg({node:Ze})};function ft(we,Ze){return Object.defineProperty(we,"abstract",{get:Ze}),Object.defineProperty(we,"html",{get:function(){return we.abstract.map(lt=>Ei(lt))}}),Object.defineProperty(we,"node",{get:function(){if(!F)return;const lt=O.createElement("div");return lt.innerHTML=we.html,lt.children}}),we}function ht(we){let{children:Ze,main:lt,mask:Rt,attributes:Kt,styles:Or,transform:hn}=we;
vendor: 9,290 bytes, lines 566-567
566if(Cs(hn)&<.found&&!Rt.found){const{width:Ke,height:xi}=lt,vi={x:Ke/xi/2,y:.5};Kt.style=Tn(s(s({},Or),{},{"transform-origin":"".concat(vi.x+hn.x/16,"em ").concat(vi.y+hn.y/16,"em")}))}return[{tag:"svg",attributes:Kt,children:Ze}]}function Mt(we){let{prefix:Ze,iconName:lt,children:Rt,attributes:Kt,symbol:Or}=we;const hn=Or===!0?"".concat(Ze,"-").concat(fe.cssPrefix,"-").concat(lt):Or;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:s(s({},Kt),{},{id:hn}),children:Rt}]}]}function Jt(we){const{icons:{main:Ze,mask:lt},prefix:Rt,iconName:Kt,transform:Or,symbol:hn,title:Ke,maskId:xi,titleId:vi,extra:gi,watchable:Ii=!1}=we,{width:js,height:Za}=lt.found?lt:Ze,qa=ke.includes(Rt),Ca=[fe.replacementClass,Kt?"".concat(fe.cssPrefix,"-").concat(Kt):""].filter(So=>gi.classes.indexOf(So)===-1).filter(So=>So!==""||!!So).concat(gi.classes).join(" ");let Va={children:[],attributes:s(s({},gi.attributes),{},{"data-prefix":Rt,"data-icon":Kt,class:Ca,role:gi.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(js," ").concat(Za)})};const ca=qa&&!~gi.classes.indexOf("fa-fw")?{width:"".concat(js/Za*16*.0625,"em")}:{};Ii&&(Va.attributes[dr]=""),Ke&&(Va.children.push({tag:"title",attributes:{id:Va.attributes["aria-labelledby"]||"title-".concat(vi||Ut())},children:[Ke]}),delete Va.attributes.title);const Ma=s(s({},Va),{},{prefix:Rt,iconName:Kt,main:Ze,mask:lt,maskId:xi,transform:Or,symbol:hn,styles:s(s({},ca),gi.styles)}),{children:no,attributes:_u}=lt.found&&Ze.found?ii("generateAbstractMask",Ma)||{children:[],attributes:{}}:ii("generateAbstractIcon",Ma)||{children:[],attributes:{}};return Ma.children=no,Ma.attributes=_u,hn?Mt(Ma):ht(Ma)}function Er(we){const{content:Ze,width:lt,height:Rt,transform:Kt,title:Or,extra:hn,watchable:Ke=!1}=we,xi=s(s(s({},hn.attributes),Or?{title:Or}:{}),{},{class:hn.classes.join(" ")});Ke&&(xi[dr]="");const vi=s({},hn.styles);Cs(Kt)&&(vi.transform=gs({transform:Kt,startCentered:!0,width:lt,height:Rt}),vi["-webkit-transform"]=vi.transform);const gi=Tn(vi);gi.length>0&&(xi.style=gi);const Ii=[];return Ii.push({tag:"span",attributes:xi,children:[Ze]}),Or&&Ii.push({tag:"span",attributes:{class:"sr-only"},children:[Or]}),Ii}function Lr(we){const{content:Ze,title:lt,extra:Rt}=we,Kt=s(s(s({},Rt.attributes),lt?{title:lt}:{}),{},{class:Rt.classes.join(" ")}),Or=Tn(Rt.styles);Or.length>0&&(Kt.style=Or);const hn=[];return hn.push({tag:"span",attributes:Kt,children:[Ze]}),lt&&hn.push({tag:"span",attributes:{class:"sr-only"},children:[lt]}),hn}const{styles:Mn}=bn;function Pn(we){const Ze=we[0],lt=we[1],[Rt]=we.slice(4);let Kt=null;return Array.isArray(Rt)?Kt={tag:"g",attributes:{class:"".concat(fe.cssPrefix,"-").concat(fi.GROUP)},children:[{tag:"path",attributes:{class:"".concat(fe.cssPrefix,"-").concat(fi.SECONDARY),fill:"currentColor",d:Rt[0]}},{tag:"path",attributes:{class:"".concat(fe.cssPrefix,"-").concat(fi.PRIMARY),fill:"currentColor",d:Rt[1]}}]}:Kt={tag:"path",attributes:{fill:"currentColor",d:Rt}},{found:!0,width:Ze,height:lt,icon:Kt}}const kn={found:!1,width:512,height:512};function Gi(we,Ze){!Q&&!fe.showMissingIcons&&we&&console.error('Icon with name "'.concat(we,'" and prefix "').concat(Ze,'" is missing.'))}function os(we,Ze){let lt=Ze;return Ze==="fa"&&fe.styleDefault!==null&&(Ze=en()),new Promise((Rt,Kt)=>{if(lt==="fa"){const Or=fr(we)||{};we=Or.iconName||we,Ze=Or.prefix||Ze}if(we&&Ze&&Mn[Ze]&&Mn[Ze][we]){const Or=Mn[Ze][we];return Rt(Pn(Or))}Gi(we,Ze),Rt(s(s({},kn),{},{icon:fe.showMissingIcons&&we?ii("missingIconAbstract")||{}:{}}))})}const Os=()=>{},ir=fe.measurePerformance&&B&&B.mark&&B.measure?B:{mark:Os,measure:Os},Bt='FA "6.7.2"',sr=we=>(ir.mark("".concat(Bt," ").concat(we," begins")),()=>Cr(we)),Cr=we=>{ir.mark("".concat(Bt," ").concat(we," ends")),ir.measure("".concat(Bt," ").concat(we),"".concat(Bt," ").concat(we," begins"),"".concat(Bt," ").concat(we," ends"))};var Fn={begin:sr,end:Cr};const Pe=()=>{};function Be(we){return typeof(we.getAttribute?we.getAttribute(dr):null)=="string"}function it(we){const Ze=we.getAttribute?we.getAttribute(Xt):null,lt=we.getAttribute?we.getAttribute(br):null;return Ze&<}function st(we){return we&&we.classList&&we.classList.contains&&we.classList.contains(fe.replacementClass)}function jt(){return fe.autoReplaceSvg===!0?An.replace:An[fe.autoReplaceSvg]||An.replace}function Gt(we){return O.createElementNS("http://www.w3.org/2000/svg",we)}function ar(we){return O.createElement(we)}function ur(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:lt=we.tag==="svg"?Gt:ar}=Ze;if(typeof we=="string")return O.createTextNode(we);const Rt=lt(we.tag);return Object.keys(we.attributes||[]).forEach(function(Or){Rt.setAttribute(Or,we.attributes[Or])}),(we.children||[]).forEach(function(Or){Rt.appendChild(ur(Or,{ceFn:lt}))}),Rt}function Un(we){let Ze=" ".concat(we.outerHTML," ");return Ze="".concat(Ze,"Font Awesome fontawesome.com "),Ze}const An={replace:function(we){const Ze=we[0];if(Ze.parentNode)if(we[1].forEach(lt=>{Ze.parentNode.insertBefore(ur(lt),Ze)}),Ze.getAttribute(dr)===null&&fe.keepOriginalSource){let lt=O.createComment(Un(Ze));Ze.parentNode.replaceChild(lt,Ze)}else Ze.remove()},nest:function(we){const Ze=we[0],lt=we[1];if(~mi(Ze).indexOf(fe.replacementClass))return An.replace(we);const Rt=new RegExp("".concat(fe.cssPrefix,"-.*"));if(delete lt[0].attributes.id,lt[0].attributes.class){const Or=lt[0].attributes.class.split(" ").reduce((hn,Ke)=>(Ke===fe.replacementClass||Ke.match(Rt)?hn.toSvg.push(Ke):hn.toNode.push(Ke),hn),{toNode:[],toSvg:[]});lt[0].attributes.class=Or.toSvg.join(" "),Or.toNode.length===0?Ze.removeAttribute("class"):Ze.setAttribute("class",Or.toNode.join(" "))}const Kt=lt.map(Or=>Ei(Or)).join(` 567`);Ze.setAttribute(dr,""),Ze.innerHTML=Kt}};function jn(we){we()}function Wi(we,Ze){const lt=typeof Ze=="function"?Ze:Pe;if(we.length===0)lt();else{let Rt=jn;fe.mutateApproach===wt&&(Rt=C.requestAnimationFrame||jn),Rt(()=>{const Kt=jt(),Or=Fn.begin("mutate");we.map(Kt),Or(),lt()})}}let Vs=!1;function Pi(){Vs=!0}function ws(){Vs=!1}let Ci=null;function ei(we){if(!R||!fe.observeMutations)return;const{treeCallback:Ze=Pe,nodeCallback:lt=Pe,pseudoElementsCallback:Rt=Pe,observeMutationsRoot:Kt=O}=we;Ci=new R(Or=>{if(Vs)return;const hn=en();Yn(Or).forEach(Ke=>{if(Ke.type==="childList"&&Ke.addedNodes.length>0&&!Be(Ke.addedNodes[0])&&(fe.searchPseudoElements&&Rt(Ke.target),Ze(Ke.target)),Ke.type==="attributes"&&Ke.target.parentNode&&fe.searchPseudoElements&&Rt(Ke.target.parentNode),Ke.type==="attributes"&&Be(Ke.target)&&~on.indexOf(Ke.attributeName))if(Ke.attributeName==="class"&&it(Ke.target)){const{prefix:xi,iconName:vi}=Wa(mi(Ke.target));Ke.target.setAttribute(Xt,xi||hn),vi&&Ke.target.setAttribute(br,vi)}else st(Ke.target)&<(Ke.target)})}),F&&Ci.observe(Kt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function hi(){Ci&&Ci.disconnect()}function Ps(we){const Ze=we.getAttribute("style");let lt=[];return Ze&&(lt=Ze.split(";").reduce((Rt,Kt)=>{const Or=Kt.split(":"),hn=Or[0],Ke=Or.slice(1);return hn&&Ke.length>0&&(Rt[hn]=Ke.join(":").trim()),Rt},{})),lt}function Zi(we){const Ze=we.getAttribute("data-prefix"),lt=we.getAttribute("data-icon"),Rt=we.innerText!==void 0?we.innerText.trim():"";let Kt=Wa(mi(we));return Kt.prefix||(Kt.prefix=en()),Ze&<&&(Kt.prefix=Ze,Kt.iconName=lt),Kt.iconName&&Kt.prefix||(Kt.prefix&&Rt.length>0&&(Kt.iconName=Qa(Kt.prefix,we.innerText)||ha(Kt.prefix,as(we.innerText))),!Kt.iconName&&fe.autoFetchSvg&&we.firstChild&&we.firstChild.nodeType===Node.TEXT_NODE&&(Kt.iconName=we.firstChild.data)),Kt}function Ti(we){const Ze=Yn(we.attributes).reduce((Kt,Or)=>(Kt.name!=="class"&&Kt.name!=="style"&&(Kt[Or.name]=Or.value),Kt),{}),lt=we.getAttribute("title"),Rt=we.getAttribute("data-fa-title-id");return fe.autoA11y&&(lt?Ze["aria-labelledby"]="".concat(fe.replacementClass,"-title-").concat(Rt||Ut()):(Ze["aria-hidden"]="true",Ze.focusable="false")),Ze}function xs(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function ma(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:lt,prefix:Rt,rest:Kt}=Zi(we),Or=Ti(we),hn=Vr("parseNodeAttributes",{},we);let Ke=Ze.styleParser?Ps(we):[];return s({iconName:lt,title:we.getAttribute("title"),titleId:we.getAttribute("data-fa-title-id"),prefix:Rt,transform:xt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Kt,styles:Ke,attributes:Or}},hn)}const{styles:Fo}=bn;function ho(we){const Ze=fe.autoReplaceSvg==="nest"?ma(we,{styleParser:!1}):ma(we);return~Ze.extra.classes.indexOf(Ur)?ii("generateLayersText",we,Ze):ii("generateSvgReplacementMutation",we,Ze)}function la(){return[...xe,...sn]}function Fa(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!F)return Promise.resolve();const lt=O.documentElement.classList,Rt=gi=>lt.add("".concat($t,"-").concat(gi)),Kt=gi=>lt.remove("".concat($t,"-").concat(gi)),Or=fe.autoFetchSvg?la():q.concat(Object.keys(Fo));Or.includes("fa")||Or.push("fa");const hn=[".".concat(Ur,":not([").concat(dr,"])")].concat(Or.map(gi=>".".concat(gi,":not([").concat(dr,"])"))).join(", ");
567if(hn.length===0)return Promise.resolve();let Ke=[];try{Ke=Yn(we.querySelectorAll(hn))}catch{}if(Ke.length>0)Rt("pending"),Kt("complete");else return Promise.resolve();const xi=Fn.begin("onTree"),vi=Ke.reduce((gi,Ii)=>{try{const js=ho(Ii);js&&gi.push(js)}catch(js){Q||js.name==="MissingIcon"&&console.error(js)}return gi},[]);return new Promise((gi,Ii)=>{Promise.all(vi).then(js=>{Wi(js,()=>{Rt("active"),Rt("complete"),Kt("pending"),typeof Ze=="function"&&Ze(),xi(),gi()})}).catch(js=>{xi(),Ii(js)})})}function V(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ho(we).then(lt=>{lt&&Wi([lt],Ze)})}function $(we){return function(Ze){let lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Rt=(Ze||{}).icon?Ze:Yi(Ze||{});let{mask:Kt}=lt;return Kt&&(Kt=(Kt||{}).icon?Kt:Yi(Kt||{})),we(Rt,s(s({},lt),{},{mask:Kt}))}}const ne=function(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:lt=xt,symbol:Rt=!1,mask:Kt=null,maskId:Or=null,title:hn=null,titleId:Ke=null,classes:xi=[],attributes:vi={},styles:gi={}}=Ze;if(!we)return;const{prefix:Ii,iconName:js,icon:Za}=we;return ft(s({type:"icon"},we),()=>(an("beforeDOMElementCreation",{iconDefinition:we,params:Ze}),fe.autoA11y&&(hn?vi["aria-labelledby"]="".concat(fe.replacementClass,"-title-").concat(Ke||Ut()):(vi["aria-hidden"]="true",vi.focusable="false")),Jt({icons:{main:Pn(Za),mask:Kt?Pn(Kt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Ii,iconName:js,transform:s(s({},xt),lt),symbol:Rt,title:hn,maskId:Or,titleId:Ke,extra:{attributes:vi,styles:gi,classes:xi}}
vendor: 7,832 bytes, lines 567-568
567)))};var me={mixout(){return{icon:$(ne)}},hooks(){return{mutationObserverCallbacks(we){return we.treeCallback=Fa,we.nodeCallback=V,we}}},provides(we){we.i2svg=function(Ze){const{node:lt=O,callback:Rt=()=>{}}=Ze;return Fa(lt,Rt)},we.generateSvgReplacementMutation=function(Ze,lt){const{iconName:Rt,title:Kt,titleId:Or,prefix:hn,transform:Ke,symbol:xi,mask:vi,maskId:gi,extra:Ii}=lt;return new Promise((js,Za)=>{Promise.all([os(Rt,hn),vi.iconName?os(vi.iconName,vi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(qa=>{let[Ca,Va]=qa;js([Ze,Jt({icons:{main:Ca,mask:Va},prefix:hn,iconName:Rt,transform:Ke,symbol:xi,maskId:gi,title:Kt,titleId:Or,extra:Ii,watchable:!0})])}).catch(Za)})},we.generateAbstractIcon=function(Ze){let{children:lt,attributes:Rt,main:Kt,transform:Or,styles:hn}=Ze;const Ke=Tn(hn);Ke.length>0&&(Rt.style=Ke);let xi;return Cs(Or)&&(xi=ii("generateAbstractTransformGrouping",{main:Kt,transform:Or,containerWidth:Kt.width,iconWidth:Kt.width})),lt.push(xi||Kt.icon),{children:lt,attributes:Rt}}}},Oe={mixout(){return{layer(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:lt=[]}=Ze;return ft({type:"layer"},()=>{an("beforeDOMElementCreation",{assembler:we,params:Ze});let Rt=[];return we(Kt=>{Array.isArray(Kt)?Kt.map(Or=>{Rt=Rt.concat(Or.abstract)}):Rt=Rt.concat(Kt.abstract)}),[{tag:"span",attributes:{class:["".concat(fe.cssPrefix,"-layers"),...lt].join(" ")},children:Rt}]})}}}},ze={mixout(){return{counter(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:lt=null,classes:Rt=[],attributes:Kt={},styles:Or={}}=Ze;return ft({type:"counter",content:we},()=>(an("beforeDOMElementCreation",{content:we,params:Ze}),Lr({content:we.toString(),title:lt,extra:{attributes:Kt,styles:Or,classes:["".concat(fe.cssPrefix,"-layers-counter"),...Rt]}})))}}}},nt={mixout(){return{text(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:lt=xt,title:Rt=null,classes:Kt=[],attributes:Or={},styles:hn={}}=Ze;return ft({type:"text",content:we},()=>(an("beforeDOMElementCreation",{content:we,params:Ze}),Er({content:we,transform:s(s({},xt),lt),title:Rt,extra:{attributes:Or,styles:hn,classes:["".concat(fe.cssPrefix,"-layers-text"),...Kt]}})))}}},provides(we){we.generateLayersText=function(Ze,lt){const{title:Rt,transform:Kt,extra:Or}=lt;let hn=null,Ke=null;if(H){const xi=parseInt(getComputedStyle(Ze).fontSize,10),vi=Ze.getBoundingClientRect();hn=vi.width/xi,Ke=vi.height/xi}return fe.autoA11y&&!Rt&&(Or.attributes["aria-hidden"]="true"),Promise.resolve([Ze,Er({content:Ze.innerHTML,width:hn,height:Ke,transform:Kt,title:Rt,extra:Or,watchable:!0})])}}};const ct=new RegExp('"',"ug"),Dt=[1105920,1112319],Zt=s(s(s(s({},{FontAwesome:{normal:"fas",400:"fas"}}),Je),Dr),Nt),Ft=Object.keys(Zt).reduce((we,Ze)=>(we[Ze.toLowerCase()]=Zt[Ze],we),{}),Rr=Object.keys(Ft).reduce((we,Ze)=>{const lt=Ft[Ze];return we[Ze]=lt[900]||[...Object.entries(lt)][0][1],we},{});function Jr(we){const Ze=we.replace(ct,""),lt=oi(Ze,0),Rt=lt>=Dt[0]&<<=Dt[1],Kt=Ze.length===2?Ze[0]===Ze[1]:!1;return{value:as(Kt?Ze[0]:Ze),isSecondary:Rt||Kt}}function In(we,Ze){const lt=we.replace(/^['"]|['"]$/g,"").toLowerCase(),Rt=parseInt(Ze),Kt=isNaN(Rt)?"normal":Rt;return(Ft[lt]||{})[Kt]||Rr[lt]}function Rn(we,Ze){const lt="".concat(un).concat(Ze.replace(":","-"));return new Promise((Rt,Kt)=>{if(we.getAttribute(lt)!==null)return Rt();const hn=Yn(we.children).filter(js=>js.getAttribute(Nr)===Ze)[0],Ke=C.getComputedStyle(we,Ze),xi=Ke.getPropertyValue("font-family"),vi=xi.match(Bi),gi=Ke.getPropertyValue("font-weight"),Ii=Ke.getPropertyValue("content");if(hn&&!vi)return we.removeChild(hn),Rt();if(vi&&Ii!=="none"&&Ii!==""){const js=Ke.getPropertyValue("content");let Za=In(xi,gi);const{value:qa,isSecondary:Ca}=Jr(js),Va=vi[0].startsWith("FontAwesome");let ca=ha(Za,qa),Ma=ca;if(Va){const no=Aa(qa);no.iconName&&no.prefix&&(ca=no.iconName,Za=no.prefix)}if(ca&&!Ca&&(!hn||hn.getAttribute(Xt)!==Za||hn.getAttribute(br)!==Ma)){we.setAttribute(lt,Ma),hn&&we.removeChild(hn);const no=xs(),{extra:_u}=no;_u.attributes[Nr]=Ze,os(ca,Za).then(So=>{const Ao=Jt(s(s({},no),{},{icons:{main:So,mask:pa()},prefix:Za,iconName:Ma,extra:_u,watchable:!0})),Fl=O.createElementNS("http://www.w3.org/2000/svg","svg");Ze==="::before"?we.insertBefore(Fl,we.firstChild):we.appendChild(Fl),Fl.outerHTML=Ao.map(zu=>Ei(zu)).join(` 568`),we.removeAttribute(lt),Rt()}).catch(Kt)}else Rt()}else Rt()})}function Jn(we){return Promise.all([Rn(we,"::before"),Rn(we,"::after")])}function _i(we){return we.parentNode!==document.head&&!~Ar.indexOf(we.tagName.toUpperCase())&&!we.getAttribute(Nr)&&(!we.parentNode||we.parentNode.tagName!=="svg")}function qn(we){if(F)return new Promise((Ze,lt)=>{const Rt=Yn(we.querySelectorAll("*")).filter(_i).map(Jn),Kt=Fn.begin("searchPseudoElements");Pi(),Promise.all(Rt).then(()=>{Kt(),ws(),Ze()}).catch(()=>{Kt(),ws(),lt()})})}var Xi={hooks(){return{mutationObserverCallbacks(we){return we.pseudoElementsCallback=qn,we}}},provides(we){we.pseudoElements2svg=function(Ze){const{node:lt=O}=Ze;fe.searchPseudoElements&&qn(lt)}}};let cs=!1;var nr={mixout(){return{dom:{unwatch(){Pi(),cs=!0}}}},hooks(){return{bootstrap(){ei(Vr("mutationObserverCallbacks",{}))},noAuto(){hi()},watch(we){const{observeMutationsRoot:Ze}=we;cs?ws():ei(Vr("mutationObserverCallbacks",{observeMutationsRoot:Ze}))}}}};const Fr=we=>{let Ze={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return we.toLowerCase().split(" ").reduce((lt,Rt)=>{const Kt=Rt.toLowerCase().split("-"),Or=Kt[0];let hn=Kt.slice(1).join("-");if(Or&&hn==="h")return lt.flipX=!0,lt;if(Or&&hn==="v")return lt.flipY=!0,lt;if(hn=parseFloat(hn),isNaN(hn))return lt;switch(Or){case"grow":lt.size=lt.size+hn;break;case"shrink":lt.size=lt.size-hn;break;case"left":lt.x=lt.x-hn;break;case"right":lt.x=lt.x+hn;break;case"up":lt.y=lt.y-hn;break;case"down":lt.y=lt.y+hn;break;case"rotate":lt.rotate=lt.rotate+hn;break}return lt},Ze)};var _r={mixout(){return{parse:{transform:we=>Fr(we)}}},hooks(){return{parseNodeAttributes(we,Ze){const lt=Ze.getAttribute("data-fa-transform");return lt&&(we.transform=Fr(lt)),we}}},provides(we){we.generateAbstractTransformGrouping=function(Ze){let{main:lt,transform:Rt,containerWidth:Kt,iconWidth:Or}=Ze;const hn={transform:"translate(".concat(Kt/2," 256)")},Ke="translate(".concat(Rt.x*32,", ").concat(Rt.y*32,") "),xi="scale(".concat(Rt.size/16*(Rt.flipX?-1:1),", ").concat(Rt.size/16*(Rt.flipY?-1:1),") "),vi="rotate(".concat(Rt.rotate," 0 0)"),gi={transform:"".concat(Ke," ").concat(xi," ").concat(vi)},Ii={transform:"translate(".concat(Or/2*-1," -256)")},js={outer:hn,inner:gi,path:Ii};return{tag:"g",attributes:s({},js.outer),children:[{tag:"g",attributes:s({},js.inner),children:[{tag:lt.icon.tag,children:lt.icon.children,attributes:s(s({},lt.icon.attributes),js.path)}]}]}}}};const ui={x:0,y:0,width:"100%",height:"100%"};function Ni(we){let Ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return we.attributes&&(we.attributes.fill||Ze)&&(we.attributes.fill="black"),we}function ci(we){return we.tag==="g"?we.children:[we]}var ra={hooks(){return{parseNodeAttributes(we,Ze){const lt=Ze.getAttribute("data-fa-mask"),Rt=lt?Wa(lt.split(" ").map(Kt=>Kt.trim())):pa();return Rt.prefix||(Rt.prefix=en()),we.mask=Rt,we.maskId=Ze.getAttribute("data-fa-mask-id"),we}}},provides(we){we.generateAbstractMask=function(Ze){let{children:lt,attributes:Rt,main:Kt,mask:Or,maskId:hn,transform:Ke}=Ze;const{width:xi,icon:vi}=Kt,{width:gi,icon:Ii}=Or,js=$i({transform:Ke,containerWidth:gi,iconWidth:xi}),Za={tag:"rect",attributes:s(s({},ui),{},{fill:"white"})},qa=vi.children?{children:vi.children.map(Ni)}:{},Ca={tag:"g",attributes:s({},js.inner),children:[Ni(s({tag:vi.tag,attributes:s(s({},vi.attributes),js.path)},qa))]},Va={tag:"g",attributes:s({},js.outer),children:[Ca]}
568,ca="mask-".concat(hn||Ut()),Ma="clip-".concat(hn||Ut()),no={tag:"mask",attributes:s(s({},ui),{},{id:ca,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Za,Va]},_u={tag:"defs",children:[{tag:"clipPath",attributes:{id:Ma},children:ci(Ii)},no]};return lt.push(_u,{tag:"rect",attributes:s({fill:"currentColor","clip-path":"url(#".concat(Ma,")"),mask:"url(#".concat(ca,")")},ui)}),{children:lt,attributes:Rt}}}},na={provides(we){let Ze=!1;C.matchMedia&&(Ze=C.matchMedia("(prefers-reduced-motion: reduce)").matches),we.missingIconAbstract=function(){const lt=[],Rt={fill:"currentColor"},Kt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};lt.push({tag:"path",attributes:s(s({},Rt),{},{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 Or=s(s({},Kt),{},{attributeName:"opacity"}),hn={tag:"circle",attributes:s(s({},Rt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Ze||hn.children.push({tag:"animate",attributes:s(s({},Kt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:s(s({},Or),{},{values:"1;0;1;1;0;1;"})}),lt.push(hn),lt.push({tag:"path",attributes:s(s({},Rt),{},{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:Ze?[]:[{tag:"animate",attributes:s(s({},Or),{},{values:"1;0;0;0;0;1;"})}]}),Ze||lt.push({tag:"path",attributes:s(s({},Rt),{},{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({},Or),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:lt}}}},hu={hooks(){return{parseNodeAttributes(we,Ze){const lt=Ze.getAttribute("data-fa-symbol"),Rt=lt===null?!1:lt===""?!0:lt;return we.symbol=Rt,we}}}},zo=[zn,me,Oe,ze,nt,Xi,nr,_r,ra,na,hu];Br(zo,{mixoutsTo:Le});const bo=Le.noAuto,$o=Le.config,Yu=Le.library,ua=Le.dom,pu=Le.parse,Mu=Le.findIconDefinition,Ea=Le.toHtml,Yl=Le.icon,ul=Le.layer,Io=Le.text,Lc=Le.counter;var Xl=e(98929),Us=e.n(Xl),su=e(9608);function oo(we,Ze){(Ze==null||Ze>we.length)&&(Ze=we.length);for(var lt=0,Rt=Array(Ze);lt<Ze;lt++)Rt[lt]=we[lt];return Rt}function ku(we){if(Array.isArray(we))return we}function Ml(we){if(Array.isArray(we))return oo(we)}function oe(we,Ze,lt){return(Ze=Xu(Ze))in we?Object.defineProperty(we,Ze,{value:lt,enumerable:!0,configurable:!0,writable:!0}):we[Ze]=lt,we}function mr(we){if(typeof Symbol<"u"&&we[Symbol.iterator]!=null||we["@@iterator"]!=null)return Array.from(we)}function ot(we,Ze){var lt=we==null?null:typeof Symbol<"u"&&we[Symbol.iterator]||we["@@iterator"];if(lt!=null){var Rt,Kt,Or,hn,Ke=[],xi=!0,vi=!1;try{if(Or=(lt=lt.call(we)).next,Ze===0){if(Object(lt)!==lt)return;xi=!1}else for(;!(xi=(Rt=Or.call(lt)).done)&&(Ke.push(Rt.value),Ke.length!==Ze);xi=!0);}catch(gi){vi=!0,Kt=gi}
vendor: 1,832 bytes, lines 568-570
568finally{try{if(!xi&<.return!=null&&(hn=lt.return(),Object(hn)!==hn))return}finally{if(vi)throw Kt}}return Ke}}function gt(){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 mn(){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 Gn(we,Ze){var lt=Object.keys(we);if(Object.getOwnPropertySymbols){var Rt=Object.getOwnPropertySymbols(we);Ze&&(Rt=Rt.filter(function(Kt){return Object.getOwnPropertyDescriptor(we,Kt).enumerable})),lt.push.apply(lt,Rt)}return lt}function fs(we){for(var Ze=1;Ze<arguments.length;Ze++){var lt=arguments[Ze]!=null?arguments[Ze]:{};Ze%2?Gn(Object(lt),!0).forEach(function(Rt){oe(we,Rt,lt[Rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(we,Object.getOwnPropertyDescriptors(lt)):Gn(Object(lt)).forEach(function(Rt){Object.defineProperty(we,Rt,Object.getOwnPropertyDescriptor(lt,Rt))})}return we}function Rs(we,Ze){if(we==null)return{};var lt,Rt,Kt=fa(we,Ze);if(Object.getOwnPropertySymbols){var Or=Object.getOwnPropertySymbols(we);for(Rt=0;Rt<Or.length;Rt++)lt=Or[Rt],Ze.indexOf(lt)===-1&&{}.propertyIsEnumerable.call(we,lt)&&(Kt[lt]=we[lt])}return Kt}function fa(we,Ze){if(we==null)return{};var lt={};for(var Rt in we)if({}.hasOwnProperty.call(we,Rt)){if(Ze.indexOf(Rt)!==-1)continue;lt[Rt]=we[Rt]}return lt}function Ho(we,Ze){return ku(we)||ot(we,Ze)||mu(we,Ze)||gt()}function po(we){return Ml(we)||mr(we)||mu(we)||mn()}function Ja(we,Ze){if(typeof we!="object"||!we)return we;var lt=we[Symbol.toPrimitive];if(lt!==void 0){var Rt=lt.call(we,Ze||"default");if(typeof Rt!="object")return Rt;throw new TypeError("@@toPrimitive must return a primitive value.")}
570return(Ze==="string"?String:Number)(we)}function Xu(we){var Ze=Ja(we,"string");return typeof Ze=="symbol"?Ze:Ze+""}function Bo(we){"@babel/helpers - typeof";return Bo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ze){return typeof Ze}:function(Ze){return Ze&&typeof Symbol=="function"&&Ze.constructor===Symbol&&Ze!==Symbol.prototype?"symbol":typeof Ze},Bo(we)}function mu(we,Ze){if(we){if(typeof we=="string")return oo(we,Ze);var lt={}.toString.call(we).slice(8,-1);return lt==="Object"&&we.constructor&&(lt=we.constructor.name),lt==="Map"||lt==="Set"?Array.from(we):lt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(lt)?oo(we,Ze):void 0}}var kl="7.0.0",Nu;try{var au=e(16149);Nu=au.version}catch{Nu=typeof process<"u"&&process.env.FA_VERSION||"7.0.0"}function mo(we){var Ze=we.beat,lt=we.fade,Rt=we.beatFade,Kt=we.bounce,Or=we.shake,hn=we.flash,Ke=we.spin,xi=we.spinPulse,vi=we.spinReverse,gi=we.pulse,Ii=we.fixedWidth,js=we.inverse,Za=we.border,qa=we.listItem,Ca=we.flip,Va=we.size,ca=we.rotation,Ma=we.pull,no=we.swapOpacity,_u=we.rotateBy,So=we.widthAuto,Ao=Po(Nu,kl),Fl=oe(oe(oe(oe(oe(oe({"fa-beat":Ze,"fa-fade":lt,"fa-beat-fade":Rt,"fa-bounce":Kt,"fa-shake":Or,"fa-flash":hn,"fa-spin":Ke,"fa-spin-reverse":vi,"fa-spin-pulse":xi,"fa-pulse":gi,"fa-fw":Ii,"fa-inverse":js,"fa-border":Za,"fa-li":qa,"fa-flip":Ca===!0,"fa-flip-horizontal":Ca==="horizontal"||Ca==="both","fa-flip-vertical":Ca==="vertical"||Ca==="both"},"fa-".concat(Va),typeof Va<"u"&&Va!==null),"fa-rotate-".concat(ca),typeof ca<"u"&&ca!==null&&ca!==0),"fa-pull-".concat(Ma),typeof Ma<"u"&&Ma!==null),"fa-swap-opacity",no),"fa-rotate-by",Ao&&_u),"fa-width-auto",Ao&&So);return Object.keys(Fl).map(function(zu){return Fl[zu]?zu:null}).filter(function(zu){return zu})}function Po(we,Ze){for(var lt=we.split("-"),Rt=Ho(lt,2),Kt=Rt[0],Or=Rt[1],hn=Ze.split("-"),Ke=Ho(hn,2),xi=Ke[0],vi=Ke[1],gi=Kt.split("."),Ii=xi.split("."),js=0;js<Math.max(gi.length,Ii.length);js++){var Za=gi[js]||"0",qa=Ii[js]||"0",Ca=parseInt(Za,10),Va=parseInt(qa,10);if(Ca!==Va)return Ca>Va}for(var ca=0;ca<Math.max(gi.length,Ii.length);ca++){var Ma=gi[ca]||"0",no=Ii[ca]||"0";if(Ma!==no&&Ma.length!==no.length)return Ma.length<no.length}return!(Or&&!vi)}function Is(we){return we=we-0,we===we}function ou(we){return Is(we)?we:(we=we.replace(/[\-_\s]+(.)?/g,function(Ze,lt){return lt?lt.toUpperCase():""}),we.substr(0,1).toLowerCase()+we.substr(1))}var Qu=["style"];function Nl(we){return we.charAt(0).toUpperCase()+we.slice(1)}function Fu(we){return we.split(";").map(function(Ze){return Ze.trim()}).filter(function(Ze){return Ze}).reduce(function(Ze,lt){var Rt=lt.indexOf(":"),Kt=ou(lt.slice(0,Rt)),Or=lt.slice(Rt+1).trim();return Kt.startsWith("webkit")?Ze[Nl(Kt)]=Or:Ze[Kt]=Or,Ze},{})}function Bu(we,Ze){var lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof Ze=="string")return Ze;var Rt=(Ze.children||[]).map(function(xi){return Bu(we,xi)}),Kt=Object.keys(Ze.attributes||{}).reduce(function(xi,vi){var gi=Ze.attributes[vi];switch(vi){case"class":xi.attrs.className=gi,delete Ze.attributes.class;break;case"style":xi.attrs.style=Fu(gi);break;default:vi.indexOf("aria-")===0||vi.indexOf("data-")===0?xi.attrs[vi.toLowerCase()]=gi:xi.attrs[ou(vi)]=gi}return xi},{attrs:{}}),Or=lt.style,hn=Or===void 0?{}:Or,Ke=Rs(lt,Qu);return Kt.attrs.style=fs(fs({},Kt.attrs.style),hn),we.apply(void 0,[Ze.tag,fs(fs({},Kt.attrs),Ke)].concat(po(Rt)))}var xl=!1;try{xl=!0}catch{}
570function Uu(){if(!xl&&console&&typeof console.error=="function"){var we;(we=console).error.apply(we,arguments)}}function go(we){if(we&&Bo(we)==="object"&&we.prefix&&we.iconName&&we.icon)return we;if(pu.icon)return pu.icon(we);if(we===null)return null;if(we&&Bo(we)==="object"&&we.prefix&&we.iconName)return we;if(Array.isArray(we)&&we.length===2)return{prefix:we[0],iconName:we[1]};if(typeof we=="string")return{prefix:"fas",iconName:we}}function ju(we,Ze){return Array.isArray(Ze)&&Ze.length>0||!Array.isArray(Ze)&&Ze?oe({},we,Ze):{}}var Wo={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},gu=su.forwardRef(function(we,Ze){var lt=fs(fs({},Wo),we),Rt=lt.icon,Kt=lt.mask,Or=lt.symbol,hn=lt.className,Ke=lt.title,xi=lt.titleId,vi=lt.maskId,gi=go(Rt),Ii=ju("classes",[].concat(po(mo(lt)),po((hn||"").split(" ")))),js=ju("transform",typeof lt.transform=="string"?pu.transform(lt.transform):lt.transform),Za=ju("mask",go(Kt)),qa=Yl(gi,fs(fs(fs(fs({},Ii),js),Za),{},{symbol:Or,title:Ke,titleId:xi,maskId:vi}));if(!qa)return Uu("Could not find icon",gi),null;var Ca=qa.abstract,Va={ref:Ze};return Object.keys(lt).forEach(function(ca){Wo.hasOwnProperty(ca)||(Va[ca]=lt[ca])}),pc(Ca[0],Va)});gu.displayName="FontAwesomeIcon",gu.propTypes={beat:Us().bool,border:Us().bool,beatFade:Us().bool,bounce:Us().bool,className:Us().string,fade:Us().bool,flash:Us().bool,mask:Us().oneOfType([Us().object,Us().array,Us().string]),maskId:Us().string,fixedWidth:Us().bool,inverse:Us().bool,flip:Us().oneOf([!0,!1,"horizontal","vertical","both"]),icon:Us().oneOfType([Us().object,Us().array,Us().string]),listItem:Us().bool,pull:Us().oneOf(["right","left"]),pulse:Us().bool,rotation:Us().oneOf([0,90,180,270]),rotateBy:Us().bool,shake:Us().bool,size:Us().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Us().bool,spinPulse:Us().bool,spinReverse:Us().bool,symbol:Us().oneOfType([Us().bool,Us().string]),title:Us().string,titleId:Us().string,transform:Us().oneOfType([Us().string,Us().object]),swapOpacity:Us().bool,widthAuto:Us().bool};var pc=Bu.bind(null,su.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=R,d.fromBig=r,d.split=a;const e=BigInt(2**32-1),n=BigInt(32);function r(te,q=!1){return q?{h:Number(te&e),l:Number(te>>n&e)}:{h:Number(te>>n&e)|0,l:Number(te&e)|0}}function a(te,q=!1){const ae=te.length;let le=new Uint32Array(ae),pe=new Uint32Array(ae);for(let ge=0;ge<ae;ge++){const{h:Ie,l:Ce}=r(te[ge],q);[le[ge],pe[ge]]=[Ie,Ce]}return[le,pe]}const s=(te,q)=>BigInt(te>>>0)<<n|BigInt(q>>>0);d.toBig=s;const i=(te,q,ae)=>te>>>ae;d.shrSH=i;const u=(te,q,ae)=>te<<32-ae|q>>>ae;d.shrSL=u;const l=(te,q,ae)=>te>>>ae|q<<32-ae;d.rotrSH=l;const m=(te,q,ae)=>te<<32-ae|q>>>ae;d.rotrSL=m;const g=(te,q,ae)=>te<<64-ae|q>>>ae-32;d.rotrBH=g;const h=(te,q,ae)=>te>>>ae-32|q<<64-ae;d.rotrBL=h;const v=(te,q)=>q;d.rotr32H=v;const E=(te,q)=>te;d.rotr32L=E;const w=(te,q,ae)=>te<<ae|q>>>32-ae;d.rotlSH=w;const T=(te,q,ae)=>q<<ae|te>>>32-ae;d.rotlSL=T;const C=(te,q,ae)=>q<<ae-32|te>>>64-ae;d.rotlBH=C;const O=(te,q,ae)=>te<<ae-32|q>>>64-ae;d.rotlBL=O;function R(te,q,ae,le){const pe=(q>>>0)+(le>>>0);return{h:te+ae+(pe/2**32|0)|0,l:pe|0}}const B=(te,q,ae)=>(te>>>0)+(q>>>0)+(ae>>>0);d.add3L=B;const M=(te,q,ae,le)=>q+ae+le+(te/2**32|0)|0;d.add3H=M;const F=(te,q,ae,le)=>(te>>>0)+(q>>>0)+(ae>>>0)+(le>>>0);d.add4L=F;const H=(te,q,ae,le,pe)=>q+ae+le+pe+(te/2**32|0)|0;d.add4H=H;const U=(te,q,ae,le,pe)=>(te>>>0)+(q>>>0)+(ae>>>0)+(le>>>0)+(pe>>>0);d.add5L=U;const W=(te,q,ae,le,pe,ge)=>q+ae+le+pe+ge+(te/2**32|0)|0;d.add5H=W;const X={fromBig:r,split:a,toBig:s,shrSH:i,shrSL:u,rotrSH:l,rotrSL:m,rotrBH:g,rotrBL:h,rotr32H:v,rotr32L:E,rotlSH:w,rotlSL:T,rotlBH:C,rotlBL:O,add:R,add3L:B,add3H:M,add4L:F,add4H:H,add5H:W,add5L:U};d.default=X},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=B;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=[],E=[];for(let U=0,W=i,X=1,te=0;U<24;U++){[X,te]=[te,(2*X+3*te)%5],h.push(2*(5*te+X)),v.push((U+1)*(U+2)/2%64);let q=s;for(let ae=0;ae<7;ae++)W=(W<<i^(W>>l)*g)%m,W&u&&(q^=i<<(i<<BigInt(ae))-i);E.push(q)}const w=(0,r.split)(E,!0),T=w[0],C=w[1],O=(U,W,X)=>X>
vendor: 5,937 bytes, line 570
57032?(0,r.rotlBH)(U,W,X):(0,r.rotlSH)(U,W,X),R=(U,W,X)=>X>32?(0,r.rotlBL)(U,W,X):(0,r.rotlSL)(U,W,X);function B(U,W=24){const X=new Uint32Array(10);for(let te=24-W;te<24;te++){for(let le=0;le<10;le++)X[le]=U[le]^U[le+10]^U[le+20]^U[le+30]^U[le+40];for(let le=0;le<10;le+=2){const pe=(le+8)%10,ge=(le+2)%10,Ie=X[ge],Ce=X[ge+1],Je=O(Ie,Ce,1)^X[pe],qe=R(Ie,Ce,1)^X[pe+1];for(let ye=0;ye<50;ye+=10)U[le+ye]^=Je,U[le+ye+1]^=qe}let q=U[2],ae=U[3];for(let le=0;le<24;le++){const pe=v[le],ge=O(q,ae,pe),Ie=R(q,ae,pe),Ce=h[le];q=U[Ce],ae=U[Ce+1],U[Ce]=ge,U[Ce+1]=Ie}for(let le=0;le<50;le+=10){for(let pe=0;pe<10;pe++)X[pe]=U[le+pe];for(let pe=0;pe<10;pe++)U[le+pe]^=~X[(pe+2)%10]&X[(pe+4)%10]}U[0]^=T[te],U[1]^=C[te]}(0,a.clean)(X)}class M extends a.Hash{constructor(W,X,te,q=!1,ae=24){if(super(),this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,this.enableXOF=!1,this.blockLen=W,this.suffix=X,this.outputLen=te,this.enableXOF=q,this.rounds=ae,(0,a.anumber)(te),!(0<W&&W<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),B(this.state32,this.rounds),(0,a.swap32IfBE)(this.state32),this.posOut=0,this.pos=0}update(W){(0,a.aexists)(this),W=(0,a.toBytes)(W),(0,a.abytes)(W);const{blockLen:X,state:te}=this,q=W.length;for(let ae=0;ae<q;){const le=Math.min(X-this.pos,q-ae);for(let pe=0;pe<le;pe++)te[this.pos++]^=W[ae++];this.pos===X&&this.keccak()}return this}finish(){if(this.finished)return;this.finished=!0;const{state:W,suffix:X,pos:te,blockLen:q}=this;W[te]^=X,(X&128)!==0&&te===q-1&&this.keccak(),W[q-1]^=128,this.keccak()}writeInto(W){(0,a.aexists)(this,!1),(0,a.abytes)(W),this.finish();const X=this.state,{blockLen:te}=this;for(let q=0,ae=W.length;q<ae;){this.posOut>=te&&this.keccak();const le=Math.min(te-this.posOut,ae-q);W.set(X.subarray(this.posOut,this.posOut+le),q),this.posOut+=le,q+=le}return W}xofInto(W){if(!this.enableXOF)throw new Error("XOF is not possible for this instance");return this.writeInto(W)}xof(W){return(0,a.anumber)(W),this.xofInto(new Uint8Array(W))}digestInto(W){if((0,a.aoutput)(W,this),this.finished)throw new Error("digest() was already called");return this.writeInto(W),this.destroy(),W}digest(){return this.digestInto(new Uint8Array(this.outputLen))}destroy(){this.destroyed=!0,(0,a.clean)(this.state)}_cloneInto(W){const{blockLen:X,suffix:te,outputLen:q,rounds:ae,enableXOF:le}=this;return W||(W=new M(X,te,q,le,ae)),W.state32.set(this.state32),W.pos=this.pos,W.posOut=this.posOut,W.finished=this.finished,W.rounds=ae,W.suffix=te,W.outputLen=q,W.enableXOF=le,W.destroyed=this.destroyed,W}}n=M;const F=(U,W,X)=>(0,a.createHasher)(()=>new M(W,U,X));n=F(6,144,224/8),n=F(6,136,256/8),n=F(6,104,384/8),d.sha3_512=F(6,72,512/8),n=F(1,144,224/8),n=F(1,136,256/8),n=F(1,104,384/8),n=F(1,72,512/8);const H=(U,W,X)=>(0,a.createXOFer)((te={})=>new M(W,U,te.dkLen===void 0?X:te.dkLen,!0));n=H(31,168,128/8),n=H(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=E,d.rotl=w,d.byteSwap=T,d.byteSwap32=C,d.bytesToHex=B,d.hexToBytes=H,d.asyncLoop=W,d.utf8ToBytes=X,d.bytesToUtf8=te,d.toBytes=q,d.kdfInputToBytes=ae,d.concatBytes=le,d.checkOpts=pe,d.createHasher=Ie,d.createOptHasher=Ce,d.createXOFer=Je,d.randomBytes=qe;const n=e(74700);function r(ye){return ye instanceof Uint8Array||ArrayBuffer.isView(ye)&&ye.constructor.name==="Uint8Array"}function a(ye){if(!Number.isSafeInteger(ye)||ye<0)throw new Error("positive integer expected, got "+ye)}function s(ye,...xe){if(!r(ye))throw new Error("Uint8Array expected");if(xe.length>0&&!xe.includes(ye.length))throw new Error("Uint8Array expected of length "+xe+", got length="+ye.length)}function i(ye){if(typeof ye!="function"||typeof ye.create!="function")throw new Error("Hash should be wrapped by utils.createHasher");a(ye.outputLen),a(ye.blockLen)}function u(ye,xe=!0){if(ye.destroyed)throw new Error("Hash instance has been destroyed");if(xe&&ye.finished)throw new Error("Hash#digest() has already been called")}function l(ye,xe){s(ye);const De=xe.outputLen;if(ye.length<De)throw new Error("digestInto() expects output buffer of length at least "+De)}function m(ye){return new Uint8Array(ye.buffer,ye.byteOffset,ye.byteLength)}function g(ye){return new Uint32Array(ye.buffer,ye.byteOffset,Math.floor(ye.byteLength/4))}function h(...ye){for(let xe=0;xe<ye.length;xe++)ye[xe].fill(0)}function v(ye){return new DataView(ye.buffer,ye.byteOffset,ye.byteLength)}function E(ye,xe){return ye<<32-xe|ye>>>xe}function w(ye,xe){return ye<<xe|ye>>>32-xe>>>0}d.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;function T(ye){return ye<<24&4278190080|ye<<8&16711680|ye>>>8&65280|ye>>>24&255}d.swap8IfBE=d.isLE?ye=>ye:ye=>T(ye),d.byteSwapIfBE=d.swap8IfBE;function C(ye){for(let xe=0;xe<ye.length;xe++)ye[xe]=T(ye[xe]);return ye}d.swap32IfBE=d.isLE?ye=>ye:C;const O=typeof Uint8Array.from([]).toHex=="function"&&typeof Uint8Array.fromHex=="function",R=Array.from({length:256},(ye,xe)=>xe.toString(16).padStart(2,"0"));function B(ye){if(s(ye),O)return ye.toHex();let xe="";for(let De=0;De<ye.length;De++)xe+=R[ye[De]];return xe}const M={_0:48,_9:57,A:65,F:70,a:97,f:102};function F(ye){if(ye>=M._0&&ye<=M._9)return ye-M._0;if(ye>=M.A&&ye<=M.F)return ye-(M.A-10);if(ye>=M.a&&ye<=M.f)return ye-(M.a-10)}function H(ye){if(typeof ye!="string")throw new Error("hex string expected, got "+typeof ye);if(O)return Uint8Array.fromHex(ye);const xe=ye.length,De=xe/2;if(xe%2)throw new Error("hex string expected, got unpadded hex of length "+xe);
570const Fe=new Uint8Array(De);for(let be=0,ke=0;be<De;be++,ke+=2){const Ge=F(ye.charCodeAt(ke)),Xe=F(ye.charCodeAt(ke+1));if(Ge===void 0||Xe===void 0){const At=ye[ke]+ye[ke+1];throw new Error('hex string expected, got non-hex character "'+At+'" at index '+ke)}Fe[be]=Ge*16+Xe}return Fe}const U=async()=>{};d.nextTick=U;async function W(ye,xe,De){let Fe=Date.now();for(let be=0;be<ye;be++){De(be);const ke=Date.now()-Fe;ke>=0&&ke<xe||(await(0,d.nextTick)(),Fe+=ke)}}function X(ye){if(typeof ye!="string")throw new Error("string expected");return new Uint8Array(new TextEncoder().encode(ye))}function te(ye){return new TextDecoder().decode(ye)}function q(ye){return typeof ye=="string"&&(ye=X(ye)),s(ye),ye}function ae(ye){return typeof ye=="string"&&(ye=X(ye)),s(ye),ye}function le(...ye){let xe=0;for(let Fe=0;Fe<ye.length;Fe++){const be=ye[Fe];s(be),xe+=be.length}const De=new Uint8Array(xe);for(let Fe=0,be=0;Fe<ye.length;Fe++){const ke=ye[Fe];De.set(ke,be),be+=ke.length}return De}function pe(ye,xe){if(xe!==void 0&&{}.toString.call(xe)!=="[object Object]")throw new Error("options should be object or undefined");return Object.assign(ye,xe)}class ge{}d.Hash=ge;function Ie(ye){const xe=Fe=>ye().update(q(Fe)).digest(),De=ye();return xe.outputLen=De.outputLen,xe.blockLen=De.blockLen,xe.create=()=>ye(),xe}function Ce(ye){const xe=(Fe,be)=>ye(be).update(q(Fe)).digest(),De=ye({});return xe.outputLen=De.outputLen,xe.blockLen=De.blockLen,xe.create=Fe=>ye(Fe),xe}function Je(ye){const xe=(Fe,be)=>ye(be).update(q(Fe)).digest(),De=ye({});return xe.outputLen=De.outputLen,xe.blockLen=De.blockLen,xe.create=Fe=>ye(Fe),xe}d.wrapConstructor=Ie,d.wrapConstructorWithOpts=Ce,d.wrapXOFConstructorWithOpts=Je;function qe(ye=32){if(n.crypto&&typeof n.crypto.getRandomValues=="function")return n.crypto.getRandomValues(new Uint8Array(ye));if(n.crypto&&typeof n.crypto.randomBytes=="function")return Uint8Array.from(n.crypto.randomBytes(ye));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=(O=4,R=Math.random)=>{let B="";for(;B.length<O;)B=B+Math.floor(R()*36).toString(36);return B};function u(O){let R=8n,B=0n;for(const M of O.values()){const F=BigInt(M);B=(B<<R)+F}return B}const l=(O="")=>u(r(O)).toString(36).slice(1),m=Array.from({length:26},(O,R)=>String.fromCharCode(R+97)),g=O=>
570m[Math.floor(O()*m.length)],h=({globalObj:O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},random:R=Math.random}={})=>{const B=Object.keys(O).toString(),M=B.length?B+i(s,R):i(s,R);return l(M).substring(0,s)},v=O=>()=>O++,E=476782367,w=({random:O=Math.random,counter:R=v(Math.floor(O()*E)),length:B=a,fingerprint:M=h({random:O})}={})=>function(){const H=g(O),U=Date.now().toString(36),W=R().toString(36),X=i(B,O),te=`${U+X+W+M}`;return`${H+l(te).substring(1,B)}`},T=w(),C=(O,{minLength:R=2,maxLength:B=s}={})=>{const M=O.length,F=/^[0-9a-z]+$/;return!!(typeof O=="string"&&M>=R&&M<=B&&F.test(O))};f.exports.getConstants=()=>({defaultLength:a,bigLength:s}),f.exports.init=w,f.exports.createId=T,n=u,n=v,n=h,f.exports.isCuid=C},21570(f,d,e){"use strict";e.d(d,{A:()=>g});var n=function(h,v,E){return E===void 0&&(E=0),Math.round(Math.sqrt((1-E)*Math.pow(h,2)+E*Math.pow(v,2)))};const r=n;var a=function(h,v,E){return E===void 0&&(E=0),Number(((1-E)*h+E*v).toFixed(2))};const s=a;var i=e(55549),u=function(h){var v=h===void 0?[]:h,E=v[0],w=E===void 0?0:E,T=v[1],C=T===void 0?0:T,O=v[2],R=O===void 0?0:O,B=v[3],M=B===void 0?1:B,F=1<<24|w<<16|C<<8|R,H=F.toString(16).slice(1),U=(M*255).toString(16).padStart(2,"0").slice(0,2);return"#"+H+U};const l=u;var m=function(h,v,E){var w=(0,i.A)(h),T=w[0],C=w[1],O=w[2],R=w[3],B=(0,i.A)(v),M=B[0],F=B[1],H=B[2],U=B[3],W=l([r(T,M,E),r(C,F,E),r(O,H,E),s(R,U,E)]);return R===1&&U===1?W.slice(0,7):W};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,E=l[2],w=E===void 0?0:E,T=l[3],C=T===void 0?1:T;return"rgba("+g+","+v+","+w+","+C+")"};const a=r;var s=function(u,l){var m=(0,n.A)(u),g=m[0],h=m[1],v=m[2],E=m[3],w=l??E;return a([g,h,v,w])};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> 576 */var u=function(C){var O={};return C&&C.trim().split(` 577`).forEach(function(R){var B=R.indexOf(":"),M=R.slice(0,B).trim().toLowerCase(),F=R.slice(B+1).trim();typeof O[M]>"u"?O[M]=F:Array.isArray(O[M])?O[M].push(F):O[M]=[O[M],F]}),O};f.exports=h,f.exports.default=h,h.XMLHttpRequest=n.XMLHttpRequest||w,h.XDomainRequest="withCredentials"in new h.XMLHttpRequest?h.XMLHttpRequest:n.XDomainRequest,l(["get","put","post","patch","head","delete"],function(T){h[T==="delete"?"del":T]=function(C,O,R){return O=g(C,O,R),O.method=T.toUpperCase(),v(O)}});function l(T,C){for(var O=0;O<T.length;O++)C(T[O])}function m(T){for(var C in T)if(T.hasOwnProperty(C))return!1;return!0}function g(T,C,O){var R=T;return a(C)?(O=C,typeof T=="string"&&(R={uri:T})):R=r({},C,{uri:T}),R.callback=O,R}function h(T,C,O){return C=g(T,C,O),v(C)}function v(T){if(typeof T.callback>"u")throw new Error("callback argument missing");if(T.requestType&&h.requestInterceptorsStorage.getIsEnabled()){var C={uri:T.uri||T.url,headers:T.headers||{},body:T.body,metadata:T.metadata||{},retry:T.retry,timeout:T.timeout},O=h.requestInterceptorsStorage.execute(T.requestType,C);T.uri=O.uri,T.headers=O.headers,T.body=O.body,T.metadata=O.metadata,T.retry=O.retry,T.timeout=O.timeout}var R=!1,B=function(ye,xe,De){R||(R=!0,T.callback(ye,xe,De))};function M(){W.readyState===4&&!h.responseInterceptorsStorage.getIsEnabled()&&setTimeout(U,0)}function F(){var qe=void 0;if(W.response?qe=W.response:qe=W.responseText||E(W),Ie)try{qe=JSON.parse(qe)}catch{}return qe}function H(qe){if(clearTimeout(Ce),clearTimeout(T.retryTimeout),qe instanceof Error||(qe=new Error(""+(qe||"Unknown XMLHttpRequest Error"))),qe.statusCode=0,!te&&h.retryManager.getIsEnabled()&&T.retry&&T.retry.shouldRetry()){T.retryTimeout=setTimeout(function(){T.retry.moveToNextAttempt(),T.xhr=W,v(T)},T.retry.getCurrentFuzzedDelay());return}if(T.requestType&&h.responseInterceptorsStorage.getIsEnabled()){var ye={headers:Je.headers||{},body:Je.body,responseUrl:W.responseURL,responseType:W.responseType},xe=h.responseInterceptorsStorage.execute(T.requestType,ye);Je.body=xe.body,Je.headers=xe.headers}return B(qe,Je)}function U(){if(!te){var qe;clearTimeout(Ce),clearTimeout(T.retryTimeout),T.useXDR&&W.status===void 0?qe=200:qe=W.status===1223?204:W.status;var ye=Je,xe=null;if(qe!==0?(ye={body:F(),statusCode:qe,method:ae,headers:{},url:q,rawRequest:W},W.getAllResponseHeaders&&(ye.headers=u(W.getAllResponseHeaders()))):xe=new Error("Internal XMLHttpRequest Error"),T.requestType&&h.responseInterceptorsStorage.getIsEnabled()){var De={headers:ye.headers||{},body:ye.body,responseUrl:W.responseURL,responseType:W.responseType},Fe=h.responseInterceptorsStorage.execute(T.requestType,De);ye.body=Fe.body,ye.headers=Fe.headers}return B(xe,ye,ye.body)}}var W=T.xhr||null;W||(T.cors||T.useXDR?W=new h.XDomainRequest:W=new h.XMLHttpRequest);var X,te,q=W.url=T.uri||T.url,ae=W.method=T.method||"GET",le=T.body||T.data,pe=W.headers=T.headers||{},ge=!!T.sync,Ie=!1,Ce,Je={body:void 0,headers:{},statusCode:0,method:ae,url:q,rawRequest:W};if("json"in T&&T.json!==!1&&(Ie=!0,pe.accept||pe.Accept||(pe.Accept="application/json"),ae!=="GET"&&ae!=="HEAD"&&(pe["content-type"]||pe["Content-Type"]||(pe["Content-Type"]="application/json"),le=JSON.stringify(T.json===!0?le:T.json))),W.onreadystatechange=M,W.onload=U,W.onerror=H,W.onprogress=function(){}
vendor: 29,938 bytes, lines 577-581
577,W.onabort=function(){te=!0,clearTimeout(T.retryTimeout)},W.ontimeout=H,W.open(ae,q,!ge,T.username,T.password),ge||(W.withCredentials=!!T.withCredentials),!ge&&T.timeout>0&&(Ce=setTimeout(function(){if(!te){te=!0,W.abort("timeout");var qe=new Error("XMLHttpRequest timeout");qe.code="ETIMEDOUT",H(qe)}},T.timeout)),W.setRequestHeader)for(X in pe)pe.hasOwnProperty(X)&&W.setRequestHeader(X,pe[X]);else if(T.headers&&!m(T.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in T&&(W.responseType=T.responseType),"beforeSend"in T&&typeof T.beforeSend=="function"&&T.beforeSend(W),W.send(le||null),W}function E(T){try{if(T.responseType==="document")return T.responseXML;var C=T.responseXML&&T.responseXML.documentElement.nodeName==="parsererror";if(T.responseType===""&&!C)return T.responseXML}catch{}return null}function w(){}},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);if(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(B){return B.replace(/\r[\n\u0085]/g,` 579`).replace(/[\r\u0085\u2028]/g,` 580`)}function v(B){this.options=B||{locator:{}}}v.prototype.parseFromString=function(B,M){var F=this.options,H=new g,U=F.domBuilder||new w,W=F.errorHandler,X=F.locator,te=F.xmlns||{},q=/\/x?html?$/.test(M),ae=q?s.HTML_ENTITIES:s.XML_ENTITIES;X&&U.setDocumentLocator(X),H.errorHandler=E(W,U,X),H.domBuilder=F.domBuilder||U,q&&(te[""]=l.HTML),te.xml=te.xml||l.XML;var le=F.normalizeLineEndings||h;return B&&typeof B=="string"?H.parse(le(B),te,ae):H.errorHandler.error("invalid doc source"),U.doc};function E(B,M,F){if(!B){if(M instanceof w)return M;B=M}var H={},U=B instanceof Function;F=F||{};function W(X){var te=B[X];!te&&U&&(te=B.length==2?function(q){B(X,q)}:B),H[X]=te&&function(q){te("[xmldom "+X+"] "+q+C(F))}||function(){}}return W("warning"),W("error"),W("fatalError"),H}function w(){this.cdata=!1}function T(B,M){M.lineNumber=B.lineNumber,M.columnNumber=B.columnNumber}w.prototype={startDocument:function(){this.doc=new u().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(B,M,F,H){var U=this.doc,W=U.createElementNS(B,F||M),X=H.length;R(this,W),this.currentElement=W,this.locator&&T(this.locator,W);for(var te=0;te<X;te++){var B=H.getURI(te),q=H.getValue(te),F=H.getQName(te),ae=U.createAttributeNS(B,F);this.locator&&T(H.getLocator(te),ae),ae.value=ae.nodeValue=q,W.setAttributeNode(ae)}},endElement:function(B,M,F){var H=this.currentElement,U=H.tagName;this.currentElement=H.parentNode},startPrefixMapping:function(B,M){},endPrefixMapping:function(B){},processingInstruction:function(B,M){var F=this.doc.createProcessingInstruction(B,M);this.locator&&T(this.locator,F),R(this,F)},ignorableWhitespace:function(B,M,F){},characters:function(B,M,F){if(B=O.apply(this,arguments),B){if(this.cdata)var H=this.doc.createCDATASection(B);else var H=this.doc.createTextNode(B);this.currentElement?this.currentElement.appendChild(H):/^\s*$/.test(B)&&this.doc.appendChild(H),this.locator&&T(this.locator,H)}},skippedEntity:function(B){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(B){(this.locator=B)&&(B.lineNumber=0)},comment:function(B,M,F){B=O.apply(this,arguments);var H=this.doc.createComment(B);this.locator&&T(this.locator,H),R(this,H)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(B,M,F){var H=this.doc.implementation;if(H&&H.createDocumentType){var U=H.createDocumentType(B,M,F);this.locator&&T(this.locator,U),R(this,U),this.doc.doctype=U}},warning:function(B){console.warn("[xmldom warning] "+B,C(this.locator))},error:function(B){console.error("[xmldom error] "+B,C(this.locator))},fatalError:function(B){throw new m(B,this.locator)}};function C(B){if(B)return` 581@`+(B.systemId||"")+"#[line:"+B.lineNumber+",col:"+B.columnNumber+"]"}function O(B,M,F){return typeof B=="string"?B.substr(M,F):B.length>=M+F||M?new java.lang.String(B,M,F)+"":B}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(B){w.prototype[B]=function(){return null}});function R(B,M){B.currentElement?B.currentElement.appendChild(M):B.doc.appendChild(M)}n=w,n=h,d.DOMParser=v},46742(f,d,e){var n=e(60818),r=n.find,a=n.NAMESPACE;function s(fe){return fe!==""}function i(fe){return fe?fe.split(/[\t\n\f\r ]+/).filter(s):[]}function u(fe,Re){return fe.hasOwnProperty(Re)||(fe[Re]=!0),fe}function l(fe){if(!fe)return[];var Re=i(fe);return Object.keys(Re.reduce(u,{}))}function m(fe){return function(Re){return fe&&fe.indexOf(Re)!==-1}}function g(fe,Re){for(var Qe in fe)Object.prototype.hasOwnProperty.call(fe,Qe)&&(Re[Qe]=fe[Qe])}function h(fe,Re){var Qe=fe.prototype;if(!(Qe instanceof Re)){let xt=function(){};var mt=xt;xt.prototype=Re.prototype,xt=new xt,g(Qe,xt),fe.prototype=Qe=xt}Qe.constructor!=fe&&(typeof fe!="function"&&console.error("unknown Class:"+fe),Qe.constructor=fe)}var v={},E=v.ELEMENT_NODE=1,w=v.ATTRIBUTE_NODE=2,T=v.TEXT_NODE=3,C=v.CDATA_SECTION_NODE=4,O=v.ENTITY_REFERENCE_NODE=5,R=v.ENTITY_NODE=6,B=v.PROCESSING_INSTRUCTION_NODE=7,M=v.COMMENT_NODE=8,F=v.DOCUMENT_NODE=9,H=v.DOCUMENT_TYPE_NODE=10,U=v.DOCUMENT_FRAGMENT_NODE=11,W=v.NOTATION_NODE=12,X={},te={},q=X.INDEX_SIZE_ERR=(te[1]="Index size error",1),ae=X.DOMSTRING_SIZE_ERR=(te[2]="DOMString size error",2),le=X.HIERARCHY_REQUEST_ERR=(te[3]="Hierarchy request error",3),pe=X.WRONG_DOCUMENT_ERR=(te[4]="Wrong document",4),ge=X.INVALID_CHARACTER_ERR=(te[5]="Invalid character",5),Ie=X.NO_DATA_ALLOWED_ERR=(te[6]="No data allowed",6),Ce=X.NO_MODIFICATION_ALLOWED_ERR=(te[7]="No modification allowed",7),Je=X.NOT_FOUND_ERR=(te[8]="Not found",8),qe=X.NOT_SUPPORTED_ERR=(te[9]="Not supported",9),ye=X.INUSE_ATTRIBUTE_ERR=(te[10]="Attribute in use",10),xe=X.INVALID_STATE_ERR=(te[11]="Invalid state",11),De=X.SYNTAX_ERR=(te[12]="Syntax error",12),Fe=X.INVALID_MODIFICATION_ERR=(te[13]="Invalid modification",13),be=X.NAMESPACE_ERR=(te[14]="Invalid namespace",14),ke=X.INVALID_ACCESS_ERR=(te[15]="Invalid access",15);function Ge(fe,Re){if(Re instanceof Error)var Qe=Re;else Qe=this,Error.call(this,te[fe]),this.message=te[fe],Error.captureStackTrace&&Error.captureStackTrace(this,Ge);return Qe.code=fe,Re&&(this.message=this.message+": "+Re),Qe}Ge.prototype=Error.prototype,g(X,Ge);function Xe(){}Xe.prototype={length:0,item:function(fe){return fe>=0&&fe<this.length?this[fe]:null},toString:function(fe,Re){for(var Qe=[],mt=0;mt<this.length;mt++)ri(this[mt],Qe,fe,Re);return Qe.join("")},filter:function(fe){return Array.prototype.filter.call(this,fe)},indexOf:function(fe){return Array.prototype.indexOf.call(this,fe)}};function At(fe,Re){this._node=fe,this._refresh=Re,yt(this)}function yt(fe){var Re=fe._node._inc||fe._node.ownerDocument._inc;if(fe._inc!==Re){var Qe=fe._refresh(fe._node);if(ks(fe,"length",Qe.length),!fe.$$length||Qe.length<fe.$$length)for(var mt=Qe.length;mt in fe;mt++)Object.prototype.hasOwnProperty.call(fe,mt)&&delete fe[mt];g(Qe,fe),fe._inc=Re}}At.prototype.item=function(fe){return yt(this),this[fe]||null},h(At,Xe);function kt(){}function Nt(fe,Re){for(var Qe=fe.length;Qe--;)if(fe[Qe]===Re)return Qe}function Ir(fe,Re,Qe,mt){if(mt?Re[Nt(Re,mt)]=Qe:Re[Re.length++]=Qe,fe){Qe.ownerElement=fe;var xt=fe.ownerDocument;xt&&(mt&&wr(xt,fe,mt),et(xt,fe,Qe))}}function yr(fe,Re,Qe){var mt=Nt(Re,Qe);if(mt>=0){for(var xt=Re.length-1;mt<xt;)Re[mt]=Re[++mt];if(Re.length=xt,fe){var Mr=fe.ownerDocument;Mr&&(wr(Mr,fe,Qe),Qe.ownerElement=null)}}else throw new Ge(Je,new Error(fe.tagName+"@"+Qe))}kt.prototype={length:0,item:Xe.prototype.item,getNamedItem:function(fe){for(var Re=this.length;Re--;){var Qe=this[Re];if(Qe.nodeName==fe)return Qe}},setNamedItem:function(fe){var Re=fe.ownerElement;if(Re&&Re!=this._ownerElement)throw new Ge(ye);var Qe=this.getNamedItem(fe.nodeName);return Ir(this._ownerElement,this,fe,Qe),Qe},setNamedItemNS:function(fe){var Re=fe.ownerElement,Qe;if(Re&&Re!=this._ownerElement)throw new Ge(ye);return Qe=this.getNamedItemNS(fe.namespaceURI,fe.localName),Ir(this._ownerElement,this,fe,Qe),Qe},removeNamedItem:function(fe){var Re=this.getNamedItem(fe);return yr(this._ownerElement,this,Re),Re},removeNamedItemNS:function(fe,Re){var Qe=this.getNamedItemNS(fe,Re);return yr(this._ownerElement,this,Qe),Qe},getNamedItemNS:function(fe,Re){for(var Qe=this.length;Qe--;){var mt=this[Qe];if(mt.localName==Re&&mt.namespaceURI==fe)return mt}return null}};function Wr(){}Wr.prototype={hasFeature:function(fe,Re){return!0},createDocument:function(fe,Re,Qe){var mt=new pt;if(mt.implementation=this,mt.childNodes=new Xe,mt.doctype=Qe||null,Qe&&mt.appendChild(Qe),Re){var xt=mt.createElementNS(fe,Re);mt.appendChild(xt)}return mt},createDocumentType:function(fe,Re,Qe){var mt=new gn;return mt.name=fe,mt.nodeName=fe,mt.publicId=Re||"",mt.systemId=Qe||"",mt}};function $r(){}$r.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(fe,Re){return Ar(this,fe,Re)},replaceChild:function(fe,Re){Ar(this,fe,Re,wt),Re&&this.removeChild(Re)},removeChild:function(fe){return Sr(this,fe)},appendChild:function(fe){return this.insertBefore(fe,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(fe){return si(this.ownerDocument||this,this,fe)},normalize:function(){for(var fe=this.firstChild;fe;){var Re=fe.nextSibling;Re&&Re.nodeType==T&&fe.nodeType==T?(this.removeChild(Re),fe.appendData(Re.data)):(fe.normalize(),fe=Re)}},isSupported:function(fe,Re){return this.ownerDocument.implementation.hasFeature(fe,Re)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(fe){for(var Re=this;Re;){var Qe=Re._nsMap;if(Qe){for(var mt in Qe)if(Object.prototype.hasOwnProperty.call(Qe,mt)&&Qe[mt]===fe)return mt}Re=Re.nodeType==w?Re.ownerDocument:Re.parentNode}return null},lookupNamespaceURI:function(fe){for(var Re=this;Re;){var Qe=Re._nsMap;if(Qe&&Object.prototype.hasOwnProperty.call(Qe,fe))return Qe[fe];Re=Re.nodeType==w?Re.ownerDocument:Re.parentNode}return null},isDefaultNamespace:function(fe){var Re=this.lookupPrefix(fe);return Re==null}};function sn(fe){return fe=="<"&&"<"||fe==">"&&">"||fe=="&"&&"&"||fe=='"'&&"""||"&#"+fe.charCodeAt()+";"}g(v,$r),g(v,$r.prototype);function Hr(fe,Re){if(Re(fe))return!0;if(fe=fe.firstChild)do if(Hr(fe,Re))return!0;while(fe=fe.nextSibling)}function pt(){this.ownerDocument=this}function et(fe,Re,Qe){fe&&fe._inc++;var mt=Qe.namespaceURI;mt===a.XMLNS&&(Re._nsMap[Qe.prefix?Qe.localName:""]=Qe.value)}function wr(fe,Re,Qe,mt){fe&&fe._inc++;var xt=Qe.namespaceURI;xt===a.XMLNS&&delete Re._nsMap[Qe.prefix?Qe.localName:""]}function Dr(fe,Re,Qe){if(fe&&fe._inc){fe._inc++;var mt=Re.childNodes;if(Qe)mt[mt.length++]=Qe;else{for(var xt=Re.firstChild,Mr=0;xt;)mt[Mr++]=xt,xt=xt.nextSibling;mt.length=Mr,delete mt[mt.length]}}}function Sr(fe,Re){var Qe=Re.previousSibling,mt=Re.nextSibling;return Qe?Qe.nextSibling=mt:fe.firstChild=mt,mt?mt.previousSibling=Qe:fe.lastChild=Qe,Re.parentNode=null,Re.previousSibling=null,Re.nextSibling=null,Dr(fe.ownerDocument,fe),Re}function kr(fe){return fe&&(fe.nodeType===$r.DOCUMENT_NODE||fe.nodeType===$r.DOCUMENT_FRAGMENT_NODE||fe.nodeType===$r.ELEMENT_NODE)}function qt(fe){return fe&&(dr(fe)||Nr(fe)||Sn(fe)||fe.nodeType===$r.DOCUMENT_FRAGMENT_NODE||fe.nodeType===$r.COMMENT_NODE||fe.nodeType===$r.PROCESSING_INSTRUCTION_NODE)}function Sn(fe){return fe&&fe.nodeType===$r.DOCUMENT_TYPE_NODE}function dr(fe){return fe&&fe.nodeType===$r.ELEMENT_NODE}function Nr(fe){return fe&&fe.nodeType===$r.TEXT_NODE}function un(fe,Re){var Qe=fe.childNodes||[];if(r(Qe,dr)||Sn(Re))return!1;var mt=r(Qe,Sn);return!(Re&&mt&&Qe.indexOf(mt)>Qe.indexOf(Re))}function Xt(fe,Re){var Qe=fe.childNodes||[];function mt(Mr){return dr(Mr)&&Mr!==Re}if(r(Qe,mt))return!1;var xt=r(Qe,Sn);return!(Re&&xt&&Qe.indexOf(xt)>Qe.indexOf(Re))}function br(fe,Re,Qe){if(!kr(fe))throw new Ge(le,"Unexpected parent node type "+fe.nodeType);if(Qe&&Qe.parentNode!==fe)throw new Ge(Je,"child not in parent");if(!qt(Re)||Sn(Re)&&fe.nodeType!==$r.DOCUMENT_NODE)throw new Ge(le,"Unexpected node type "+Re.nodeType+" for parent node type "+fe.nodeType)}function $t(fe,Re,Qe){var mt=fe.childNodes||[],xt=Re.childNodes||[];if(Re.nodeType===$r.DOCUMENT_FRAGMENT_NODE){var Mr=xt.filter(dr);if(Mr.length>1||r(xt,Nr))throw new Ge(le,"More than one element or text in fragment");if(Mr.length===1&&!un(fe,Qe))throw new Ge(le,"Element in fragment can not be inserted before doctype")}if(dr(Re)&&!un(fe,Qe))throw new Ge(le,"Only one element can be added and only after doctype");if(Sn(Re)){if(r(mt,Sn))throw new Ge(le,"Only one doctype is allowed");var vn=r(mt,dr);if(Qe&&mt.indexOf(vn)<mt.indexOf(Qe))throw new Ge(le,"Doctype can only be inserted before an element");if(!Qe&&vn)throw new Ge(le,"Doctype can not be appended since element is present")}}function wt(fe,Re,Qe){var mt=fe.childNodes||[],xt=Re.childNodes||[];if(Re.nodeType===$r.DOCUMENT_FRAGMENT_NODE){var Mr=xt.filter(dr);if(Mr.length>1||r(xt,Nr))throw new Ge(le,"More than one element or text in fragment");if(Mr.length===1&&!Xt(fe,Qe))throw new Ge(le,"Element in fragment can not be inserted before doctype")}if(dr(Re)&&!Xt(fe,Qe))throw new Ge(le,"Only one element can be added and only after doctype");if(Sn(Re)){let Yn=function(mi){return Sn(mi)&&mi!==Qe};var Ut=Yn;if(r(mt,Yn))throw new Ge(le,"Only one doctype is allowed");var vn=r(mt,dr);if(Qe&&mt.indexOf(vn)<mt.indexOf(Qe))throw new Ge(le,"Doctype can only be inserted before an element")}}function Ar(fe,Re,Qe,mt){br(fe,Re,Qe),fe.nodeType===$r.DOCUMENT_NODE&&(mt||$t)(fe,Re,Qe);var xt=Re.parentNode;if(xt&&xt.removeChild(Re),Re.nodeType===U){var Mr=Re.firstChild;if(Mr==null)return Re;var vn=Re.lastChild}else Mr=vn=Re;var Ut=Qe?Qe.previousSibling:fe.lastChild;Mr.previousSibling=Ut,vn.nextSibling=Qe,Ut?Ut.nextSibling=Mr:fe.firstChild=Mr,Qe==null?fe.lastChild=vn:Qe.previousSibling=vn;do{Mr.parentNode=fe;var Yn=fe.ownerDocument||fe;Q(Mr,Yn)}while(Mr!==vn&&(Mr=Mr.nextSibling));return Dr(fe.ownerDocument||fe,fe),Re.nodeType==U&&(Re.firstChild=Re.lastChild=null),Re}function Q(fe,Re){if(fe.ownerDocument!==Re){if(fe.ownerDocument=Re,fe.nodeType===E&&fe.attributes)for(var Qe=0;Qe<fe.attributes.length;Qe++){var mt=fe.attributes.item(Qe);mt&&(mt.ownerDocument=Re)}for(var xt=fe.firstChild;xt;)Q(xt,Re),xt=xt.nextSibling}}function ut(fe,Re){Re.parentNode&&Re.parentNode.removeChild(Re),Re.parentNode=fe,Re.previousSibling=fe.lastChild,Re.nextSibling=null,Re.previousSibling?Re.previousSibling.nextSibling=Re:fe.firstChild=Re,fe.lastChild=Re,Dr(fe.ownerDocument,fe,Re);var Qe=fe.ownerDocument||fe;return Q(Re,Qe),Re}pt.prototype={nodeName:"#document",nodeType:F,doctype:null,documentElement:null,_inc:1,insertBefore:function(fe,Re){if(fe.nodeType==U){for(var Qe=fe.firstChild;Qe;){var mt=Qe.nextSibling;this.insertBefore(Qe,Re),Qe=mt}return fe}return Ar(this,fe,Re),Q(fe,this),this.documentElement===null&&fe.nodeType===E&&(this.documentElement=fe),fe},removeChild:function(fe){return this.documentElement==fe&&(this.documentElement=null),Sr(this,fe)},replaceChild:function(fe,Re){Ar(this,fe,Re,wt),Q(fe,this),Re&&this.removeChild(Re),dr(fe)&&(this.documentElement=fe)},importNode:function(fe,Re){return Vi(this,fe,Re)},getElementById:function(fe){var Re=null;return Hr(this.documentElement,function(Qe){if(Qe.nodeType==E&&Qe.getAttribute("id")==fe)return Re=Qe,!0}),Re},getElementsByClassName:function(fe){var Re=l(fe);return new At(this,function(Qe){var mt=[];return Re.length>0&&Hr(Qe.documentElement,function(xt){if(xt!==Qe&&xt.nodeType===E){var Mr=xt.getAttribute("class");if(Mr){var vn=fe===Mr;if(!vn){var Ut=l(Mr);vn=Re.every(m(Ut))}vn&&mt.push(xt)}}}),mt})},createElement:function(fe){var Re=new tr;Re.ownerDocument=this,Re.nodeName=fe,Re.tagName=fe,Re.localName=fe,Re.childNodes=new Xe;var Qe=Re.attributes=new kt;return Qe._ownerElement=Re,Re},createDocumentFragment:function(){var fe=new Bi;return fe.ownerDocument=this,fe.childNodes=new Xe,fe},createTextNode:function(fe){var Re=new Yr;return Re.ownerDocument=this,Re.appendData(fe),Re},createComment:function(fe){var Re=new ln;return Re.ownerDocument=this,Re.appendData(fe),Re},createCDATASection:function(fe){var Re=new cn;return Re.ownerDocument=this,Re.appendData(fe),Re},createProcessingInstruction:function(fe,Re){var Qe=new bs;return Qe.ownerDocument=this,Qe.tagName=Qe.nodeName=Qe.target=fe,Qe.nodeValue=Qe.data=Re,Qe},createAttribute:function(fe){var Re=new rt;return Re.ownerDocument=this,Re.name=fe,Re.nodeName=fe,Re.localName=fe,Re.specified=!0,Re},createEntityReference:function(fe){var Re=new Ur;return Re.ownerDocument=this,Re.nodeName=fe,Re},createElementNS:function(fe,Re){var Qe=new tr,mt=Re.split(":"),xt=Qe.attributes=new kt;return Qe.childNodes=new Xe,Qe.ownerDocument=this,Qe.nodeName=Re,Qe.tagName=Re,Qe.namespaceURI=fe,mt.length==2?(Qe.prefix=mt[0],Qe.localName=mt[1]):Qe.localName=Re,xt._ownerElement=Qe,Qe},createAttributeNS:function(fe,Re){var Qe=new rt,mt=Re.split(":");return Qe.ownerDocument=this,Qe.nodeName=Re,Qe.name=Re,Qe.namespaceURI=fe,Qe.specified=!0,mt.length==2?(Qe.prefix=mt[0],Qe.localName=mt[1]):Qe.localName=Re,Qe}},h(pt,$r);function tr(){this._nsMap={}}tr.prototype={nodeType:E,hasAttribute:function(fe){return this.getAttributeNode(fe)!=null},getAttribute:function(fe){var Re=this.getAttributeNode(fe);return Re&&Re.value||""},getAttributeNode:function(fe){return this.attributes.getNamedItem(fe)},setAttribute:function(fe,Re){var Qe=this.ownerDocument.createAttribute(fe);Qe.value=Qe.nodeValue=""+Re,this.setAttributeNode(Qe)},removeAttribute:function(fe){var Re=this.getAttributeNode(fe);Re&&this.removeAttributeNode(Re)},appendChild:function(fe){return fe.nodeType===U?this.insertBefore(fe,null):ut(this,fe)},setAttributeNode:function(fe){return this.attributes.setNamedItem(fe)},setAttributeNodeNS:function(fe){return this.attributes.setNamedItemNS(fe)},removeAttributeNode:function(fe){return this.attributes.removeNamedItem(fe.nodeName)},removeAttributeNS:function(fe,Re){var Qe=this.getAttributeNodeNS(fe,Re);Qe&&this.removeAttributeNode(Qe)},hasAttributeNS:function(fe,Re){return this.getAttributeNodeNS(fe,Re)!=null},getAttributeNS:function(fe,Re){var Qe=this.getAttributeNodeNS(fe,Re);return Qe&&Qe.value||""},setAttributeNS:function(fe,Re,Qe){var mt=this.ownerDocument.createAttributeNS(fe,Re);mt.value=mt.nodeValue=""+Qe,this.setAttributeNode(mt)},getAttributeNodeNS:function(fe,Re){return this.attributes.getNamedItemNS(fe,Re)},getElementsByTagName:function(fe){return new At(this,function(Re){var Qe=[];return Hr(Re,function(mt){mt!==Re&&mt.nodeType==E&&(fe==="*"||mt.tagName==fe)&&Qe.push(mt)}),Qe})},getElementsByTagNameNS:function(fe,Re){return new At(this,function(Qe){var mt=[];return Hr(Qe,function(xt){xt!==Qe&&xt.nodeType===E&&(fe==="*"||xt.namespaceURI===fe)&&(Re==="*"||xt.localName==Re)&&mt.push(xt)}),mt})}},pt.prototype.getElementsByTagName=tr.prototype.getElementsByTagName,pt.prototype.getElementsByTagNameNS=tr.prototype.getElementsByTagNameNS,h(tr,$r);function rt(){}rt.prototype.nodeType=w,h(rt,$r);function _t(){}_t.prototype={data:"",substringData:function(fe,Re){return this.data.substring(fe,fe+Re)},appendData:function(fe){fe=this.data+fe,this.nodeValue=this.data=fe,this.length=fe.length},insertData:function(fe,Re){this.replaceData(fe,0,Re)},appendChild:function(fe){throw new Error(te[le])},deleteData:function(fe,Re){this.replaceData(fe,Re,"")},replaceData:function(fe,Re,Qe){var mt=this.data.substring(0,fe),xt=this.data.substring(fe+Re);Qe=mt+Qe+xt,this.nodeValue=this.data=Qe,this.length=Qe.length}},h(_t,$r);function Yr(){}Yr.prototype={nodeName:"#text",nodeType:T,splitText:function(fe){var Re=this.data,Qe=Re.substring(fe);Re=Re.substring(0,fe),this.data=this.nodeValue=Re,this.length=Re.length;var mt=this.ownerDocument.createTextNode(Qe);return this.parentNode&&this.parentNode.insertBefore(mt,this.nextSibling),mt}},h(Yr,_t);function ln(){}ln.prototype={nodeName:"#comment",nodeType:M},h(ln,_t);function cn(){}cn.prototype={nodeName:"#cdata-section",nodeType:C},h(cn,_t);function gn(){}gn.prototype.nodeType=H,h(gn,$r);function wi(){}wi.prototype.nodeType=W,h(wi,$r);function ki(){}ki.prototype.nodeType=R,h(ki,$r);function Ur(){}Ur.prototype.nodeType=O,h(Ur,$r);function Bi(){}Bi.prototype.nodeName="#document-fragment",Bi.prototype.nodeType=U,h(Bi,$r);function bs(){}bs.prototype.nodeType=B,h(bs,$r);function Di(){}Di.prototype.serializeToString=function(fe,Re,Qe){return on.call(fe,Re,Qe)},$r.prototype.toString=on;function on(fe,Re){var Qe=[],mt=this.nodeType==9&&this.documentElement||this,xt=mt.prefix,Mr=mt.namespaceURI;if(Mr&&xt==null){var xt=mt.lookupPrefix(Mr);if(xt==null)var vn=[{namespace:Mr,prefix:null}]}return ri(this,Qe,fe,Re,vn),Qe.join("")}function fi(fe,Re,Qe){var mt=fe.prefix||"",xt=fe.namespaceURI;if(!xt||mt==="xml"&&xt===a.XML||xt===a.XMLNS)return!1;for(var Mr=Qe.length;Mr--;){var vn=Qe[Mr];if(vn.prefix===mt)return vn.namespace!==xt}return!0}function qi(fe,Re,Qe){fe.push(" ",Re,'="',Qe.replace(/[<>&"\t\n\r]/g,sn),'"')}function ri(fe,Re,Qe,mt,xt){if(xt||(xt=[]),mt)if(fe=mt(fe),fe){if(typeof fe=="string"){Re.push(fe);return}}else return;switch(fe.nodeType){case E:var Mr=fe.attributes,vn=Mr.length,Vt=fe.firstChild,Ut=fe.tagName;Qe=a.isHTML(fe.namespaceURI)||Qe;var Yn=Ut;if(!Qe&&!fe.prefix&&fe.namespaceURI){for(var mi,yn=0;yn<Mr.length;yn++)if(Mr.item(yn).name==="xmlns"){mi=Mr.item(yn).value;break}if(!mi)for(var ji=xt.length-1;ji>=0;ji--){var Tn=xt[ji];if(Tn.prefix===""&&Tn.namespace===fe.namespaceURI){mi=Tn.namespace;break}}if(mi!==fe.namespaceURI)for(var ji=xt.length-1;ji>=0;ji--){var Tn=xt[ji];if(Tn.namespace===fe.namespaceURI){Tn.prefix&&(Yn=Tn.prefix+":"+Ut);break}}}Re.push("<",Yn);for(var Cs=0;Cs<vn;Cs++){var $i=Mr.item(Cs);$i.prefix=="xmlns"?xt.push({prefix:$i.localName,namespace:$i.value}):$i.nodeName=="xmlns"&&xt.push({prefix:"",namespace:$i.value})}for(var Cs=0;Cs<vn;Cs++){var $i=Mr.item(Cs);if(fi($i,Qe,xt)){var gs=$i.prefix||"",vs=$i.namespaceURI;qi(Re,gs?"xmlns:"+gs:"xmlns",vs),xt.push({prefix:gs,namespace:vs})}ri($i,Re,Qe,mt,xt)}if(Ut===Yn&&fi(fe,Qe,xt)){var gs=fe.prefix||"",vs=fe.namespaceURI;qi(Re,gs?"xmlns:"+gs:"xmlns",vs),xt.push({prefix:gs,namespace:vs})}if(Vt||Qe&&!/^(?:meta|link|img|br|hr|input)$/i.test(Ut)){if(Re.push(">"),Qe&&/^script$/i.test(Ut))for(;Vt;)Vt.data?Re.push(Vt.data):ri(Vt,Re,Qe,mt,xt.slice()),Vt=Vt.nextSibling;else for(;Vt;)ri(Vt,Re,Qe,mt,xt.slice()),Vt=Vt.nextSibling;Re.push("</",Yn,">")}else Re.push("/>");return;case F:case U:for(var Vt=fe.firstChild;Vt;)ri(Vt,Re,Qe,mt,xt.slice()),Vt=Vt.nextSibling;return;case w:return qi(Re,fe.name,fe.value);case T:return Re.push(fe.data.replace(/[<&>]/g,sn));case C:return Re.push("<![CDATA[",fe.data,"]]>");case M:return Re.push("<!--",fe.data,"-->");case H:var hr=fe.publicId,rn=fe.systemId;if(Re.push("<!DOCTYPE ",fe.name),hr)Re.push(" PUBLIC ",hr),rn&&rn!="."&&Re.push(" ",rn),Re.push(">");else if(rn&&rn!=".")Re.push(" SYSTEM ",rn,">");else{var zn=fe.internalSubset;zn&&Re.push(" [",zn,"]"),Re.push(">")}return;case B:return Re.push("<?",fe.target," ",fe.data,"?>");case O:return Re.push("&",fe.nodeName,";");default:Re.push("??",fe.nodeName)}}function Vi(fe,Re,Qe){var mt;switch(Re.nodeType){case E:mt=Re.cloneNode(!1),mt.ownerDocument=fe;case U:break;case w:Qe=!0;break}if(mt||(mt=Re.cloneNode(!1)),mt.ownerDocument=fe,mt.parentNode=null,Qe)for(var xt=Re.firstChild;xt;)mt.appendChild(Vi(fe,xt,Qe)),xt=xt.nextSibling;return mt}function si(fe,Re,Qe){var mt=new Re.constructor;for(var xt in Re)if(Object.prototype.hasOwnProperty.call(Re,xt)){var Mr=Re[xt];typeof Mr!="object"&&Mr!=mt[xt]&&(mt[xt]=Mr)}switch(Re.childNodes&&(mt.childNodes=new Xe),mt.ownerDocument=fe,mt.nodeType){case E:var vn=Re.attributes,Ut=mt.attributes=new kt,Yn=vn.length;Ut._ownerElement=mt;for(var mi=0;mi<Yn;mi++)mt.setAttributeNode(si(fe,vn.item(mi),!0));break;case w:Qe=!0}if(Qe)for(var yn=Re.firstChild;yn;)mt.appendChild(si(fe,yn,Qe)),yn=yn.nextSibling;return mt}function ks(fe,Re,Qe){fe[Re]=Qe}try{if(Object.defineProperty){let fe=function(Re){switch(Re.nodeType){case E:case U:var Qe=[];for(Re=Re.firstChild;Re;)Re.nodeType!==7&&Re.nodeType!==8&&Qe.push(fe(Re)),Re=Re.nextSibling;return Qe.join("");default:return Re.nodeValue}};var cr=fe;Object.defineProperty(At.prototype,"length",{get:function(){return yt(this),this.$$length}}),Object.defineProperty($r.prototype,"textContent",{get:function(){return fe(this)},set:function(Re){switch(this.nodeType){case E:case U:for(;this.firstChild;)this.removeChild(this.firstChild);(Re||String(Re))&&this.appendChild(this.ownerDocument.createTextNode(Re));break;default:this.data=Re,this.value=Re,this.nodeValue=Re}}}),ks=function(Re,Qe,mt){Re["$$"+Qe]=mt}}}catch{}d.DocumentType=gn,d.DOMException=Ge,d.DOMImplementation=Wr,d.Element=tr,d.Node=$r,d.NodeList=Xe,d.XMLSerializer=Di},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,319 bytes, lines 582-583
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,E=7;function w(q,ae){this.message=q,this.locator=ae,Error.captureStackTrace&&Error.captureStackTrace(this,w)}w.prototype=new Error,w.prototype.name=w.name;function T(){}T.prototype={parse:function(q,ae,le){var pe=this.domBuilder;pe.startDocument(),H(ae,ae={}),C(q,ae,le,pe,this.errorHandler),pe.endDocument()}};function C(q,ae,le,pe,ge){function Ie(kr){if(kr>65535){kr-=65536;var qt=55296+(kr>>10),Sn=56320+(kr&1023);return String.fromCharCode(qt,Sn)}else return String.fromCharCode(kr)}function Ce(kr){var qt=kr.slice(1,-1);return Object.hasOwnProperty.call(le,qt)?le[qt]:qt.charAt(0)==="#"?Ie(parseInt(qt.substr(1).replace("x","0x"))):(ge.error("entity not found:"+kr),kr)}function Je(kr){if(kr>Ge){var qt=q.substring(Ge,kr).replace(/&#?\w+;/g,Ce);Fe&&qe(Ge),pe.characters(qt,0,kr-Ge),Ge=kr}}function qe(kr,qt){for(;kr>=xe&&(qt=De.exec(q));)ye=qt.index,xe=ye+qt[0].length,Fe.lineNumber++;Fe.columnNumber=kr-ye+1}for(var ye=0,xe=0,De=/.*(?:\r\n?|\n)|.*$/g,Fe=pe.locator,be=[{currentNSMap:ae}],ke={},Ge=0;;){try{var Xe=q.indexOf("<",Ge);if(Xe<0){if(!q.substr(Ge).match(/^\s*$/)){var At=pe.doc,yt=At.createTextNode(q.substr(Ge));At.appendChild(yt),pe.currentElement=yt}return}switch(Xe>Ge&&Je(Xe),q.charAt(Xe+1)){case"/":var pt=q.indexOf(">",Xe+3),kt=q.substring(Xe+2,pt).replace(/[ \t\n\r]+$/g,""),Nt=be.pop();pt<0?(kt=q.substring(Xe+2).replace(/[\s<].*/,""),ge.error("end tag name: "+kt+" is not complete:"+Nt.tagName),pt=Xe+1+kt.length):kt.match(/\s</)&&(kt=kt.replace(/[\s<].*/,""),ge.error("end tag name: "+kt+" maybe not complete"),pt=Xe+1+kt.length);var Ir=Nt.localNSMap,yr=Nt.tagName==kt,Wr=yr||Nt.tagName&&Nt.tagName.toLowerCase()==kt.toLowerCase();if(Wr){if(pe.endElement(Nt.uri,Nt.localName,kt),Ir)for(var $r in Ir)Object.prototype.hasOwnProperty.call(Ir,$r)&&pe.endPrefixMapping($r);yr||ge.fatalError("end tag name: "+kt+" is not match the current start tagName:"+Nt.tagName)}else be.push(Nt);pt++;break;case"?":Fe&&qe(Xe),pt=W(q,Xe,pe);break;case"!":Fe&&qe(Xe),pt=U(q,Xe,pe,ge);break;default:Fe&&qe(Xe);var sn=new X,Hr=be[be.length-1].currentNSMap,pt=R(q,Xe,sn,Hr,Ce,ge),et=sn.length;if(!sn.closed&&F(q,pt,sn.tagName,ke)&&(sn.closed=!0,le.nbsp||ge.warning("unclosed xml attribute")),Fe&&et){for(var wr=O(Fe,{}),Dr=0;Dr<et;Dr++){var Sr=sn[Dr];qe(Sr.offset),Sr.locator=O(Fe,{})}pe.locator=wr,B(sn,pe,Hr)&&be.push(sn),pe.locator=Fe}else B(sn,pe,Hr)&&be.push(sn);n.isHTML(sn.uri)&&!sn.closed?pt=M(q,pt,sn.tagName,Ce,pe):pt++}}catch(kr){if(kr instanceof w)throw kr;ge.error("element parse error: "+kr),pt=-1}pt>Ge?Ge=pt:Je(Math.max(Xe,Ge)+1)}}function O(q,ae){return ae.lineNumber=q.lineNumber,ae.columnNumber=q.columnNumber,ae}function R(q,ae,le,pe,ge,Ie){function Ce(be,ke,Ge){le.attributeNames.hasOwnProperty(be)&&Ie.fatalError("Attribute "+be+" redefined"),le.addValue(be,ke.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,ge),Ge)}for(var Je,qe,ye=++ae,xe=i;;){var De=q.charAt(ye);switch(De){case"=":if(xe===u)Je=q.slice(ae,ye),xe=m;else if(xe===l)xe=m;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(xe===m||xe===u)if(xe===u&&(Ie.warning('attribute value must after "="'),Je=q.slice(ae,ye)),ae=ye+1,ye=q.indexOf(De,ae),ye>0)qe=q.slice(ae,ye),Ce(Je,qe,ae-1),xe=h;else throw new Error("attribute value no end '"+De+"' match");else if(xe==g)qe=q.slice(ae,ye),Ce(Je,qe,ae),Ie.warning('attribute "'+Je+'" missed start quot('+De+")!!"),ae=ye+1,xe=h;else throw new Error('attribute value must after "="');break;case"/":switch(xe){case i:le.setTagName(q.slice(ae,ye));case h:case v:case E:xe=E,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 Ie.error("unexpected end of input"),xe==i&&le.setTagName(q.slice(ae,ye)),ye;case">":switch(xe){case i:le.setTagName(q.slice(ae,ye));case h:case v:case E:break;case g:case u:qe=q.slice(ae,ye),qe.slice(-1)==="/"&&(le.closed=!0,qe=qe.slice(0,-1));case l:xe===l&&(qe=Je),xe==g?(Ie.warning('attribute "'+qe+'" missed quot(")!'),Ce(Je,qe,ae)):((!n.isHTML(pe[""])||!qe.match(/^(?:disabled|checked|selected)$/i))&&Ie.warning('attribute "'+qe+'" missed value!! "'+qe+'" instead!!'),Ce(qe,qe,ae));break;case m:throw new Error("attribute value missed!!")}return ye;case"\x80":De=" ";default:if(De<=" ")switch(xe){case i:le.setTagName(q.slice(ae,ye)),xe=v;break;case u:Je=q.slice(ae,ye),xe=l;break;case g:var qe=q.slice(ae,ye);Ie.warning('attribute "'+qe+'" missed quot(")!!'),Ce(Je,qe,ae);case h:xe=v;break}else switch(xe){case l:var Fe=le.tagName;(!n.isHTML(pe[""])||!Je.match(/^(?:disabled|checked|selected)$/i))&&Ie.warning('attribute "'+Je+'" missed value!! "'+Je+'" instead2!!'),Ce(Je,Je,ae),ae=ye,xe=u;break;case h:Ie.warning('attribute space is required"'+Je+'"!!');case v:xe=u,ae=ye;break;case m:xe=g,ae=ye;break;case E:throw new Error("elements closed character '/' and '>' must be connected to")}}ye++}}function B(q,ae,le){for(var pe=q.tagName,ge=null,De=q.length;De--;){var Ie=q[De],Ce=Ie.qName,Je=Ie.value,Fe=Ce.indexOf(":");if(Fe>0)var qe=Ie.prefix=Ce.slice(0,Fe),ye=Ce.slice(Fe+1),xe=qe==="xmlns"&&ye;else ye=Ce,qe=null,xe=Ce==="xmlns"&&"";Ie.localName=ye,xe!==!1&&(ge==null&&(ge={},H(le,le={})),le[xe]=ge[xe]=Je,Ie.uri=n.XMLNS,ae.startPrefixMapping(xe,Je))}for(var De=q.length;De--;){Ie=q[De];var qe=Ie.prefix;qe&&(qe==="xml"&&(Ie.uri=n.XML),qe!=="xmlns"&&(Ie.uri=le[qe||""]))}var Fe=pe.indexOf(":");Fe>0?(qe=q.prefix=pe.slice(0,Fe),ye=q.localName=pe.slice(Fe+1)):(qe=null,ye=q.localName=pe);var be=q.uri=le[qe||""];if(ae.startElement(be,ye,pe,q),q.closed){if(ae.endElement(be,ye,pe),ge)for(qe in ge)Object.prototype.hasOwnProperty.call(ge,qe)&&ae.endPrefixMapping(qe)}else return q.currentNSMap=le,q.localNSMap=ge,!0}function M(q,ae,le,pe,ge){if(/^(?:script|textarea)$/i.test(le)){var Ie=q.indexOf("</"+le+">",ae),Ce=q.substring(ae+1,Ie);if(/[&<]/.test(Ce))return/^script$/i.test(le)?(ge.characters(Ce,0,Ce.length),Ie):(Ce=Ce.replace(/&#?\w+;/g,pe),ge.characters(Ce,0,Ce.length),Ie)}return ae+1}function F(q,ae,le,pe){var ge=pe[le];return ge==null&&(ge=q.lastIndexOf("</"+le+">"),ge<ae&&(ge=q.lastIndexOf("</"+le)),pe[le]=ge),ge<ae}function H(q,ae){for(var le in q)Object.prototype.hasOwnProperty.call(q,le)&&(ae[le]=q[le])}function U(q,ae,le,pe){var ge=q.charAt(ae+2);switch(ge){case"-":if(q.charAt(ae+3)==="-"){var Ie=q.indexOf("-->",ae+4);return Ie>ae?(le.comment(q,ae+4,Ie-ae-4),Ie+3):(pe.error("Unclosed comment"),-1)}else return-1;default:if(q.substr(ae+3,6)=="CDATA["){var Ie=q.indexOf("]]>",ae+9);return le.startCDATA(),le.characters(q,ae+9,Ie-ae-9),le.endCDATA(),Ie+3}var Ce=te(q,ae),Je=Ce.length;if(Je>1&&/!doctype/i.test(Ce[0][0])){var qe=Ce[1][0],ye=!1,xe=!1;Je>3&&(/^public$/i.test(Ce[2][0])?(ye=Ce[3][0],xe=Je>4&&Ce[4][0]):/^system$/i.test(Ce[2][0])&&(xe=Ce[3][0]));var De=Ce[Je-1];return le.startDTD(qe,ye,xe),le.endDTD(),De.index+De[0].length}}return-1}function W(q,ae,le){var pe=q.indexOf("?>",ae);if(pe){var ge=q.substring(ae,pe).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(ge){var Ie=ge[0].length;return le.processingInstruction(ge[1],ge[2]),pe+2}else return-1}return-1}function X(){this.attributeNames={}}X.prototype={setTagName:function(q){if(!s.test(q))throw new Error("invalid tagName:"+q);this.tagName=q},addValue:function(q,ae,le){if(!s.test(q))throw new Error("invalid attribute:"+q);this.attributeNames[q]=this.length,this[this.length++]={qName:q,value:ae,offset:le}},length:0,getLocalName:function(q){return this[q].localName},getLocator:function(q){return this[q].locator},getQName:function(q){return this[q].qName},getURI:function(q){return this[q].uri},getValue:function(q){return this[q].value}};function te(q,ae){var le,pe=[],ge=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(ge.lastIndex=ae,ge.exec(q);le=ge.exec(q);)if(pe.push(le),le[1])return pe}d.XMLReader=T,d.ParseError=w},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"}),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(E){return typeof E=="string"},i=function(E){return typeof E!="string"},u=function(E,w){for(var T=[],C=2;C<arguments.length;C++)T[C-2]=arguments[C];var O=r.assign({},w);return O.mixes=O.mixes.concat(T),h(O,E)},l=function(E,w,T){for(var C=[],O=3;O<arguments.length;O++)C[O-3]=arguments[O];var R=r.assign({},w),B=r.assign({},R.states||{});return B[T]=r.assign.apply(void 0,[{},B[T]||{}].concat(C)),R.states=B,h(R,E)},m=function(E,w,T,C){return String.prototype.split.call(g(E,w),T,C)},g=function(E,w){var T=w.name,C=w.mods,O=w.mixes,R=w.states,B=[T];if(C&&(B=B.concat(Object.keys(C).filter(function(F){return C[F]}).map(function(F){var H=C[F];return H===!0?T+E.mod+F:T+E.mod+F+E.modValue+H}))),R&&Object.keys(R).forEach(function(F){var H=R[F];B=B.concat(Object.keys(H).filter(function(U){return H[U]}).map(function(U){return F+U}))}),E.ns&&(B=B.map(function(F){return E.ns+F})),O&&(B=B.concat((function(F){return F===void 0&&(F=[]),F.map(function(H){return Array.isArray(H)?H.join(" "):typeof H=="object"&&H!==null||typeof H=="function"?H.toString():typeof H=="string"?H:""}).filter(function(H){return!!H})})(O))),E.classMap){var M=E.classMap;B=B.map(function(F){return M[F]||F})}return B.join(" ")},h=function(E,w){return{mix:u.bind(null,w,E),split:m.bind(null,w,E),is:l.bind(null,w,E,"is-"),has:l.bind(null,w,E,"has-"),state:l.bind(null,w,E,"is-"),toString:g.bind(null,w,E)}},v=function(E,w){var T={name:E,mods:{},mixes:[],states:{"is-":{},"has-":{}}},C=function(O,R){for(var B=[],M=2;M<arguments.length;M++)B[M-2]=arguments[M];if(!B.length)return g(O,R);var F=r.assign({},R),H=B.filter(s).reduce(function(W,X){return W+O.el+X},"");H&&(F.name=F.name+H);var U=B.filter(i).reduce(function(W,X){return r.assign(W,X)},{});return F.mods=r.assign({},F.mods,U),h(F,O)}.bind(null,w,T);return C.mix=u.bind(null,w,T),C.split=m.bind(null,w,T),C.is=l.bind(null,w,T,"is-"),C.has=l.bind(null,w,T,"has-"),C.state=l.bind(null,w,T,"is-"),C.toString=g.bind(null,w,T),C};e.setup=function(E){return E===void 0&&(E={}),function(w){if(typeof w!="string")throw new Error(e.ERROR_BLOCK_NAME_TYPE);var T=w.trim();if(!T)throw new Error(e.ERROR_BLOCK_NAME_EMPTY);return v(T,r.assign({},a,E))}},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),E=h.decode||e,w=0;w<v.length;w++){var T=v[w],C=T.indexOf("=");if(!(C<0)){var O=T.substr(0,C).trim(),R=T.substr(++C,T.length).trim();R[0]=='"'&&(R=R.slice(1,-1)),g[O]==null&&(g[O]=u(R,E))}}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 E=v(m);if(E&&!a.test(E))throw new TypeError("argument val is invalid");var w=l+"="+E;if(h.maxAge!=null){var T=h.maxAge-0;if(isNaN(T))throw new Error("maxAge should be a Number");w+="; Max-Age="+Math.floor(T)}if(h.domain){if(!a.test(h.domain))throw new TypeError("option domain is invalid");w+="; Domain="+h.domain}if(h.path){if(!a.test(h.path))throw new TypeError("option path is invalid");w+="; Path="+h.path}if(h.expires){if(typeof h.expires.toUTCString!="function")throw new TypeError("option expires is invali
595d");w+="; Expires="+h.expires.toUTCString()}if(h.httpOnly&&(w+="; HttpOnly"),h.secure&&(w+="; Secure"),h.sameSite){var C=typeof h.sameSite=="string"?h.sameSite.toLowerCase():h.sameSite;switch(C){case!0:w+="; SameSite=Strict";break;case"lax":w+="; SameSite=Lax";break;case"strict":w+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return w}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||{},E=v.decode||s,w=0;w<m.length;){var T=m.indexOf("=",w);if(T===-1)break;var C=m.indexOf(";",w);if(C===-1)C=m.length;else if(C<T){w=m.lastIndexOf(";",T-1)+1;continue}var O=m.slice(w,T).trim();if(h[O]===void 0){var R=m.slice(T+1,C).trim();R.charCodeAt(0)===34&&(R=R.slice(1,-1)),h[O]=l(R,E)}w=C+1}return h}function a(m,g,h){var v=h||{},E=v.encode||i;if(typeof E!="function")throw new TypeError("option encode is invalid");if(!n.test(m))throw new TypeError("argument name is invalid");var w=E(g);if(w&&!n.test(w))throw new TypeError("argument val is invalid");var T=m+"="+w;if(v.maxAge!=null){var C=v.maxAge-0;if(isNaN(C)||!isFinite(C))throw new TypeError("option maxAge is invalid");T+="; Max-Age="+Math.floor(C)}if(v.domain){if(!n.test(v.domain))throw new TypeError("option domain is invalid");T+="; Domain="+v.domain}if(v.path){if(!n.test(v.path))throw new TypeError("option path is invalid");T+="; Path="+v.path}if(v.expires){var O=v.expires;if(!u(O)||isNaN(O.valueOf()))throw new TypeError("option expires is invali
600d");T+="; Expires="+O.toUTCString()}if(v.httpOnly&&(T+="; HttpOnly"),v.secure&&(T+="; Secure"),v.priority){var R=typeof v.priority=="string"?v.priority.toLowerCase():v.priority;switch(R){case"low":T+="; Priority=Low";break;case"medium":T+="; Priority=Medium";break;case"high":T+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(v.sameSite){var B=typeof v.sameSite=="string"?v.sameSite.toLowerCase():v.sameSite;switch(B){case!0:T+="; SameSite=Strict";break;case"lax":T+="; SameSite=Lax";break;case"strict":T+="; SameSite=Strict";break;case"none":T+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return T}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),E=e(40356),w=e(35771),T=e(83601),C=e(89030),O=e(21197),R=function(q){return q.reduce(function(ae,le){return ae&&O(te,le)},!0)},B=function(q){return te(function(ae,le){return le(q)})},M=function(q){return te(function(ae){return ae(q)})};function F(q){if(!(E(q)&&R(q)))throw new TypeError("Async.all: Foldable structure of Asyncs required");return v(q)?l.sequence(te.of,q):q.sequence(te.of)}function H(q,ae){if(!w(q))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var le=[],pe=arguments.length;pe--;)le[pe]=arguments[pe];return te(function(ge,Ie){q.apply(ae,le.concat(function(Ce,Je){return Ce?ge(Ce):Ie(Je)}))})}}function U(q){if(!w(q))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var ae=arguments;return te(function(le,pe){var ge=q.apply(null,ae);if(!C(ge))throw new TypeError("Async.fromPromise: Promise returning function required");ge.then(pe).catch(le)})}}function W(q,ae){if(!(T(q)&&q>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return te(function(le){var pe=setTimeout(function(){le(ae)},q);return function(){clearTimeout(pe)}})}function X(q,ae){if(!(T(q)&&q>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return te(function(le,pe){var ge=setTimeout(function(){pe(ae)},q);return function(){clearTimeout(ge)}})}function te(q){var ae;if(!w(q))throw new TypeError("Async: Function required");var le=B,pe=function(){return"Async"+a(q)};function ge(ke,Ge,Xe){if(!w(ke)||!w(Ge))throw new TypeError("Async.fork: Reject and resolve functions required");var At=!1,yt=!1,kt=function(){At=!0},Nt=w(Xe)?Xe:h,Ir=function($r,sn){if(!yt)return yt=!0,At?h():$r(sn)},yr=q(Ir.bind(null,ke),Ir.bind(null,Ge)),Wr=w(yr)?yr:h;return g(function(){return Nt(kt(Wr()))})}function Ie(){return new Promise(function(ke,Ge){ge(Ge,ke)})}function Ce(ke){if(!O(te,ke))throw new TypeError("Async.race: Async required");return te(function(Ge,Xe){var At=g(function(yr,Wr){return yr?Xe(Wr):Ge(Wr)}),yt=At.bind(null,!0),kt=At.bind(null,!1),Nt=ge(kt,yt),Ir=ke.fork(kt,yt);return function(){Nt(),Ir()}})}function Je(ke,Ge){if(!w(ke)||!w(Ge))throw new TypeError("Async.swap: Functions required for both arguments");return te(function(Xe,At){return ge(m(At,ke),m(Xe,Ge))})}function qe(ke,Ge){if(!w(ke)||!w(Ge))throw new TypeError("Async.coalesce: Functions required for both arguments");return te(function(Xe,At){return ge(m(At,ke),m(At,Ge))})}function ye(ke){return function(Ge){if(!w(Ge))throw new TypeError("Async."+ke+": Function required");return te(function(Xe,At){return ge(Xe,m(At,Ge))})}}function xe(ke){return function(Ge,Xe){if(!w(Ge)||!w(Xe))throw new TypeError("Async."+ke+": Functions required for both arguments");return te(function(At,yt){return ge(m(At,Ge),m(yt,Xe))})}}function De(ke){return function(Ge){if(!O(te,Ge))throw new TypeError("Async."+ke+": Async required");return te(function(Xe,At){var yt=h,kt=h;return yt=ge(function(){kt=Ge.fork(Xe,At)},At),g(function(){return kt(yt())})})}}function Fe(ke){if(!O(te,ke))throw new TypeError("Async.ap: Async required");return te(function(Ge,Xe){var At=null,yt=null,kt=!1,Nt=!1,Ir=!1,yr=function(){Ir=!0},Wr=g(Ge);function $r(){!Ir&&kt&&Nt&&m(Xe,At)(yt)}var sn=ge(Wr,function(pt){if(!w(pt))throw new TypeError("Async.ap: Wrapped value must be a function");kt=!0,At=pt,$r()}),Hr=ke.fork(Wr,function(pt){Nt=!0,yt=pt,$r()});return function(){sn(),Hr(),yr()}})}function be(ke){return function(Ge){if(!w(Ge))throw new TypeError("Async."+ke+": Async returning function required");return te(function(Xe,At){var yt=h,kt=h;return yt=ge(Xe,function(Nt){var Ir=Ge(Nt);if(!O(te,Ir))throw new TypeError("Async."+ke+": Function must return another Async");kt=Ir.fork(Xe,At)}),g(function(){return kt(yt())})})}}return ae={fork:ge,toPromise:Ie,inspect:pe,toString:pe,type:s,swap:Je,race:Ce,coalesce:qe,ap:Fe,of:le,alt:De("alt"),bimap:xe("bimap"),map:ye("map"),chain:be("chain")},ae[u.of]=le,ae[u.alt]=De(u.alt),ae[u.bimap]=xe(u.bimap),ae[u.map]=ye(u.map),ae[u.chain]=be(u.chain),ae["@@type"]=i,ae.constructor=te,ae}te.of=B,te.type=s,te[u.of]=B,te["@@type"]=i,te.Rejected=M,te.Resolved=B,te.fromPromise=U,te.fromNode=H,te.all=F,te.rejectAfter=W,te.resolveAfter=X,te["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),f.exp
600orts=te},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(E){return v(function(){return E})};function v(E){var w;if(!m(E))throw new TypeError("IO: Must wrap a function");var T=h,C=function(){return"IO"+a(E)};function O(M){return function(F){if(!m(F))throw new TypeError("IO."+M+": Function required");return v(l(F,E))}}function R(M){if(!g(v,M))throw new TypeError("IO.ap: IO required");return v(function(){var F=E();if(!m(F))throw new TypeError("IO.ap: Wrapped value must be a function");return M.map(F).run()})}function B(M){return function(F){if(!m(F))throw new TypeError("IO."+M+": Function required");return v(function(){var H=F(E());if(!g(v,H))throw new TypeError("IO."+M+": Function must return an IO");return H.run()})}}return w={inspect:C,toString:C,run:E,type:s,ap:R,of:T,map:O("map"),chain:B("chain")},w[u.of]=T,w[u.map]=O(u.map),w[u.chain]=B(u.chain),w["@@type"]=i,w.constructor=v,w}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(M){return M},g=function(M){return function(F){return M.concat(F)}};function h(M,F){return function(H,U){var W=F(U);if(!((n(H)||r(H))&&i(H,W)))throw new TypeError("Array."+M+": Must wrap Applys of the same type");return r(W)?w(H,E(function(X){return g([X])},W)):W.map(function(X){return g([X])}).ap(H)}}var v=function(M){return M.reduce(function(F,H){return F&&s(H)},!0)},E=function(M,F){return F.map(function(H){return M(H)})};function w(M,F){if(!(F.length&&v(F)))throw new TypeError("Array.ap: Second Array must all be functions");return F.reduce(function(H,U){return H.concat(E(U,M))},[])}function T(M,F){return F.reduce(function(H,U){var W=M(U);if(!r(W))throw new TypeError("Array.chain: Function must return an Array");return H.concat(W)},[])}function C(M,F){var H=l(M);return F.reduceRight(h("sequence",m),H([]))}function O(M,F,H){var U=l(M);return H.reduceRight(h("traverse",F),U([]))}function R(M){if(a(M))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var F=M[0];if(!u(F))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return M.reduce(function(H,U){if(!i(H,U))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return H.concat(U)})}function B(M,F){if(a(F))throw new TypeError("Array.foldMap: Non-empty Array required");var H=M(F[0]);if(!u(H))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return F.length===1?H:F.slice(1).reduce(function(U,W){var X=M(W);if(!(i(U,X)&&u(X)))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return U.concat(X)},H)}f.exports={ap:w,chain:T,fold:R,foldMap:B,map:E,sequence:C,traverse:O}},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),E=e(70408),w=e(75919),T=e(47925),C=e(62666),O=e(93889),R=function(q){return q.reduce(function(ae,le){return ae&&O(te,le)},!0)},B=function(q){return te(function(ae,le){return le(q)})},M=function(q){return te(function(ae){return ae(q)})};function F(q){if(!(E(q)&&R(q)))throw new TypeError("Async.all: Foldable structure of Asyncs required");return v(q)?l.sequence(te.of,q):q.sequence(te.of)}function H(q,ae){if(!w(q))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var le=[],pe=arguments.length;pe--;)le[pe]=arguments[pe];
600return te(function(ge,Ie){q.apply(ae,le.concat(function(Ce,Je){return Ce?ge(Ce):Ie(Je)}))})}}function U(q){if(!w(q))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var ae=arguments;return te(function(le,pe){var ge=q.apply(null,ae);if(!C(ge))throw new TypeError("Async.fromPromise: Promise returning function required");ge.then(pe,le)})}}function W(q,ae){if(!(T(q)&&q>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return te(function(le){var pe=setTimeout(function(){le(ae)},q);return function(){clearTimeout(pe)}})}function X(q,ae){if(!(T(q)&&q>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return te(function(le,pe){var ge=setTimeout(function(){pe(ae)},q);return function(){clearTimeout(ge)}})}function te(q){var ae;if(!w(q))throw new TypeError("Async: Function required");var le=B,pe=function(){return"Async"+a(q)};function ge(Ge,Xe,At){if(!w(Ge)||!w(Xe))throw new TypeError("Async.fork: Reject and resolve functions required");var yt=!1,kt=!1,Nt=function(){yt=!0},Ir=w(At)?At:h,yr=function(sn,Hr){if(!kt)return kt=!0,yt?h():sn(Hr)},Wr=q(yr.bind(null,Ge),yr.bind(null,Xe)),$r=w(Wr)?Wr:h;return g(function(){return Ir(Nt($r()))})}function Ie(){return new Promise(function(Ge,Xe){ge(Xe,Ge)})}function Ce(Ge){if(!O(te,Ge))throw new TypeError("Async.race: Async required");return te(function(Xe,At){var yt=g(function(Wr,$r){return Wr?At($r):Xe($r)}),kt=yt.bind(null,!0),Nt=yt.bind(null,!1),Ir=ge(Nt,kt),yr=Ge.fork(Nt,kt);return function(){Ir(),yr()}})}function Je(Ge,Xe){if(!w(Ge)||!w(Xe))throw new TypeError("Async.swap: Functions required for both arguments");return te(function(At,yt){return ge(m(yt,Ge),m(At,Xe))})}function qe(Ge,Xe){if(!w(Ge)||!w(Xe))throw new TypeError("Async.coalesce: Functions required for both arguments");return te(function(At,yt){return ge(m(yt,Ge),m(yt,Xe))})}function ye(Ge){return function(Xe){if(!w(Xe))throw new TypeError("Async."+Ge+": Function required");return te(function(At,yt){return ge(At,m(yt,Xe))})}}function xe(Ge){return function(Xe,At){if(!w(Xe)||!w(At))throw new TypeError("Async."+Ge+": Functions required for both arguments");return te(function(yt,kt){return ge(m(yt,Xe),m(kt,At))})}}function De(Ge){return function(Xe){if(!O(te,Xe))throw new TypeError("Async."+Ge+": Async required");return te(function(At,yt){var kt=h,Nt=h;return kt=ge(function(){Nt=Xe.fork(At,yt)},yt),g(function(){return Nt(kt())})})}}function Fe(Ge){if(!O(te,Ge))throw new TypeError("Async.ap: Async required");return te(function(Xe,At){var yt=null,kt=null,Nt=!1,Ir=!1,yr=!1,Wr=function(){yr=!0},$r=g(Xe);function sn(){!yr&&Nt&&Ir&&m(At,yt)(kt)}var Hr=ge($r,function(et){if(!w(et))throw new TypeError("Async.ap: Wrapped value must be a function");Nt=!0,yt=et,sn()}),pt=Ge.fork($r,function(et){Ir=!0,kt=et,sn()});return function(){Hr(),pt(),Wr()}})}function be(Ge){return function(Xe){if(!w(Xe))throw new TypeError("Async."+Ge+": Async returning function required");return te(function(At,yt){var kt=h,Nt=h;return kt=ge(At,function(Ir){var yr=Xe(Ir);if(!O(te,yr))throw new TypeError("Async."+Ge+": Function must return another Async");Nt=yr.fork(At,yt)}),g(function(){return Nt(kt())})})}}function ke(Ge,Xe){var At="Async.bichain: Both arguments must be Async returning functions";if(!w(Ge)||!w(Xe))throw new TypeError(At);return te(function(yt,kt){var Nt=h,Ir=h;function yr(Wr){return function($r){var sn=Wr($r);if(!O(te,sn))throw new TypeError(At);Ir=sn.fork(yt,kt)}}return Nt=ge(yr(Ge),yr(Xe)),g(function(){return Ir(Nt())})})}return ae={fork:ge,toPromise:Ie,inspect:pe,toString:pe,type:s,swap:Je,race:Ce,coalesce:qe,ap:Fe,of:le,alt:De("alt"),bimap:xe("bimap"),map:ye("map"),chain:be("chain"),bichain:ke},ae[u.of]=le,ae[u.alt]=De(u.alt),ae[u.bimap]=xe(u.bimap),ae[u.map]=ye(u.map),ae[u.chain]=be(u.chain),ae["@@type"]=i,ae.constructor=te,ae}te.of=B,te.type=s,te[u.of]=B,te["@@type"]=i,te.Rejected=M,te.Resolved=B,te.fromPromise=U,te.fromNode=H,te.all=F,te.rejectAfter=W,te.resolveAfter=X,te["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),f.exp
600orts=te},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(H){return H},g=function(H){return function(U){return H.concat(U)}};function h(H,U){return function(W,X){var te=U(X);if(!((n(W)||r(W))&&i(W,te)))throw new TypeError("Array."+H+": Must wrap Applys of the same type");return r(te)?w(W,E(function(q){return g([q])},te)):te.map(function(q){return g([q])}).ap(W)}}var v=function(H){return H.reduce(function(U,W){return U&&s(W)},!0)},E=function(H,U){return U.map(function(W){return H(W)})};function w(H,U){if(!(U.length&&v(U)))throw new TypeError("Array.ap: Second Array must all be functions");return U.reduce(function(W,X){return W.concat(E(X,H))},[])}function T(H,U){return U.reduce(function(W,X){var te=H(X);if(!r(te))throw new TypeError("Array.chain: Function must return an Array");return W.concat(te)},[])}function C(H,U){var W=l(H);return U.reduceRight(h("sequence",m),W([]))}function O(H,U,W){var X=l(H);return W.reduceRight(h("traverse",U),X([]))}function R(H){if(a(H))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var U=H[0];if(!u(U))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return H.reduce(function(W,X){if(!i(W,X))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return W.concat(X)})}function B(H,U){if(a(U))throw new TypeError("Array.foldMap: Non-empty Array required");var W=H(U[0]);if(!u(W))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return U.length===1?W:U.slice(1).reduce(function(X,te){var q=H(te);if(!(i(X,q)&&u(q)))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return X.concat(q)},W)}function M(H,U,W){var X=W.slice();return X[H]=U,X}function F(H,U){return U.slice(0,H).concat(U.slice(H+1))}f.exports={ap:w,chain:T,fold:R,foldMap:B,map:E,sequence:C,set:M,traverse:O,unset:F}},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 E in h)if(!g(h[E],v[E]))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 E(C){if(!i(C))throw new TypeError("IO.map: Function required");return m(s(C,g))}function w(C){if(!u(m,C))throw new TypeError("IO.ap: IO required");return T(function(O){return C.map(O)})}function T(C){if(!i(C))throw new TypeError("IO.chain: Function required");return m(function(){var O=C(g());if(!u(m,O))throw new TypeError("IO.chain: Function must return an IO");return O.run()})}return{inspect:v,run:g,type:a,map:E,ap:w,of:h,chain:T}}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 E="000000000"+h;return E.substr(E.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),E,w=m.fingerprint(),T=u()+u();return E=i(l().toString(a),r),h+v+E+w+T};m.slug=function(){var h=new Date().getTime().toString(36),v,E=m.fingerprint().slice(0,1)+m.fingerprint().slice(-1),w=u().slice(-2);return v=l().toString(36).slice(-4),h.slice(-2)+v+E+w},m.globalCount=function(){var h=(function(){var E,w=0;for(E in window)w++;return w})();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,E,w;return arguments.length<2||typeof l!="string"?(E=m,m=l,l=null):E=arguments[2],n(l)?(g=i.call(l,"c"),h=i.call(l,"e"),v=i.call(l,"w")):(g=v=!0,h=!1),w={value:m,configurable:g,enumerable:h,writable:v},E?a(s(E),w):w};u.gs=function(l,m,g){var h,v,E,w;return typeof l!="string"?(E=g,g=m,m=l,l=null):E=arguments[3],n(m)?r(m)?n(g)?r(g)||(E=g,g=void 0):g=void 0:(E=m,m=g=void 0):m=void 0,n(l)?(h=i.call(l,"c"),v=i.call(l,"e")):(h=!0,v=!1),w={get:m,set:g,configurable:h,enumerable:v},E?a(s(E),w):w}},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,E;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)&&(E=this[g],n(E)))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},E=Object.defineProperty;f.exports=function(w){var T=arguments[1],C=arguments[2],O,R,B,M,F,H,U,W,X,te;if(w=Object(u(w)),l(T)&&i(T),!this||this===Array||!a(this)){if(!T){if(r(w))return F=w.length,F!==1?Array.apply(null,w):(M=new Array(1),M[0]=w[0],M);if(g(w)){for(M=new Array(F=w.length),R=0;R<F;++R)M[R]=w[R];return M}}M=[]}else O=this;if(!g(w)){if((X=w[n])!==void 0){for(U=i(X).call(w),O&&(M=new O),W=U.next(),R=0;!W.done;)te=T?h.call(T,C,W.value,R):W.value,O?(v.value=te,E(M,R,v)):M[R]=te,W=U.next(),++R;F=R}else if(m(w)){for(F=w.length,O&&(M=new O),R=0,B=0;R<F;++R)te=w[R],R+1<F&&(H=te.charCodeAt(0),H>=55296&&H<=56319&&(te+=w[++R])),te=T?h.call(T,C,te,B):te,O?(v.value=te,E(M,B,v)):M[B]=te,++B;F=B}}if(F===void 0)for(F=s(w.length),O&&(M=new O(F)),R=0;R<F;++R)te=T?h.call(T,C,w[R],R):w[R],O?(v.value=te,E(M,R,v)):M[R]=te;return O&&(v.value=null,M.length=F),M}},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,E=arguments[2],w=arguments[3];return g=Object(r(g)),n(h),v=i(g),w&&v.sort(typeof w=="function"?a.call(w,g):void 0),typeof l!="function"&&(l=v[l]),s.call(l,v,function(T,C){return u.call(g,T)?s.call(h,E,g[T],T,g,C):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,E;if(typeof a=="function")try{String(a()),E=!0}catch{}else a=null;v=function(T){if(this instanceof v)throw new TypeError("Symbol is not a constructor");return h(T)},f.exports=h=function w(T){var C;if(this instanceof w)throw new TypeError("Symbol is not a constructor");return E?a(T):(C=l(v.prototype),T=T===void 0?"":String(T),m(C,{__description__:n("",T),__name__:n("",s(T))}))},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 w=r(this);return typeof w=="symbol"?w:w.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,E,w,T,C,O;h=function(R,B){var M;return r(B),m.call(this,"__ee__")?M=this.__ee__:(M=g.value=i(null),u(this,"__ee__",g),g.value=null),M[R]?typeof M[R]=="object"?M[R].push(B):M[R]=[M[R],B]:M[R]=B,this},v=function(R,B){var M,F;return r(B),F=this,h.call(this,R,M=function(){E.call(F,R,M),a.call(B,this,arguments)}),M.__eeOnceListener__=B,this},E=function(R,B){var M,F,H,U;if(r(B),!m.call(this,"__ee__"))return this;if(M=this.__ee__,!M[R])return this;if(F=M[R],typeof F=="object")for(U=0;H=F[U];++U)(H===B||H.__eeOnceListener__===B)&&(F.length===2?M[R]=F[U?0:1]:F.splice(U,1));else(F===B||F.__eeOnceListener__===B)&&delete M[R];return this},w=function(R){var B,M,F,H,U;if(m.call(this,"__ee__")&&(H=this.__ee__[R],!!H))if(typeof H=="object"){for(M=arguments.length,U=new Array(M-1),B=1;B<M;++B)U[B-1]=arguments[B];for(H=H.slice(),B=0;F=H[B];++B)a.call(F,this,U)}else switch(arguments.length){case 1:s.call(H,this);break;case 2:s.call(H,this,arguments[1]);break;case 3:s.call(H,this,arguments[1],arguments[2]);break;default:for(M=arguments.length,U=new Array(M-1),B=1;B<M;++B)U[B-1]=arguments[B];a.call(H,this,U)}},T={on:h,once:v,off:E,emit:w},C={on:n(h),once:n(v),off:n(E),emit:n(w)},O=l({}
600,C),f.exports=d=function(R){return R==null?i(O):l(Object(R),C)},d.methods=T},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,E=a.fetch,w=a.Response,T=a.TextDecoder,C=a.TextEncoder,O=a.AbortController;if(typeof window<"u"&&!("readyState"in h)&&h.body==null&&(h.readyState="loading",window.addEventListener("load",function(pt){h.readyState="complete"},!1)),u==null&&(u=function(){return new m("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(pt){function et(){}return et.prototype=pt,new et}),O==null){var R=E;E=function(pt,et){var wr=et.signal;return R(pt,{headers:et.headers,credentials:et.credentials,cache:et.cache}).then(function(Dr){var Sr=Dr.body.getReader();return wr._reader=Sr,wr._aborted&&wr._reader.cancel(),{status:Dr.status,statusText:Dr.statusText,headers:Dr.headers,body:{getReader:function(){return Sr}}}})},O=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function B(){this.bitsNeeded=0,this.codePoint=0}B.prototype.decode=function(pt){function et(Nr,un,Xt){if(Xt===1)return Nr>=128>>un&&Nr<<un<=2047;if(Xt===2)return Nr>=2048>>un&&Nr<<un<=55295||Nr>=57344>>un&&Nr<<un<=65535;if(Xt===3)return Nr>=65536>>un&&Nr<<un<=1114111;throw new Error}function wr(Nr,un){if(Nr===6)return un>>6>15?3:un>31?2:1;if(Nr===12)return un>15?3:2;if(Nr===18)return 3;throw new Error}for(var Dr=65533,Sr="",kr=this.bitsNeeded,qt=this.codePoint,Sn=0;Sn<pt.length;Sn+=1){var dr=pt[Sn];kr!==0&&(dr<128||dr>191||!et(qt<<6|dr&63,kr-6,wr(kr,qt)))&&(kr=0,qt=Dr,Sr+=String.fromCharCode(qt)),kr===0?(dr>=0&&dr<=127?(kr=0,qt=dr):dr>=192&&dr<=223?(kr=6,qt=dr&31):dr>=224&&dr<=239?(kr=12,qt=dr&15):dr>=240&&dr<=247?(kr=18,qt=dr&7):(kr=0,qt=Dr),kr!==0&&!et(qt,kr,wr(kr,qt))&&(kr=0,qt=Dr)):(kr-=6,qt=qt<<6|dr&63),kr===0&&(qt<=65535?Sr+=String.fromCharCode(qt):(Sr+=String.fromCharCode(55296+(qt-65535-1>>10)),Sr+=String.fromCharCode(56320+(qt-65535-1&1023))))}return this.bitsNeeded=kr,this.codePoint=qt,Sr};var M=function(){try{return new T().decode(new C().encode("test"),{stream:!0})==="test"}catch(pt){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+pt)}return!1};(T==null||C==null||!M())&&(T=B);var F=function(){};function H(pt){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=F,this.onload=F,this.onerror=F,this.onreadystatechange=F,this._contentType="",this._xhr=pt,this._sendTimeout=0,this._abort=F}H.prototype.open=function(pt,et){this._abort(!0);var wr=this,Dr=this._xhr,Sr=1,kr=0;this._abort=function(Xt){wr._sendTimeout!==0&&(i(wr._sendTimeout),wr._sendTimeout=0),(Sr===1||Sr===2||Sr===3)&&(Sr=4,Dr.onload=F,Dr.onerror=F,Dr.onabort=F,Dr.onprogress=F,Dr.onreadystatechange=F,Dr.abort(),kr!==0&&(i(kr),kr=0),Xt||(wr.readyState=4,wr.onabort(null),wr.onreadystatechange())),Sr=0};var qt=function(){if(Sr===1){var Xt=0,br="",$t=void 0;if("contentType"in Dr)Xt=200,br="OK",$t=Dr.contentType;else try{Xt=Dr.status,br=Dr.statusText,$t=Dr.getResponseHeader("Content-Type")}catch{Xt=0,br="",$t=void 0}Xt!==0&&(Sr=2,wr.readyState=2,wr.status=Xt,wr.statusText=br,wr._contentType=$t,wr.onreadystatechange())}},Sn=function(){if(qt(),Sr===2||Sr===3){Sr=3;var Xt="";try{Xt=Dr.responseText}catch{}wr.readyState=3,wr.responseText=Xt,wr.onprogress()}},dr=function(Xt,br){if((br==null||br.preventDefault==null)&&(br={preventDefault:F}),Sn(),Sr===1||Sr===2||Sr===3){if(Sr=4,kr!==0&&(i(kr),kr=0),wr.readyState=4,Xt==="load")wr.onload(br);else if(Xt==="error")wr.onerror(br);else if(Xt==="abort")wr.onabort(br);else throw new TypeError;wr.onreadystatechange()}},Nr=function(Xt){Dr!=null&&(Dr.readyState===4?(!("onload"in Dr)||!("onerror"in Dr)||!("onabort"in Dr))&&dr(Dr.responseText===""?"error":"load",Xt):Dr.readyState===3?"onprogress"in Dr||Sn():Dr.readyState===2&&qt())},un=function(){kr=s(function(){un()},500),Dr.readyState===3&&Sn()};
604"onload"in Dr&&(Dr.onload=function(Xt){dr("load",Xt)}),"onerror"in Dr&&(Dr.onerror=function(Xt){dr("error",Xt)}),"onabort"in Dr&&(Dr.onabort=function(Xt){dr("abort",Xt)}),"onprogress"in Dr&&(Dr.onprogress=Sn),"onreadystatechange"in Dr&&(Dr.onreadystatechange=function(Xt){Nr(Xt)}),("contentType"in Dr||!("ontimeout"in u.prototype))&&(et+=(et.indexOf("?")===-1?"?":"&")+"padding=true"),Dr.open(pt,et,!0),"readyState"in Dr&&(kr=s(function(){un()},0))},H.prototype.abort=function(){this._abort(!1)},H.prototype.getResponseHeader=function(pt){return this._contentType},H.prototype.setRequestHeader=function(pt,et){var wr=this._xhr;"setRequestHeader"in wr&&wr.setRequestHeader(pt,et)},H.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},H.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 pt=this;pt._sendTimeout=s(function(){pt._sendTimeout=0,pt.send()},4);return}var et=this._xhr;"withCredentials"in et&&(et.withCredentials=this.withCredentials);try{et.send(void 0)}catch(wr){throw wr}};function U(pt){return pt.replace(/[A-Z]/g,function(et){return String.fromCharCode(et.charCodeAt(0)+32)})}function W(pt){for(var et=Object.create(null),wr=pt.split(`\r 605`),Dr=0;Dr<wr.length;Dr+=1){var Sr=wr[Dr],kr=Sr.split(": "),qt=kr.shift(),Sn=kr.join(": ");et[U(qt)]=Sn}this._map=et}W.prototype.get=function(pt){return this._map[U(pt)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function X(){}X.prototype.open=function(pt,et,wr,Dr,Sr,kr,qt){pt.open("GET",Sr);var Sn=0;pt.onprogress=function(){var Nr=pt.responseText,un=Nr.slice(Sn);Sn+=un.length,wr(un)},pt.onerror=function(Nr){Nr.preventDefault(),Dr(new Error("NetworkError"))},pt.onload=function(){Dr(null)},pt.onabort=function(){Dr(null)},pt.onreadystatechange=function(){if(pt.readyState===u.HEADERS_RECEIVED){var Nr=pt.status,un=pt.statusText,Xt=pt.getResponseHeader("Content-Type"),br=pt.getAllResponseHeaders();et(Nr,un,Xt,new W(br))}},pt.withCredentials=kr;for(var dr in qt)Object.prototype.hasOwnProperty.call(qt,dr)&&pt.setRequestHeader(dr,qt[dr]);return pt.send(),pt};function te(pt){this._headers=pt}te.prototype.get=function(pt){return this._headers.get(pt)};function q(){}q.prototype.open=function(pt,et,wr,Dr,Sr,kr,qt){var Sn=null,dr=new O,Nr=dr.signal,un=new T;return E(Sr,{headers:qt,credentials:kr?"include":"same-origin",signal:Nr,cache:"no-store"}).then(function(Xt){return Sn=Xt.body.getReader(),et(Xt.status,Xt.statusText,Xt.headers.get("Content-Type"),new te(Xt.headers)),new v(function(br,$t){var wt=function(){Sn.read().then(function(Ar){if(Ar.done)br(void 0);else{var Q=un.decode(Ar.value,{stream:!0});wr(Q),wt()}}).catch(function(Ar){$t(Ar)})};wt()})}).catch(function(Xt){if(Xt.name!=="AbortError")return Xt}).then(function(Xt){Dr(Xt)}),{abort:function(){Sn?.cancel(),dr.abort()}}};function ae(){this._listeners=Object.create(null)}function le(pt){s(function(){throw pt},0)}ae.prototype.dispatchEvent=function(pt){pt.target=this;var et=this._listeners[pt.type];if(et!=null)for(var wr=et.length,Dr=0;Dr<wr;Dr+=1){var Sr=et[Dr];try{typeof Sr.handleEvent=="function"?Sr.handleEvent(pt):Sr.call(this,pt)}catch(kr){le(kr)}}},ae.prototype.addEventListener=function(pt,et){pt=String(pt);var wr=this._listeners,Dr=wr[pt];Dr==null&&(Dr=[],wr[pt]=Dr);for(var Sr=!1,kr=0;kr<Dr.length;kr+=1)Dr[kr]===et&&(Sr=!0);Sr||Dr.push(et)},ae.prototype.removeEventListener=function(pt,et){pt=String(pt);var wr=this._listeners,Dr=wr[pt];if(Dr!=null){for(var Sr=[],kr=0;kr<Dr.length;kr+=1)Dr[kr]!==et&&Sr.push(Dr[kr]);Sr.length===0?delete wr[pt]:wr[pt]=Sr}};function pe(pt){this.type=pt,this.target=void 0}function ge(pt,et){pe.call(this,pt),this.data=et.data,this.lastEventId=et.lastEventId}ge.prototype=Object.create(pe.prototype);function Ie(pt,et){pe.call(this,pt),this.status=et.status,this.statusText=et.statusText,this.headers=et.headers}Ie.prototype=Object.create(pe.prototype);function Ce(pt,et){pe.call(this,pt),this.error=et.error}Ce.prototype=Object.create(pe.prototype);var Je=-1,qe=0,ye=1,xe=2,De=-1,Fe=0,be=1,ke=2,Ge=3,Xe=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,At=1e3,yt=18e6,kt=function(pt,et){var wr=pt==null?et:parseInt(pt,10);return wr!==wr&&(wr=et),Nt(wr)},Nt=function(pt){return Math.min(Math.max(pt,At),yt)}
605,Ir=function(pt,et,wr){try{typeof et=="function"&&et.call(pt,wr)}catch(Dr){le(Dr)}};function yr(pt,et){ae.call(this),et=et||{},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,sn(this,pt,et)}function Wr(){return u!=null&&"withCredentials"in u.prototype||l==null?new u:new l}var $r=E!=null&&w!=null&&"body"in w.prototype;function sn(pt,et,wr){et=String(et);var Dr=!!wr.withCredentials,Sr=Nt(1e3),kr=kt(wr.heartbeatTimeout,45e3),qt="",Sn=Sr,dr=!1,Nr=0,un=wr.headers||{},Xt=wr.Transport,br=$r&&Xt==null?void 0:new H(Xt!=null?new Xt:Wr()),$t=Xt!=null&&typeof Xt!="string"?new Xt:br==null?new q:new X,wt=void 0,Ar=0,Q=Je,ut="",tr="",rt="",_t="",Yr=Fe,ln=0,cn=0,gn=function(bs,Di,on,fi){if(Q===qe)if(bs===200&&on!=null&&Xe.test(on)){Q=ye,dr=!0,Sn=Sr,pt.readyState=ye;var qi=new Ie("open",{status:bs,statusText:Di,headers:fi});pt.dispatchEvent(qi),Ir(pt,pt.onopen,qi)}else{var ri="";bs!==200?(Di&&(Di=Di.replace(/\s+/g," ")),ri="EventSource's response has a status "+bs+" "+Di+" that is not 200. Aborting the connection."):ri="EventSource's response has a Content-Type specifying an unsupported type: "+(on==null?"-":on.replace(/\s+/g," "))+". Aborting the connection.",Ur();var qi=new Ie("error",{status:bs,statusText:Di,headers:fi});pt.dispatchEvent(qi),Ir(pt,pt.onerror,qi),console.error(ri)}},wi=function(bs){if(Q===ye){for(var Di=-1,on=0;on<bs.length;on+=1){var fi=bs.charCodeAt(on);(fi===10||fi===13)&&(Di=on)}var qi=(Di!==-1?_t:"")+bs.slice(0,Di+1);_t=(Di===-1?_t:"")+bs.slice(Di+1),bs!==""&&(dr=!0,Nr+=bs.length);for(var ri=0;ri<qi.length;ri+=1){var fi=qi.charCodeAt(ri);if(Yr===De&&fi===10)Yr=Fe;else if(Yr===De&&(Yr=Fe),fi===13||fi===10){if(Yr!==Fe){Yr===be&&(cn=ri+1);var Vi=qi.slice(ln,cn-1),si=qi.slice(cn+(cn<ri&&qi.charCodeAt(cn)===32?1:0),ri);Vi==="data"?(ut+=` 606`,ut+=si):Vi==="id"?tr=si:Vi==="event"?rt=si:Vi==="retry"?(Sr=kt(si,Sr),Sn=Sr):Vi==="heartbeatTimeout"&&(kr=kt(si,kr),Ar!==0&&(i(Ar),Ar=s(function(){Bi()},kr)))}if(Yr===Fe){if(ut!==""){qt=tr,rt===""&&(rt="message");var ks=new ge(rt,{data:ut.slice(1),lastEventId:tr});if(pt.dispatchEvent(ks),rt==="open"?Ir(pt,pt.onopen,ks):rt==="message"?Ir(pt,pt.onmessage,ks):rt==="error"&&Ir(pt,pt.onerror,ks),Q===xe)return}ut="",rt=""}Yr=fi===13?De:Fe}else Yr===Fe&&(ln=ri,Yr=be),Yr===be?fi===58&&(cn=ri+1,Yr=ke):Yr===ke&&(Yr=Ge)}}},ki=function(bs){if(Q===ye||Q===qe){Q=Je,Ar!==0&&(i(Ar),Ar=0),Ar=s(function(){Bi()},Sn),Sn=Nt(Math.min(Sr*16,Sn*2)),pt.readyState=qe;var Di=new Ce("error",{error:bs});pt.dispatchEvent(Di),Ir(pt,pt.onerror,Di)}},Ur=function(){Q=xe,wt!=null&&(wt.abort(),wt=void 0),Ar!==0&&(i(Ar),Ar=0),pt.readyState=xe},Bi=function(){if(Ar=0,Q!==Je){!dr&&wt!=null?(ki(new Error("No activity within "+kr+" milliseconds. "+(Q===qe?"No response received.":Nr+" chars received.")+" Reconnecting.")),wt!=null&&(wt.abort(),wt=void 0)):(dr=!1,Ar=s(function(){Bi()},kr));return}dr=!1,Nr=0,Ar=s(function(){Bi()},kr),Q=qe,ut="",rt="",tr=qt,_t="",ln=0,cn=0,Yr=Fe;var bs=et;et.slice(0,5)!=="data:"&&et.slice(0,5)!=="blob:"&&qt!==""&&(bs+=(et.indexOf("?")===-1?"?":"&")+"lastEventId="+encodeURIComponent(qt));var Di=pt.withCredentials,on={};on.Accept="text/event-stream";var fi=pt.headers;if(fi!=null)for(var qi in fi)Object.prototype.hasOwnProperty.call(fi,qi)&&(on[qi]=fi[qi]);try{wt=$t.open(br,gn,wi,ki,bs,Di,on)}catch(ri){throw Ur(),ri}};pt.url=et,pt.readyState=qe,pt.withCredentials=Dr,pt.headers=un,pt._close=Ur,Bi()}yr.prototype=Object.create(ae.prototype),yr.prototype.CONNECTING=qe,yr.prototype.OPEN=ye,yr.prototype.CLOSED=xe,yr.prototype.close=function(){this._close()},yr.CONNECTING=qe,yr.OPEN=ye,yr.CLOSED=xe,yr.prototype.withCredentials=void 0;var Hr=g;u!=null&&(g==null||!("withCredentials"in g.prototype))&&(Hr=yr),(function(pt){if(typeof f.exports=="object"){var et=pt(d);et!==void 0&&(f.exports=et)}else n=[d],e=pt,r=typeof e=="function"?e.apply(d,n):e,r!==void 0&&(f.exports=r)})(function(pt){pt.EventSourcePolyfill=yr,pt.NativeEventSource=g,pt.EventSource=Hr})})(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),E=e?e+l:l;return u._events[E]?u._events[E].fn?u._events[E]=[u._events[E],v]:u._events[E].push(v):(u._events[E]=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,E=new Array(v);h<v;h++)E[h]=g[h].fn;return E},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,E){var w=e?e+l:l;if(!this._events[w])return!1;var T=this._events[w],C=arguments.length,O,R;if(T.fn){switch(T.once&&this.removeListener(l,T.fn,void 0,!0),C){case 1:return T.fn.call(T.context),!0;case 2:return T.fn.call(T.context,m),!0;case 3:return T.fn.call(T.context,m,g),!0;case 4:return T.fn.call(T.context,m,g,h),!0;case 5:return T.fn.call(T.context,m,g,h,v),!0;case 6:return T.fn.call(T.context,m,g,h,v,E),!0}for(R=1,O=new Array(C-1);R<C;R++)O[R-1]=arguments[R];T.fn.apply(T.context,O)}else{var B=T.length,M;for(R=0;R<B;R++)switch(T[R].once&&this.removeListener(l,T[R].fn,void 0,!0),C){case 1:T[R].fn.call(T[R].context);break;case 2:T[R].fn.call(T[R].context,m);break;case 3:T[R].fn.call(T[R].context,m,g);break;case 4:T[R].fn.call(T[R].context,m,g,h);break;default:if(!O)for(M=1,O=new Array(C-1);M<C;M++)O[M-1]=arguments[M];T[R].fn.apply(T[R].context,O)}}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 E=this._events[v];if(E.fn)E.fn===m&&(!h||E.once)&&(!g||E.context===g)&&s(this,v);else{for(var w=0,T=[],C=E.length;w<C;w++)(E[w].fn!==m||h&&!E[w].once||g&&E[w].context!==g)&&T.push(E[w]);T.length?this._events[v]=T.length===1?T[0]:T: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},73267(f){"use strict";var d=typeof Reflect=="object"?Reflect:null,e=d&&typeof d.apply=="function"?d.apply:function(F,H,U){return Function.prototype.apply.call(F,H,U)},n;d&&typeof d.ownKeys=="function"?n=d.ownKeys:Object.getOwnPropertySymbols?n=function(F){return Object.getOwnPropertyNames(F).concat(Object.getOwnPropertySymbols(F))}:n=function(F){return Object.getOwnPropertyNames(F)};function r(M){console&&console.warn&&console.warn(M)}var a=Number.isNaN||function(F){return F!==F};function s(){s.init.call(this)}f.exports=s,f.exports.once=O,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var i=10;function u(M){if(typeof M!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof M)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(M){if(typeof M!="number"||M<0||a(M))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+M+".");i=M}}),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(F){if(typeof F!="number"||F<0||a(F))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+F+".");return this._maxListeners=F,this};function l(M){return M._maxListeners===void 0?s.defaultMaxListeners:M._maxListeners}s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(F){for(var H=[],U=1;U<arguments.length;U++)H.push(arguments[U]);var W=F==="error",X=this._events;if(X!==void 0)W=W&&X.error===void 0;else if(!W)return!1;if(W){var te;if(H.length>0&&(te=H[0]),te instanceof Error)throw te;var q=new Error("Unhandled error."+(te?" ("+te.message+")":""));throw q.context=te,q}var ae=X[F];if(ae===void 0)return!1;if(typeof ae=="function")e(ae,this,H);else for(var le=ae.length,pe=w(ae,le),U=0;U<le;++U)e(pe[U],this,H);return!0};function m(M,F,H,U){var W,X,te;if(u(H),X=M._events,X===void 0?(X=M._events=Object.create(null),M._eventsCount=0):(X.newListener!==void 0&&(M.emit("newListener",F,H.listener?H.listener:H),X=M._events),te=X[F]),te===void 0)te=X[F]=H,++M._eventsCount;else if(typeof te=="function"?te=X[F]=U?[H,te]:[te,H]:U?te.unshift(H):te.push(H),W=l(M),W>0&&te.length>W&&!te.warned){te.warned=!0;var q=new Error("Possible EventEmitter memory leak detected. "+te.length+" "+String(F)+" listeners added. Use emitter.setMaxListeners() to increase limit");q.name="MaxListenersExceededWarning",q.emitter=M,q.type=F,q.count=te.length,r(q)}return M}s.prototype.addListener=function(F,H){return m(this,F,H,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(F,H){return m(this,F,H,!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(M,F,H){var U={fired:!1,wrapFn:void 0,target:M,type:F,listener:H},W=g.bind(U);return W.listener=H,U.wrapFn=W,W}s.prototype.once=function(F,H){return u(H),this.on(F,h(this,F,H)),this},s.prototype.prependOnceListener=function(F,H){return u(H),this.prependListener(F,h(this,F,H)),this},s.prototype.removeListener=function(F,H){var U,W,X,te,q;if(u(H),W=this._events,W===void 0)return this;if(U=W[F],U===void 0)return this;
606if(U===H||U.listener===H)--this._eventsCount===0?this._events=Object.create(null):(delete W[F],W.removeListener&&this.emit("removeListener",F,U.listener||H));else if(typeof U!="function"){for(X=-1,te=U.length-1;te>=0;te--)if(U[te]===H||U[te].listener===H){q=U[te].listener,X=te;break}if(X<0)return this;X===0?U.shift():T(U,X),U.length===1&&(W[F]=U[0]),W.removeListener!==void 0&&this.emit("removeListener",F,q||H)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(F){var H,U,W;if(U=this._events,U===void 0)return this;if(U.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):U[F]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete U[F]),this;if(arguments.length===0){var X=Object.keys(U),te;for(W=0;W<X.length;++W)te=X[W],te!=="removeListener"&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(H=U[F],typeof H=="function")this.removeListener(F,H);else if(H!==void 0)for(W=H.length-1;W>=0;W--)this.removeListener(F,H[W]);return this};function v(M,F,H){var U=M._events;if(U===void 0)return[];var W=U[F];return W===void 0?[]:typeof W=="function"?H?[W.listener||W]:[W]:H?C(W):w(W,W.length)}s.prototype.listeners=function(F){return v(this,F,!0)},s.prototype.rawListeners=function(F){return v(this,F,!1)},s.listenerCount=function(M,F){return typeof M.listenerCount=="function"?M.listenerCount(F):E.call(M,F)},s.prototype.listenerCount=E;function E(M){var F=this._events;if(F!==void 0){var H=F[M];if(typeof H=="function")return 1;if(H!==void 0)return H.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]};function w(M,F){for(var H=new Array(F),U=0;U<F;++U)H[U]=M[U];return H}function T(M,F){for(;F+1<M.length;F++)M[F]=M[F+1];M.pop()}function C(M){for(var F=new Array(M.length),H=0;H<F.length;++H)F[H]=M[H].listener||M[H];return F}function O(M,F){return new Promise(function(H,U){function W(te){M.removeListener(F,X),U(te)}function X(){typeof M.removeListener=="function"&&M.removeListener("error",W),H([].slice.call(arguments))}B(M,F,X,{once:!0}),F!=="error"&&R(M,W,{once:!0})})}function R(M,F,H){typeof M.on=="function"&&B(M,"error",F,H)}function B(M,F,H,U){if(typeof M.on=="function")U.once?M.once(F,H):M.on(F,H);else if(typeof M.addEventListener=="function")M.addEventListener(F,function W(X){U.once&&M.removeEventListener(F,W),H(X)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof M)}},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,E=void 0,w=void 0,T=void 0,C=void 0,O=void 0,R=void 0,B=void 0,M=void 0,F=void 0,H=void 0;if(isNaN(s))throw new Error("Invalid arguments");return h=i.bits===!0,B=i.unix===!0,g=i.base||2,R=i.round!==void 0?i.round:B?1:2,M=i.spacer!==void 0?i.spacer:B?"":" ",H=i.symbols||i.suffixes||{},F=g===2&&i.standard||"jedec",O=i.output||"string",E=i.fullform===!0,w=i.fullforms instanceof Array?i.fullforms:[],m=i.exponent!==void 0?i.exponent:-1,C=Number(s),T=C<0,v=g>2?1e3:1024,T&&(C=-C),(m===-1||isNaN(m))&&(m=Math.floor(Math.log(C)/Math.log(v)),m<0&&(m=0)),m>8&&(m=8),C===0?(u[0]=0,u[1]=B?"":n[F][h?"bits":"bytes"][m]):(l=C/(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?R:0)),u[1]=g===10&&m===1?h?"kb":"kB":n[F][h?"bits":"bytes"][m],B&&(u[1]=F==="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]=""))),T&&(u[0]=-u[0]),u[1]=H[u[1]]||u[1],O==="array"?u:O==="exponent"?m:O==="object"?{value:u[0],suffix:u[1],symbol:u[1]}:(E&&(u[1]=w[m]?w[m]:r[F][m]+(h?"bit":"byte")+(u[0]===1?"":"s")),u.join(M))}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(T,C){document.addEventListener?T.addEventListener("scroll",C,!1):T.attachEvent("scroll",C)}function e(T){document.body?T():document.addEventListener?document.addEventListener("DOMContentLoaded",function C(){document.removeEventListener("DOMContentLoaded",C),T()}):document.attachEvent("onreadystatechange",function C(){(document.readyState=="interactive"||document.readyState=="complete")&&(document.detachEvent("onreadystatechange",C),T())})}function n(T){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(T)),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(T,C){T.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:"+C+";"}function a(T){var C=T.a.offsetWidth,O=C+100;return T.f.style.width=O+"px",T.c.scrollLeft=O,T.b.scrollLeft=T.b.scrollWidth+100,T.g!==C?(T.g=C,!0):!1}function s(T,C){function O(){var B=R;a(B)&&B.a.parentNode&&C(B.g)}var R=T;d(T.b,O),d(T.c,O),a(T)}function i(T,C){var O=C||{};this.family=T,this.style=O.style||"normal",this.weight=O.weight||"normal",this.stretch=O.stretch||"normal"}var u=null,l=null,m=null,g=null;function h(){if(l===null)if(v()&&/Apple/.test(window.navigator.vendor)){var T=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);l=!!T&&603>parseInt(T[1],10)}else l=!1;return l}function v(){return g===null&&(g=!!document.fonts),g}function E(){if(m===null){var T=document.createElement("div");try{T.style.font="condensed 100px sans-serif"}catch{}m=T.style.font!==""}return m}function w(T,C){return[T.style,T.weight,E()?T.stretch:"","100px",C].join(" ")}i.prototype.load=function(T,C){var O=this,R=T||"BESbswy",B=0,M=C||3e3,F=new Date().getTime();return new Promise(function(H,U){if(v()&&!h()){var W=new Promise(function(te,q){function ae(){new Date().getTime()-F>=M?q(Error(""+M+"ms timeout exceeded")):document.fonts.load(w(O,'"'+O.family+'"'),R).then(function(le){1<=le.length?te():setTimeout(ae,25)},q)}ae()}),X=new Promise(function(te,q){B=setTimeout(function(){q(Error(""+M+"ms timeout exceeded"))},M)});Promise.race([X,W]).then(function(){clearTimeout(B),H(O)},U)}else e(function(){function te(){var De;(De=ge!=-1&&Ie!=-1||ge!=-1&&Ce!=-1||Ie!=-1&&Ce!=-1)&&((De=ge!=Ie&&ge!=Ce&&Ie!=Ce)||(u===null&&(De=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),u=!!De&&(536>parseInt(De[1],10)||parseInt(De[1],10)===536&&11>=parseInt(De[2],10))),De=u&&(ge==Je&&Ie==Je&&Ce==Je||ge==qe&&Ie==qe&&Ce==qe||ge==ye&&Ie==ye&&Ce==ye)),De=!De),De&&(xe.parentNode&&xe.parentNode.removeChild(xe),clearTimeout(B),H(O))}function q(){if(new Date().getTime()-F>=M)xe.parentNode&&xe.parentNode.removeChild(xe),U(Error(""+M+"ms timeout exceeded"));else{var De=document.hidden;(De===!0||De===void 0)&&(ge=ae.a.offsetWidth,Ie=le.a.offsetWidth,Ce=pe.a.offsetWidth,te()),B=setTimeout(q,50)}}var ae=new n(R),le=new n(R),pe=new n(R),ge=-1,Ie=-1,Ce=-1,Je=-1,qe=-1,ye=-1,xe=document.createElement("div");xe.dir="ltr",r(ae,w(O,"sans-serif")),r(le,w(O,"serif")),r(pe,w(O,"monospace")),xe.appendChild(ae.a),xe.appendChild(le.a),xe.appendChild(pe.a),document.body.appendChild(xe),Je=ae.a.offsetWidth,qe=le.a.offsetWidth,ye=pe.a.offsetWidth,q(),s(ae,function(De){ge=De,te()}
612),r(ae,w(O,'"'+O.family+'",sans-serif')),s(le,function(De){Ie=De,te()}),r(le,w(O,'"'+O.family+'",serif')),s(pe,function(De){Ce=De,te()}),r(pe,w(O,'"'+O.family+'",monospace'))})})},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 O=m.apply(this,a(g,arguments));return Object(O)===O?O:this}return m.apply(l,a(g,arguments))},E=n(0,m.length-g.length),w=[],T=0;T<E;T++)w[T]="$"+T;if(h=Function("binder","return function ("+i(w,",")+"){ return binder.apply(this,arguments); }")(v),m.prototype){var C=function(){};C.prototype=m.prototype,h.prototype=new C,C.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),E=e(88346),w=e(5076),T=e(14982),C=e(2208),O=e(49219),R=Function,B=function(Nt){try{return R('"use strict"; return ('+Nt+").constructor;")()}catch{}},M=e(58455),F=e(41714),H=function(){throw new m},U=M?(function(){try{return arguments.callee,H}catch{try{return M(arguments,"callee").get}catch{return H}}})():H,W=e(98078)(),X=e(6848),te=e(80100),q=e(1852),ae=e(38799),le=e(98803),pe={},ge=typeof Uint8Array>"u"||!X?n:X(Uint8Array),Ie={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":W&&X?X([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":pe,"%AsyncGenerator%":pe,"%AsyncGeneratorFunction%":pe,"%AsyncIteratorPrototype%":pe,"%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%":R,"%GeneratorFunction%":pe,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 5,254 bytes, line 612
612"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":W&&X?X(X([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!W||!X?n:X(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":M,"%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"||!W||!X?n:X(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":W&&X?X(""[Symbol.iterator]()):n,"%Symbol%":W?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":U,"%TypedArray%":ge,"%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%":ae,"%Object.defineProperty%":F,"%Object.getPrototypeOf%":te,"%Math.abs%":h,"%Math.floor%":v,"%Math.max%":E,"%Math.min%":w,"%Math.pow%":T,"%Math.round%":C,"%Math.sign%":O,"%Reflect.getPrototypeOf%":q};if(X)try{null.error}catch(Nt){var Ce=X(X(Nt));Ie["%Error.prototype%"]=Ce}var Je=function Nt(Ir){var yr;if(Ir==="%AsyncFunction%")yr=B("async function () {}");else if(Ir==="%GeneratorFunction%")yr=B("function* () {}");else if(Ir==="%AsyncGeneratorFunction%")yr=B("async function* () {}");else if(Ir==="%AsyncGenerator%"){var Wr=Nt("%AsyncGeneratorFunction%");Wr&&(yr=Wr.prototype)}else if(Ir==="%AsyncIteratorPrototype%"){var $r=Nt("%AsyncGenerator%");$r&&X&&(yr=X($r.prototype))}return Ie[Ir]=yr,yr},qe={__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"]},ye=e(29800),xe=e(83954),De=ye.call(le,Array.prototype.concat),Fe=ye.call(ae,Array.prototype.splice),be=ye.call(le,String.prototype.replace),ke=ye.call(le,String.prototype.slice),Ge=ye.call(le,RegExp.prototype.exec),Xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,At=/\\(\\)?/g,yt=function(Ir){var yr=ke(Ir,0,1),Wr=ke(Ir,-1);if(yr==="%"&&Wr!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(Wr==="%"&&yr!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var $r=[];return be(Ir,Xe,function(sn,Hr,pt,et){$r[$r.length]=pt?be(et,At,"$1"):Hr||sn}),$r},kt=function(Ir,yr){var Wr=Ir,$r;
612if(xe(qe,Wr)&&($r=qe[Wr],Wr="%"+$r[0]+"%"),xe(Ie,Wr)){var sn=Ie[Wr];if(sn===pe&&(sn=Je(Wr)),typeof sn>"u"&&!yr)throw new m("intrinsic "+Ir+" exists, but is not available. Please file an issue!");return{alias:$r,name:Wr,value:sn}}throw new l("intrinsic "+Ir+" does not exist!")};f.exports=function(Ir,yr){if(typeof Ir!="string"||Ir.length===0)throw new m("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof yr!="boolean")throw new m('"allowMissing" argument must be a boolean');if(Ge(/^%?[^%]*%?$/,Ir)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Wr=yt(Ir),$r=Wr.length>0?Wr[0]:"",sn=kt("%"+$r+"%",yr),Hr=sn.name,pt=sn.value,et=!1,wr=sn.alias;wr&&($r=wr[0],Fe(Wr,De([0,1],wr)));for(var Dr=1,Sr=!0;Dr<Wr.length;Dr+=1){var kr=Wr[Dr],qt=ke(kr,0,1),Sn=ke(kr,-1);if((qt==='"'||qt==="'"||qt==="`"||Sn==='"'||Sn==="'"||Sn==="`")&&qt!==Sn)throw new l("property names with quotes must have matching quotes");if((kr==="constructor"||!Sr)&&(et=!0),$r+="."+kr,Hr="%"+$r+"%",xe(Ie,Hr))pt=Ie[Hr];else if(pt!=null){if(!(kr in pt)){if(!yr)throw new m("base intrinsic for "+Ir+" exists, but the property is not available.");return}if(M&&Dr+1>=Wr.length){var dr=M(pt,kr);Sr=!!dr,Sr&&"get"in dr&&!("originalValue"in dr.get)?pt=dr.get:pt=pt[kr]}else Sr=xe(pt,kr),pt=pt[kr];Sr&&!et&&(Ie[Hr]=pt)}}return pt}},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(V,$){var ne=Object.keys(V);if(Object.getOwnPropertySymbols){var me=Object.getOwnPropertySymbols(V);$&&(me=me.filter((function(Oe){return Object.getOwnPropertyDescriptor(V,Oe).enumerable}))),ne.push.apply(ne,me)}return ne}function r(V){for(var $=1;$<arguments.length;$++){var ne=arguments[$]!=null?arguments[$]:{};$%2?n(Object(ne),!0).forEach((function(me){l(V,me,ne[me])})):Object.getOwnPropertyDescriptors?Object.defineProperties(V,Object.getOwnPropertyDescriptors(ne)):n(Object(ne)).forEach((function(me){Object.defineProperty(V,me,Object.getOwnPropertyDescriptor(ne,me))}))}return V}function a(V){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function($){return typeof $}:function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},a(V)}function s(V,$){if(!(V instanceof $))throw new TypeError("Cannot call a class as a function")}function i(V,$){for(var ne=0;ne<$.length;ne++){var me=$[ne];me.enumerable=me.enumerable||!1,me.configurable=!0,"value"in me&&(me.writable=!0),Object.defineProperty(V,T(me.key),me)}}function u(V,$,ne){return $&&i(V.prototype,$),ne&&i(V,ne),Object.defineProperty(V,"prototype",{writable:!1}),V}function l(V,$,ne){return($=T($))in V?Object.defineProperty(V,$,{value:ne,enumerable:!0,configurable:!0,writable:!0}):V[$]=ne,V}function m(V,$){if(typeof $!="function"&&$!==null)throw new TypeError("Super expression must either be null or a function");V.prototype=Object.create($&&$.prototype,{constructor:{value:V,writable:!0,configurable:!0}}),Object.defineProperty(V,"prototype",{writable:!1}),$&&h(V,$)}function g(V){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function($){return $.__proto__||Object.getPrototypeOf($)},g(V)}
vendor: 101,052 bytes, line 612
612function h(V,$){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ne,me){return ne.__proto__=me,ne},h(V,$)}function v(V){if(V===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return V}function E(V){var $=(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 ne,me=g(V);if($){var Oe=g(this).constructor;ne=Reflect.construct(me,arguments,Oe)}else ne=me.apply(this,arguments);return(function(ze,nt){if(nt&&(typeof nt=="object"||typeof nt=="function"))return nt;if(nt!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(ze)})(this,ne)}}function w(){return w=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(V,$,ne){var me=(function(ze,nt){for(;!Object.prototype.hasOwnProperty.call(ze,nt)&&(ze=g(ze))!==null;);return ze})(V,$);if(me){var Oe=Object.getOwnPropertyDescriptor(me,$);return Oe.get?Oe.get.call(arguments.length<3?V:ne):Oe.value}},w.apply(this,arguments)}function T(V){var $=(function(ne,me){if(typeof ne!="object"||ne===null)return ne;var Oe=ne[Symbol.toPrimitive];if(Oe!==void 0){var ze=Oe.call(ne,me||"default");if(typeof ze!="object")return ze;throw new TypeError("@@toPrimitive must return a primitive value.")}return(me==="string"?String:Number)(ne)})(V,"string");return typeof $=="symbol"?$:$+""}var C=function(V){return!(!V||!V.Window)&&V instanceof V.Window},O=void 0,R=void 0;function B(V){O=V;var $=V.document.createTextNode("");$.ownerDocument!==V.document&&typeof V.wrap=="function"&&V.wrap($)===$&&(V=V.wrap(V)),R=V}function M(V){return C(V)?V:(V.ownerDocument||V).defaultView||R.window}typeof window<"u"&&window&&B(window);var F=function(V){return!!V&&a(V)==="object"},H=function(V){return typeof V=="function"},U={window:function(V){return V===R||C(V)},docFrag:function(V){return F(V)&&V.nodeType===11},object:F,func:H,number:function(V){return typeof V=="number"},bool:function(V){return typeof V=="boolean"},string:function(V){return typeof V=="string"},element:function(V){if(!V||a(V)!=="object")return!1;var $=M(V)||R;return/object|function/.test(typeof Element>"u"?"undefined":a(Element))?V instanceof Element||V instanceof $.Element:V.nodeType===1&&typeof V.nodeName=="string"},plainObject:function(V){return F(V)&&!!V.constructor&&/function Object\b/.test(V.constructor.toString())},array:function(V){return F(V)&&V.length!==void 0&&H(V.splice)}};function W(V){var $=V.interaction;if($.prepared.name==="drag"){var ne=$.prepared.axis;ne==="x"?($.coords.cur.page.y=$.coords.start.page.y,$.coords.cur.client.y=$.coords.start.client.y,$.coords.velocity.client.y=0,$.coords.velocity.page.y=0):ne==="y"&&($.coords.cur.page.x=$.coords.start.page.x,$.coords.cur.client.x=$.coords.start.client.x,$.coords.velocity.client.x=0,$.coords.velocity.page.x=0)}}function X(V){var $=V.iEvent,ne=V.interaction;if(ne.prepared.name==="drag"){var me=ne.prepared.axis;if(me==="x"||me==="y"){var Oe=me==="x"?"y":"x";$.page[Oe]=ne.coords.start.page[Oe],$.client[Oe]=ne.coords.start.client[Oe],$.delta[Oe]=0}}}var te={id:"actions/drag",install:function(V){var $=V.actions,ne=V.Interactable,me=V.defaults;ne.prototype.draggable=te.draggable,$.map.drag=te,$.methodDict.drag="draggable",me.actions.drag=te.defaults},listeners:{"interactions:before-action-move":W,"interactions:action-resume":W,"interactions:action-move":X,"auto-start:check":function(V){var $=V.interaction,ne=V.interactable,me=V.buttons,Oe=ne.options.drag;if(Oe&&Oe.enabled&&(!$.pointerIsDown||!/mouse|pointer/.test($.pointerType)||(me&ne.options.drag.mouseButtons)!=0))return V.action={name:"drag",axis:Oe.lockAxis==="start"?Oe.startAxis:Oe.lockAxis},!1}},draggable:function(V){return U.object(V)?(this.options.drag.enabled=V.enabled!==!1,this.setPerAction("drag",V),this.setOnEvents("drag",V),/^(xy|x|y|start)$/.test(V.lockAxis)&&(this.options.drag.lockAxis=V.lockAxis),/^(xy|x|y)$/.test(V.startAxis)&&(this.options.drag.startAxis=V.startAxis),this):U.bool(V)?(this.options.drag.enabled=V,this):this.options.drag},beforeMove:W,move:X,defaults:{startAxis:"xy",lockAxis:"xy"},getCursor:function(){return"move"},filterEventType:function(V){return V.search("drag")===0}},q=te,ae={init:function(V){var $=V;ae.document=$.document,ae.DocumentFragment=$.DocumentFragment||le,ae.SVGElement=$.SVGElement||le,ae.SVGSVGElement=$.SVGSVGElement||le,ae.SVGElementInstance=$.SVGElementInstance||le,ae.Element=$.Element||le,ae.HTMLElement=$.HTMLElement||ae.Element,ae.Event=$.Event,ae.Touch=$.Touch||le,ae.PointerEvent=$.PointerEvent||$.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function le(){}var pe=ae,ge={init:function(V){var $=pe.Element,ne=V.navigator||{};ge.supportsTouch="ontouchstart"in V||U.func(V.DocumentTouch)&&pe.document instanceof V.DocumentTouch,ge.supportsPointerEvent=ne.pointerEnabled!==!1&&!!pe.PointerEvent,ge.isIOS=/iP(hone|od|ad)/.test(ne.platform),ge.isIOS7=/iP(hone|od|ad)/.test(ne.platform)&&/OS 7[^\d]/.test(ne.appVersion),ge.isIe9=/MSIE 9/.test(ne.userAgent),ge.isOperaMobile=ne.appName==="Opera"&&ge.supportsTouch&&/Presto/.test(ne.userAgent),ge.prefixedMatchesSelector="matches"in $.prototype?"matches":"webkitMatchesSelector"in $.prototype?"webkitMatchesSelector":"mozMatchesSelector"in $.prototype?"mozMatchesSelector":"oMatchesSelector"in $.prototype?"oMatchesSelector":"msMatchesSelector",ge.pEventTypes=ge.supportsPointerEvent?pe.PointerEvent===V.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,ge.wheelEvent=pe.document&&"onmousewheel"in pe.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},Ie=ge;function Ce(V,$){if(V.contains)return V.contains($);for(;$;){if($===V)return!0;$=$.parentNode}return!1}function Je(V,$){for(;U.element(V);){if(ye(V,$))return V;V=qe(V)}return null}function qe(V){var $=V.parentNode;if(U.docFrag($)){for(;($=$.host)&&U.docFrag($););return $}return $}function ye(V,$){return R!==O&&($=$.replace(/\/deep\//g," ")),V[Ie.prefixedMatchesSelector]($)}var xe=function(V){return V.parentNode||V.host};function De(V,$){for(var ne,me=[],Oe=V;(ne=xe(Oe))&&Oe!==$&&ne!==Oe.ownerDocument;)me.unshift(Oe),Oe=ne;return me}function Fe(V,$,ne){for(;U.element(V);){if(ye(V,$))return!0;if((V=qe(V))===ne)return ye(V,$)}return!1}function be(V){return V.correspondingUseElement||V}function ke(V){var $=V instanceof pe.SVGElement?V.getBoundingClientRect():V.getClientRects()[0];return $&&{left:$.left,right:$.right,top:$.top,bottom:$.bottom,width:$.width||$.right-$.left,height:$.height||$.bottom-$.top}}function Ge(V){var $,ne=ke(V);if(!Ie.isIOS7&&ne){var me={x:($=($=M(V))||R).scrollX||$.document.documentElement.scrollLeft,y:$.scrollY||$.document.documentElement.scrollTop};ne.left+=me.x,ne.right+=me.x,ne.top+=me.y,ne.bottom+=me.y}return ne}function Xe(V){for(var $=[];V;)$.push(V),V=qe(V);return $}function At(V){return!!U.string(V)&&(pe.document.querySelector(V),!0)}function yt(V,$){for(var ne in $)V[ne]=$[ne];return V}function kt(V,$,ne){return V==="parent"?qe(ne):V==="self"?$.getRect(ne):Je(ne,V)}function Nt(V,$,ne,me){var Oe=V;return U.string(Oe)?Oe=kt(Oe,$,ne):U.func(Oe)&&(Oe=Oe.apply(void 0,me)),U.element(Oe)&&(Oe=Ge(Oe)),Oe}function Ir(V){return V&&{x:"x"in V?V.x:V.left,y:"y"in V?V.y:V.top}}function yr(V){return!V||"x"in V&&"y"in V||((V=yt({},V)).x=V.left||0,V.y=V.top||0,V.width=V.width||(V.right||0)-V.x,V.height=V.height||(V.bottom||0)-V.y),V}function Wr(V,$,ne){V.left&&($.left+=ne.x),V.right&&($.right+=ne.x),V.top&&($.top+=ne.y),V.bottom&&($.bottom+=ne.y),$.width=$.right-$.left,$.height=$.bottom-$.top}function $r(V,$,ne){var me=ne&&V.options[ne];return Ir(Nt(me&&me.origin||V.options.origin,V,$,[V&&$]))||{x:0,y:0}}function sn(V,$){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(Dt){return!0},me=arguments.length>3?arguments[3]:void 0;if(me=me||{},U.string(V)&&V.search(" ")!==-1&&(V=Hr(V)),U.array(V))return V.forEach((function(Dt){return sn(Dt,$,ne,me)})),me;if(U.object(V)&&($=V,V=""),U.func($)&&ne(V))me[V]=me[V]||[],me[V].push($);else if(U.array($))for(var Oe=0,ze=$;Oe<ze.length;Oe++){var nt=ze[Oe];sn(V,nt,ne,me)}else if(U.object($))for(var ct in $)sn(Hr(ct).map((function(Dt){return"".concat(V).concat(Dt)})),$[ct],ne,me);return me}function Hr(V){return V.trim().split(/ +/)}var pt=function(V,$){return Math.sqrt(V*V+$*$)},et=["webkit","moz"];function wr(V,$){V.__set||(V.__set={});var ne=function(Oe){if(et.some((function(ze){return Oe.indexOf(ze)===0})))return 1;typeof V[Oe]!="function"&&Oe!=="__set"&&Object.defineProperty(V,Oe,{get:function(){return Oe in V.__set?V.__set[Oe]:V.__set[Oe]=$[Oe]},set:function(ze){V.__set[Oe]=ze},configurable:!0})};for(var me in $)ne(me);return V}function Dr(V,$){V.page=V.page||{},V.page.x=$.page.x,V.page.y=$.page.y,V.client=V.client||{},V.client.x=$.client.x,V.client.y=$.client.y,V.timeStamp=$.timeStamp}function Sr(V){V.page.x=0,V.page.y=0,V.client.x=0,V.client.y=0}function kr(V){return V instanceof pe.Event||V instanceof pe.Touch}function qt(V,$,ne){return V=V||"page",(ne=ne||{}).x=$[V+"X"],ne.y=$[V+"Y"],ne}function Sn(V,$){return $=$||{x:0,y:0},Ie.isOperaMobile&&kr(V)?(qt("screen",V,$),$.x+=window.scrollX,$.y+=window.scrollY):qt("page",V,$),$}function dr(V){return U.number(V.pointerId)?V.pointerId:V.identifier}function Nr(V,$,ne){var me=$.length>1?Xt($):$[0];Sn(me,V.page),(function(Oe,ze){ze=ze||{},Ie.isOperaMobile&&kr(Oe)?qt("screen",Oe,ze):qt("client",Oe,ze)})(me,V.client),V.timeStamp=ne}function un(V){var $=[];return U.array(V)?($[0]=V[0],$[1]=V[1]):V.type==="touchend"?V.touches.length===1?($[0]=V.touches[0],$[1]=V.changedTouches[0]):V.touches.length===0&&($[0]=V.changedTouches[0],$[1]=V.changedTouches[1]):($[0]=V.touches[0],$[1]=V.touches[1]),$}function Xt(V){for(var $={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},ne=0;ne<V.length;ne++){var me=V[ne];for(var Oe in $)$[Oe]+=me[Oe]}for(var ze in $)$[ze]/=V.length;return $}function br(V){if(!V.length)return null;var $=un(V),ne=Math.min($[0].pageX,$[1].pageX),me=Math.min($[0].pageY,$[1].pageY),Oe=Math.max($[0].pageX,$[1].pageX),ze=Math.max($[0].pageY,$[1].pageY);return{x:ne,y:me,left:ne,top:me,right:Oe,bottom:ze,width:Oe-ne,height:ze-me}}function $t(V,$){var ne=$+"X",me=$+"Y",Oe=un(V),ze=Oe[0][ne]-Oe[1][ne],nt=Oe[0][me]-Oe[1][me];return pt(ze,nt)}function wt(V,$){var ne=$+"X",me=$+"Y",Oe=un(V),ze=Oe[1][ne]-Oe[0][ne],nt=Oe[1][me]-Oe[0][me];return 180*Math.atan2(nt,ze)/Math.PI}function Ar(V){return U.string(V.pointerType)?V.pointerType:U.number(V.pointerType)?[void 0,void 0,"touch","pen","mouse"][V.pointerType]:/touch/.test(V.type||"")||V instanceof pe.Touch?"touch":"mouse"}function Q(V){var $=U.func(V.composedPath)?V.composedPath():V.path;return[be($?$[0]:V.target),be(V.currentTarget)]}var ut=(function(){function V($){s(this,V),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=$}return u(V,[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),V})();Object.defineProperty(ut.prototype,"interaction",{get:function(){return this._interaction._proxy},set:function(){}});var tr=function(V,$){for(var ne=0;ne<$.length;ne++){var me=$[ne];V.push(me)}return V},rt=function(V){return tr([],V)},_t=function(V,$){for(var ne=0;ne<V.length;ne++)if($(V[ne],ne,V))return ne;return-1},Yr=function(V,$){return V[_t(V,$)]},ln=(function(V){m(ne,V);var $=E(ne);function ne(me,Oe,ze){var nt;s(this,ne),(nt=$.call(this,Oe._interaction)).dropzone=void 0,nt.dragEvent=void 0,nt.relatedTarget=void 0,nt.draggable=void 0,nt.propagationStopped=!1,nt.immediatePropagationStopped=!1;var ct=ze==="dragleave"?me.prev:me.cur,Dt=ct.element,Zt=ct.dropzone;return nt.type=ze,nt.target=Dt,nt.currentTarget=Dt,nt.dropzone=Zt,nt.dragEvent=Oe,nt.relatedTarget=Oe.target,nt.draggable=Oe.interactable,nt.timeStamp=Oe.timeStamp,nt}return u(ne,[{key:"reject",value:function(){var me=this,Oe=this._interaction.dropState;if(this.type==="dropactivate"||this.dropzone&&Oe.cur.dropzone===this.dropzone&&Oe.cur.element===this.target)if(Oe.prev.dropzone=this.dropzone,Oe.prev.element=this.target,Oe.rejected=!0,Oe.events.enter=null,this.stopImmediatePropagation(),this.type==="dropactivate"){var ze=Oe.activeDrops,nt=_t(ze,(function(Dt){var Zt=Dt.dropzone,Ft=Dt.element;return Zt===me.dropzone&&Ft===me.target}));Oe.activeDrops.splice(nt,1);var ct=new ne(Oe,this.dragEvent,"dropdeactivate");ct.dropzone=this.dropzone,ct.target=this.target,this.dropzone.fire(ct)}else this.dropzone.fire(new ne(Oe,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}]),ne})(ut);function cn(V,$){for(var ne=0,me=V.slice();ne<me.length;ne++){var Oe=me[ne],ze=Oe.dropzone,nt=Oe.element;$.dropzone=ze,$.target=nt,ze.fire($),$.propagationStopped=$.immediatePropagationStopped=!1}}function gn(V,$){for(var ne=(function(ze,nt){for(var ct=[],Dt=0,Zt=ze.interactables.list;Dt<Zt.length;Dt++){var Ft=Zt[Dt];if(Ft.options.drop.enabled){var Rr=Ft.options.drop.accept;if(!(U.element(Rr)&&Rr!==nt||U.string(Rr)&&!ye(nt,Rr)||U.func(Rr)&&!Rr({dropzone:Ft,draggableElement:nt})))for(var Jr=0,In=Ft.getAllElements();Jr<In.length;Jr++){var Rn=In[Jr];Rn!==nt&&ct.push({dropzone:Ft,element:Rn,rect:Ft.getRect(Rn)})}}}return ct})(V,$),me=0;me<ne.length;me++){var Oe=ne[me];Oe.rect=Oe.dropzone.getRect(Oe.element)}return ne}function wi(V,$,ne){for(var me=V.dropState,Oe=V.interactable,ze=V.element,nt=[],ct=0,Dt=me.activeDrops;ct<Dt.length;ct++){var Zt=Dt[ct],Ft=Zt.dropzone,Rr=Zt.element,Jr=Zt.rect,In=Ft.dropCheck($,ne,Oe,ze,Rr,Jr);nt.push(In?Rr:null)}var Rn=(function(Jn){for(var _i,qn,Xi,cs=[],nr=0;nr<Jn.length;nr++){var Fr=Jn[nr],_r=Jn[_i];if(Fr&&nr!==_i)if(_r){var ui=xe(Fr),Ni=xe(_r);if(ui!==Fr.ownerDocument)if(Ni!==Fr.ownerDocument)if(ui!==Ni){cs=cs.length?cs:De(_r);var ci=void 0;if(_r instanceof pe.HTMLElement&&Fr instanceof pe.SVGElement&&!(Fr instanceof pe.SVGSVGElement)){if(Fr===Ni)continue;ci=Fr.ownerSVGElement}else ci=Fr;for(var ra=De(ci,_r.ownerDocument),na=0;ra[na]&&ra[na]===cs[na];)na++;var hu=[ra[na-1],ra[na],cs[na]];if(hu[0])for(var zo=hu[0].lastChild;zo;){if(zo===hu[1]){_i=nr,cs=ra;break}if(zo===hu[2])break;zo=zo.previousSibling}}else Xi=_r,(parseInt(M(qn=Fr).getComputedStyle(qn).zIndex,10)||0)>=(parseInt(M(Xi).getComputedStyle(Xi).zIndex,10)||0)&&(_i=nr);else _i=nr}else _i=nr}return _i})(nt);return me.activeDrops[Rn]||null}function ki(V,$,ne){var me=V.dropState,Oe={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return ne.type==="dragstart"&&(Oe.activate=new ln(me,ne,"dropactivate"),Oe.activate.target=null,Oe.activate.dropzone=null),ne.type==="dragend"&&(Oe.deactivate=new ln(me,ne,"dropdeactivate"),Oe.deactivate.target=null,Oe.deactivate.dropzone=null),me.rejected||(me.cur.element!==me.prev.element&&(me.prev.dropzone&&(Oe.leave=new ln(me,ne,"dragleave"),ne.dragLeave=Oe.leave.target=me.prev.element,ne.prevDropzone=Oe.leave.dropzone=me.prev.dropzone),me.cur.dropzone&&(Oe.enter=new ln(me,ne,"dragenter"),ne.dragEnter=me.cur.element,ne.dropzone=me.cur.dropzone)),ne.type==="dragend"&&me.cur.dropzone&&(Oe.drop=new ln(me,ne,"drop"),ne.dropzone=me.cur.dropzone,ne.relatedTarget=me.cur.element),ne.type==="dragmove"&&me.cur.dropzone&&(Oe.move=new ln(me,ne,"dropmove"),ne.dropzone=me.cur.dropzone)),Oe}function Ur(V,$){var ne=V.dropState,me=ne.activeDrops,Oe=ne.cur,ze=ne.prev;$.leave&&ze.dropzone.fire($.leave),$.enter&&Oe.dropzone.fire($.enter),$.move&&Oe.dropzone.fire($.move),$.drop&&Oe.dropzone.fire($.drop),$.deactivate&&cn(me,$.deactivate),ne.prev.dropzone=Oe.dropzone,ne.prev.element=Oe.element}function Bi(V,$){var ne=V.interaction,me=V.iEvent,Oe=V.event;if(me.type==="dragmove"||me.type==="dragend"){var ze=ne.dropState;$.dynamicDrop&&(ze.activeDrops=gn($,ne.element));var nt=me,ct=wi(ne,nt,Oe);ze.rejected=ze.rejected&&!!ct&&ct.dropzone===ze.cur.dropzone&&ct.element===ze.cur.element,ze.cur.dropzone=ct&&ct.dropzone,ze.cur.element=ct&&ct.element,ze.events=ki(ne,0,nt)}}var bs={id:"actions/drop",install:function(V){var $=V.actions,ne=V.interactStatic,me=V.Interactable,Oe=V.defaults;V.usePlugin(q),me.prototype.dropzone=function(ze){return(function(nt,ct){if(U.object(ct)){if(nt.options.drop.enabled=ct.enabled!==!1,ct.listeners){var Dt=sn(ct.listeners),Zt=Object.keys(Dt).reduce((function(Rr,Jr){return Rr[/^(enter|leave)/.test(Jr)?"drag".concat(Jr):/^(activate|deactivate|move)/.test(Jr)?"drop".concat(Jr):Jr]=Dt[Jr],Rr}),{}),Ft=nt.options.drop.listeners;Ft&&nt.off(Ft),nt.on(Zt),nt.options.drop.listeners=Zt}return U.func(ct.ondrop)&&nt.on("drop",ct.ondrop),U.func(ct.ondropactivate)&&nt.on("dropactivate",ct.ondropactivate),U.func(ct.ondropdeactivate)&&nt.on("dropdeactivate",ct.ondropdeactivate),U.func(ct.ondragenter)&&nt.on("dragenter",ct.ondragenter),U.func(ct.ondragleave)&&nt.on("dragleave",ct.ondragleave),U.func(ct.ondropmove)&&nt.on("dropmove",ct.ondropmove),/^(pointer|center)$/.test(ct.overlap)?nt.options.drop.overlap=ct.overlap:U.number(ct.overlap)&&(nt.options.drop.overlap=Math.max(Math.min(1,ct.overlap),0)),"accept"in ct&&(nt.options.drop.accept=ct.accept),"checker"in ct&&(nt.options.drop.checker=ct.checker),nt}return U.bool(ct)?(nt.options.drop.enabled=ct,nt):nt.options.drop})(this,ze)},me.prototype.dropCheck=function(ze,nt,ct,Dt,Zt,Ft){return(function(Rr,Jr,In,Rn,Jn,_i,qn){var Xi=!1;if(!(qn=qn||Rr.getRect(_i)))return!!Rr.options.drop.checker&&Rr.options.drop.checker(Jr,In,Xi,Rr,_i,Rn,Jn);var cs=Rr.options.drop.overlap;if(cs==="pointer"){var nr=$r(Rn,Jn,"drag"),Fr=Sn(Jr);Fr.x+=nr.x,Fr.y+=nr.y;var _r=Fr.x>qn.left&&Fr.x<qn.right,ui=Fr.y>qn.top&&Fr.y<qn.bottom;Xi=_r&&ui}var Ni=Rn.getRect(Jn);if(Ni&&cs==="center"){var ci=Ni.left+Ni.width/2,ra=Ni.top+Ni.height/2;Xi=ci>=qn.left&&ci<=qn.right&&ra>=qn.top&&ra<=qn.bottom}return Ni&&U.number(cs)&&(Xi=Math.max(0,Math.min(qn.right,Ni.right)-Math.max(qn.left,Ni.left))*Math.max(0,Math.min(qn.bottom,Ni.bottom)-Math.max(qn.top,Ni.top))/(Ni.width*Ni.height)>=cs),Rr.options.drop.checker&&(Xi=Rr.options.drop.checker(Jr,In,Xi,Rr,_i,Rn,Jn)),Xi})(this,ze,nt,ct,Dt,Zt,Ft)},ne.dynamicDrop=function(ze){return U.bool(ze)?(V.dynamicDrop=ze,ne):V.dynamicDrop},yt($.phaselessTypes,{dragenter:!0,dragleave:!0,dropactivate:!0,dropdeactivate:!0,dropmove:!0,drop:!0}),$.methodDict.drop="dropzone",V.dynamicDrop=!1,Oe.actions.drop=bs.defaults},listeners:{"interactions:before-action-start":function(V){var $=V.interaction;$.prepared.name==="drag"&&($.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:[]})},"interactions:after-action-start":function(V,$){var ne=V.interaction,me=(V.event,V.iEvent);if(ne.prepared.name==="drag"){var Oe=ne.dropState;Oe.activeDrops=[],Oe.events={},Oe.activeDrops=gn($,ne.element),Oe.events=ki(ne,0,me),Oe.events.activate&&(cn(Oe.activeDrops,Oe.events.activate),$.fire("actions/drop:start",{interaction:ne,dragEvent:me}))}},"interactions:action-move":Bi,"interactions:after-action-move":function(V,$){var ne=V.interaction,me=V.iEvent;if(ne.prepared.name==="drag"){var Oe=ne.dropState;Ur(ne,Oe.events),$.fire("actions/drop:move",{interaction:ne,dragEvent:me}),Oe.events={}}},"interactions:action-end":function(V,$){if(V.interaction.prepared.name==="drag"){var ne=V.interaction,me=V.iEvent;Bi(V,$),Ur(ne,ne.dropState.events),$.fire("actions/drop:end",{interaction:ne,dragEvent:me})}},"interactions:stop":function(V){var $=V.interaction;if($.prepared.name==="drag"){var ne=$.dropState;ne&&(ne.activeDrops=null,ne.events=null,ne.cur.dropzone=null,ne.cur.element=null,ne.prev.dropzone=null,ne.prev.element=null,ne.rejected=!1)}}},getActiveDrops:gn,getDrop:wi,getDropEvents:ki,fireDropEvents:Ur,filterEventType:function(V){return V.search("drag")===0||V.search("drop")===0},defaults:{enabled:!1,accept:null,overlap:"pointer"}},Di=bs;function on(V){var $=V.interaction,ne=V.iEvent,me=V.phase;if($.prepared.name==="gesture"){var Oe=$.pointers.map((function(Zt){return Zt.pointer})),ze=me==="start",nt=me==="end",ct=$.interactable.options.deltaSource;if(ne.touches=[Oe[0],Oe[1]],ze)ne.distance=$t(Oe,ct),ne.box=br(Oe),ne.scale=1,ne.ds=0,ne.angle=wt(Oe,ct),ne.da=0,$.gesture.startDistance=ne.distance,$.gesture.startAngle=ne.angle;else if(nt||$.pointers.length<2){var Dt=$.prevEvent;ne.distance=Dt.distance,ne.box=Dt.box,ne.scale=Dt.scale,ne.ds=0,ne.angle=Dt.angle,ne.da=0}else ne.distance=$t(Oe,ct),ne.box=br(Oe),ne.scale=ne.distance/$.gesture.startDistance,ne.angle=wt(Oe,ct),ne.ds=ne.scale-$.gesture.scale,ne.da=ne.angle-$.gesture.angle;$.gesture.distance=ne.distance,$.gesture.angle=ne.angle,U.number(ne.scale)&&ne.scale!==1/0&&!isNaN(ne.scale)&&($.gesture.scale=ne.scale)}}var fi={id:"actions/gesture",before:["actions/drag","actions/resize"],install:function(V){var $=V.actions,ne=V.Interactable,me=V.defaults;ne.prototype.gesturable=function(Oe){return U.object(Oe)?(this.options.gesture.enabled=Oe.enabled!==!1,this.setPerAction("gesture",Oe),this.setOnEvents("gesture",Oe),this):U.bool(Oe)?(this.options.gesture.enabled=Oe,this):this.options.gesture},$.map.gesture=fi,$.methodDict.gesture="gesturable",me.actions.gesture=fi.defaults},listeners:{"interactions:action-start":on,"interactions:action-move":on,"interactions:action-end":on,"interactions:new":function(V){V.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}},"auto-start:check":function(V){if(!(V.interaction.pointers.length<2)){var $=V.interactable.options.gesture;if($&&$.enabled)return V.action={name:"gesture"},!1}}},defaults:{},getCursor:function(){return""},filterEventType:function(V){return V.search("gesture")===0}},qi=fi;function ri(V,$,ne,me,Oe,ze,nt){if(!$)return!1;if($===!0){var ct=U.number(ze.width)?ze.width:ze.right-ze.left,Dt=U.number(ze.height)?ze.height:ze.bottom-ze.top;if(nt=Math.min(nt,Math.abs((V==="left"||V==="right"?ct:Dt)/2)),ct<0&&(V==="left"?V="right":V==="right"&&(V="left")),Dt<0&&(V==="top"?V="bottom":V==="bottom"&&(V="top")),V==="left"){var Zt=ct>=0?ze.left:ze.right;return ne.x<Zt+nt}if(V==="top"){var Ft=Dt>=0?ze.top:ze.bottom;return ne.y<Ft+nt}if(V==="right")return ne.x>(ct>=0?ze.right:ze.left)-nt;if(V==="bottom")return ne.y>(Dt>=0?ze.bottom:ze.top)-nt}return!!U.element(me)&&(U.element($)?$===me:Fe(me,$,Oe))}function Vi(V){var $=V.iEvent,ne=V.interaction;if(ne.prepared.name==="resize"&&ne.resizeAxes){var me=$;ne.interactable.options.resize.square?(ne.resizeAxes==="y"?me.delta.x=me.delta.y:me.delta.y=me.delta.x,me.axes="xy"):(me.axes=ne.resizeAxes,ne.resizeAxes==="x"?me.delta.y=0:ne.resizeAxes==="y"&&(me.delta.x=0))}}var si,ks,cr={id:"actions/resize",before:["actions/drag"],install:function(V){var $=V.actions,ne=V.browser,me=V.Interactable,Oe=V.defaults;cr.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"}})(ne),cr.defaultMargin=ne.supportsTouch||ne.supportsPointerEvent?20:10,me.prototype.resizable=function(ze){return(function(nt,ct,Dt){return U.object(ct)?(nt.options.resize.enabled=ct.enabled!==!1,nt.setPerAction("resize",ct),nt.setOnEvents("resize",ct),U.string(ct.axis)&&/^x$|^y$|^xy$/.test(ct.axis)?nt.options.resize.axis=ct.axis:ct.axis===null&&(nt.options.resize.axis=Dt.defaults.actions.resize.axis),U.bool(ct.preserveAspectRatio)?nt.options.resize.preserveAspectRatio=ct.preserveAspectRatio:U.bool(ct.square)&&(nt.options.resize.square=ct.square),nt):U.bool(ct)?(nt.options.resize.enabled=ct,nt):nt.options.resize})(this,ze,V)},$.map.resize=cr,$.methodDict.resize="resizable",Oe.actions.resize=cr.defaults},listeners:{"interactions:new":function(V){V.interaction.resizeAxes="xy"},"interactions:action-start":function(V){(function($){var ne=$.iEvent,me=$.interaction;if(me.prepared.name==="resize"&&me.prepared.edges){var Oe=ne,ze=me.rect;me._rects={start:yt({},ze),corrected:yt({},ze),previous:yt({},ze),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},Oe.edges=me.prepared.edges,Oe.rect=me._rects.corrected,Oe.deltaRect=me._rects.delta}})(V),Vi(V)},"interactions:action-move":function(V){(function($){var ne=$.iEvent,me=$.interaction;if(me.prepared.name==="resize"&&me.prepared.edges){var Oe=ne,ze=me.interactable.options.resize.invert,nt=ze==="reposition"||ze==="negate",ct=me.rect,Dt=me._rects,Zt=Dt.start,Ft=Dt.corrected,Rr=Dt.delta,Jr=Dt.previous;if(yt(Jr,Ft),nt){if(yt(Ft,ct),ze==="reposition"){if(Ft.top>Ft.bottom){var In=Ft.top;Ft.top=Ft.bottom,Ft.bottom=In}if(Ft.left>Ft.right){var Rn=Ft.left;Ft.left=Ft.right,Ft.right=Rn}}}else Ft.top=Math.min(ct.top,Zt.bottom),Ft.bottom=Math.max(ct.bottom,Zt.top),Ft.left=Math.min(ct.left,Zt.right),Ft.right=Math.max(ct.right,Zt.left);for(var Jn in Ft.width=Ft.right-Ft.left,Ft.height=Ft.bottom-Ft.top,Ft)Rr[Jn]=Ft[Jn]-Jr[Jn];Oe.edges=me.prepared.edges,Oe.rect=Ft,Oe.deltaRect=Rr}})(V),Vi(V)},"interactions:action-end":function(V){var $=V.iEvent,ne=V.interaction;if(ne.prepared.name==="resize"&&ne.prepared.edges){var me=$;me.edges=ne.prepared.edges,me.rect=ne._rects.corrected,me.deltaRect=ne._rects.delta}},"auto-start:check":function(V){var $=V.interaction,ne=V.interactable,me=V.element,Oe=V.rect,ze=V.buttons;if(Oe){var nt=yt({},$.coords.cur.page),ct=ne.options.resize;if(ct&&ct.enabled&&(!$.pointerIsDown||!/mouse|pointer/.test($.pointerType)||(ze&ct.mouseButtons)!=0)){if(U.object(ct.edges)){var Dt={left:!1,right:!1,top:!1,bottom:!1};for(var Zt in Dt)Dt[Zt]=ri(Zt,ct.edges[Zt],nt,$._latestPointer.eventTarget,me,Oe,ct.margin||cr.defaultMargin);Dt.left=Dt.left&&!Dt.right,Dt.top=Dt.top&&!Dt.bottom,(Dt.left||Dt.right||Dt.top||Dt.bottom)&&(V.action={name:"resize",edges:Dt})}else{var Ft=ct.axis!=="y"&&nt.x>Oe.right-cr.defaultMargin,Rr=ct.axis!=="x"&&nt.y>Oe.bottom-cr.defaultMargin;(Ft||Rr)&&(V.action={name:"resize",axes:(Ft?"x":"")+(Rr?"y":"")})}return!V.action&&void 0}}}},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},cursors:null,getCursor:function(V){var $=V.edges,ne=V.axis,me=V.name,Oe=cr.cursors,ze=null;if(ne)ze=Oe[me+ne];else if($){for(var nt="",ct=0,Dt=["top","bottom","left","right"];ct<Dt.length;ct++){var Zt=Dt[ct];$[Zt]&&(nt+=Zt)}ze=Oe[nt]}return ze},filterEventType:function(V){return V.search("resize")===0},defaultMargin:null},fe=cr,Re={id:"actions",install:function(V){V.usePlugin(qi),V.usePlugin(fe),V.usePlugin(q),V.usePlugin(Di)}},Qe=0,mt={request:function(V){return si(V)},cancel:function(V){return ks(V)},init:function(V){if(si=V.requestAnimationFrame,ks=V.cancelAnimationFrame,!si)for(var $=["ms","moz","webkit","o"],ne=0;ne<$.length;ne++){var me=$[ne];si=V["".concat(me,"RequestAnimationFrame")],ks=V["".concat(me,"CancelAnimationFrame")]||V["".concat(me,"CancelRequestAnimationFrame")]}si=si&&si.bind(V),ks=ks&&ks.bind(V),si||(si=function(Oe){var ze=Date.now(),nt=Math.max(0,16-(ze-Qe)),ct=V.setTimeout((function(){Oe(ze+nt)}),nt);return Qe=ze+nt,ct},ks=function(Oe){return clearTimeout(Oe)})}},xt={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(V){xt.isScrolling=!0,mt.cancel(xt.i),V.autoScroll=xt,xt.interaction=V,xt.prevTime=xt.now(),xt.i=mt.request(xt.scroll)},stop:function(){xt.isScrolling=!1,xt.interaction&&(xt.interaction.autoScroll=null),mt.cancel(xt.i)},scroll:function(){var V=xt.interaction,$=V.interactable,ne=V.element,me=V.prepared.name,Oe=$.options[me].autoScroll,ze=Mr(Oe.container,$,ne),nt=xt.now(),ct=(nt-xt.prevTime)/1e3,Dt=Oe.speed*ct;if(Dt>=1){var Zt={x:xt.x*Dt,y:xt.y*Dt};if(Zt.x||Zt.y){var Ft=vn(ze);U.window(ze)?ze.scrollBy(Zt.x,Zt.y):ze&&(ze.scrollLeft+=Zt.x,ze.scrollTop+=Zt.y);var Rr=vn(ze),Jr={x:Rr.x-Ft.x,y:Rr.y-Ft.y};(Jr.x||Jr.y)&&$.fire({type:"autoscroll",target:ne,interactable:$,delta:Jr,interaction:V,container:ze})}xt.prevTime=nt}xt.isScrolling&&(mt.cancel(xt.i),xt.i=mt.request(xt.scroll))},check:function(V,$){var ne;return(ne=V.options[$].autoScroll)==null?void 0:ne.enabled},onInteractionMove:function(V){var $=V.interaction,ne=V.pointer;if($.interacting()&&xt.check($.interactable,$.prepared.name))if($.simulation)xt.x=xt.y=0;else{var me,Oe,ze,nt,ct=$.interactable,Dt=$.element,Zt=$.prepared.name,Ft=ct.options[Zt].autoScroll,Rr=Mr(Ft.container,ct,Dt);if(U.window(Rr))nt=ne.clientX<xt.margin,me=ne.clientY<xt.margin,Oe=ne.clientX>Rr.innerWidth-xt.margin,ze=ne.clientY>Rr.innerHeight-xt.margin;else{var Jr=ke(Rr);nt=ne.clientX<Jr.left+xt.margin,me=ne.clientY<Jr.top+xt.margin,Oe=ne.clientX>Jr.right-xt.margin,ze=ne.clientY>Jr.bottom-xt.margin}xt.x=Oe?1:nt?-1:0,xt.y=ze?1:me?-1:0,xt.isScrolling||(xt.margin=Ft.margin,xt.speed=Ft.speed,xt.start($))}}};function Mr(V,$,ne){return(U.string(V)?kt(V,$,ne):V)||M(ne)}function vn(V){return U.window(V)&&(V=window.document.body),{x:V.scrollLeft,y:V.scrollTop}}var Ut={id:"auto-scroll",install:function(V){var $=V.defaults,ne=V.actions;V.autoScroll=xt,xt.now=function(){return V.now()},ne.phaselessTypes.autoscroll=!0,$.perAction.autoScroll=xt.defaults},listeners:{"interactions:new":function(V){V.interaction.autoScroll=null},"interactions:destroy":function(V){V.interaction.autoScroll=null,xt.stop(),xt.interaction&&(xt.interaction=null)},"interactions:stop":xt.stop,"interactions:action-move":function(V){return xt.onInteractionMove(V)}}},Yn=Ut;function mi(V,$){var ne=!1;return function(){return ne||(R.console.warn($),ne=!0),V.apply(this,arguments)}}function yn(V,$){return V.name=$.name,V.axis=$.axis,V.edges=$.edges,V}function ji(V){return U.bool(V)?(this.options.styleCursor=V,this):V===null?(delete this.options.styleCursor,this):this.options.styleCursor}function Tn(V){return U.func(V)?(this.options.actionChecker=V,this):V===null?(delete this.options.actionChecker,this):this.options.actionChecker}var Cs={id:"auto-start/interactableMethods",install:function(V){var $=V.Interactable;$.prototype.getAction=function(ne,me,Oe,ze){var nt=(function(ct,Dt,Zt,Ft,Rr){var Jr=ct.getRect(Ft),In=Dt.buttons||{0:1,1:4,3:8,4:16}[Dt.button],Rn={action:null,interactable:ct,interaction:Zt,element:Ft,rect:Jr,buttons:In};return Rr.fire("auto-start:check",Rn),Rn.action})(this,me,Oe,ze,V);return this.options.actionChecker?this.options.actionChecker(ne,me,nt,this,ze,Oe):nt},$.prototype.ignoreFrom=mi((function(ne){return this._backCompatOption("ignoreFrom",ne)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),$.prototype.allowFrom=mi((function(ne){return this._backCompatOption("allowFrom",ne)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),$.prototype.actionChecker=Tn,$.prototype.styleCursor=ji}};function $i(V,$,ne,me,Oe){return $.testIgnoreAllow($.options[V.name],ne,me)&&$.options[V.name].enabled&&hr($,ne,V,Oe)?V:null}function gs(V,$,ne,me,Oe,ze,nt){for(var ct=0,Dt=me.length;ct<Dt;ct++){var Zt=me[ct],Ft=Oe[ct],Rr=Zt.getAction($,ne,V,Ft);if(Rr){var Jr=$i(Rr,Zt,Ft,ze,nt);if(Jr)return{action:Jr,interactable:Zt,element:Ft}}}return{action:null,interactable:null,element:null}}function vs(V,$,ne,me,Oe){var ze=[],nt=[],ct=me;function Dt(Ft){ze.push(Ft),nt.push(ct)}for(;U.element(ct);){ze=[],nt=[],Oe.interactables.forEachMatch(ct,Dt);var Zt=gs(V,$,ne,ze,nt,me,Oe);if(Zt.action&&!Zt.interactable.options[Zt.action.name].manualStart)return Zt;ct=qe(ct)}return{action:null,interactable:null,element:null}}function Vt(V,$,ne){var me=$.action,Oe=$.interactable,ze=$.element;me=me||{name:null},V.interactable=Oe,V.element=ze,yn(V.prepared,me),V.rect=Oe&&me.name?Oe.getRect(ze):null,$n(V,ne),ne.fire("autoStart:prepared",{interaction:V})}function hr(V,$,ne,me){var Oe=V.options,ze=Oe[ne.name].max,nt=Oe[ne.name].maxPerElement,ct=me.autoStart.maxInteractions,Dt=0,Zt=0,Ft=0;if(!(ze&&nt&&ct))return!1;for(var Rr=0,Jr=me.interactions.list;Rr<Jr.length;Rr++){var In=Jr[Rr],Rn=In.prepared.name;if(In.interacting()&&(++Dt>=ct||In.interactable===V&&((Zt+=Rn===ne.name?1:0)>=ze||In.element===$&&(Ft++,Rn===ne.name&&Ft>=nt))))return!1}return ct>0}function rn(V,$){return U.number(V)?($.autoStart.maxInteractions=V,this):$.autoStart.maxInteractions}function zn(V,$,ne){var me=ne.autoStart.cursorElement;me&&me!==V&&(me.style.cursor=""),V.ownerDocument.documentElement.style.cursor=$,V.style.cursor=$,ne.autoStart.cursorElement=$?V:null}function $n(V,$){var ne=V.interactable,me=V.element,Oe=V.prepared;if(V.pointerType==="mouse"&&ne&&ne.options.styleCursor){var ze="";if(Oe.name){var nt=ne.options[Oe.name].cursorChecker;ze=U.func(nt)?nt(Oe,ne,me,V._interacting):$.actions.map[Oe.name].getCursor(Oe)}zn(V.element,ze||"",$)}else $.autoStart.cursorElement&&zn($.autoStart.cursorElement,"",$)}var bn={id:"auto-start/base",before:["actions"],install:function(V){var $=V.interactStatic,ne=V.defaults;V.usePlugin(Cs),ne.base.actionChecker=null,ne.base.styleCursor=!0,yt(ne.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),$.maxInteractions=function(me){return rn(me,V)},V.autoStart={maxInteractions:1/0,withinInteractionLimit:hr,cursorElement:null}},listeners:{"interactions:down":function(V,$){var ne=V.interaction,me=V.pointer,Oe=V.event,ze=V.eventTarget;ne.interacting()||Vt(ne,vs(ne,me,Oe,ze,$),$)},"interactions:move":function(V,$){(function(ne,me){var Oe=ne.interaction,ze=ne.pointer,nt=ne.event,ct=ne.eventTarget;Oe.pointerType!=="mouse"||Oe.pointerIsDown||Oe.interacting()||Vt(Oe,vs(Oe,ze,nt,ct,me),me)})(V,$),(function(ne,me){var Oe=ne.interaction;if(Oe.pointerIsDown&&!Oe.interacting()&&Oe.pointerWasMoved&&Oe.prepared.name){me.fire("autoStart:before-start",ne);var ze=Oe.interactable,nt=Oe.prepared.name;nt&&ze&&(ze.options[nt].manualStart||!hr(ze,Oe.element,Oe.prepared,me)?Oe.stop():(Oe.start(Oe.prepared,ze,Oe.element),$n(Oe,me)))}})(V,$)},"interactions:stop":function(V,$){var ne=V.interaction,me=ne.interactable;me&&me.options.styleCursor&&zn(ne.element,"",$)}},maxInteractions:rn,withinInteractionLimit:hr,validateAction:$i},ni=bn,ai={id:"auto-start/dragAxis",listeners:{"autoStart:before-start":function(V,$){var ne=V.interaction,me=V.eventTarget,Oe=V.dx,ze=V.dy;if(ne.prepared.name==="drag"){var nt=Math.abs(Oe),ct=Math.abs(ze),Dt=ne.interactable.options.drag,Zt=Dt.startAxis,Ft=nt>ct?"x":nt<ct?"y":"xy";if(ne.prepared.axis=Dt.lockAxis==="start"?Ft[0]:Dt.lockAxis,Ft!=="xy"&&Zt!=="xy"&&Zt!==Ft){ne.prepared.name=null;for(var Rr=me,Jr=function(Rn){if(Rn!==ne.interactable){var Jn=ne.interactable.options.drag;if(!Jn.manualStart&&Rn.testIgnoreAllow(Jn,Rr,me)){var _i=Rn.getAction(ne.downPointer,ne.downEvent,ne,Rr);if(_i&&_i.name==="drag"&&(function(qn,Xi){if(!Xi)return!1;var cs=Xi.options.drag.startAxis;return qn==="xy"||cs==="xy"||cs===qn})(Ft,Rn)&&ni.validateAction(_i,Rn,Rr,me,$))return Rn}}};U.element(Rr);){var In=$.interactables.forEachMatch(Rr,Jr);if(In){ne.prepared.name="drag",ne.interactable=In,ne.element=Rr;break}Rr=qe(Rr)}}}}}};function yi(V){var $=V.prepared&&V.prepared.name;if(!$)return null;var ne=V.interactable.options;return ne[$].hold||ne[$].delay}var es={id:"auto-start/hold",install:function(V){var $=V.defaults;V.usePlugin(ni),$.perAction.hold=0,$.perAction.delay=0},listeners:{"interactions:new":function(V){V.interaction.autoStartHoldTimer=null},"autoStart:prepared":function(V){var $=V.interaction,ne=yi($);ne>0&&($.autoStartHoldTimer=setTimeout((function(){$.start($.prepared,$.interactable,$.element)}),ne))},"interactions:move":function(V){var $=V.interaction,ne=V.duplicate;$.autoStartHoldTimer&&$.pointerWasMoved&&!ne&&(clearTimeout($.autoStartHoldTimer),$.autoStartHoldTimer=null)},"autoStart:before-start":function(V){var $=V.interaction;yi($)>0&&($.prepared.name=null)}},getHoldDuration:yi},Ei=es,Hi={id:"auto-start",install:function(V){V.usePlugin(ni),V.usePlugin(Ei),V.usePlugin(ai)}},zi=function(V){return/^(always|never|auto)$/.test(V)?(this.options.preventDefault=V,this):U.bool(V)?(this.options.preventDefault=V?"always":"never",this):this.options.preventDefault};function us(V){var $=V.interaction,ne=V.event;$.interactable&&$.interactable.checkAndPreventDefault(ne)}var Ss={id:"core/interactablePreventDefault",install:function(V){var $=V.Interactable;$.prototype.preventDefault=zi,$.prototype.checkAndPreventDefault=function(ne){return(function(me,Oe,ze){var nt=me.options.preventDefault;if(nt!=="never")if(nt!=="always"){if(Oe.events.supportsPassive&&/^touch(start|move)$/.test(ze.type)){var ct=M(ze.target).document,Dt=Oe.getDocOptions(ct);if(!Dt||!Dt.events||Dt.events.passive!==!1)return}/^(mouse|pointer|touch)*(down|start)/i.test(ze.type)||U.element(ze.target)&&ye(ze.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||ze.preventDefault()}else ze.preventDefault()})(this,V,ne)},V.interactions.docEvents.push({type:"dragstart",listener:function(ne){for(var me=0,Oe=V.interactions.list;me<Oe.length;me++){var ze=Oe[me];if(ze.element&&(ze.element===ne.target||Ce(ze.element,ne.target)))return void ze.interactable.checkAndPreventDefault(ne)}}})},listeners:["down","move","up","cancel"].reduce((function(V,$){return V["interactions:".concat($)]=us,V}),{})};function as(V,$){if($.phaselessTypes[V])return!0;for(var ne in $.map)if(V.indexOf(ne)===0&&V.substr(ne.length)in $.phases)return!0;return!1}function oi(V){var $={};for(var ne in V){var me=V[ne];U.plainObject(me)?$[ne]=oi(me):U.array(me)?$[ne]=rt(me):$[ne]=me}return $}var $s=(function(){function V($){s(this,V),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=$,this.result=Es(),this.edges={left:!1,right:!1,top:!1,bottom:!1}}return u(V,[{key:"start",value:function($,ne){var me,Oe,ze=$.phase,nt=this.interaction,ct=(function(Zt){var Ft=Zt.interactable.options[Zt.prepared.name],Rr=Ft.modifiers;return Rr&&Rr.length?Rr:["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map((function(Jr){var In=Ft[Jr];return In&&In.enabled&&{options:In,methods:In._methods}})).filter((function(Jr){return!!Jr}))})(nt);this.prepareStates(ct),this.startEdges=yt({},nt.edges),this.edges=yt({},this.startEdges),this.startOffset=(me=nt.rect,Oe=ne,me?{left:Oe.x-me.left,top:Oe.y-me.top,right:me.right-Oe.x,bottom:me.bottom-Oe.y}:{left:0,top:0,right:0,bottom:0}),this.startDelta={x:0,y:0};var Dt=this.fillArg({phase:ze,pageCoords:ne,preEnd:!1});return this.result=Es(),this.startAll(Dt),this.result=this.setAll(Dt)}},{key:"fillArg",value:function($){var ne=this.interaction;return $.interaction=ne,$.interactable=ne.interactable,$.element=ne.element,$.rect||($.rect=ne.rect),$.edges||($.edges=this.startEdges),$.startOffset=this.startOffset,$}},{key:"startAll",value:function($){for(var ne=0,me=this.states;ne<me.length;ne++){var Oe=me[ne];Oe.methods.start&&($.state=Oe,Oe.methods.start($))}}},{key:"setAll",value:function($){var ne=$.phase,me=$.preEnd,Oe=$.skipModifiers,ze=$.rect,nt=$.edges;$.coords=yt({},$.pageCoords),$.rect=yt({},ze),$.edges=yt({},nt);for(var ct=Oe?this.states.slice(Oe):this.states,Dt=Es($.coords,$.rect),Zt=0;Zt<ct.length;Zt++){var Ft,Rr=ct[Zt],Jr=Rr.options,In=yt({},$.coords),Rn=null;(Ft=Rr.methods)!=null&&Ft.set&&this.shouldDo(Jr,me,ne)&&($.state=Rr,Rn=Rr.methods.set($),Wr($.edges,$.rect,{x:$.coords.x-In.x,y:$.coords.y-In.y})),Dt.eventProps.push(Rn)}yt(this.edges,$.edges),Dt.delta.x=$.coords.x-$.pageCoords.x,Dt.delta.y=$.coords.y-$.pageCoords.y,Dt.rectDelta.left=$.rect.left-ze.left,Dt.rectDelta.right=$.rect.right-ze.right,Dt.rectDelta.top=$.rect.top-ze.top,Dt.rectDelta.bottom=$.rect.bottom-ze.bottom;var Jn=this.result.coords,_i=this.result.rect;if(Jn&&_i){var qn=Dt.rect.left!==_i.left||Dt.rect.right!==_i.right||Dt.rect.top!==_i.top||Dt.rect.bottom!==_i.bottom;Dt.changed=qn||Jn.x!==Dt.coords.x||Jn.y!==Dt.coords.y}return Dt}},{key:"applyToInteraction",value:function($){var ne=this.interaction,me=$.phase,Oe=ne.coords.cur,ze=ne.coords.start,nt=this.result,ct=this.startDelta,Dt=nt.delta;me==="start"&&yt(this.startDelta,nt.delta);for(var Zt=0,Ft=[[ze,ct],[Oe,Dt]];Zt<Ft.length;Zt++){var Rr=Ft[Zt],Jr=Rr[0],In=Rr[1];Jr.page.x+=In.x,Jr.page.y+=In.y,Jr.client.x+=In.x,Jr.client.y+=In.y}var Rn=this.result.rectDelta,Jn=$.rect||ne.rect;Jn.left+=Rn.left,Jn.right+=Rn.right,Jn.top+=Rn.top,Jn.bottom+=Rn.bottom,Jn.width=Jn.right-Jn.left,Jn.height=Jn.bottom-Jn.top}},{key:"setAndApply",value:function($){var ne=this.interaction,me=$.phase,Oe=$.preEnd,ze=$.skipModifiers,nt=this.setAll(this.fillArg({preEnd:Oe,phase:me,pageCoords:$.modifiedCoords||ne.coords.cur.page}));if(this.result=nt,!nt.changed&&(!ze||ze<this.states.length)&&ne.interacting())return!1;if($.modifiedCoords){var ct=ne.coords.cur.page,Dt={x:$.modifiedCoords.x-ct.x,y:$.modifiedCoords.y-ct.y};nt.coords.x+=Dt.x,nt.coords.y+=Dt.y,nt.delta.x+=Dt.x,nt.delta.y+=Dt.y}this.applyToInteraction($)}},{key:"beforeEnd",value:function($){var ne=$.interaction,me=$.event,Oe=this.states;if(Oe&&Oe.length){for(var ze=!1,nt=0;nt<Oe.length;nt++){var ct=Oe[nt];$.state=ct;var Dt=ct.options,Zt=ct.methods,Ft=Zt.beforeEnd&&Zt.beforeEnd($);if(Ft)return this.endResult=Ft,!1;ze=ze||!ze&&this.shouldDo(Dt,!0,$.phase,!0)}ze&&ne.move({event:me,preEnd:!0})}}},{key:"stop",value:function($){var ne=$.interaction;if(this.states&&this.states.length){var me=yt({states:this.states,interactable:ne.interactable,element:ne.element,rect:null},$);this.fillArg(me);for(var Oe=0,ze=this.states;Oe<ze.length;Oe++){var nt=ze[Oe];me.state=nt,nt.methods.stop&&nt.methods.stop(me)}this.states=null,this.endResult=null}}},{key:"prepareStates",value:function($){this.states=[];for(var ne=0;ne<$.length;ne++){var me=$[ne],Oe=me.options,ze=me.methods,nt=me.name;this.states.push({options:Oe,methods:ze,index:ne,name:nt})}return this.states}},{key:"restoreInteractionCoords",value:function($){var ne=$.interaction,me=ne.coords,Oe=ne.rect,ze=ne.modification;if(ze.result){for(var nt=ze.startDelta,ct=ze.result,Dt=ct.delta,Zt=ct.rectDelta,Ft=0,Rr=[[me.start,nt],[me.cur,Dt]];Ft<Rr.length;Ft++){var Jr=Rr[Ft],In=Jr[0],Rn=Jr[1];In.page.x-=Rn.x,In.page.y-=Rn.y,In.client.x-=Rn.x,In.client.y-=Rn.y}Oe.left-=Zt.left,Oe.right-=Zt.right,Oe.top-=Zt.top,Oe.bottom-=Zt.bottom}}},{key:"shouldDo",value:function($,ne,me,Oe){return!(!$||$.enabled===!1||Oe&&!$.endOnly||$.endOnly&&!ne||me==="start"&&!$.setStart)}},{key:"copyFrom",value:function($){this.startOffset=$.startOffset,this.startDelta=$.startDelta,this.startEdges=$.startEdges,this.edges=$.edges,this.states=$.states.map((function(ne){return oi(ne)})),this.result=Es(yt({},$.result.coords),yt({},$.result.rect))}},{key:"destroy",value:function(){for(var $ in this)this[$]=null}}]),V})();function Es(V,$){return{rect:$,coords:V,delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},eventProps:[],changed:!0}}function ls(V,$){var ne=V.defaults,me={start:V.start,set:V.set,beforeEnd:V.beforeEnd,stop:V.stop},Oe=function(ze){var nt=ze||{};for(var ct in nt.enabled=nt.enabled!==!1,ne)ct in nt||(nt[ct]=ne[ct]);var Dt={options:nt,methods:me,name:$,enable:function(){return nt.enabled=!0,Dt},disable:function(){return nt.enabled=!1,Dt}};return Dt};return $&&typeof $=="string"&&(Oe._defaults=ne,Oe._methods=me),Oe}function Ts(V){var $=V.iEvent,ne=V.interaction.modification.result;ne&&($.modifiers=ne.eventProps)}var de={id:"modifiers/base",before:["actions"],install:function(V){V.defaults.perAction.modifiers=[]},listeners:{"interactions:new":function(V){var $=V.interaction;$.modification=new $s($)},"interactions:before-action-start":function(V){var $=V.interaction,ne=V.interaction.modification;ne.start(V,$.coords.start.page),$.edges=ne.edges,ne.applyToInteraction(V)},"interactions:before-action-move":function(V){var $=V.interaction,ne=$.modification,me=ne.setAndApply(V);return $.edges=ne.edges,me},"interactions:before-action-end":function(V){var $=V.interaction,ne=$.modification,me=ne.beforeEnd(V);return $.edges=ne.startEdges,me},"interactions:action-start":Ts,"interactions:action-move":Ts,"interactions:action-end":Ts,"interactions:after-action-start":function(V){return V.interaction.modification.restoreInteractionCoords(V)},"interactions:after-action-move":function(V){return V.interaction.modification.restoreInteractionCoords(V)},"interactions:stop":function(V){return V.interaction.modification.stop(V)}}},$e=de,Pt={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}},or=(function(V){m(ne,V);var $=E(ne);function ne(me,Oe,ze,nt,ct,Dt,Zt){var Ft;s(this,ne),(Ft=$.call(this,me)).relatedTarget=null,Ft.screenX=void 0,Ft.screenY=void 0,Ft.button=void 0,Ft.buttons=void 0,Ft.ctrlKey=void 0,Ft.shiftKey=void 0,Ft.altKey=void 0,Ft.metaKey=void 0,Ft.page=void 0,Ft.client=void 0,Ft.delta=void 0,Ft.rect=void 0,Ft.x0=void 0,Ft.y0=void 0,Ft.t0=void 0,Ft.dt=void 0,Ft.duration=void 0,Ft.clientX0=void 0,Ft.clientY0=void 0,Ft.velocity=void 0,Ft.speed=void 0,Ft.swipe=void 0,Ft.axes=void 0,Ft.preEnd=void 0,ct=ct||me.element;var Rr=me.interactable,Jr=(Rr&&Rr.options||Pt).deltaSource,In=$r(Rr,ct,ze),Rn=nt==="start",Jn=nt==="end",_i=Rn?v(Ft):me.prevEvent,qn=Rn?me.coords.start:Jn?{page:_i.page,client:_i.client,timeStamp:me.coords.cur.timeStamp}:me.coords.cur;return Ft.page=yt({},qn.page),Ft.client=yt({},qn.client),Ft.rect=yt({},me.rect),Ft.timeStamp=qn.timeStamp,Jn||(Ft.page.x-=In.x,Ft.page.y-=In.y,Ft.client.x-=In.x,Ft.client.y-=In.y),Ft.ctrlKey=Oe.ctrlKey,Ft.altKey=Oe.altKey,Ft.shiftKey=Oe.shiftKey,Ft.metaKey=Oe.metaKey,Ft.button=Oe.button,Ft.buttons=Oe.buttons,Ft.target=ct,Ft.currentTarget=ct,Ft.preEnd=Dt,Ft.type=Zt||ze+(nt||""),Ft.interactable=Rr,Ft.t0=Rn?me.pointers[me.pointers.length-1].downTime:_i.t0,Ft.x0=me.coords.start.page.x-In.x,Ft.y0=me.coords.start.page.y-In.y,Ft.clientX0=me.coords.start.client.x-In.x,Ft.clientY0=me.coords.start.client.y-In.y,Ft.delta=Rn||Jn?{x:0,y:0}:{x:Ft[Jr].x-_i[Jr].x,y:Ft[Jr].y-_i[Jr].y},Ft.dt=me.coords.delta.timeStamp,Ft.duration=Ft.timeStamp-Ft.t0,Ft.velocity=yt({},me.coords.velocity[Jr]),Ft.speed=pt(Ft.velocity.x,Ft.velocity.y),Ft.swipe=Jn||nt==="inertiastart"?Ft.getSwipe():null,Ft}return u(ne,[{key:"getSwipe",value:function(){var me=this._interaction;if(me.prevEvent.speed<600||this.timeStamp-me.prevEvent.timeStamp>150)return null;var Oe=180*Math.atan2(me.prevEvent.velocityY,me.prevEvent.velocityX)/Math.PI;Oe<0&&(Oe+=360);var ze=112.5<=Oe&&Oe<247.5,nt=202.5<=Oe&&Oe<337.5;return{up:nt,down:!nt&&22.5<=Oe&&Oe<157.5,left:ze,right:!ze&&(292.5<=Oe||Oe<67.5),angle:Oe,speed:me.prevEvent.speed,velocity:{x:me.prevEvent.velocityX,y:me.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}}]),ne})(ut);Object.defineProperties(or.prototype,{pageX:{get:function(){return this.page.x},set:function(V){this.page.x=V}},pageY:{get:function(){return this.page.y},set:function(V){this.page.y=V}},clientX:{get:function(){return this.client.x},set:function(V){this.client.x=V}},clientY:{get:function(){return this.client.y},set:function(V){this.client.y=V}},dx:{get:function(){return this.delta.x},set:function(V){this.delta.x=V}},dy:{get:function(){return this.delta.y},set:function(V){this.delta.y=V}},velocityX:{get:function(){return this.velocity.x},set:function(V){this.velocity.x=V}},velocityY:{get:function(){return this.velocity.y},set:function(V){this.velocity.y=V}}});var tn=u((function V($,ne,me,Oe,ze){s(this,V),this.id=void 0,this.pointer=void 0,this.event=void 0,this.downTime=void 0,this.downTarget=void 0,this.id=$,this.pointer=ne,this.event=me,this.downTime=Oe,this.downTarget=ze})),Vn=(function(V){return V.interactable="",V.element="",V.prepared="",V.pointerIsDown="",V.pointerWasMoved="",V._proxy="",V})({}),Ri=(function(V){return V.start="",V.move="",V.end="",V.stop="",V.interacting="",V})({}),ts=0,ss=(function(){function V($){var ne=this,me=$.pointerType,Oe=$.scopeFire;s(this,V),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=mi((function(Ft){this.move(Ft)}),"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=ts++,this._scopeFire=Oe,this.pointerType=me;var ze=this;this._proxy={};var nt=function(Ft){Object.defineProperty(ne._proxy,Ft,{get:function(){return ze[Ft]}})};for(var ct in Vn)nt(ct);var Dt=function(Ft){Object.defineProperty(ne._proxy,Ft,{value:function(){return ze[Ft].apply(ze,arguments)}})};for(var Zt in Ri)Dt(Zt);this._scopeFire("interactions:new",{interaction:this})}return u(V,[{key:"pointerMoveTolerance",get:function(){return 1}},{key:"pointerDown",value:function($,ne,me){var Oe=this.updatePointer($,ne,me,!0),ze=this.pointers[Oe];this._scopeFire("interactions:down",{pointer:$,event:ne,eventTarget:me,pointerIndex:Oe,pointerInfo:ze,type:"down",interaction:this})}},{key:"start",value:function($,ne,me){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<($.name==="gesture"?2:1)||!ne.options[$.name].enabled)&&(yn(this.prepared,$),this.interactable=ne,this.element=me,this.rect=ne.getRect(me),this.edges=this.prepared.edges?yt({},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($,ne,me){this.simulation||this.modification&&this.modification.endResult||this.updatePointer($,ne,me,!1);var Oe,ze,nt=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&&(Oe=this.coords.cur.client.x-this.coords.start.client.x,ze=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=pt(Oe,ze)>this.pointerMoveTolerance);var ct,Dt,Zt,Ft=this.getPointerIndex($),Rr={pointer:$,pointerIndex:Ft,pointerInfo:this.pointers[Ft],event:ne,type:"move",eventTarget:me,dx:Oe,dy:ze,duplicate:nt,interaction:this};nt||(ct=this.coords.velocity,Dt=this.coords.delta,Zt=Math.max(Dt.timeStamp/1e3,.001),ct.page.x=Dt.page.x/Zt,ct.page.y=Dt.page.y/Zt,ct.client.x=Dt.client.x/Zt,ct.client.y=Dt.client.y/Zt,ct.timeStamp=Zt),this._scopeFire("interactions:move",Rr),nt||this.simulation||(this.interacting()&&(Rr.type=null,this.move(Rr)),this.pointerWasMoved&&Dr(this.coords.prev,this.coords.cur))}},{key:"move",value:function($){$&&$.event||Sr(this.coords.delta),($=yt({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},$||{})).phase="move",this._doPhase($)}},{key:"pointerUp",value:function($,ne,me,Oe){var ze=this.getPointerIndex($);ze===-1&&(ze=this.updatePointer($,ne,me,!1));var nt=/cancel$/i.test(ne.type)?"cancel":"up";this._scopeFire("interactions:".concat(nt),{pointer:$,pointerIndex:ze,pointerInfo:this.pointers[ze],event:ne,eventTarget:me,type:nt,curEventTarget:Oe,interaction:this}),this.simulation||this.end(ne),this.removePointer($,ne)}},{key:"documentBlur",value:function($){this.end($),this._scopeFire("interactions:blur",{event:$,type:"blur",interaction:this})}},{key:"end",value:function($){var ne;this._ending=!0,$=$||this._latestPointer.event,this.interacting()&&(ne=this._doPhase({event:$,interaction:this,phase:"end"})),this._ending=!1,ne===!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($){var ne=dr($);return this.pointerType==="mouse"||this.pointerType==="pen"?this.pointers.length-1:_t(this.pointers,(function(me){return me.id===ne}))}},{key:"getPointerInfo",value:function($){return this.pointers[this.getPointerIndex($)]}},{key:"updatePointer",value:function($,ne,me,Oe){var ze,nt,ct,Dt=dr($),Zt=this.getPointerIndex($),Ft=this.pointers[Zt];return Oe=Oe!==!1&&(Oe||/(down|start)$/i.test(ne.type)),Ft?Ft.pointer=$:(Ft=new tn(Dt,$,ne,null,null),Zt=this.pointers.length,this.pointers.push(Ft)),Nr(this.coords.cur,this.pointers.map((function(Rr){return Rr.pointer})),this._now()),ze=this.coords.delta,nt=this.coords.prev,ct=this.coords.cur,ze.page.x=ct.page.x-nt.page.x,ze.page.y=ct.page.y-nt.page.y,ze.client.x=ct.client.x-nt.client.x,ze.client.y=ct.client.y-nt.client.y,ze.timeStamp=ct.timeStamp-nt.timeStamp,Oe&&(this.pointerIsDown=!0,Ft.downTime=this.coords.cur.timeStamp,Ft.downTarget=me,wr(this.downPointer,$),this.interacting()||(Dr(this.coords.start,this.coords.cur),Dr(this.coords.prev,this.coords.cur),this.downEvent=ne,this.pointerWasMoved=!1)),this._updateLatestPointer($,ne,me),this._scopeFire("interactions:update-pointer",{pointer:$,event:ne,eventTarget:me,down:Oe,pointerInfo:Ft,pointerIndex:Zt,interaction:this}),Zt}},{key:"removePointer",value:function($,ne){var me=this.getPointerIndex($);if(me!==-1){var Oe=this.pointers[me];this._scopeFire("interactions:remove-pointer",{pointer:$,event:ne,eventTarget:null,pointerIndex:me,pointerInfo:Oe,interaction:this}),this.pointers.splice(me,1),this.pointerIsDown=!1}}},{key:"_updateLatestPointer",value:function($,ne,me){this._latestPointer.pointer=$,this._latestPointer.event=ne,this._latestPointer.eventTarget=me}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function($,ne,me,Oe){return new or(this,$,this.prepared.name,ne,this.element,me,Oe)}},{key:"_fireEvent",value:function($){var ne;(ne=this.interactable)==null||ne.fire($),(!this.prevEvent||$.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=$)}},{key:"_doPhase",value:function($){var ne=$.event,me=$.phase,Oe=$.preEnd,ze=$.type,nt=this.rect;if(nt&&me==="move"&&(Wr(this.edges,nt,this.coords.delta[this.interactable.options.deltaSource]),nt.width=nt.right-nt.left,nt.height=nt.bottom-nt.top),this._scopeFire("interactions:before-action-".concat(me),$)===!1)return!1;var ct=$.iEvent=this._createPreparedEvent(ne,me,Oe,ze);return this._scopeFire("interactions:action-".concat(me),$),me==="start"&&(this.prevEvent=ct),this._fireEvent(ct),this._scopeFire("interactions:after-action-".concat(me),$),!0}},{key:"_now",value:function(){return Date.now()}}]),V})();function Li(V){Ia(V.interaction)}function Ia(V){if(!(function(ne){return!(!ne.offset.pending.x&&!ne.offset.pending.y)})(V))return!1;var $=V.offset.pending;return ha(V.coords.cur,$),ha(V.coords.delta,$),Wr(V.edges,V.rect,$),$.x=0,$.y=0,!0}function Sa(V){var $=V.x,ne=V.y;this.offset.pending.x+=$,this.offset.pending.y+=ne,this.offset.total.x+=$,this.offset.total.y+=ne}function ha(V,$){var ne=V.page,me=V.client,Oe=$.x,ze=$.y;ne.x+=Oe,ne.y+=ze,me.x+=Oe,me.y+=ze}Ri.offsetBy="";var Qa={id:"offset",before:["modifiers","pointer-events","actions","inertia"],install:function(V){V.Interaction.prototype.offsetBy=Sa},listeners:{"interactions:new":function(V){V.interaction.offset={total:{x:0,y:0},pending:{x:0,y:0}}},"interactions:update-pointer":function(V){return(function($){$.pointerIsDown&&(ha($.coords.cur,$.offset.total),$.offset.pending.x=0,$.offset.pending.y=0)})(V.interaction)},"interactions:before-action-start":Li,"interactions:before-action-move":Li,"interactions:before-action-end":function(V){var $=V.interaction;if(Ia($))return $.move({offset:!0}),$.end(),!1},"interactions:stop":function(V){var $=V.interaction;$.offset.total.x=0,$.offset.total.y=0,$.offset.pending.x=0,$.offset.pending.y=0}}},_s=Qa,fr=(function(){function V($){s(this,V),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=$}return u(V,[{key:"start",value:function($){var ne=this.interaction,me=Aa(ne);if(!me||!me.enabled)return!1;var Oe=ne.coords.velocity.client,ze=pt(Oe.x,Oe.y),nt=this.modification||(this.modification=new $s(ne));if(nt.copyFrom(ne.modification),this.t0=ne._now(),this.allowResume=me.allowResume,this.v0=ze,this.currentOffset={x:0,y:0},this.startCoords=ne.coords.cur.page,this.modifierArg=nt.fillArg({pageCoords:this.startCoords,preEnd:!0,phase:"inertiastart"}),this.t0-ne.coords.cur.timeStamp<50&&ze>me.minSpeed&&ze>me.endSpeed)this.startInertia();else{if(nt.result=nt.setAll(this.modifierArg),!nt.result.changed)return!1;this.startSmoothEnd()}return ne.modification.result.rect=null,ne.offsetBy(this.targetOffset),ne._doPhase({interaction:ne,event:$,phase:"inertiastart"}),ne.offsetBy({x:-this.targetOffset.x,y:-this.targetOffset.y}),ne.modification.result.rect=null,this.active=!0,ne.simulation=this,!0}},{key:"startInertia",value:function(){var $=this,ne=this.interaction.coords.velocity.client,me=Aa(this.interaction),Oe=me.resistance,ze=-Math.log(me.endSpeed/this.v0)/Oe;this.targetOffset={x:(ne.x-ze)/Oe,y:(ne.y-ze)/Oe},this.te=ze,this.lambda_v0=Oe/this.v0,this.one_ve_v0=1-me.endSpeed/this.v0;var nt=this.modification,ct=this.modifierArg;ct.pageCoords={x:this.startCoords.x+this.targetOffset.x,y:this.startCoords.y+this.targetOffset.y},nt.result=nt.setAll(ct),nt.result.changed&&(this.isModified=!0,this.modifiedOffset={x:this.targetOffset.x+nt.result.delta.x,y:this.targetOffset.y+nt.result.delta.y}),this.onNextFrame((function(){return $.inertiaTick()}))}},{key:"startSmoothEnd",value:function(){var $=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 $.smoothEndTick()}))}},{key:"onNextFrame",value:function($){var ne=this;this.timeout=mt.request((function(){ne.active&&$()}))}},{key:"inertiaTick",value:function(){var $,ne,me,Oe,ze,nt,ct,Dt=this,Zt=this.interaction,Ft=Aa(Zt).resistance,Rr=(Zt._now()-this.t0)/1e3;if(Rr<this.te){var Jr,In=1-(Math.exp(-Ft*Rr)-this.lambda_v0)/this.one_ve_v0;this.isModified?($=0,ne=0,me=this.targetOffset.x,Oe=this.targetOffset.y,ze=this.modifiedOffset.x,nt=this.modifiedOffset.y,Jr={x:pa(ct=In,$,me,ze),y:pa(ct,ne,Oe,nt)}):Jr={x:this.targetOffset.x*In,y:this.targetOffset.y*In};var Rn={x:Jr.x-this.currentOffset.x,y:Jr.y-this.currentOffset.y};this.currentOffset.x+=Rn.x,this.currentOffset.y+=Rn.y,Zt.offsetBy(Rn),Zt.move(),this.onNextFrame((function(){return Dt.inertiaTick()}))}else Zt.offsetBy({x:this.modifiedOffset.x-this.currentOffset.x,y:this.modifiedOffset.y-this.currentOffset.y}),this.end()}},{key:"smoothEndTick",value:function(){var $=this,ne=this.interaction,me=ne._now()-this.t0,Oe=Aa(ne).smoothEndDuration;if(me<Oe){var ze={x:Pa(me,0,this.targetOffset.x,Oe),y:Pa(me,0,this.targetOffset.y,Oe)},nt={x:ze.x-this.currentOffset.x,y:ze.y-this.currentOffset.y};this.currentOffset.x+=nt.x,this.currentOffset.y+=nt.y,ne.offsetBy(nt),ne.move({skipModifiers:this.modifierCount}),this.onNextFrame((function(){return $.smoothEndTick()}))}else ne.offsetBy({x:this.targetOffset.x-this.currentOffset.x,y:this.targetOffset.y-this.currentOffset.y}),this.end()}},{key:"resume",value:function($){var ne=$.pointer,me=$.event,Oe=$.eventTarget,ze=this.interaction;ze.offsetBy({x:-this.currentOffset.x,y:-this.currentOffset.y}),ze.updatePointer(ne,me,Oe,!0),ze._doPhase({interaction:ze,event:me,phase:"resume"}),Dr(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,mt.cancel(this.timeout)}}]),V})();function Aa(V){var $=V.interactable,ne=V.prepared;return $&&$.options&&ne.name&&$.options[ne.name].inertia}var en={id:"inertia",before:["modifiers","actions"],install:function(V){var $=V.defaults;V.usePlugin(_s),V.usePlugin($e),V.actions.phases.inertiastart=!0,V.actions.phases.resume=!0,$.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}},listeners:{"interactions:new":function(V){var $=V.interaction;$.inertia=new fr($)},"interactions:before-action-end":function(V){var $=V.interaction,ne=V.event;return(!$._interacting||$.simulation||!$.inertia.start(ne))&&null},"interactions:down":function(V){var $=V.interaction,ne=V.eventTarget,me=$.inertia;if(me.active)for(var Oe=ne;U.element(Oe);){if(Oe===$.element){me.resume(V);break}Oe=qe(Oe)}},"interactions:stop":function(V){var $=V.interaction.inertia;$.active&&$.stop()},"interactions:before-action-resume":function(V){var $=V.interaction.modification;$.stop(V),$.start(V,V.interaction.coords.cur.page),$.applyToInteraction(V)},"interactions:before-action-inertiastart":function(V){return V.interaction.modification.setAndApply(V)},"interactions:action-resume":Ts,"interactions:action-inertiastart":Ts,"interactions:after-action-inertiastart":function(V){return V.interaction.modification.restoreInteractionCoords(V)},"interactions:after-action-resume":function(V){return V.interaction.modification.restoreInteractionCoords(V)}}};function pa(V,$,ne,me){var Oe=1-V;return Oe*Oe*$+2*Oe*V*ne+V*V*me}function Pa(V,$,ne,me){return-ne*(V/=me)*(V-2)+$}var Xs=en;function Hs(V,$){for(var ne=0;ne<$.length;ne++){var me=$[ne];if(V.immediatePropagationStopped)break;me(V)}}var ao=(function(){function V($){s(this,V),this.options=void 0,this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.global=void 0,this.options=yt({},$||{})}return u(V,[{key:"fire",value:function($){var ne,me=this.global;(ne=this.types[$.type])&&Hs($,ne),!$.propagationStopped&&me&&(ne=me[$.type])&&Hs($,ne)}},{key:"on",value:function($,ne){var me=sn($,ne);for($ in me)this.types[$]=tr(this.types[$]||[],me[$])}},{key:"off",value:function($,ne){var me=sn($,ne);for($ in me){var Oe=this.types[$];if(Oe&&Oe.length)for(var ze=0,nt=me[$];ze<nt.length;ze++){var ct=nt[ze],Dt=Oe.indexOf(ct);Dt!==-1&&Oe.splice(Dt,1)}}}},{key:"getRect",value:function($){return null}}]),V})(),Wa=(function(){function V($){s(this,V),this.currentTarget=void 0,this.originalEvent=void 0,this.type=void 0,this.originalEvent=$,wr(this,$)}return u(V,[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}]),V})();function Co(V){return U.object(V)?{capture:!!V.capture,passive:!!V.passive}:{capture:!!V,passive:!1}}function _o(V,$){return V===$||(typeof V=="boolean"?!!$.capture===V&&!$.passive:!!V.capture==!!$.capture&&!!V.passive==!!$.passive)}var Oo={id:"events",install:function(V){var $,ne=[],me={},Oe=[],ze={add:nt,remove:ct,addDelegate:function(Ft,Rr,Jr,In,Rn){var Jn=Co(Rn);if(!me[Jr]){me[Jr]=[];for(var _i=0;_i<Oe.length;_i++){var qn=Oe[_i];nt(qn,Jr,Dt),nt(qn,Jr,Zt,!0)}}var Xi=me[Jr],cs=Yr(Xi,(function(nr){return nr.selector===Ft&&nr.context===Rr}));cs||(cs={selector:Ft,context:Rr,listeners:[]},Xi.push(cs)),cs.listeners.push({func:In,options:Jn})},removeDelegate:function(Ft,Rr,Jr,In,Rn){var Jn,_i=Co(Rn),qn=me[Jr],Xi=!1;if(qn)for(Jn=qn.length-1;Jn>=0;Jn--){var cs=qn[Jn];if(cs.selector===Ft&&cs.context===Rr){for(var nr=cs.listeners,Fr=nr.length-1;Fr>=0;Fr--){var _r=nr[Fr];if(_r.func===In&&_o(_r.options,_i)){nr.splice(Fr,1),nr.length||(qn.splice(Jn,1),ct(Rr,Jr,Dt),ct(Rr,Jr,Zt,!0)),Xi=!0;break}}if(Xi)break}}},delegateListener:Dt,delegateUseCapture:Zt,delegatedEvents:me,documents:Oe,targets:ne,supportsOptions:!1,supportsPassive:!1};function nt(Ft,Rr,Jr,In){if(Ft.addEventListener){var Rn=Co(In),Jn=Yr(ne,(function(_i){return _i.eventTarget===Ft}));Jn||(Jn={eventTarget:Ft,events:{}},ne.push(Jn)),Jn.events[Rr]||(Jn.events[Rr]=[]),Yr(Jn.events[Rr],(function(_i){return _i.func===Jr&&_o(_i.options,Rn)}))||(Ft.addEventListener(Rr,Jr,ze.supportsOptions?Rn:Rn.capture),Jn.events[Rr].push({func:Jr,options:Rn}))}}function ct(Ft,Rr,Jr,In){if(Ft.addEventListener&&Ft.removeEventListener){var Rn=_t(ne,(function(ui){return ui.eventTarget===Ft})),Jn=ne[Rn];if(Jn&&Jn.events)if(Rr!=="all"){var _i=!1,qn=Jn.events[Rr];if(qn){if(Jr==="all"){for(var Xi=qn.length-1;Xi>=0;Xi--){var cs=qn[Xi];ct(Ft,Rr,cs.func,cs.options)}return}for(var nr=Co(In),Fr=0;Fr<qn.length;Fr++){var _r=qn[Fr];if(_r.func===Jr&&_o(_r.options,nr)){Ft.removeEventListener(Rr,Jr,ze.supportsOptions?nr:nr.capture),qn.splice(Fr,1),qn.length===0&&(delete Jn.events[Rr],_i=!0);break}}}_i&&!Object.keys(Jn.events).length&&ne.splice(Rn,1)}else for(Rr in Jn.events)Jn.events.hasOwnProperty(Rr)&&ct(Ft,Rr,"all")}}function Dt(Ft,Rr){for(var Jr=Co(Rr),In=new Wa(Ft),Rn=me[Ft.type],Jn=Q(Ft)[0],_i=Jn;U.element(_i);){for(var qn=0;qn<Rn.length;qn++){var Xi=Rn[qn],cs=Xi.selector,nr=Xi.context;if(ye(_i,cs)&&Ce(nr,Jn)&&Ce(nr,_i)){var Fr=Xi.listeners;In.currentTarget=_i;for(var _r=0;_r<Fr.length;_r++){var ui=Fr[_r];_o(ui.options,Jr)&&ui.func(In)}}}_i=qe(_i)}}function Zt(Ft){return Dt(Ft,!0)}return($=V.document)==null||$.createElement("div").addEventListener("test",null,{get capture(){return ze.supportsOptions=!0},get passive(){return ze.supportsPassive=!0}}),V.events=ze,ze}},Ks={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(V){for(var $=0,ne=Ks.methodOrder;$<ne.length;$++){var me=ne[$],Oe=Ks[me](V);if(Oe)return Oe}return null},simulationResume:function(V){var $=V.pointerType,ne=V.eventType,me=V.eventTarget,Oe=V.scope;if(!/down|start/i.test(ne))return null;for(var ze=0,nt=Oe.interactions.list;ze<nt.length;ze++){var ct=nt[ze],Dt=me;if(ct.simulation&&ct.simulation.allowResume&&ct.pointerType===$)for(;Dt;){if(Dt===ct.element)return ct;Dt=qe(Dt)}}return null},mouseOrPen:function(V){var $,ne=V.pointerId,me=V.pointerType,Oe=V.eventType,ze=V.scope;if(me!=="mouse"&&me!=="pen")return null;for(var nt=0,ct=ze.interactions.list;nt<ct.length;nt++){var Dt=ct[nt];if(Dt.pointerType===me){if(Dt.simulation&&!Mi(Dt,ne))continue;if(Dt.interacting())return Dt;$||($=Dt)}}if($)return $;for(var Zt=0,Ft=ze.interactions.list;Zt<Ft.length;Zt++){var Rr=Ft[Zt];if(!(Rr.pointerType!==me||/down/i.test(Oe)&&Rr.simulation))return Rr}return null},hasPointer:function(V){for(var $=V.pointerId,ne=0,me=V.scope.interactions.list;ne<me.length;ne++){var Oe=me[ne];if(Mi(Oe,$))return Oe}return null},idle:function(V){for(var $=V.pointerType,ne=0,me=V.scope.interactions.list;ne<me.length;ne++){var Oe=me[ne];if(Oe.pointers.length===1){var ze=Oe.interactable;if(ze&&(!ze.options.gesture||!ze.options.gesture.enabled))continue}else if(Oe.pointers.length>=2)continue;if(!Oe.interacting()&&$===Oe.pointerType)return Oe}return null}};function Mi(V,$){return V.pointers.some((function(ne){return ne.id===$}))}var Me=Ks,je=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function Ot(V,$){return function(ne){var me=$.interactions.list,Oe=Ar(ne),ze=Q(ne),nt=ze[0],ct=ze[1],Dt=[];if(/^touch/.test(ne.type)){$.prevTouchTime=$.now();for(var Zt=0,Ft=ne.changedTouches;Zt<Ft.length;Zt++){var Rr=Ft[Zt],Jr={pointer:Rr,pointerId:dr(Rr),pointerType:Oe,eventType:ne.type,eventTarget:nt,curEventTarget:ct,scope:$},In=Wt(Jr);Dt.push([Jr.pointer,Jr.eventTarget,Jr.curEventTarget,In])}}else{var Rn=!1;if(!Ie.supportsPointerEvent&&/mouse/.test(ne.type)){for(var Jn=0;Jn<me.length&&!Rn;Jn++)Rn=me[Jn].pointerType!=="mouse"&&me[Jn].pointerIsDown;Rn=Rn||$.now()-$.prevTouchTime<500||ne.timeStamp===0}if(!Rn){var _i={pointer:ne,pointerId:dr(ne),pointerType:Oe,eventType:ne.type,curEventTarget:ct,eventTarget:nt,scope:$},qn=Wt(_i);Dt.push([_i.pointer,_i.eventTarget,_i.curEventTarget,qn])}}for(var Xi=0;Xi<Dt.length;Xi++){var cs=Dt[Xi],nr=cs[0],Fr=cs[1],_r=cs[2];cs[3][V](nr,ne,Fr,_r)}}}function Wt(V){var $=V.pointerType,ne=V.scope,me={interaction:Me.search(V),searchDetails:V};return ne.fire("interactions:find",me),me.interaction||ne.interactions.new({pointerType:$})}function Br(V,$){var ne=V.doc,me=V.scope,Oe=V.options,ze=me.interactions.docEvents,nt=me.events,ct=nt[$];for(var Dt in me.browser.isIOS&&!Oe.events&&(Oe.events={passive:!1}),nt.delegatedEvents)ct(ne,Dt,nt.delegateListener),ct(ne,Dt,nt.delegateUseCapture,!0);for(var Zt=Oe&&Oe.events,Ft=0;Ft<ze.length;Ft++){var Rr=ze[Ft];ct(ne,Rr.type,Rr.listener,Zt)}}var Vr={id:"core/interactions",install:function(V){for(var $={},ne=0;ne<je.length;ne++){var me=je[ne];$[me]=Ot(me,V)}var Oe,ze=Ie.pEventTypes;function nt(){for(var ct=0,Dt=V.interactions.list;ct<Dt.length;ct++){var Zt=Dt[ct];if(Zt.pointerIsDown&&Zt.pointerType==="touch"&&!Zt._interacting)for(var Ft=function(){var In=Jr[Rr];V.documents.some((function(Rn){return Ce(Rn.doc,In.downTarget)}))||Zt.removePointer(In.pointer,In.event)},Rr=0,Jr=Zt.pointers;Rr<Jr.length;Rr++)Ft()}}(Oe=pe.PointerEvent?[{type:ze.down,listener:nt},{type:ze.down,listener:$.pointerDown},{type:ze.move,listener:$.pointerMove},{type:ze.up,listener:$.pointerUp},{type:ze.cancel,listener:$.pointerUp}]:[{type:"mousedown",listener:$.pointerDown},{type:"mousemove",listener:$.pointerMove},{type:"mouseup",listener:$.pointerUp},{type:"touchstart",listener:nt},{type:"touchstart",listener:$.pointerDown},{type:"touchmove",listener:$.pointerMove},{type:"touchend",listener:$.pointerUp},{type:"touchcancel",listener:$.pointerUp}]).push({type:"blur",listener:function(ct){for(var Dt=0,Zt=V.interactions.list;Dt<Zt.length;Dt++)Zt[Dt].documentBlur(ct)}}),V.prevTouchTime=0,V.Interaction=(function(ct){m(Zt,ct);var Dt=E(Zt);function Zt(){return s(this,Zt),Dt.apply(this,arguments)}return u(Zt,[{key:"pointerMoveTolerance",get:function(){return V.interactions.pointerMoveTolerance},set:function(Ft){V.interactions.pointerMoveTolerance=Ft}},{key:"_now",value:function(){return V.now()}}]),Zt})(ss),V.interactions={list:[],new:function(ct){ct.scopeFire=function(Zt,Ft){return V.fire(Zt,Ft)};var Dt=new V.Interaction(ct);return V.interactions.list.push(Dt),Dt},listeners:$,docEvents:Oe,pointerMoveTolerance:1},V.usePlugin(Ss)},listeners:{"scope:add-document":function(V){return Br(V,"add")},"scope:remove-document":function(V){return Br(V,"remove")},"interactable:unset":function(V,$){for(var ne=V.interactable,me=$.interactions.list.length-1;me>=0;me--){var Oe=$.interactions.list[me];Oe.interactable===ne&&(Oe.stop(),$.fire("interactions:destroy",{interaction:Oe}),Oe.destroy(),$.interactions.list.length>2&&$.interactions.list.splice(me,1))}}},onDocSignal:Br,doOnInteractions:Ot,methodNames:je},an=Vr,ii=(function(V){return V[V.On=0]="On",V[V.Off=1]="Off",V})(ii||{}),Yi=(function(){function V($,ne,me,Oe){s(this,V),this.target=void 0,this.options=void 0,this._actions=void 0,this.events=new ao,this._context=void 0,this._win=void 0,this._doc=void 0,this._scopeEvents=void 0,this._actions=ne.actions,this.target=$,this._context=ne.context||me,this._win=M(At($)?this._context:$),this._doc=this._win.document,this._scopeEvents=Oe,this.set(ne)}return u(V,[{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}},{key:"setOnEvents",value:function($,ne){return U.func(ne.onstart)&&this.on("".concat($,"start"),ne.onstart),U.func(ne.onmove)&&this.on("".concat($,"move"),ne.onmove),U.func(ne.onend)&&this.on("".concat($,"end"),ne.onend),U.func(ne.oninertiastart)&&this.on("".concat($,"inertiastart"),ne.oninertiastart),this}},{key:"updatePerActionListeners",value:function($,ne,me){var Oe,ze=this,nt=(Oe=this._actions.map[$])==null?void 0:Oe.filterEventType,ct=function(Dt){return(nt==null||nt(Dt))&&as(Dt,ze._actions)};(U.array(ne)||U.object(ne))&&this._onOff(ii.Off,$,ne,void 0,ct),(U.array(me)||U.object(me))&&this._onOff(ii.On,$,me,void 0,ct)}},{key:"setPerAction",value:function($,ne){var me=this._defaults;for(var Oe in ne){var ze=Oe,nt=this.options[$],ct=ne[ze];ze==="listeners"&&this.updatePerActionListeners($,nt.listeners,ct),U.array(ct)?nt[ze]=rt(ct):U.plainObject(ct)?(nt[ze]=yt(nt[ze]||{},oi(ct)),U.object(me.perAction[ze])&&"enabled"in me.perAction[ze]&&(nt[ze].enabled=ct.enabled!==!1)):U.bool(ct)&&U.object(me.perAction[ze])?nt[ze].enabled=ct:nt[ze]=ct}}},{key:"getRect",value:function($){return $=$||(U.element(this.target)?this.target:null),U.string(this.target)&&($=$||this._context.querySelector(this.target)),Ge($)}},{key:"rectChecker",value:function($){var ne=this;return U.func($)?(this.getRect=function(me){var Oe=yt({},$.apply(ne,me));return"width"in Oe||(Oe.width=Oe.right-Oe.left,Oe.height=Oe.bottom-Oe.top),Oe},this):$===null?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function($,ne){if(At(ne)||U.object(ne)){for(var me in this.options[$]=ne,this._actions.map)this.options[me][$]=ne;return this}return this.options[$]}},{key:"origin",value:function($){return this._backCompatOption("origin",$)}},{key:"deltaSource",value:function($){return $==="page"||$==="client"?(this.options.deltaSource=$,this):this.options.deltaSource}},{key:"getAllElements",value:function(){var $=this.target;return U.string($)?Array.from(this._context.querySelectorAll($)):U.func($)&&$.getAllElements?$.getAllElements():U.element($)?[$]:[]}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function($){return this._context===$.ownerDocument||Ce(this._context,$)}},{key:"testIgnoreAllow",value:function($,ne,me){return!this.testIgnore($.ignoreFrom,ne,me)&&this.testAllow($.allowFrom,ne,me)}},{key:"testAllow",value:function($,ne,me){return!$||!!U.element(me)&&(U.string($)?Fe(me,$,ne):!!U.element($)&&Ce($,me))}},{key:"testIgnore",value:function($,ne,me){return!(!$||!U.element(me))&&(U.string($)?Fe(me,$,ne):!!U.element($)&&Ce($,me))}},{key:"fire",value:function($){return this.events.fire($),this}},{key:"_onOff",value:function($,ne,me,Oe,ze){U.object(ne)&&!U.array(ne)&&(Oe=me,me=null);var nt=sn(ne,me,ze);for(var ct in nt){ct==="wheel"&&(ct=Ie.wheelEvent);for(var Dt=0,Zt=nt[ct];Dt<Zt.length;Dt++){var Ft=Zt[Dt];as(ct,this._actions)?this.events[$===ii.On?"on":"off"](ct,Ft):U.string(this.target)?this._scopeEvents[$===ii.On?"addDelegate":"removeDelegate"](this.target,this._context,ct,Ft,Oe):this._scopeEvents[$===ii.On?"add":"remove"](this.target,ct,Ft,Oe)}}return this}},{key:"on",value:function($,ne,me){return this._onOff(ii.On,$,ne,me)}},{key:"off",value:function($,ne,me){return this._onOff(ii.Off,$,ne,me)}},{key:"set",value:function($){var ne=this._defaults;for(var me in U.object($)||($={}),this.options=oi(ne.base),this._actions.methodDict){var Oe=me,ze=this._actions.methodDict[Oe];this.options[Oe]={},this.setPerAction(Oe,yt(yt({},ne.perAction),ne.actions[Oe])),this[ze]($[Oe])}for(var nt in $)nt!=="getRect"?U.func(this[nt])&&this[nt]($[nt]):this.rectChecker($.getRect);return this}},{key:"unset",value:function(){if(U.string(this.target))for(var $ in this._scopeEvents.delegatedEvents)for(var ne=this._scopeEvents.delegatedEvents[$],me=ne.length-1;me>=0;me--){var Oe=ne[me],ze=Oe.selector,nt=Oe.context,ct=Oe.listeners;ze===this.target&&nt===this._context&&ne.splice(me,1);for(var Dt=ct.length-1;Dt>=0;Dt--)this._scopeEvents.removeDelegate(this.target,this._context,$,ct[Dt][0],ct[Dt][1])}else this._scopeEvents.remove(this.target,"all")}}]),V})(),Ui=(function(){function V($){var ne=this;s(this,V),this.list=[],this.selectorMap={},this.scope=void 0,this.scope=$,$.addListeners({"interactable:unset":function(me){var Oe=me.interactable,ze=Oe.target,nt=U.string(ze)?ne.selectorMap[ze]:ze[ne.scope.id],ct=_t(nt,(function(Dt){return Dt===Oe}));nt.splice(ct,1)}})}return u(V,[{key:"new",value:function($,ne){ne=yt(ne||{},{actions:this.scope.actions});var me=new this.scope.Interactable($,ne,this.scope.document,this.scope.events);return this.scope.addDocument(me._doc),this.list.push(me),U.string($)?(this.selectorMap[$]||(this.selectorMap[$]=[]),this.selectorMap[$].push(me)):(me.target[this.scope.id]||Object.defineProperty($,this.scope.id,{value:[],configurable:!0}),$[this.scope.id].push(me)),this.scope.fire("interactable:new",{target:$,options:ne,interactable:me,win:this.scope._win}),me}},{key:"getExisting",value:function($,ne){var me=ne&&ne.context||this.scope.document,Oe=U.string($),ze=Oe?this.selectorMap[$]:$[this.scope.id];if(ze)return Yr(ze,(function(nt){return nt._context===me&&(Oe||nt.inContext($))}))}},{key:"forEachMatch",value:function($,ne){for(var me=0,Oe=this.list;me<Oe.length;me++){var ze=Oe[me],nt=void 0;if((U.string(ze.target)?U.element($)&&ye($,ze.target):$===ze.target)&&ze.inContext($)&&(nt=ne(ze)),nt!==void 0)return nt}}}]),V})(),bi=(function(){function V(){var $=this;s(this,V),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.isInitialized=!1,this.listenerMaps=[],this.browser=Ie,this.defaults=oi(Pt),this.Eventable=ao,this.actions={map:{},phases:{start:!0,move:!0,end:!0},methodDict:{},phaselessTypes:{}},this.interactStatic=(function(me){var Oe=function ze(nt,ct){var Dt=me.interactables.getExisting(nt,ct);return Dt||((Dt=me.interactables.new(nt,ct)).events.global=ze.globalEvents),Dt};return Oe.getPointerAverage=Xt,Oe.getTouchBBox=br,Oe.getTouchDistance=$t,Oe.getTouchAngle=wt,Oe.getElementRect=Ge,Oe.getElementClientRect=ke,Oe.matchesSelector=ye,Oe.closest=Je,Oe.globalEvents={},Oe.version="1.10.27",Oe.scope=me,Oe.use=function(ze,nt){return this.scope.usePlugin(ze,nt),this},Oe.isSet=function(ze,nt){return!!this.scope.interactables.get(ze,nt&&nt.context)},Oe.on=mi((function(ze,nt,ct){if(U.string(ze)&&ze.search(" ")!==-1&&(ze=ze.trim().split(/ +/)),U.array(ze)){for(var Dt=0,Zt=ze;Dt<Zt.length;Dt++){var Ft=Zt[Dt];this.on(Ft,nt,ct)}return this}if(U.object(ze)){for(var Rr in ze)this.on(Rr,ze[Rr],nt);return this}return as(ze,this.scope.actions)?this.globalEvents[ze]?this.globalEvents[ze].push(nt):this.globalEvents[ze]=[nt]:this.scope.events.add(this.scope.document,ze,nt,{options:ct}),this}),"The interact.on() method is being deprecated"),Oe.off=mi((function(ze,nt,ct){if(U.string(ze)&&ze.search(" ")!==-1&&(ze=ze.trim().split(/ +/)),U.array(ze)){for(var Dt=0,Zt=ze;Dt<Zt.length;Dt++){var Ft=Zt[Dt];this.off(Ft,nt,ct)}return this}if(U.object(ze)){for(var Rr in ze)this.off(Rr,ze[Rr],nt);return this}var Jr;return as(ze,this.scope.actions)?ze in this.globalEvents&&(Jr=this.globalEvents[ze].indexOf(nt))!==-1&&this.globalEvents[ze].splice(Jr,1):this.scope.events.remove(this.scope.document,ze,nt,ct),this}),"The interact.off() method is being deprecated"),Oe.debug=function(){return this.scope},Oe.supportsTouch=function(){return Ie.supportsTouch},Oe.supportsPointerEvent=function(){return Ie.supportsPointerEvent},Oe.stop=function(){for(var ze=0,nt=this.scope.interactions.list;ze<nt.length;ze++)nt[ze].stop();return this},Oe.pointerMoveTolerance=function(ze){return U.number(ze)?(this.scope.interactions.pointerMoveTolerance=ze,this):this.scope.interactions.pointerMoveTolerance},Oe.addDocument=function(ze,nt){this.scope.addDocument(ze,nt)},Oe.removeDocument=function(ze){this.scope.removeDocument(ze)},Oe})(this),this.InteractEvent=or,this.Interactable=void 0,this.interactables=new Ui(this),this._win=void 0,this.document=void 0,this.window=void 0,this.documents=[],this._plugins={list:[],map:{}},this.onWindowUnload=function(me){return $.removeDocument(me.target)};var ne=this;this.Interactable=(function(me){m(ze,me);var Oe=E(ze);function ze(){return s(this,ze),Oe.apply(this,arguments)}return u(ze,[{key:"_defaults",get:function(){return ne.defaults}},{key:"set",value:function(nt){return w(g(ze.prototype),"set",this).call(this,nt),ne.fire("interactable:set",{options:nt,interactable:this}),this}},{key:"unset",value:function(){w(g(ze.prototype),"unset",this).call(this);var nt=ne.interactables.list.indexOf(this);nt<0||(ne.interactables.list.splice(nt,1),ne.fire("interactable:unset",{interactable:this}))}}]),ze})(Yi)}return u(V,[{key:"addListeners",value:function($,ne){this.listenerMaps.push({id:ne,map:$})}},{key:"fire",value:function($,ne){for(var me=0,Oe=this.listenerMaps;me<Oe.length;me++){var ze=Oe[me].map[$];if(ze&&ze(ne,this,$)===!1)return!1}}},{key:"init",value:function($){return this.isInitialized?this:(function(ne,me){return ne.isInitialized=!0,U.window(me)&&B(me),pe.init(me),Ie.init(me),mt.init(me),ne.window=me,ne.document=me.document,ne.usePlugin(an),ne.usePlugin(Oo),ne})(this,$)}},{key:"pluginIsInstalled",value:function($){var ne=$.id;return ne?!!this._plugins.map[ne]:this._plugins.list.indexOf($)!==-1}},{key:"usePlugin",value:function($,ne){if(!this.isInitialized)return this;if(this.pluginIsInstalled($))return this;if($.id&&(this._plugins.map[$.id]=$),this._plugins.list.push($),$.install&&$.install(this,ne),$.listeners&&$.before){for(var me=0,Oe=this.listenerMaps.length,ze=$.before.reduce((function(ct,Dt){return ct[Dt]=!0,ct[Ws(Dt)]=!0,ct}),{});me<Oe;me++){var nt=this.listenerMaps[me].id;if(nt&&(ze[nt]||ze[Ws(nt)]))break}this.listenerMaps.splice(me,0,{id:$.id,map:$.listeners})}else $.listeners&&this.listenerMaps.push({id:$.id,map:$.listeners});return this}},{key:"addDocument",value:function($,ne){if(this.getDocIndex($)!==-1)return!1;var me=M($);ne=ne?yt({},ne):{},this.documents.push({doc:$,options:ne}),this.events.documents.push($),$!==this.document&&this.events.add(me,"unload",this.onWindowUnload),this.fire("scope:add-document",{doc:$,window:me,scope:this,options:ne})}},{key:"removeDocument",value:function($){var ne=this.getDocIndex($),me=M($),Oe=this.documents[ne].options;this.events.remove(me,"unload",this.onWindowUnload),this.documents.splice(ne,1),this.events.documents.splice(ne,1),this.fire("scope:remove-document",{doc:$,window:me,scope:this,options:Oe})}},{key:"getDocIndex",value:function($){for(var ne=0;ne<this.documents.length;ne++)if(this.documents[ne].doc===$)return ne;return-1}},{key:"getDocOptions",value:function($){var ne=this.getDocIndex($);return ne===-1?null:this.documents[ne].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),V})();function Ws(V){return V&&V.replace(/\/.*$/,"")}var ms=new bi,Le=ms.interactStatic,Ye=typeof globalThis<"u"?globalThis:window;ms.init(Ye);var ft=Object.freeze({__proto__:null,edgeTarget:function(){},elements:function(){},grid:function(V){var $=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter((function(me){var Oe=me[0],ze=me[1];return Oe in V||ze in V})),ne=function(me,Oe){for(var ze=V.range,nt=V.limits,ct=nt===void 0?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:nt,Dt=V.offset,Zt=Dt===void 0?{x:0,y:0}:Dt,Ft={range:ze,grid:V,x:null,y:null},Rr=0;Rr<$.length;Rr++){var Jr=$[Rr],In=Jr[0],Rn=Jr[1],Jn=Math.round((me-Zt.x)/V[In]),_i=Math.round((Oe-Zt.y)/V[Rn]);Ft[In]=Math.max(ct.left,Math.min(ct.right,Jn*V[In]+Zt.x)),Ft[Rn]=Math.max(ct.top,Math.min(ct.bottom,_i*V[Rn]+Zt.y))}return Ft};return ne.grid=V,ne.coordFields=$,ne}}),ht={id:"snappers",install:function(V){var $=V.interactStatic;$.snappers=yt($.snappers||{},ft),$.createSnapGrid=$.snappers.grid}},Mt=ht,Jt={start:function(V){var $=V.state,ne=V.rect,me=V.edges,Oe=V.pageCoords,ze=$.options,nt=ze.ratio,ct=ze.enabled,Dt=$.options,Zt=Dt.equalDelta,Ft=Dt.modifiers;nt==="preserve"&&(nt=ne.width/ne.height),$.startCoords=yt({},Oe),$.startRect=yt({},ne),$.ratio=nt,$.equalDelta=Zt;var Rr=$.linkedEdges={top:me.top||me.left&&!me.bottom,left:me.left||me.top&&!me.right,bottom:me.bottom||me.right&&!me.top,right:me.right||me.bottom&&!me.left};if($.xIsPrimaryAxis=!(!me.left&&!me.right),$.equalDelta){var Jr=(Rr.left?1:-1)*(Rr.top?1:-1);$.edgeSign={x:Jr,y:Jr}}else $.edgeSign={x:Rr.left?-1:1,y:Rr.top?-1:1};if(ct!==!1&&yt(me,Rr),Ft!=null&&Ft.length){var In=new $s(V.interaction);In.copyFrom(V.interaction.modification),In.prepareStates(Ft),$.subModification=In,In.startAll(r({},V))}},set:function(V){var $=V.state,ne=V.rect,me=V.coords,Oe=$.linkedEdges,ze=yt({},me),nt=$.equalDelta?Er:Lr;if(yt(V.edges,Oe),nt($,$.xIsPrimaryAxis,me,ne),!$.subModification)return null;var ct=yt({},ne);Wr(Oe,ct,{x:me.x-ze.x,y:me.y-ze.y});var Dt=$.subModification.setAll(r(r({},V),{},{rect:ct,edges:Oe,pageCoords:me,prevCoords:me,prevRect:ct})),Zt=Dt.delta;return Dt.changed&&(nt($,Math.abs(Zt.x)>Math.abs(Zt.y),Dt.coords,Dt.rect),yt(me,Dt.coords)),Dt.eventProps},defaults:{ratio:"preserve",equalDelta:!1,modifiers:[],enabled:!1}};function Er(V,$,ne){var me=V.startCoords,Oe=V.edgeSign;$?ne.y=me.y+(ne.x-me.x)*Oe.y:ne.x=me.x+(ne.y-me.y)*Oe.x}function Lr(V,$,ne,me){var Oe=V.startRect,ze=V.startCoords,nt=V.ratio,ct=V.edgeSign;if($){var Dt=me.width/nt;ne.y=ze.y+(Dt-Oe.height)*ct.y}else{var Zt=me.height*nt;ne.x=ze.x+(Zt-Oe.width)*ct.x}}var Mn=ls(Jt,"aspectRatio"),Pn=function(){};Pn._defaults={};var kn=Pn;function Gi(V,$,ne){return U.func(V)?Nt(V,$.interactable,$.element,[ne.x,ne.y,$]):Nt(V,$.interactable,$.element)}var os={start:function(V){var $=V.rect,ne=V.startOffset,me=V.state,Oe=V.interaction,ze=V.pageCoords,nt=me.options,ct=nt.elementRect,Dt=yt({left:0,top:0,right:0,bottom:0},nt.offset||{});if($&&ct){var Zt=Gi(nt.restriction,Oe,ze);if(Zt){var Ft=Zt.right-Zt.left-$.width,Rr=Zt.bottom-Zt.top-$.height;Ft<0&&(Dt.left+=Ft,Dt.right+=Ft),Rr<0&&(Dt.top+=Rr,Dt.bottom+=Rr)}Dt.left+=ne.left-$.width*ct.left,Dt.top+=ne.top-$.height*ct.top,Dt.right+=ne.right-$.width*(1-ct.right),Dt.bottom+=ne.bottom-$.height*(1-ct.bottom)}me.offset=Dt},set:function(V){var $=V.coords,ne=V.interaction,me=V.state,Oe=me.options,ze=me.offset,nt=Gi(Oe.restriction,ne,$);if(nt){var ct=(function(Dt){return!Dt||"left"in Dt&&"top"in Dt||((Dt=yt({},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})(nt);$.x=Math.max(Math.min(ct.right-ze.right,$.x),ct.left+ze.left),$.y=Math.max(Math.min(ct.bottom-ze.bottom,$.y),ct.top+ze.top)}},defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}},Os=ls(os,"restrict"),ir={top:1/0,left:1/0,bottom:-1/0,right:-1/0},Bt={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function sr(V,$){for(var ne=0,me=["top","left","bottom","right"];ne<me.length;ne++){var Oe=me[ne];Oe in V||(V[Oe]=$[Oe])}return V}var Cr={noInner:ir,noOuter:Bt,start:function(V){var $,ne=V.interaction,me=V.startOffset,Oe=V.state,ze=Oe.options;ze&&($=Ir(Gi(ze.offset,ne,ne.coords.start.page))),$=$||{x:0,y:0},Oe.offset={top:$.y+me.top,left:$.x+me.left,bottom:$.y-me.bottom,right:$.x-me.right}},set:function(V){var $=V.coords,ne=V.edges,me=V.interaction,Oe=V.state,ze=Oe.offset,nt=Oe.options;if(ne){var ct=yt({},$),Dt=Gi(nt.inner,me,ct)||{},Zt=Gi(nt.outer,me,ct)||{};sr(Dt,ir),sr(Zt,Bt),ne.top?$.y=Math.min(Math.max(Zt.top+ze.top,ct.y),Dt.top+ze.top):ne.bottom&&($.y=Math.max(Math.min(Zt.bottom+ze.bottom,ct.y),Dt.bottom+ze.bottom)),ne.left?$.x=Math.min(Math.max(Zt.left+ze.left,ct.x),Dt.left+ze.left):ne.right&&($.x=Math.max(Math.min(Zt.right+ze.right,ct.x),Dt.right+ze.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}},Fn=ls(Cr,"restrictEdges"),Pe=yt({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(V){}},os.defaults),Be=ls({start:os.start,set:os.set,defaults:Pe},"restrictRect"),it={width:-1/0,height:-1/0},st={width:1/0,height:1/0},jt=ls({start:function(V){return Cr.start(V)},set:function(V){var $=V.interaction,ne=V.state,me=V.rect,Oe=V.edges,ze=ne.options;if(Oe){var nt=yr(Gi(ze.min,$,V.coords))||it,ct=yr(Gi(ze.max,$,V.coords))||st;ne.options={endOnly:ze.endOnly,inner:yt({},Cr.noInner),outer:yt({},Cr.noOuter)},Oe.top?(ne.options.inner.top=me.bottom-nt.height,ne.options.outer.top=me.bottom-ct.height):Oe.bottom&&(ne.options.inner.bottom=me.top+nt.height,ne.options.outer.bottom=me.top+ct.height),Oe.left?(ne.options.inner.left=me.right-nt.width,ne.options.outer.left=me.right-ct.width):Oe.right&&(ne.options.inner.right=me.left+nt.width,ne.options.outer.right=me.left+ct.width),Cr.set(V),ne.options=ze}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}},"restrictSize"),Gt={start:function(V){var $,ne=V.interaction,me=V.interactable,Oe=V.element,ze=V.rect,nt=V.state,ct=V.startOffset,Dt=nt.options,Zt=Dt.offsetWithOrigin?(function(Jr){var In=Jr.interaction.element,Rn=Ir(Nt(Jr.state.options.origin,null,null,[In])),Jn=Rn||$r(Jr.interactable,In,Jr.interaction.prepared.name);return Jn})(V):{x:0,y:0};if(Dt.offset==="startCoords")$={x:ne.coords.start.page.x,y:ne.coords.start.page.y};else{var Ft=Nt(Dt.offset,me,Oe,[ne]);($=Ir(Ft)||{x:0,y:0}).x+=Zt.x,$.y+=Zt.y}var Rr=Dt.relativePoints;nt.offsets=ze&&Rr&&Rr.length?Rr.map((function(Jr,In){return{index:In,relativePoint:Jr,x:ct.left-ze.width*Jr.x+$.x,y:ct.top-ze.height*Jr.y+$.y}})):[{index:0,relativePoint:null,x:$.x,y:$.y}]},set:function(V){var $=V.interaction,ne=V.coords,me=V.state,Oe=me.options,ze=me.offsets,nt=$r($.interactable,$.element,$.prepared.name),ct=yt({},ne),Dt=[];Oe.offsetWithOrigin||(ct.x-=nt.x,ct.y-=nt.y);for(var Zt=0,Ft=ze;Zt<Ft.length;Zt++)for(var Rr=Ft[Zt],Jr=ct.x-Rr.x,In=ct.y-Rr.y,Rn=0,Jn=Oe.targets.length;Rn<Jn;Rn++){var _i=Oe.targets[Rn],qn=void 0;(qn=U.func(_i)?_i(Jr,In,$._proxy,Rr,Rn):_i)&&Dt.push({x:(U.number(qn.x)?qn.x:Jr)+Rr.x,y:(U.number(qn.y)?qn.y:In)+Rr.y,range:U.number(qn.range)?qn.range:Oe.range,source:_i,index:Rn,offset:Rr})}for(var Xi={target:null,inRange:!1,distance:0,range:0,delta:{x:0,y:0}},cs=0;cs<Dt.length;cs++){var nr=Dt[cs],Fr=nr.range,_r=nr.x-ct.x,ui=nr.y-ct.y,Ni=pt(_r,ui),ci=Ni<=Fr;Fr===1/0&&Xi.inRange&&Xi.range!==1/0&&(ci=!1),Xi.target&&!(ci?Xi.inRange&&Fr!==1/0?Ni/Fr<Xi.distance/Xi.range:Fr===1/0&&Xi.range!==1/0||Ni<Xi.distance:!Xi.inRange&&Ni<Xi.distance)||(Xi.target=nr,Xi.distance=Ni,Xi.range=Fr,Xi.inRange=ci,Xi.delta.x=_r,Xi.delta.y=ui)}return Xi.inRange&&(ne.x=Xi.target.x,ne.y=Xi.target.y),me.closest=Xi,Xi},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}},ar=ls(Gt,"snap"),ur={start:function(V){var $=V.state,ne=V.edges,me=$.options;if(!ne)return null;V.state={options:{targets:null,relativePoints:[{x:ne.left?0:1,y:ne.top?0:1}],offset:me.offset||"self",origin:{x:0,y:0},range:me.range}},$.targetFields=$.targetFields||[["width","height"],["x","y"]],Gt.start(V),$.offsets=V.state.offsets,V.state=$},set:function(V){var $=V.interaction,ne=V.state,me=V.coords,Oe=ne.options,ze=ne.offsets,nt={x:me.x-ze[0].x,y:me.y-ze[0].y};ne.options=yt({},Oe),ne.options.targets=[];for(var ct=0,Dt=Oe.targets||[];ct<Dt.length;ct++){var Zt=Dt[ct],Ft=void 0;if(Ft=U.func(Zt)?Zt(nt.x,nt.y,$):Zt){for(var Rr=0,Jr=ne.targetFields;Rr<Jr.length;Rr++){var In=Jr[Rr],Rn=In[0],Jn=In[1];if(Rn in Ft||Jn in Ft){Ft.x=Ft[Rn],Ft.y=Ft[Jn];break}}ne.options.targets.push(Ft)}}var _i=Gt.set(V);return ne.options=Oe,_i},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}},Un=ls(ur,"snapSize"),An={aspectRatio:Mn,restrictEdges:Fn,restrict:Os,restrictRect:Be,restrictSize:jt,snapEdges:ls({start:function(V){var $=V.edges;return $?(V.state.targetFields=V.state.targetFields||[[$.left?"left":"right",$.top?"top":"bottom"]],ur.start(V)):null},set:ur.set,defaults:yt(oi(ur.defaults),{targets:void 0,range:void 0,offset:{x:0,y:0}})},"snapEdges"),snap:ar,snapSize:Un,spring:kn,avoid:kn,transform:kn,rubberband:kn},jn={id:"modifiers",install:function(V){var $=V.interactStatic;for(var ne in V.usePlugin($e),V.usePlugin(Mt),$.modifiers=An,An){var me=An[ne],Oe=me._defaults,ze=me._methods;Oe._methods=ze,V.defaults.perAction[ne]=Oe}}},Wi=jn,Vs=(function(V){m(ne,V);var $=E(ne);function ne(me,Oe,ze,nt,ct,Dt){var Zt;if(s(this,ne),wr(v(Zt=$.call(this,ct)),ze),ze!==Oe&&wr(v(Zt),Oe),Zt.timeStamp=Dt,Zt.originalEvent=ze,Zt.type=me,Zt.pointerId=dr(Oe),Zt.pointerType=Ar(Oe),Zt.target=nt,Zt.currentTarget=null,me==="tap"){var Ft=ct.getPointerIndex(Oe);Zt.dt=Zt.timeStamp-ct.pointers[Ft].downTime;var Rr=Zt.timeStamp-ct.tapTime;Zt.double=!!ct.prevTap&&ct.prevTap.type!=="doubletap"&&ct.prevTap.target===Zt.target&&Rr<500}else me==="doubletap"&&(Zt.dt=Oe.timeStamp-ct.tapTime,Zt.double=!0);return Zt}return u(ne,[{key:"_subtractOrigin",value:function(me){var Oe=me.x,ze=me.y;return this.pageX-=Oe,this.pageY-=ze,this.clientX-=Oe,this.clientY-=ze,this}},{key:"_addOrigin",value:function(me){var Oe=me.x,ze=me.y;return this.pageX+=Oe,this.pageY+=ze,this.clientX+=Oe,this.clientY+=ze,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}]),ne})(ut),Pi={id:"pointer-events/base",before:["inertia","modifiers","auto-start","actions"],install:function(V){V.pointerEvents=Pi,V.defaults.actions.pointerEvents=Pi.defaults,yt(V.actions.phaselessTypes,Pi.types)},listeners:{"interactions:new":function(V){var $=V.interaction;$.prevTap=null,$.tapTime=0},"interactions:update-pointer":function(V){var $=V.down,ne=V.pointerInfo;!$&&ne.hold||(ne.hold={duration:1/0,timeout:null})},"interactions:move":function(V,$){var ne=V.interaction,me=V.pointer,Oe=V.event,ze=V.eventTarget;V.duplicate||ne.pointerIsDown&&!ne.pointerWasMoved||(ne.pointerIsDown&&ei(V),ws({interaction:ne,pointer:me,event:Oe,eventTarget:ze,type:"move"},$))},"interactions:down":function(V,$){(function(ne,me){for(var Oe=ne.interaction,ze=ne.pointer,nt=ne.event,ct=ne.eventTarget,Dt=ne.pointerIndex,Zt=Oe.pointers[Dt].hold,Ft=Xe(ct),Rr={interaction:Oe,pointer:ze,event:nt,eventTarget:ct,type:"hold",targets:[],path:Ft,node:null},Jr=0;Jr<Ft.length;Jr++){var In=Ft[Jr];Rr.node=In,me.fire("pointerEvents:collect-targets",Rr)}if(Rr.targets.length){for(var Rn=1/0,Jn=0,_i=Rr.targets;Jn<_i.length;Jn++){var qn=_i[Jn].eventable.options.holdDuration;qn<Rn&&(Rn=qn)}Zt.duration=Rn,Zt.timeout=setTimeout((function(){ws({interaction:Oe,eventTarget:ct,pointer:ze,event:nt,type:"hold"},me)}),Rn)}})(V,$),ws(V,$)},"interactions:up":function(V,$){ei(V),ws(V,$),(function(ne,me){var Oe=ne.interaction,ze=ne.pointer,nt=ne.event,ct=ne.eventTarget;Oe.pointerWasMoved||ws({interaction:Oe,eventTarget:ct,pointer:ze,event:nt,type:"tap"},me)})(V,$)},"interactions:cancel":function(V,$){ei(V),ws(V,$)}},PointerEvent:Vs,fire:ws,collectEventTargets:Ci,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 ws(V,$){var ne=V.interaction,me=V.pointer,Oe=V.event,ze=V.eventTarget,nt=V.type,ct=V.targets,Dt=ct===void 0?Ci(V,$):ct,Zt=new Vs(nt,me,Oe,ze,ne,$.now());$.fire("pointerEvents:new",{pointerEvent:Zt});for(var Ft={interaction:ne,pointer:me,event:Oe,eventTarget:ze,targets:Dt,type:nt,pointerEvent:Zt},Rr=0;Rr<Dt.length;Rr++){var Jr=Dt[Rr];for(var In in Jr.props||{})Zt[In]=Jr.props[In];var Rn=$r(Jr.eventable,Jr.node);if(Zt._subtractOrigin(Rn),Zt.eventable=Jr.eventable,Zt.currentTarget=Jr.node,Jr.eventable.fire(Zt),Zt._addOrigin(Rn),Zt.immediatePropagationStopped||Zt.propagationStopped&&Rr+1<Dt.length&&Dt[Rr+1].node!==Zt.currentTarget)break}if($.fire("pointerEvents:fired",Ft),nt==="tap"){var Jn=Zt.double?ws({interaction:ne,pointer:me,event:Oe,eventTarget:ze,type:"doubletap"},$):Zt;ne.prevTap=Jn,ne.tapTime=Jn.timeStamp}return Zt}function Ci(V,$){var ne=V.interaction,me=V.pointer,Oe=V.event,ze=V.eventTarget,nt=V.type,ct=ne.getPointerIndex(me),Dt=ne.pointers[ct];if(nt==="tap"&&(ne.pointerWasMoved||!Dt||Dt.downTarget!==ze))return[];for(var Zt=Xe(ze),Ft={interaction:ne,pointer:me,event:Oe,eventTarget:ze,type:nt,path:Zt,targets:[],node:null},Rr=0;Rr<Zt.length;Rr++){var Jr=Zt[Rr];Ft.node=Jr,$.fire("pointerEvents:collect-targets",Ft)}return nt==="hold"&&(Ft.targets=Ft.targets.filter((function(In){var Rn,Jn;return In.eventable.options.holdDuration===((Rn=ne.pointers[ct])==null||(Jn=Rn.hold)==null?void 0:Jn.duration)}))),Ft.targets}function ei(V){var $=V.interaction,ne=V.pointerIndex,me=$.pointers[ne].hold;me&&me.timeout&&(clearTimeout(me.timeout),me.timeout=null)}var hi=Object.freeze({__proto__:null,default:Pi});function Ps(V){var $=V.interaction;$.holdIntervalHandle&&(clearInterval($.holdIntervalHandle),$.holdIntervalHandle=null)}var Zi={id:"pointer-events/holdRepeat",install:function(V){V.usePlugin(Pi);var $=V.pointerEvents;$.defaults.holdRepeatInterval=0,$.types.holdrepeat=V.actions.phaselessTypes.holdrepeat=!0},listeners:["move","up","cancel","endall"].reduce((function(V,$){return V["pointerEvents:".concat($)]=Ps,V}),{"pointerEvents:new":function(V){var $=V.pointerEvent;$.type==="hold"&&($.count=($.count||0)+1)},"pointerEvents:fired":function(V,$){var ne=V.interaction,me=V.pointerEvent,Oe=V.eventTarget,ze=V.targets;if(me.type==="hold"&&ze.length){var nt=ze[0].eventable.options.holdRepeatInterval;nt<=0||(ne.holdIntervalHandle=setTimeout((function(){$.pointerEvents.fire({interaction:ne,eventTarget:Oe,type:"hold",pointer:me,event:me},$)}),nt))}}})},Ti=Zi,xs={id:"pointer-events/interactableTargets",install:function(V){var $=V.Interactable;$.prototype.pointerEvents=function(me){return yt(this.events.options,me),this};var ne=$.prototype._backCompatOption;$.prototype._backCompatOption=function(me,Oe){var ze=ne.call(this,me,Oe);return ze===this&&(this.events.options[me]=Oe),ze}},listeners:{"pointerEvents:collect-targets":function(V,$){var ne=V.targets,me=V.node,Oe=V.type,ze=V.eventTarget;$.interactables.forEachMatch(me,(function(nt){var ct=nt.events,Dt=ct.options;ct.types[Oe]&&ct.types[Oe].length&&nt.testIgnoreAllow(Dt,me,ze)&&ne.push({node:me,eventable:ct,props:{interactable:nt}})}))},"interactable:new":function(V){var $=V.interactable;$.events.getRect=function(ne){return $.getRect(ne)}},"interactable:set":function(V,$){var ne=V.interactable,me=V.options;yt(ne.events.options,$.pointerEvents.defaults),yt(ne.events.options,me.pointerEvents||{})}}},ma=xs,Fo={id:"pointer-events",install:function(V){V.usePlugin(hi),V.usePlugin(Ti),V.usePlugin(ma)}},ho=Fo,la={id:"reflow",install:function(V){var $=V.Interactable;V.actions.phases.reflow=!0,$.prototype.reflow=function(ne){return(function(me,Oe,ze){for(var nt=me.getAllElements(),ct=ze.window.Promise,Dt=ct?[]:null,Zt=function(){var Rr=nt[Ft],Jr=me.getRect(Rr);if(!Jr)return 1;var In,Rn=Yr(ze.interactions.list,(function(qn){return qn.interacting()&&qn.interactable===me&&qn.element===Rr&&qn.prepared.name===Oe.name}));if(Rn)Rn.move(),Dt&&(In=Rn._reflowPromise||new ct((function(qn){Rn._reflowResolve=qn})));else{var Jn=yr(Jr),_i=(function(qn){return{coords:qn,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:Jn.x,y:Jn.y},client:{x:Jn.x,y:Jn.y},timeStamp:ze.now()});In=(function(qn,Xi,cs,nr,Fr){var _r=qn.interactions.new({pointerType:"reflow"}),ui={interaction:_r,event:Fr,pointer:Fr,eventTarget:cs,phase:"reflow"};_r.interactable=Xi,_r.element=cs,_r.prevEvent=Fr,_r.updatePointer(Fr,Fr,cs,!0),Sr(_r.coords.delta),yn(_r.prepared,nr),_r._doPhase(ui);var Ni=qn.window,ci=Ni.Promise,ra=ci?new ci((function(na){_r._reflowResolve=na})):void 0;return _r._reflowPromise=ra,_r.start(nr,Xi,cs),_r._interacting?(_r.move(ui),_r.end(Fr)):(_r.stop(),_r._reflowResolve()),_r.removePointer(Fr,Fr),ra})(ze,me,Rr,Oe,_i)}Dt&&Dt.push(In)},Ft=0;Ft<nt.length&&!Zt();Ft++);return Dt&&ct.all(Dt).then((function(){return me}))})(this,ne,V)}},listeners:{"interactions:stop":function(V,$){var ne=V.interaction;ne.pointerType==="reflow"&&(ne._reflowResolve&&ne._reflowResolve(),(function(me,Oe){me.splice(me.indexOf(Oe),1)})($.interactions.list,ne))}}},Fa=la;if(Le.use(Ss),Le.use(_s),Le.use(ho),Le.use(Xs),Le.use(Wi),Le.use(Hi),Le.use(Re),Le.use(Y
612n),Le.use(Fa),Le.default=Le,a(f)==="object"&&f)try{f.exports=Le}catch{}return Le.default=Le,Le}))},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(ge){for(var Ie={},Ce=0,Je=ge.length;Ce<Je;Ce++)Ie[ge.charAt(Ce)]=Ce;return Ie})(i),l=String.fromCharCode,m=function(ge){if(ge.length<2){var Ie=ge.charCodeAt(0);return Ie<128?ge:Ie<2048?l(192|Ie>>>6)+l(128|Ie&63):l(224|Ie>>>12&15)+l(128|Ie>>>6&63)+l(128|Ie&63)}else{var Ie=65536+(ge.charCodeAt(0)-55296)*1024+(ge.charCodeAt(1)-56320);return l(240|Ie>>>18&7)+l(128|Ie>>>12&63)+l(128|Ie>>>6&63)+l(128|Ie&63)}},g=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,h=function(ge){return ge.replace(g,m)},v=function(ge){var Ie=[0,2,1][ge.length%3],Ce=ge.charCodeAt(0)<<16|(ge.length>1?ge.charCodeAt(1):0)<<8|(ge.length>2?ge.charCodeAt(2):0),Je=[i.charAt(Ce>>>18),i.charAt(Ce>>>12&63),Ie>=2?"=":i.charAt(Ce>>>6&63),Ie>=1?"=":i.charAt(Ce&63)];return Je.join("")},E=r.btoa&&typeof r.btoa=="function"?function(ge){return r.btoa(ge)}:function(ge){if(ge.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return ge.replace(/[\s\S]{1,3}/g,v)},w=function(ge){return E(h(String(ge)))},T=function(ge){return ge.replace(/[+\/]/g,function(Ie){return Ie=="+"?"-":"_"}).replace(/=/g,"")},C=function(ge,Ie){return Ie?T(w(ge)):w(ge)},O=function(ge){return C(ge,!0)},R;r.Uint8Array&&(R=function(ge,Ie){for(var Ce="",Je=0,qe=ge.length;Je<qe;Je+=3){var ye=ge[Je],xe=ge[Je+1],De=ge[Je+2],Fe=ye<<16|xe<<8|De;Ce+=i.charAt(Fe>>>18)+i.charAt(Fe>>>12&63)+(typeof xe<"u"?i.charAt(Fe>>>6&63):"=")+(typeof De<"u"?i.charAt(Fe&63):"=")}return Ie?T(Ce):Ce});var B=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,M=function(ge){switch(ge.length){case 4:var Ie=(7&ge.charCodeAt(0))<<18|(63&ge.charCodeAt(1))<<12|(63&ge.charCodeAt(2))<<6|63&ge.charCodeAt(3),Ce=Ie-65536;return l((Ce>>>10)+55296)+l((Ce&1023)+56320);case 3:return l((15&ge.charCodeAt(0))<<12|(63&ge.charCodeAt(1))<<6|63&ge.charCodeAt(2));default:return l((31&ge.charCodeAt(0))<<6|63&ge.charCodeAt(1))}},F=function(ge){return ge.replace(B,M)},H=function(ge){var Ie=ge.length,Ce=Ie%4,Je=(Ie>0?u[ge.charAt(0)]<<18:0)|(Ie>1?u[ge.charAt(1)]<<12:0)|(Ie>2?u[ge.charAt(2)]<<6:0)|(Ie>3?u[ge.charAt(3)]:0),qe=[l(Je>>>16),l(Je>>>8&255),l(Je&255)];return qe.length-=[0,0,2,1][Ce],qe.join("")},U=r.atob&&typeof r.atob=="function"?function(ge){return r.atob(ge)}:function(ge){return ge.replace(/\S{1,4}/g,H)},W=function(ge){return U(String(ge).replace(/[^A-Za-z0-9\+\/]/g,""))},X=function(ge){return F(U(ge))},te=function(ge){return String(ge).replace(/[-_]/g,function(Ie){return Ie=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},q=function(ge){return X(te(ge))},ae;r.Uint8Array&&(ae=function(ge){return Uint8Array.from(W(te(ge)),function(Ie){return Ie.charCodeAt(0)})});var le=function(){var ge=r.Base64;return r.Base64=a,ge};if(r.Base64={VERSION:s,atob:W,btoa:E,fromBase64:q,toBase64:C,utob:h,encode:C,encodeURI:O,btou:F,decode:q,noConflict:le,fromUint8Array:R,toUint8Array:ae},typeof Object.defineProperty=="function"){var pe=function(ge){return{value:ge,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",pe(function(){return q(this)})),Object.defineProperty(String.prototype,"toBase64",pe(function(ge){return C(this,ge)})),Object.defineProperty(String.prototype,"toBase64URI",pe(function(){return C(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 E,w=v.charAt(2);return w==="x"||w==="X"?(w=v.substring(3,v.length-1),E=parseInt(w,16)):(w=v.substring(2,v.length-1),E=parseInt(w)),isNaN(E)?v:String.fromCharCode(E)},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 E=new Error("Cannot find module '"+g+"'");throw E.code="MODULE_NOT_FOUND",E}var w=s[g]={exports:{}};
619a[g][0].call(w.exports,function(T){var C=a[g][1][T];return u(C||T)},w,w.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,E,w,T,C,O,R,B,M,F,H,U,W;u={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",
619StrictLHSAssignment:"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"},E={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\u0EB3\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\uFB
619D3-\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 X(de,$e){if(!de)throw new Error("ASSERT: "+$e)}function te(de){return de>=48&&de<=57}function q(de){return"0123456789abcdefABCDEF".indexOf(de)>=0}function ae(de){return"01234567".indexOf(de)>=0}function le(de){return de===32||de===9||de===11||de===12||de===160||de>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(de)>=0}function pe(de){return de===10||de===13||de===8232||de===8233}function ge(de){return de==64||de===36||de===95||de>=65&&de<=90||de>=97&&de<=122||de===92||de>=128&&E.NonAsciiIdentifierStart.test(String.fromCharCode(de))}function Ie(de){return de===36||de===95||de>=65&&de<=90||de>=97&&de<=122||de>=48&&de<=57||de===92||de>=128&&E.NonAsciiIdentifierPart.test(String.fromCharCode(de))}function Ce(de){switch(de){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}function Je(de){switch(de){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function qe(de){return de==="eval"||de==="arguments"}function ye(de){if(C&&Je(de))return!0;switch(de.length){case 2:return de==="if"||de==="in"||de==="do";case 3:return de==="var"||de==="for"||de==="new"||de==="try"||de==="let";case 4:return de==="this"||de==="else"||de==="case"||de==="void"||de==="with"||de==="enum";case 5:return de==="while"||de==="break"||de==="catch"||de==="throw"||de==="const"||de==="yield"||de==="class"||de==="super";case 6:return de==="return"||de==="typeof"||de==="delete"||de==="switch"||de==="export"||de==="import";case 7:return de==="default"||de==="finally"||de==="extends";case 8:return de==="function"||de==="continue"||de==="debugger";case 10:return de==="instanceof";default:return!1}}function xe(de,$e,Pt,or,tn){var Vn,Ri;X(typeof Pt=="number","Comment must have valid position"),!(U.lastCommentStart>=Pt)&&(U.lastCommentStart=Pt,Vn={type:de,value:$e},W.range&&(Vn.range=[Pt,or]),W.loc&&(Vn.loc=tn),W.comments.push(Vn),W.attachComment&&(W.leadingComments.push(Vn),W.trailingComments.push(Vn)))}function De(de){var $e,Pt,or,tn;for($e=O-de,Pt={start:{line:R,column:O-B-de}};O<M;)if(or=T.charCodeAt(O),++O,pe(or)){W.comments&&(tn=T.slice($e+de,O-1),Pt.end={line:R,column:O-B-1},xe("Line",tn,$e,O-1,Pt)),or===13&&T.charCodeAt(O)===10&&++O,++R,B=O;return}W.comments&&(tn=T.slice($e+de,O),Pt.end={line:R,column:O-B},xe("Line",tn,$e,O,Pt))}function Fe(){var de,$e,Pt,or;for(W.comments&&(de=O-2,$e={start:{line:R,column:O-B-2}});O<M;)if(Pt=T.charCodeAt(O),pe(Pt))Pt===13&&T.charCodeAt(O+1)===10&&++O,++R,++O,B=O,O>=M&&Xt({},v.UnexpectedToken,"ILLEGAL");else if(Pt===42){if(T.charCodeAt(O+1)===47){++O,++O,W.comments&&(or=T.slice(de+2,O-2),$e.end={line:R,column:O-B},xe("Block",or,de,O,$e));return}++O}else++O;Xt({},v.UnexpectedToken,"ILLEGAL")}function be(){var de,$e;for($e=O===0;O<M;)if(de=T.charCodeAt(O),le(de))++O;else if(pe(de))++O,de===13&&T.charCodeAt(O)===10&&++O,++R,B=O,$e=!0;else if(de===47)if(de=T.charCodeAt(O+1),de===47)++O,++O,De(2),$e=!0;else if(de===42)++O,++O,Fe();else break;else if($e&&de===45)if(T.charCodeAt(O+1)===45&&T.charCodeAt(O+2)===62)O+=3,De(3);else break;else if(de===60)if(T.slice(O+1,O+4)==="!--")++O,++O,++O,++O,De(4);else break;else break}function ke(de){var $e,Pt,or,tn=0;for(Pt=de==="u"?4:2,$e=0;$e<Pt;++$e)if(O<M&&q(T[O]))or=T[O++],tn=tn*16+"0123456789abcdef".indexOf(or.toLowerCase());else return"";return String.fromCharCode(tn)}function Ge(){var de,$e;for(de=T.charCodeAt(O++),$e=String.fromCharCode(de),de===92&&(T.charCodeAt(O)!==117&&Xt({},v.UnexpectedToken,"ILLEGAL"),++O,de=ke("u"),(!de||de==="\\"||!ge(de.charCodeAt(0)))&&Xt({},v.UnexpectedToken,"ILLEGAL"),$e=de);O<M&&(de=T.charCodeAt(O),!!Ie(de));)++O,$e+=String.fromCharCode(de),de===92&&($e=$e.substr(0,$e.length-1),T.charCodeAt(O)!==117&&Xt({},v.UnexpectedToken,"ILLEGAL"),++O,de=ke("u"),(!de||de==="\\"||!Ie(de.charCodeAt(0)))&&Xt({},v.UnexpectedToken,"ILLEGAL"),$e+=de);return $e}function Xe(){var de,$e;for(de=O++;O<M;){if($e=T.charCodeAt(O),$e===92)return O=de,Ge();if(Ie($e))++O;else break}
619return T.slice(de,O)}function At(){var de,$e,Pt;return de=O,$e=T.charCodeAt(O)===92?Ge():Xe(),$e.length===1?Pt=u.Identifier:ye($e)?Pt=u.Keyword:$e==="null"?Pt=u.NullLiteral:$e==="true"||$e==="false"?Pt=u.BooleanLiteral:Pt=u.Identifier,{type:Pt,value:$e,lineNumber:R,lineStart:B,start:de,end:O}}function yt(){var de=O,$e=T.charCodeAt(O),Pt,or=T[O],tn,Vn,Ri;switch($e){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++O,W.tokenize&&($e===40?W.openParenToken=W.tokens.length:$e===123&&(W.openCurlyToken=W.tokens.length)),{type:u.Punctuator,value:String.fromCharCode($e),lineNumber:R,lineStart:B,start:de,end:O};default:if(Pt=T.charCodeAt(O+1),Pt===61)switch($e){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return O+=2,{type:u.Punctuator,value:String.fromCharCode($e)+String.fromCharCode(Pt),lineNumber:R,lineStart:B,start:de,end:O};case 33:case 61:return O+=2,T.charCodeAt(O)===61&&++O,{type:u.Punctuator,value:T.slice(de,O),lineNumber:R,lineStart:B,start:de,end:O}}}if(Ri=T.substr(O,4),Ri===">>>=")return O+=4,{type:u.Punctuator,value:Ri,lineNumber:R,lineStart:B,start:de,end:O};if(Vn=Ri.substr(0,3),Vn===">>>"||Vn==="<<="||Vn===">>=")return O+=3,{type:u.Punctuator,value:Vn,lineNumber:R,lineStart:B,start:de,end:O};if(tn=Vn.substr(0,2),or===tn[1]&&"+-<>&|".indexOf(or)>=0||tn==="=>")return O+=2,{type:u.Punctuator,value:tn,lineNumber:R,lineStart:B,start:de,end:O};if("<>=!+-*%&|^/".indexOf(or)>=0)return++O,{type:u.Punctuator,value:or,lineNumber:R,lineStart:B,start:de,end:O};Xt({},v.UnexpectedToken,"ILLEGAL")}function kt(de){for(var $e="";O<M&&q(T[O]);)$e+=T[O++];return $e.length===0&&Xt({},v.UnexpectedToken,"ILLEGAL"),ge(T.charCodeAt(O))&&Xt({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt("0x"+$e,16),lineNumber:R,lineStart:B,start:de,end:O}}function Nt(de){for(var $e="0"+T[O++];O<M&&ae(T[O]);)$e+=T[O++];return(ge(T.charCodeAt(O))||te(T.charCodeAt(O)))&&Xt({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseInt($e,8),octal:!0,lineNumber:R,lineStart:B,start:de,end:O}}function Ir(){var de,$e;for(de=O+1;de<M;++de){if($e=T[de],$e==="8"||$e==="9")return!1;if(!ae($e))return!0}return!0}function yr(){var de,$e,Pt;if(Pt=T[O],X(te(Pt.charCodeAt(0))||Pt===".","Numeric literal must start with a decimal digit or a decimal point"),$e=O,de="",Pt!=="."){if(de=T[O++],Pt=T[O],de==="0"){if(Pt==="x"||Pt==="X")return++O,kt($e);if(ae(Pt)&&Ir())return Nt($e)}for(;te(T.charCodeAt(O));)de+=T[O++];Pt=T[O]}if(Pt==="."){for(de+=T[O++];te(T.charCodeAt(O));)de+=T[O++];Pt=T[O]}if(Pt==="e"||Pt==="E")if(de+=T[O++],Pt=T[O],(Pt==="+"||Pt==="-")&&(de+=T[O++]),te(T.charCodeAt(O)))for(;te(T.charCodeAt(O));)de+=T[O++];else Xt({},v.UnexpectedToken,"ILLEGAL");return ge(T.charCodeAt(O))&&Xt({},v.UnexpectedToken,"ILLEGAL"),{type:u.NumericLiteral,value:parseFloat(de),lineNumber:R,lineStart:B,start:$e,end:O}}function Wr(){var de="",$e,Pt,or,tn,Vn,Ri,ts=!1,ss,Li;for(ss=R,Li=B,$e=T[O],X($e==="'"||$e==='"',"String literal must starts with a quote"),Pt=O,++O;O<M;)if(or=T[O++],or===$e){$e="";break}else if(or==="\\")if(or=T[O++],!or||!pe(or.charCodeAt(0)))switch(or){case"u":case"x":Ri=O,Vn=ke(or),Vn?de+=Vn:(O=Ri,de+=or);break;case"n":de+=` 620`;break;case"r":de+="\r";break;case"t":de+=" ";break;case"b":de+="\b";break;case"f":de+="\f";break;case"v":de+="\v";break;default:ae(or)?(tn="01234567".indexOf(or),tn!==0&&(ts=!0),O<M&&ae(T[O])&&(ts=!0,tn=tn*8+"01234567".indexOf(T[O++]),"0123".indexOf(or)>=0&&O<M&&ae(T[O])&&(tn=tn*8+"01234567".indexOf(T[O++]))),de+=String.fromCharCode(tn)):de+=or;break}else++R,or==="\r"&&T[O]===` 621`&&++O,B=O;else{if(pe(or.charCodeAt(0)))break;de+=or}return $e!==""&&Xt({},v.UnexpectedToken,"ILLEGAL"),{type:u.StringLiteral,value:de,octal:ts,startLineNumber:ss,startLineStart:Li,lineNumber:R,lineStart:B,start:Pt,end:O}}function $r(de,$e){var Pt;try{Pt=new RegExp(de,$e)}catch{Xt({},v.InvalidRegExp)}return Pt}function sn(){var de,$e,Pt,or,tn;for(de=T[O],X(de==="/","Regular expression literal must start with a slash"),$e=T[O++],Pt=!1,or=!1;O<M;)if(de=T[O++],$e+=de,de==="\\")de=T[O++],pe(de.charCodeAt(0))&&Xt({},v.UnterminatedRegExp),$e+=de;else if(pe(de.charCodeAt(0)))Xt({},v.UnterminatedRegExp);else if(Pt)de==="]"&&(Pt=!1);else if(de==="/"){or=!0;break}else de==="["&&(Pt=!0);return or||Xt({},v.UnterminatedRegExp),tn=$e.substr(1,$e.length-2),{value:tn,literal:$e}}function Hr(){var de,$e,Pt,or;for($e="",Pt="";O<M&&(de=T[O],!!Ie(de.charCodeAt(0)));
621)if(++O,de==="\\"&&O<M)if(de=T[O],de==="u"){if(++O,or=O,de=ke("u"),de)for(Pt+=de,$e+="\\u";or<O;++or)$e+=T[or];else O=or,Pt+="u",$e+="\\u";br({},v.UnexpectedToken,"ILLEGAL")}else $e+="\\",br({},v.UnexpectedToken,"ILLEGAL");else Pt+=de,$e+=de;return{value:Pt,literal:$e}}function pt(){var de,$e,Pt,or,tn;return H=null,be(),de=O,$e=sn(),Pt=Hr(),tn=$r($e.value,Pt.value),W.tokenize?{type:u.RegularExpression,value:tn,lineNumber:R,lineStart:B,start:de,end:O}:{literal:$e.literal+Pt.literal,value:tn,start:de,end:O}}function et(){var de,$e,Pt,or;return be(),de=O,$e={start:{line:R,column:O-B}},Pt=pt(),$e.end={line:R,column:O-B},W.tokenize||(W.tokens.length>0&&(or=W.tokens[W.tokens.length-1],or.range[0]===de&&or.type==="Punctuator"&&(or.value==="/"||or.value==="/=")&&W.tokens.pop()),W.tokens.push({type:"RegularExpression",value:Pt.literal,range:[de,O],loc:$e})),Pt}function wr(de){return de.type===u.Identifier||de.type===u.Keyword||de.type===u.BooleanLiteral||de.type===u.NullLiteral}function Dr(){var de,$e;if(de=W.tokens[W.tokens.length-1],!de)return et();if(de.type==="Punctuator"){if(de.value==="]")return yt();if(de.value===")")return $e=W.tokens[W.openParenToken-1],$e&&$e.type==="Keyword"&&($e.value==="if"||$e.value==="while"||$e.value==="for"||$e.value==="with")?et():yt();if(de.value==="}"){if(W.tokens[W.openCurlyToken-3]&&W.tokens[W.openCurlyToken-3].type==="Keyword"){if($e=W.tokens[W.openCurlyToken-4],!$e)return yt()}else if(W.tokens[W.openCurlyToken-4]&&W.tokens[W.openCurlyToken-4].type==="Keyword"){if($e=W.tokens[W.openCurlyToken-5],!$e)return et()}else return yt();return m.indexOf($e.value)>=0?yt():et()}return et()}return de.type==="Keyword"&&de.value!=="this"?et():yt()}function Sr(){var de;return be(),O>=M?{type:u.EOF,lineNumber:R,lineStart:B,start:O,end:O}:(de=T.charCodeAt(O),ge(de)?At():de===40||de===41||de===59?yt():de===39||de===34?Wr():de===46?te(T.charCodeAt(O+1))?yr():yt():te(de)?yr():W.tokenize&&de===47?Dr():yt())}function kr(){var de,$e,Pt,or;return be(),de={start:{line:R,column:O-B}},$e=Sr(),de.end={line:R,column:O-B},$e.type!==u.EOF&&(or=T.slice($e.start,$e.end),W.tokens.push({type:l[$e.type],value:or,range:[$e.start,$e.end],loc:de})),$e}function qt(){var de;return de=H,O=de.end,R=de.lineNumber,B=de.lineStart,H=typeof W.tokens<"u"?kr():Sr(),O=de.end,R=de.lineNumber,B=de.lineStart,de}function Sn(){var de,$e,Pt;de=O,$e=R,Pt=B,H=typeof W.tokens<"u"?kr():Sr(),O=de,R=$e,B=Pt}function dr(de,$e){this.line=de,this.column=$e}function Nr(de,$e,Pt,or){this.start=new dr(de,$e),this.end=new dr(Pt,or)}w={name:"SyntaxTree",processComment:function(de){var $e,Pt;if(!(de.type===g.Program&&de.body.length>0)){for(W.trailingComments.length>0?W.trailingComments[0].range[0]>=de.range[1]?(Pt=W.trailingComments,W.trailingComments=[]):W.trailingComments.length=0:W.bottomRightStack.length>0&&W.bottomRightStack[W.bottomRightStack.length-1].trailingComments&&W.bottomRightStack[W.bottomRightStack.length-1].trailingComments[0].range[0]>=de.range[1]&&(Pt=W.bottomRightStack[W.bottomRightStack.length-1].trailingComments,delete W.bottomRightStack[W.bottomRightStack.length-1].trailingComments);W.bottomRightStack.length>0&&W.bottomRightStack[W.bottomRightStack.length-1].range[0]>=de.range[0];)$e=W.bottomRightStack.pop();$e?$e.leadingComments&&$e.leadingComments[$e.leadingComments.length-1].range[1]<=de.range[0]&&(de.leadingComments=$e.leadingComments,delete $e.leadingComments):W.leadingComments.length>0&&W.leadingComments[W.leadingComments.length-1].range[1]<=de.range[0]&&(de.leadingComments=W.leadingComments,W.leadingComments=[]),Pt&&(de.trailingComments=Pt),W.bottomRightStack.push(de)}},markEnd:function(de,$e){return W.range&&(de.range=[$e.start,O]),W.loc&&(de.loc=new Nr($e.startLineNumber===void 0?$e.lineNumber:$e.startLineNumber,$e.start-($e.startLineStart===void 0?$e.lineStart:$e.startLineStart),R,O-B),this.postProcess(de)),W.attachComment&&this.processComment(de),de},postProcess:function(de){return W.source&&(de.loc.source=W.source),de},createArrayExpression:function(de){return{type:g.ArrayExpression,elements:de}},createAssignmentExpression:function(de,$e,Pt){return{type:g.AssignmentExpression,operator:de,left:$e,right:Pt}},createBinaryExpression:function(de,$e,Pt){var or=de==="||"||de==="&&"?g.LogicalExpression:g.BinaryExpression;return{type:or,operator:de,left:$e,right:Pt}},createBlockStatement:function(de){return{type:g.BlockStatement,body:de}},createBreakStatement:function(de){return{type:g.BreakStatement,label:de}},createCallExpression:function(de,$e){return{type:g.CallExpression,callee:de,arguments:$e}}
621,createCatchClause:function(de,$e){return{type:g.CatchClause,param:de,body:$e}},createConditionalExpression:function(de,$e,Pt){return{type:g.ConditionalExpression,test:de,consequent:$e,alternate:Pt}},createContinueStatement:function(de){return{type:g.ContinueStatement,label:de}},createDebuggerStatement:function(){return{type:g.DebuggerStatement}},createDoWhileStatement:function(de,$e){return{type:g.DoWhileStatement,body:de,test:$e}},createEmptyStatement:function(){return{type:g.EmptyStatement}},createExpressionStatement:function(de){return{type:g.ExpressionStatement,expression:de}},createForStatement:function(de,$e,Pt,or){return{type:g.ForStatement,init:de,test:$e,update:Pt,body:or}},createForInStatement:function(de,$e,Pt){return{type:g.ForInStatement,left:de,right:$e,body:Pt,each:!1}},createFunctionDeclaration:function(de,$e,Pt,or){return{type:g.FunctionDeclaration,id:de,params:$e,defaults:Pt,body:or,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(de,$e,Pt,or){return{type:g.FunctionExpression,id:de,params:$e,defaults:Pt,body:or,rest:null,generator:!1,expression:!1}},createIdentifier:function(de){return{type:g.Identifier,name:de}},createIfStatement:function(de,$e,Pt){return{type:g.IfStatement,test:de,consequent:$e,alternate:Pt}},createLabeledStatement:function(de,$e){return{type:g.LabeledStatement,label:de,body:$e}},createLiteral:function(de){return{type:g.Literal,value:de.value,raw:T.slice(de.start,de.end)}},createMemberExpression:function(de,$e,Pt){return{type:g.MemberExpression,computed:de==="[",object:$e,property:Pt}},createNewExpression:function(de,$e){return{type:g.NewExpression,callee:de,arguments:$e}},createObjectExpression:function(de){return{type:g.ObjectExpression,properties:de}},createPostfixExpression:function(de,$e){return{type:g.UpdateExpression,operator:de,argument:$e,prefix:!1}},createProgram:function(de){return{type:g.Program,body:de}},createProperty:function(de,$e,Pt){return{type:g.Property,key:$e,value:Pt,kind:de}},createReturnStatement:function(de){return{type:g.ReturnStatement,argument:de}},createSequenceExpression:function(de){return{type:g.SequenceExpression,expressions:de}},createSwitchCase:function(de,$e){return{type:g.SwitchCase,test:de,consequent:$e}},createSwitchStatement:function(de,$e){return{type:g.SwitchStatement,discriminant:de,cases:$e}},createThisExpression:function(){return{type:g.ThisExpression}},createThrowStatement:function(de){return{type:g.ThrowStatement,argument:de}},createTryStatement:function(de,$e,Pt,or){return{type:g.TryStatement,block:de,guardedHandlers:$e,handlers:Pt,finalizer:or}},createUnaryExpression:function(de,$e){return de==="++"||de==="--"?{type:g.UpdateExpression,operator:de,argument:$e,prefix:!0}:{type:g.UnaryExpression,operator:de,argument:$e,prefix:!0}},createVariableDeclaration:function(de,$e){return{type:g.VariableDeclaration,declarations:de,kind:$e}},createVariableDeclarator:function(de,$e){return{type:g.VariableDeclarator,id:de,init:$e}},createWhileStatement:function(de,$e){return{type:g.WhileStatement,test:de,body:$e}},createWithStatement:function(de,$e){return{type:g.WithStatement,object:de,body:$e}}};function un(){var de,$e,Pt,or;return de=O,$e=R,Pt=B,be(),or=R!==$e,O=de,R=$e,B=Pt,or}function Xt(de,$e){var Pt,or=Array.prototype.slice.call(arguments,2),tn=$e.replace(/%(\d)/g,function(Vn,Ri){return X(Ri<or.length,"Message reference must be in range"),or[Ri]});throw typeof de.lineNumber=="number"?(Pt=new Error("Line "+de.lineNumber+": "+tn),Pt.index=de.start,Pt.lineNumber=de.lineNumber,Pt.column=de.start-B+1):(Pt=new Error("Line "+R+": "+tn),Pt.index=O,Pt.lineNumber=R,Pt.column=O-B+1),Pt.description=tn,Pt}function br(){try{Xt.apply(null,arguments)}catch(de){if(W.errors)W.errors.push(de);else throw de}}function $t(de){if(de.type===u.EOF&&Xt(de,v.UnexpectedEOS),de.type===u.NumericLiteral&&Xt(de,v.UnexpectedNumber),de.type===u.StringLiteral&&Xt(de,v.UnexpectedString),de.type===u.Identifier&&Xt(de,v.UnexpectedIdentifier),de.type===u.Keyword){if(Ce(de.value))Xt(de,v.UnexpectedReserved);else if(C&&Je(de.value)){br(de,v.StrictReservedWord);return}Xt(de,v.UnexpectedToken,de.value)}Xt(de,v.UnexpectedToken,de.value)}function wt(de){var $e=qt();($e.type!==u.Punctuator||$e.value!==de)&&$t($e)}function Ar(de){var $e=qt();($e.type!==u.Keyword||$e.value!==de)&&$t($e)}function Q(de){return H.type===u.Punctuator&&H.value===de}function ut(de){return H.type===u.Keyword&&H.value===de}function tr(){var de;return H.type!==u.Punctuator?!1:(de=H.value,de==="="||de==="*="||de==="/="||de==="%="||de==="+="||de==="-="||de==="<<="||de===">>="||de===">>>="||de==="&="||de==="^="||de==="|=")}function rt(){var de,$e=O,Pt=R,or=B,tn=H;if(T.charCodeAt(O)===59||Q(";")){qt();return}if(de=R,be(),R!==de){O=$e,R=Pt,B=or,H=tn;return}H.type!==u.EOF&&!Q("}")&&$t(H)}function _t(de){return de.type===g.Identifier||de.type===g.MemberExpression}function Yr(){var de=[],$e;for($e=H,wt("[");!Q("]");
vendor: 5,990 bytes, line 621
621)Q(",")?(qt(),de.push(null)):(de.push(Re()),Q("]")||wt(","));return qt(),F.markEnd(F.createArrayExpression(de),$e)}function ln(de,$e){var Pt,or,tn;return Pt=C,tn=H,or=Hi(),$e&&C&&qe(de[0].name)&&br($e,v.StrictParamName),C=Pt,F.markEnd(F.createFunctionExpression(null,de,[],or),tn)}function cn(){var de,$e;return $e=H,de=qt(),de.type===u.StringLiteral||de.type===u.NumericLiteral?(C&&de.octal&&br(de,v.StrictOctalLiteral),F.markEnd(F.createLiteral(de),$e)):F.markEnd(F.createIdentifier(de.value),$e)}function gn(){var de,$e,Pt,or,tn,Vn;if(de=H,Vn=H,de.type===u.Identifier)return Pt=cn(),de.value==="get"&&!Q(":")?($e=cn(),wt("("),wt(")"),or=ln([]),F.markEnd(F.createProperty("get",$e,or),Vn)):de.value==="set"&&!Q(":")?($e=cn(),wt("("),de=H,de.type!==u.Identifier?(wt(")"),br(de,v.UnexpectedToken,de.value),or=ln([])):(tn=[Mr()],wt(")"),or=ln(tn,de)),F.markEnd(F.createProperty("set",$e,or),Vn)):(wt(":"),or=Re(),F.markEnd(F.createProperty("init",Pt,or),Vn));if(de.type===u.EOF||de.type===u.Punctuator)$t(de);else return $e=cn(),wt(":"),or=Re(),F.markEnd(F.createProperty("init",$e,or),Vn)}function wi(){var de=[],$e,Pt,or,tn,Vn={},Ri=String,ts;for(ts=H,wt("{");!Q("}");)$e=gn(),$e.key.type===g.Identifier?Pt=$e.key.name:Pt=Ri($e.key.value),tn=$e.kind==="init"?h.Data:$e.kind==="get"?h.Get:h.Set,or="$"+Pt,Object.prototype.hasOwnProperty.call(Vn,or)?(Vn[or]===h.Data?C&&tn===h.Data?br({},v.StrictDuplicateProperty):tn!==h.Data&&br({},v.AccessorDataProperty):tn===h.Data?br({},v.AccessorDataProperty):Vn[or]&tn&&br({},v.AccessorGetSet),Vn[or]|=tn):Vn[or]=tn,de.push($e),Q("}")||wt(",");return wt("}"),F.markEnd(F.createObjectExpression(de),ts)}function ki(){var de;return wt("("),de=Qe(),wt(")"),de}function Ur(){var de,$e,Pt,or;if(Q("("))return ki();if(Q("["))return Yr();if(Q("{"))return wi();if(de=H.type,or=H,de===u.Identifier)Pt=F.createIdentifier(qt().value);else if(de===u.StringLiteral||de===u.NumericLiteral)C&&H.octal&&br(H,v.StrictOctalLiteral),Pt=F.createLiteral(qt());else if(de===u.Keyword){if(ut("function"))return Ss();ut("this")?(qt(),Pt=F.createThisExpression()):$t(qt())}else de===u.BooleanLiteral?($e=qt(),$e.value=$e.value==="true",Pt=F.createLiteral($e)):de===u.NullLiteral?($e=qt(),$e.value=null,Pt=F.createLiteral($e)):Q("/")||Q("/=")?(typeof W.tokens<"u"?Pt=F.createLiteral(et()):Pt=F.createLiteral(pt()),Sn()):$t(qt());return F.markEnd(Pt,or)}function Bi(){var de=[];if(wt("("),!Q(")"))for(;O<M&&(de.push(Re()),!Q(")"));)wt(",");return wt(")"),de}function bs(){var de,$e;return $e=H,de=qt(),wr(de)||$t(de),F.markEnd(F.createIdentifier(de.value),$e)}function Di(){return wt("."),bs()}function on(){var de;return wt("["),de=Qe(),wt("]"),de}function fi(){var de,$e,Pt;return Pt=H,Ar("new"),de=ri(),$e=Q("(")?Bi():[],F.markEnd(F.createNewExpression(de,$e),Pt)}function qi(){var de,$e,Pt,or,tn=U.allowIn;for(or=H,U.allowIn=!0,de=ut("new")?fi():Ur();;){if(Q("."))Pt=Di(),de=F.createMemberExpression(".",de,Pt);else if(Q("("))$e=Bi(),de=F.createCallExpression(de,$e);else if(Q("["))Pt=on(),de=F.createMemberExpression("[",de,Pt);else break;F.markEnd(de,or)}return U.allowIn=tn,de}function ri(){var de,$e,Pt;for(X(U.allowIn,"callee of new expression always allow in keyword."),Pt=H,de=ut("new")?fi():Ur();Q(".")||Q("[");)Q("[")?($e=on(),de=F.createMemberExpression("[",de,$e)):($e=Di(),de=F.createMemberExpression(".",de,$e)),F.markEnd(de,Pt);return de}function Vi(){var de,$e,Pt=H;return de=qi(),H.type===u.Punctuator&&(Q("++")||Q("--"))&&!un()&&(C&&de.type===g.Identifier&&qe(de.name)&&br({},v.StrictLHSPostfix),_t(de)||br({},v.InvalidLHSInAssignment),$e=qt(),de=F.markEnd(F.createPostfixExpression($e.value,de),Pt)),de}function si(){var de,$e,Pt;return H.type!==u.Punctuator&&H.type!==u.Keyword?$e=Vi():Q("++")||Q("--")?(Pt=H,de=qt(),$e=si(),C&&$e.type===g.Identifier&&qe($e.name)&&br({},v.StrictLHSPrefix),_t($e)||br({},v.InvalidLHSInAssignment),$e=F.createUnaryExpression(de.value,$e),$e=F.markEnd($e,Pt)):Q("+")||Q("-")||Q("~")||Q("!")?(Pt=H,de=qt(),$e=si(),$e=F.createUnaryExpression(de.value,$e),$e=F.markEnd($e,Pt)):ut("delete")||ut("void")||ut("typeof")?(Pt=H,de=qt(),$e=si(),$e=F.createUnaryExpression(de.value,$e),$e=F.markEnd($e,Pt),C&&$e.operator==="delete"&&$e.argument.type===g.Identifier&&br({},v.StrictDelete)):$e=Vi(),$e}function ks(de,$e){var Pt=0;if(de.type!==u.Punctuator&&de.type!==u.Keyword)return 0;switch(de.value){case"||":Pt=1;break;case"&&":Pt=2;break;case"|":Pt=3;break;case"^":Pt=4;break;case"&":Pt=5;break;case"==":case"!=":case"===":case"!==":Pt=6;break;case"<":case">":case"<=":case">=":case"instanceof":Pt=7;break;case"in":Pt=$e?7:0;break;case"<<":case">>":case">>>":Pt=8;break;case"+":case"-":Pt=9;break;case"*":case"/":case"%":Pt=11;break;default:break}return Pt}function cr(){var de,$e,Pt,or,tn,Vn,Ri,ts,ss,Li;if(de=H,ss=si(),or=H,tn=ks(or,U.allowIn),tn===0)return ss;for(or.prec=tn,qt(),$e=[de,H],Ri=si(),Vn=[ss,or,Ri];(tn=ks(H,U.allowIn))>0;){for(;Vn.length>2&&tn<=Vn[Vn.length-2].prec;)Ri=Vn.pop(),ts=Vn.pop().value,ss=Vn.pop(),Pt=F.createBinaryExpression(ts,ss,Ri),$e.pop(),de=$e[$e.length-1],F.markEnd(Pt,de),Vn.push(Pt);or=qt(),or.prec=tn,Vn.push(or),$e.push(H),Pt=si(),Vn.push(Pt)}for(Li=Vn.length-1,Pt=Vn[Li],$e.pop();Li>1;)Pt=F.createBinaryExpression(Vn[Li-1].value,Vn[Li-2],Pt),Li-=2,de=$e.pop(),F.markEnd(Pt,de);return Pt}function fe(){var de,$e,Pt,or,tn;return tn=H,de=cr(),Q("?")&&(qt(),$e=U.allowIn,U.allowIn=!0,Pt=Re(),U.allowIn=$e,wt(":"),or=Re(),de=F.createConditionalExpression(de,Pt,or),F.markEnd(de,tn)),de}function Re(){var de,$e,Pt,or,tn;return de=H,tn=H,or=$e=fe(),tr()&&(_t($e)||br({},v.InvalidLHSInAssignment),C&&$e.type===g.Identifier&&qe($e.name)&&br(de,v.StrictLHSAssignment),de=qt(),Pt=Re(),or=F.markEnd(F.createAssignmentExpression(de.value,$e,Pt),tn)),or}function Qe(){var de,$e=H;if(de=Re(),Q(",")){for(de=F.createSequenceExpression([de]);O<M&&Q(",");)qt(),de.expressions.push(Re());F.markEnd(de,$e)}return de}function mt(){for(var de=[],$e;O<M&&!(Q("}")||($e=as(),typeof $e>"u"));)de.push($e);return de}
621function xt(){var de,$e;return $e=H,wt("{"),de=mt(),wt("}"),F.markEnd(F.createBlockStatement(de),$e)}function Mr(){var de,$e;return $e=H,de=qt(),de.type!==u.Identifier&&$t(de),F.markEnd(F.createIdentifier(de.value),$e)}function vn(de){var $e=null,Pt,or;return or=H,Pt=Mr(),C&&qe(Pt.name)&&br({},v.StrictVarName),de==="const"?(wt("="),$e=Re()):Q("=")&&(qt(),$e=Re()),F.markEnd(F.createVariableDeclarator(Pt,$e),or)}function Ut(de){var $e=[];do{if($e.push(vn(de)),!Q(","))break;qt()}while(O<M);return $e}function Yn(){var de;return Ar("var"),de=Ut(),rt(),F.createVariableDeclaration(de,"var")}function mi(de){var $e,Pt;return Pt=H,Ar(de),$e=Ut(de),rt(),F.markEnd(F.createVariableDeclaration($e,de),Pt)}function yn(){return wt(";"),F.createEmptyStatement()}function ji(){var de=Qe();return rt(),F.createExpressionStatement(de)}function Tn(){var de,$e,Pt;return Ar("if"),wt("("),de=Qe(),wt(")"),$e=Ei(),ut("else")?(qt(),Pt=Ei()):Pt=null,F.createIfStatement(de,$e,Pt)}function Cs(){var de,$e,Pt;return Ar("do"),Pt=U.inIteration,U.inIteration=!0,de=Ei(),U.inIteration=Pt,Ar("while"),wt("("),$e=Qe(),wt(")"),Q(";")&&qt(),F.createDoWhileStatement(de,$e)}function $i(){var de,$e,Pt;return Ar("while"),wt("("),de=Qe(),wt(")"),Pt=U.inIteration,U.inIteration=!0,$e=Ei(),U.inIteration=Pt,F.createWhileStatement(de,$e)}function gs(){var de,$e,Pt;return Pt=H,de=qt(),$e=Ut(),F.markEnd(F.createVariableDeclaration($e,de.value),Pt)}function vs(){var de,$e,Pt,or,tn,Vn,Ri,ts=U.allowIn;return de=$e=Pt=null,Ar("for"),wt("("),Q(";")?qt():(ut("var")||ut("let")?(U.allowIn=!1,de=gs(),U.allowIn=ts,de.declarations.length===1&&ut("in")&&(qt(),or=de,tn=Qe(),de=null)):(U.allowIn=!1,de=Qe(),U.allowIn=ts,ut("in")&&(_t(de)||br({},v.InvalidLHSInForIn),qt(),or=de,tn=Qe(),de=null)),typeof or>"u"&&wt(";")),typeof or>"u"&&(Q(";")||($e=Qe()),wt(";"),Q(")")||(Pt=Qe())),wt(")"),Ri=U.inIteration,U.inIteration=!0,Vn=Ei(),U.inIteration=Ri,typeof or>"u"?F.createForStatement(de,$e,Pt,Vn):F.createForInStatement(or,tn,Vn)}function Vt(){var de=null,$e;return Ar("continue"),T.charCodeAt(O)===59?(qt(),U.inIteration||Xt({},v.IllegalContinue),F.createContinueStatement(null)):un()?(U.inIteration||Xt({},v.IllegalContinue),F.createContinueStatement(null)):(H.type===u.Identifier&&(de=Mr(),$e="$"+de.name,Object.prototype.hasOwnProperty.call(U.labelSet,$e)||Xt({},v.UnknownLabel,de.name)),rt(),de===null&&!U.inIteration&&Xt({},v.IllegalContinue),F.createContinueStatement(de))}function hr(){var de=null,$e;return Ar("break"),T.charCodeAt(O)===59?(qt(),U.inIteration||U.inSwitch||Xt({},v.IllegalBreak),F.createBreakStatement(null)):un()?(U.inIteration||U.inSwitch||Xt({},v.IllegalBreak),F.createBreakStatement(null)):(H.type===u.Identifier&&(de=Mr(),$e="$"+de.name,Object.prototype.hasOwnProperty.call(U.labelSet,$e)||Xt({},v.UnknownLabel,de.name)),rt(),de===null&&!(U.inIteration||U.inSwitch)&&Xt({},v.IllegalBreak),F.createBreakStatement(de))}function rn(){var de=null;return Ar("return"),U.inFunctionBody||br({},v.IllegalReturn),T.charCodeAt(O)===32&&ge(T.charCodeAt(O+1))?(de=Qe(),rt(),F.createReturnStatement
vendor: 1,073 bytes, line 621
621(de)):un()?F.createReturnStatement(null):(Q(";")||!Q("}")&&H.type!==u.EOF&&(de=Qe()),rt(),F.createReturnStatement(de))}function zn(){var de,$e;return C&&(be(),br({},v.StrictModeWith)),Ar("with"),wt("("),de=Qe(),wt(")"),$e=Ei(),F.createWithStatement(de,$e)}function $n(){var de,$e=[],Pt,or;for(or=H,ut("default")?(qt(),de=null):(Ar("case"),de=Qe()),wt(":");O<M&&!(Q("}")||ut("default")||ut("case"));)Pt=Ei(),$e.push(Pt);return F.markEnd(F.createSwitchCase(de,$e),or)}function bn(){var de,$e,Pt,or,tn;if(Ar("switch"),wt("("),de=Qe(),wt(")"),wt("{"),$e=[],Q("}"))return qt(),F.createSwitchStatement(de,$e);for(or=U.inSwitch,U.inSwitch=!0,tn=!1;O<M&&!Q("}");)Pt=$n(),Pt.test===null&&(tn&&Xt({},v.MultipleDefaultsInSwitch),tn=!0),$e.push(Pt);return U.inSwitch=or,wt("}"),F.createSwitchStatement(de,$e)}function ni(){var de;return Ar("throw"),un()&&Xt({},v.NewlineAfterThrow),de=Qe(),rt(),F.createThrowStatement(de)}function ai(){var de,$e,Pt;return Pt=H,Ar("catch"),wt("("),Q(")")&&$t(H),de=Mr(),C&&qe(de.name)&&br({},v.StrictCatchVariable),wt(")"),$e=xt(),F.markEnd(F.createCat
621chClause(de,$e),Pt)}function yi(){var de,$e=[],Pt=null;return Ar("try"),de=xt(),ut("catch")&&$e.push(ai()),ut("finally")&&(qt(),Pt=xt()),$e.length===0&&!Pt&&Xt({},v.NoCatchOrFinally),F.createTryStatement(de,[],$e,Pt)}function es(){return Ar("debugger"),rt(),F.createDebuggerStatement()}function Ei(){var de=H.type,$e,Pt,or,tn;if(de===u.EOF&&$t(H),de===u.Punctuator&&H.value==="{")return xt();if(tn=H,de===u.Punctuator)switch(H.value){case";":return F.markEnd(yn(),tn);case"(":return F.markEnd(ji(),tn);default:break}if(de===u.Keyword)switch(H.value){case"break":return F.markEnd(hr(),tn);case"continue":return F.markEnd(Vt(),tn);case"debugger":return F.markEnd(es(),tn);case"do":return F.markEnd(Cs(),tn);case"for":return F.markEnd(vs(),tn);case"function":return F.markEnd(us(),tn);case"if":return F.markEnd(Tn(),tn);case"return":return F.markEnd(rn(),tn);case"switch":return F.markEnd(bn(),tn);case"throw":return F.markEnd(ni(),tn);case"try":return F.markEnd(yi(),tn);case"var":return F.markEnd(Yn(),tn);case"while":return F.markEnd($i(),tn);case"with":return F.markEnd(zn(),tn);default:break}return $e=Qe(),$e.type===g.Identifier&&Q(":")?(qt(),or="$"+$e.name,Object.prototype.hasOwnProperty.call(U.labelSet,or)&&Xt({},v.Redeclaration,"Label",$e.name),U.labelSet[or]=!0,Pt=Ei(),delete U.labelSet[or],F.markEnd(F.createLabeledStatement($e,Pt),tn)):(rt(),F.markEnd(F.createExpressionStatement($e),tn))}function Hi(){var de,$e=[],Pt,or,tn,Vn,Ri,ts,ss,Li;for(Li=H,wt("{");O<M&&!(H.type!==u.StringLiteral||(Pt=H,de=as(),$e.push(de),de.expression.type!==g.Literal));)or=T.slice(Pt.start+1,Pt.end-1),or==="use strict"?(C=!0,tn&&br(tn,v.StrictOctalLiteral)):!tn&&Pt.octal&&(tn=Pt);for(Vn=U.labelSet,Ri=U.inIteration,ts=U.inSwitch,ss=U.inFunctionBody,U.labelSet={},U.inIteration=!1,U.inSwitch=!1,U.inFunctionBody=!0;O<M&&!(Q("}")||(de=as(),typeof de>"u"));)$e.push(de);return wt("}"),U.labelSet=Vn,U.inIteration=Ri,U.inSwitch=ts,U.inFunctionBody=ss,F.markEnd(F.createBlockStatement($e),Li)}function zi(de){var $e,Pt=[],or,tn,Vn,Ri,ts;if(wt("("),!Q(")"))for(Vn={};O<M&&(or=H,$e=Mr(),Ri="$"+or.value,C?(qe(or.value)&&(tn=or,ts=v.StrictParamName),Object.prototype.hasOwnProperty.call(Vn,Ri)&&(tn=or,ts=v.StrictParamDupe)):de||(qe(or.value)?(de=or,ts=v.StrictParamName):Je(or.value)?(de=or,ts=v.StrictReservedWord):Object.prototype.hasOwnProperty.call(Vn,Ri)&&(de=or,ts=v.StrictParamDupe)),Pt.push($e),Vn[Ri]=!0,!Q(")"));)wt(",");return wt(")"),{params:Pt,stricted:tn,firstRestricted:de,message:ts}}function us(){var de,$e=[],Pt,or,tn,Vn,Ri,ts,ss,Li;return Li=H,Ar("function"),or=H,de=Mr(),C?qe(or.value)&&br(or,v.StrictFunctionName):qe(or.value)?(Ri=or,ts=v.StrictFunctionName):Je(or.value)&&(Ri=or,ts=v.StrictReservedWord),Vn=zi(Ri),$e=Vn.params,tn=Vn.stricted,Ri=Vn.firstRestricted,Vn.message&&(ts=Vn.message),ss=C,Pt=Hi(),C&&Ri&&Xt(Ri,ts),C&&tn&&br(tn,ts),C=ss,F.markEnd(F.createFunctionDeclaration(de,$e,[],Pt),Li)}function Ss(){var de,$e=null,Pt,or,tn,Vn,Ri=[],ts,ss,Li;return Li=H,Ar("function"),Q("(")||(de=H,$e=Mr(),C?qe(de.value)&&br(de,v.StrictFunctionName):qe(de.value)?(or=de,tn=v.StrictFunctionName):Je(de.value)&&(or=de,tn=v.StrictReservedWord)),Vn=zi(or),Ri=Vn.params,Pt=Vn.stricted,or=Vn.firstRestricted,Vn.message&&(tn=Vn.message),ss=C,ts=Hi(),C&&or&&Xt(or,tn),C&&Pt&&br(Pt,tn),C=ss,F.markEnd(F.createFunctionExpression($e,Ri,[],ts),Li)}function as(){if(H.type===u.Keyword)switch(H.value){case"const":case"let":return mi(H.value);case"function":return us();default:return Ei()}if(H.type!==u.EOF)return Ei()}function oi(){for(var de,$e=[],Pt,or,tn;O<M&&(Pt=H,!(Pt.type!==u.StringLiteral||(de=as(),$e.push(de),de.expression.type!==g.Literal)));)or=T.slice(Pt.start+1,Pt.end-1),or==="use strict"?(C=!0,tn&&br(tn,v.StrictOctalLiteral)):!tn&&Pt.octal&&(tn=Pt);for(;O<M&&(de=as(),!(typeof de>"u"));)$e.push(de);return $e}function $s(){var de,$e;return be(),Sn(),$e=H,C=!1,de=oi(),F.markEnd(F.createProgram(de),$e)}function Es(){var de,$e,Pt,or=[];for(de=0;de<W.tokens.length;++de)$e=W.tokens[de],Pt={type:$e.type,value:$e.value},W.range&&(Pt.range=$e.range),W.loc&&(Pt.loc=$e.loc),or.push(Pt);W.tokens=or}function ls(de,$e){var Pt,or,tn;Pt=String,typeof de!="string"&&!(de instanceof String)&&(de=Pt(de)),F=w,T=de,O=0,R=T.length>0?1:0,B=0,M=T.length,H=null,U={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},W={},$e=$e||{},$e.tokens=!0,W.tokens=[],W.tokenize=!0,W.openParenToken=-1,W.openCurlyToken=-1,W.range=typeof $e.range=="boolean"&&$e.range,W.loc=typeof $e.loc=="boolean"&&$e.loc,typeof $e.comment=="boolean"&&$e.comment&&(W.comments=[]),typeof $e.tolerant=="boolean"&&$e.tolerant&&(W.errors=[]);try{if(Sn(),H.type===u.EOF)return W.tokens;for(or=qt();H.type!==u.EOF;)try{or=qt()}catch(Vn){if(or=H,W.errors){W.errors.push(Vn);break}else throw Vn}Es(),tn=W.tokens,typeof W.comments<"u"&&(tn.comments=W.comments),typeof W.errors<"u"&&(tn.errors=W.errors)}catch(Vn){throw Vn}finally{W={}}return tn}function Ts(de,$e){var Pt,or;or=String,typeof de!="string"&&!(de instanceof String)&&(de=or(de)),F=w,T=de,O=0,R=T.length>0?1:0,B=0,M=T.length,H=null,U={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},W={},typeof $e<"u"&&(W.range=typeof $e.range=="boolean"&&$e.range,W.loc=typeof $e.loc=="boolean"&&$e.loc,W.attachComment=typeof $e.attachComment=="boolean"&&$e.attachComment,W.loc&&$e.source!==null&&$e.source!==void 0&&(W.source=or($e.source)),typeof $e.tokens=="boolean"&&$e.tokens&&(W.tokens=[]),typeof $e.comment=="boolean"&&$e.comment&&(W.comments=[]),typeof $e.tolerant=="boolean"&&$e.tolerant&&(W.errors=[]),W.attachComment&&(W.range=!0,W.comments=[],W.bottomRightStack=[],W.trailingComments=[],W.leadingComments=[]));try{Pt=$s(),typeof W.comments<"u"&&(Pt.comments=W.comments),typeof W.tokens<"u"&&(Es(),Pt.tokens=W.tokens),typeof W.errors<"u"&&(Pt.errors=W.errors)}catch(tn){throw tn}finally{W={}}return Pt}i.version="1.2.5",i.tokenize=ls,i.parse=Ts,i.Syntax=(function(){var de,$e={};typeof Object.create=="function"&&($e=Object.create(null));for(de in g)g.hasOwnProperty(de)&&($e[de]=g[de]);return typeof Object.freeze=="function"&&Object.freeze($e),$e})()})},{}],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(E,w,T,C,O,R,B){C.ast||(C.ast=m,m.initialize());var M=R.length-1;switch(O){case 1:return C.ast.set({expression:{type:"root",value:R[M]}}),C.ast.unshift(),C.ast.yield();case 2:return C.ast.set({expression:{type:"root",value:R[M-1]}}),C.ast.unshift(),C.ast.yield();case 3:return C.ast.unshift(),C.ast.yield();
vendor: 6,644 bytes, lines 621-623
621case 4:return C.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:R[M-1]}}),C.ast.unshift(),C.ast.yield();case 5:break;case 6:break;case 7:C.ast.set({operation:"member"}),C.ast.push();break;case 8:C.ast.set({operation:"subscript"}),C.ast.push();break;case 9:C.ast.set({scope:"child"});break;case 10:C.ast.set({scope:"descendant"});break;case 11:break;case 12:C.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:C.ast.set({expression:{type:"wildcard",value:R[M]}});break;case 15:C.ast.set({expression:{type:"identifier",value:R[M]}});break;case 16:C.ast.set({expression:{type:"script_expression",value:R[M]}});break;case 17:C.ast.set({expression:{type:"numeric_literal",value:parseInt(R[M])}});break;case 18:break;case 19:C.ast.set({scope:"child"});break;case 20:C.ast.set({scope:"descendant"});break;case 21:break;case 22:break;case 23:break;case 24:R[M].length>1?C.ast.set({expression:{type:"union",value:R[M]}}):this.$=R[M];break;case 25:this.$=[R[M]];break;case 26:this.$=R[M-2].concat(R[M]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(R[M])}},C.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:R[M]}},C.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:R[M]}},C.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:R[M]}},C.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:R[M]}},C.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:R[M]}},C.ast.set(this.$);break;case 33:this.$=R[M];break;case 34:this.$=R[M];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]},{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(E,w){if(w.recoverable)this.trace(E);else throw new Error(E)},parse:function(E){var w=this,T=[0],C=[null],O=[],R=this.table,B="",M=0,F=0,H=0,U=2,W=1,X=O.slice.call(arguments,1);this.lexer.setInput(E),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var te=this.lexer.yylloc;O.push(te);var q=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ae(Ge){T.length=T.length-2*Ge,C.length=C.length-Ge,O.length=O.length-Ge}function le(){var Ge;return Ge=w.lexer.lex()||W,typeof Ge!="number"&&(Ge=w.symbols_[Ge]||Ge),Ge}for(var pe,ge,Ie,Ce,Je,qe,ye={},xe,De,Fe,be;;){if(Ie=T[T.length-1],this.defaultActions[Ie]?Ce=this.defaultActions[Ie]:((pe===null||typeof pe>"u")&&(pe=le()),Ce=R[Ie]&&R[Ie][pe]),typeof Ce>"u"||!Ce.length||!Ce[0]){var ke="";be=[];for(xe in R[Ie])this.terminals_[xe]&&xe>U&&be.push("'"+this.terminals_[xe]+"'");this.lexer.showPosition?ke="Parse error on line "+(M+1)+`: 622`+this.lexer.showPosition()+` 623Expecting `+be.join(", ")+", got '"+(this.terminals_[pe]||pe)+"'":ke="Parse error on line "+(M+1)+": Unexpected "+(pe==W?"end of input":"'"+(this.terminals_[pe]||pe)+"'"),this.parseError(ke,{text:this.lexer.match,token:this.terminals_[pe]||pe,line:this.lexer.yylineno,loc:te,expected:be})}if(Ce[0]instanceof Array&&Ce.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ie+", token: "+pe);switch(Ce[0]){case 1:T.push(pe),C.push(this.lexer.yytext),O.push(this.lexer.yylloc),T.push(Ce[1]),pe=null,ge?(pe=ge,ge=null):(F=this.lexer.yyleng,B=this.lexer.yytext,M=this.lexer.yylineno,te=this.lexer.yylloc,H>0&&H--);break;case 2:if(De=this.productions_[Ce[1]][1],ye.$=C[C.length-De],ye._$={first_line:O[O.length-(De||1)].first_line,last_line:O[O.length-1].last_line,first_column:O[O.length-(De||1)].first_column,last_column:O[O.length-1].last_column},q&&(ye._$.range=[O[O.length-(De||1)].range[0],O[O.length-1].range[1]]),qe=this.performAction.apply(ye,[B,F,M,this.yy,Ce[1],C,O].concat(X)),typeof qe<"u")return qe;De&&(T=T.slice(0,-1*De*2),C=C.slice(0,-1*De),O=O.slice(0,-1*De)),T.push(this.productions_[Ce[1]][0]),C.push(ye.$),O.push(ye._$),Fe=R[T[T.length-2]][T[T.length-1]],T.push(Fe);break;case 3:return!0}}return!0}},m={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(v){for(var E in v)this._node[E]=v[E];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(w,T){if(this.yy.parser)this.yy.parser.parseError(w,T);else throw new Error(w)},setInput:function(E){return this._input=E,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,317 bytes, lines 623-626
623,input:function(){var E=this._input[0];this.yytext+=E,this.yyleng++,this.offset++,this.match+=E,this.matched+=E;var w=E.match(/(?:\r\n?|\n).*/g);return w?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),E},unput:function(E){var w=E.length,T=E.split(/(?:\r\n?|\n)/g);this._input=E+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w-1),this.offset-=w;var C=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),T.length-1&&(this.yylineno-=T.length-1);var O=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:T?(T.length===C.length?this.yylloc.first_column:0)+C[C.length-T.length].length-T[0].length:this.yylloc.first_column-w},this.options.ranges&&(this.yylloc.range=[O[0],O[0]+this.yyleng-w]),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(E){this.unput(this.match.slice(E))},pastInput:function(){var E=this.matched.substr(0,this.matched.length-this.match.length);return(E.length>20?"...":"")+E.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var E=this.match;return E.length<20&&(E+=this._input.substr(0,20-E.length)),(E.substr(0,20)+(E.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var E=this.pastInput(),w=new Array(E.length+1).join("-");return E+this.upcomingInput()+` 625`+w+"^"},test_match:function(E,w){var T,C,O;if(this.options.backtrack_lexer&&(O={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&&(O.yylloc.range=this.yylloc.range.slice(0))),C=E[0].match(/(?:\r\n?|\n).*/g),C&&(this.yylineno+=C.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:C?C[C.length-1].length-C[C.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+E[0].length},this.yytext+=E[0],this.match+=E[0],this.matches=E,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(E[0].length),this.matched+=E[0],T=this.performAction.call(this,this.yy,this,w,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),T)return T;if(this._backtrack){for(var R in O)this[R]=O[R];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var E,w,T,C;this._more||(this.yytext="",this.match="");for(var O=this._currentRules(),R=0;R<O.length;R++)if(T=this._input.match(this.rules[O[R]]),T&&(!w||T[0].length>w[0].length)){if(w=T,C=R,this.options.backtrack_lexer){if(E=this.test_match(T,O[R]),E!==!1)return E;if(this._backtrack){w=!1;continue}else return!1}else if(!this.options.flex)break}return w?(E=this.test_match(w,O[C]),E!==!1?E:!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 w=this.next();return w||this.lex()},begin:function(w){this.conditionStack.push(w)},popState:function(){var w=this.conditionStack.length-1;return w>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(w){return w=this.conditionStack.length-1-Math.abs(w||
6260),w>=0?this.conditionStack[w]:"INITIAL"},pushState:function(w){this.begin(w)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(w,T,C,O){var R=O;switch(C){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 T.yytext=T.yytext.substr(1,T.yyleng-2),32;case 11:return T.yytext=T.yytext.substr(1,T.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(U){return typeof U=="string"&&g[U]===!0}function v(U){if(!U||typeof U!="object")return!1;function W(X){if(!X||typeof X!="object"||!X.type)return!1;switch(X.type){case"Literal":return!0;case"Identifier":return X.name==="@";case"MemberExpression":return W(X.object)?!X.computed&&X.property.type==="Identifier"?!h(X.property.name):X.computed?!(!W(X.property)||X.property.type==="Literal"&&h(String(X.property.value))):!1:!1;case"UnaryExpression":return W(X.argument);case"BinaryExpression":case"LogicalExpression":return W(X.left)&&W(X.right);case"ConditionalExpression":return W(X.test)&&W(X.consequent)&&W(X.alternate);case"ArrayExpression":for(var te=0;te<X.elements.length;te++)if(!W(X.elements[te]))return!1;return!0;case"ObjectExpression":for(var q=0;q<X.properties.length;q++){var ae=X.properties[q];
vendor: 5,550 bytes, line 626
626if(ae.key&&(ae.key.type==="Identifier"&&h(ae.key.name)||ae.key.type==="Literal"&&h(String(ae.key.value)))||!W(ae.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 W(U)}var E=function(){return this.initialize.apply(this,arguments)};E.prototype.initialize=function(){this.traverse=O(!0),this.descend=O()},E.prototype.keys=Object.keys,E.prototype.resolve=function(U){var W=[U.operation,U.scope,U.expression.type].join("-"),X=this._fns[W];if(!X)throw new Error("couldn't resolve key: "+W);return X.bind(this)},E.prototype.register=function(U,W){if(!W instanceof Function)throw new Error("handler must be a function");this._fns[U]=W},E.prototype._fns={"member-child-identifier":function(U,W){var X=U.expression.value,te=W.value;if(te instanceof Object&&X in te)return[{value:te[X],path:W.path.concat(X)}]},"member-descendant-identifier":B(function(U,W,X){return U==X}),"subscript-child-numeric_literal":R(function(U,W,X){return U===X}),"member-child-numeric_literal":R(function(U,W,X){return String(U)===String(X)}),"subscript-descendant-numeric_literal":B(function(U,W,X){return U===X}),"member-child-wildcard":R(function(){return!0}),"member-descendant-wildcard":B(function(){return!0}),"subscript-descendant-wildcard":B(function(){return!0}),"subscript-child-wildcard":R(function(){return!0}),"subscript-child-slice":function(U,W){if(T(W.value)){var X=U.expression.value.split(":").map(H),te=W.value.map(function(q,ae){return{value:q,path:W.path.concat(ae)}});return u.apply(null,[te].concat(X))}},"subscript-child-union":function(U,W){var X=[];return U.expression.value.forEach(function(te){var q={operation:"subscript",scope:"child",expression:te.expression},ae=this.resolve(q),le=ae(q,W);le&&(X=X.concat(le))},this),F(X)},"subscript-descendant-union":function(U,W,X){var te=r(".."),q=this,ae=[],le=te.nodes(W,"$..*").slice(1);return le.forEach(function(pe){ae.length>=X||U.expression.value.forEach(function(ge){var Ie={operation:"subscript",scope:"child",expression:ge.expression},Ce=q.resolve(Ie),Je=Ce(Ie,pe);ae=ae.concat(Je)})}),F(ae)},"subscript-child-filter_expression":function(U,W,X){var te=U.expression.value.slice(2,-1),q=i.parse(te).body[0].expression,ae=function(le,pe){return M(q,{"@":pe})};return this.descend(W,null,ae,X)},"subscript-descendant-filter_expression":function(U,W,X){var te=U.expression.value.slice(2,-1),q=i.parse(te).body[0].expression,ae=function(le,pe){return M(q,{"@":pe})};return this.traverse(W,null,ae,X)},"subscript-child-script_expression":function(U,W){var X=U.expression.value.slice(1,-1);return w(W,X,"$[{{value}}]")},"member-child-script_expression":function(U,W){var X=U.expression.value.slice(1,-1);return w(W,X,"$.{{value}}")},"member-descendant-script_expression":function(U,W){var X=U.expression.value.slice(1,-1);return w(W,X,"$..value")}},E.prototype._fns["subscript-child-string_literal"]=E.prototype._fns["member-child-identifier"],E.prototype._fns["member-descendant-numeric_literal"]=E.prototype._fns["subscript-descendant-string_literal"]=E.prototype._fns["member-descendant-identifier"];function w(U,W,X){var te=r("./index"),q=i.parse(W).body[0].expression,ae=M(q,{"@":U.value}),le=X.replace(/\{\{\s*value\s*\}\}/g,ae),pe=te.nodes(U.value,le);return pe.forEach(function(ge){ge.path=U.path.concat(ge.path.slice(1))}),pe}function T(U){return Array.isArray(U)}function C(U){return U&&!(U instanceof Array)&&U instanceof Object}function O(U){return function(W,X,te,q){var ae=W.value,le=W.path,pe=[],ge=function(Ie,Ce){T(Ie)?(Ie.forEach(function(Je,qe){pe.length>=q||te(qe,Je,X)&&pe.push({path:Ce.concat(qe),value:Je})}),Ie.forEach(function(Je,qe){pe.length>=q||U&&ge(Je,Ce.concat(qe))})):C(Ie)&&(this.keys(Ie).forEach(function(Je){pe.length>=q||te(Je,Ie[Je],X)&&pe.push({path:Ce.concat(Je),value:Ie[Je]})}),this.keys(Ie).forEach(function(Je){pe.length>=q||U&&ge(Ie[Je],Ce.concat(Je))}))}.bind(this);return ge(ae,le),pe}}function R(U){return function(W,X,te){return this.descend(X,W.expression.value,U,te)}}function B(U){return function(W,X,te){return this.traverse(X,W.expression.value,U,te)}}function M(U,W){if(!v(U))throw new Error("Unsafe expression: script and filter expressions may only access the current node (@) with safe property names");try{return l(U,W)}catch{}}function F(U){return U=U.filter(function(W){return W}),m(U,function(W){return W.path.map(function(X){return String(X).replace("-","--")}).join("-")})}function H(U){var W=String(U);return W.match(/^-?[0-9]+$/)?parseInt(W):null}a.exports=E},{"..":"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(w){return i.ok(h(w),"we need a path"),this.parser.parse(w)},g.prototype.parent=function(w,T){i.ok(w instanceof Object,"obj needs to be an object"),i.ok(T,"we need a path");var C=this.nodes(w,T)[0];C&&this._assert_safe_path_keys(C.path);var O=C.path.pop();return this.value(w,C.path)},g.prototype.apply=function(w,T,C){i.ok(w instanceof Object,"obj needs to be an object"),i.ok(T,"we need a path"),i.equal(typeof C,"function","f
626n needs to be function");var O=this.nodes(w,T).sort(function(R,B){return B.path.length-R.path.length});return O.forEach(function(R){this._assert_safe_path_keys(R.path);var B=R.path.pop(),M=this.value(w,this.stringify(R.path)),F=R.value=C.call(w,M[B]);M[B]=F},this),O},g.prototype.value=function(w,T,C){if(i.ok(w instanceof Object,"obj needs to be an object"),i.ok(T,"we need a path"),arguments.length>=3){var O=this.nodes(w,T).shift();if(!O)return this._vivify(w,T,C);this._assert_safe_path_keys(O.path);var R=O.path.slice(-1).shift(),B=this.parent(w,this.stringify(O.path));B[R]=C}return this.query(w,this.stringify(T),1).shift()},g.prototype._vivify=function(w,T,C){var O=this;i.ok(w instanceof Object,"obj needs to be an object"),i.ok(T,"we need a path");var R=this.parser.parse(T).map(function(M){return M.expression.value});this._assert_safe_path_keys(R);var B=function(M,F){var H=M.pop(),U=O.value(w,M);U||(B(M.concat(),typeof H=="string"?{}:[]),U=O.value(w,M)),O._assert_safe_key(H),U[H]=F};return B(R,C),this.query(w,T)[0]},g.prototype.query=function(w,T,C){i.ok(w instanceof Object,"obj needs to be an object"),i.ok(h(T),"we need a path");var O=this.nodes(w,T,C).map(function(R){return R.value});return O},g.prototype.paths=function(w,T,C){i.ok(w instanceof Object,"obj needs to be an object"),i.ok(T,"we need a path");var O=this.nodes(w,T,C).map(function(R){return R.path});return O},g.prototype.nodes=function(w,T,C){if(i.ok(w instanceof Object,"obj needs to be an object"),i.ok(T,"we need a path"),C===0)return[];var O=this.parser.parse(T);this._assert_safe_components(O);var R=this.handlers,B=[{path:["$"],value:w}],M=[];return O.length&&O[0].expression.type=="root"&&O.shift(),O.length?(O.forEach(function(F,H){if(!(M.length>=C)){var U=R.resolve(F),W=[];B.forEach(function(X){if(!(M.length>=C)){var te=U(F,X,C);H==O.length-1?M=M.concat(te||[]):W=W.concat(te||[])}}),B=W}}),C?M.slice(0,C):M):B},g.prototype.stringify=function(w){i.ok(w,"we need a path");var T="$",C={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return w=this._normalize(w),w.forEach(function(O){if(O.expression.type!="root"){var R=[O.scope,O.operation].join("-"),B=C[R],M;if(O.expression.type=="string_literal"?M=JSON.stringify(O.expression.value):M=O.expression.value,!B)throw new Error("couldn't find template "+R);T+=B.replace(/{{value}}/,M)}}),T},g.prototype._normalize=function(w){if(i.ok(w,"we need a path"),typeof w=="string")return this.parser.parse(w);if(Array.isArray(w)&&typeof w[0]=="string"){var T=[{expression:{type:"root",value:"$"}}];return w.forEach(function(C,O){if(!(C=="$"&&O===0))if(typeof C=="string"&&C.match("^"+u.identifier+"$"))this._assert_safe_key(C),T.push({operation:"member",scope:"child",expression:{value:C,type:"identifier"}});else{var R=typeof C=="number"?"numeric_literal":"string_literal";R==="string_literal"&&this._assert_safe_key(C),T.push({operation:"subscript",scope:"child",expression:{value:C,type:R}})}},this),T}else if(Array.isArray(w)&&typeof w[0]=="object")return w;throw new Error("couldn't understand path "+w)},g.prototype._assert_safe_key=function(w){if(v(w))throw new Error("Unsafe key in JSONPath: "+w)},g.prototype._assert_safe_path_keys=function(w){Array.isArray(w)&&w.forEach(function(T){T!=="$"&&typeof T=="string"&&this._assert_safe_key(T)},this)},g.prototype._assert_safe_components=function(w){var T=this;if(Array.isArray(w)){var C=function(O){if(O){if(O.type==="identifier"||O.type==="string_literal"){T._assert_safe_key(O.value);return}O.type==="union"&&Array.isArray(O.value)&&O.value.forEach(function(R){R&&R.expression&&C(R.expression)})}};w.forEach(function(O){O&&O.expression&&C(O.expression)})}};function h(w){return Object.prototype.toString.call(w)=="[object String]"}function v(w){return w==="__proto__"||w==="prototype"||w==="constructor"}g.Handlers=m,g.Parser=l;var E=new g;E.JSONPath=g,a.exports=E},{"./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=[],E=l;E!=m&&!(g<0&&E<=m||g>0&&E>=m);E+=g)v.push(u[E]);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=w;m.AssertionError=function(H){this.name="AssertionError",this.actual=H.actual,this.expected=H.expected,this.operator=H.operator,H.message?(this.message=H.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var U=H.stackStartFunction||E;if(Error.captureStackTrace)Error.captureStackTrace(this,U);else{var W=new Error;if(W.stack){var X=W.stack,te=U.name,q=X.indexOf(` 627`+te);if(q>=0){var ae=X.indexOf(` 628`,q+1);X=X.substring(ae+1)}this.stack=X}}},i.inherits(m.AssertionError,Error);
628function g(F,H){return i.isUndefined(H)?""+H:i.isNumber(H)&&!isFinite(H)||i.isFunction(H)||i.isRegExp(H)?H.toString():H}function h(F,H){return i.isString(F)?F.length<H?F:F.slice(0,H):F}function v(F){return h(JSON.stringify(F.actual,g),128)+" "+F.operator+" "+h(JSON.stringify(F.expected,g),128)}function E(F,H,U,W,X){throw new m.AssertionError({message:U,actual:F,expected:H,operator:W,stackStartFunction:X})}m.fail=E;function w(F,H){F||E(F,!0,H,"==",m.ok)}m.ok=w,m.equal=function(H,U,W){H!=U&&E(H,U,W,"==",m.equal)},m.notEqual=function(H,U,W){H==U&&E(H,U,W,"!=",m.notEqual)},m.deepEqual=function(H,U,W){T(H,U)||E(H,U,W,"deepEqual",m.deepEqual)};function T(F,H){if(F===H)return!0;if(i.isBuffer(F)&&i.isBuffer(H)){if(F.length!=H.length)return!1;for(var U=0;U<F.length;U++)if(F[U]!==H[U])return!1;return!0}else return i.isDate(F)&&i.isDate(H)?F.getTime()===H.getTime():i.isRegExp(F)&&i.isRegExp(H)?F.source===H.source&&F.global===H.global&&F.multiline===H.multiline&&F.lastIndex===H.lastIndex&&F.ignoreCase===H.ignoreCase:!i.isObject(F)&&!i.isObject(H)?F==H:O(F,H)}function C(F){return Object.prototype.toString.call(F)=="[object Arguments]"}function O(F,H){if(i.isNullOrUndefined(F)||i.isNullOrUndefined(H)||F.prototype!==H.prototype)return!1;if(i.isPrimitive(F)||i.isPrimitive(H))return F===H;var U=C(F),W=C(H);if(U&&!W||!U&&W)return!1;if(U)return F=u.call(F),H=u.call(H),T(F,H);var X=M(F),te=M(H),q,ae;if(X.length!=te.length)return!1;for(X.sort(),te.sort(),ae=X.length-1;ae>=0;ae--)if(X[ae]!=te[ae])return!1;for(ae=X.length-1;ae>=0;ae--)if(q=X[ae],!T(F[q],H[q]))return!1;return!0}m.notDeepEqual=function(H,U,W){T(H,U)&&E(H,U,W,"notDeepEqual",m.notDeepEqual)},m.strictEqual=function(H,U,W){H!==U&&E(H,U,W,"===",m.strictEqual)},m.notStrictEqual=function(H,U,W){H===U&&E(H,U,W,"!==",m.notStrictEqual)};function R(F,H){return!F||!H?!1:Object.prototype.toString.call(H)=="[object RegExp]"?H.test(F):F instanceof H?!0:H.call({},F)===!0}function B(F,H,U,W){var X;i.isString(U)&&(W=U,U=null);try{H()}catch(te){X=te}if(W=(U&&U.name?" ("+U.name+").":".")+(W?" "+W:"."),F&&!X&&E(X,U,"Missing expected exception"+W),!F&&R(X,U)&&E(X,U,"Got unwanted exception"+W),F&&X&&U&&!R(X,U)||!F&&X)throw X}m.throws=function(F,H,U){B.apply(this,[!0].concat(u.call(arguments)))},m.doesNotThrow=function(F,H){B.apply(this,[!1].concat(u.call(arguments)))},m.ifError=function(F){if(F)throw F};var M=Object.keys||function(F){var H=[];for(var U in F)l.call(F,U)&&H.push(U);return H}},{"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(be){if(!te(be)){for(var ke=[],Ge=0;Ge<arguments.length;Ge++)ke.push(h(arguments[Ge]));return ke.join(" ")}for(var Ge=1,Xe=arguments,At=Xe.length,yt=String(be).replace(l,function(Nt){if(Nt==="%%")return"%";if(Ge>=At)return Nt;switch(Nt){case"%s":return String(Xe[Ge++]);case"%d":return Number(Xe[Ge++]);case"%j":try{return JSON.stringify(Xe[Ge++])}catch{return"[Circular]"}default:return Nt}}),kt=Xe[Ge];Ge<At;kt=Xe[++Ge])U(kt)||!pe(kt)?yt+=" "+kt:yt+=" "+h(kt);return yt},s.deprecate=function(be,ke){if(ae(u.process))return function(){return s.deprecate(be,ke).apply(this,arguments)};if(i.noDeprecation===!0)return be;var Ge=!1;
vendor: 4,657 bytes, lines 628-637
628function Xe(){if(!Ge){if(i.throwDeprecation)throw new Error(ke);i.traceDeprecation?console.trace(ke):console.error(ke),Ge=!0}return be.apply(this,arguments)}return Xe};var m={},g;s.debuglog=function(be){if(ae(g)&&(g=i.env.NODE_DEBUG||""),be=be.toUpperCase(),!m[be])if(new RegExp("\\b"+be+"\\b","i").test(g)){var ke=i.pid;m[be]=function(){var Ge=s.format.apply(s,arguments);console.error("%s %d: %s",be,ke,Ge)}}else m[be]=function(){};return m[be]};function h(be,ke){var Ge={seen:[],stylize:E};return arguments.length>=3&&(Ge.depth=arguments[2]),arguments.length>=4&&(Ge.colors=arguments[3]),H(ke)?Ge.showHidden=ke:ke&&s._extend(Ge,ke),ae(Ge.showHidden)&&(Ge.showHidden=!1),ae(Ge.depth)&&(Ge.depth=2),ae(Ge.colors)&&(Ge.colors=!1),ae(Ge.customInspect)&&(Ge.customInspect=!0),Ge.colors&&(Ge.stylize=v),T(Ge,be,Ge.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(be,ke){var Ge=h.styles[ke];return Ge?"\x1B["+h.colors[Ge][0]+"m"+be+"\x1B["+h.colors[Ge][1]+"m":be}function E(be,ke){return be}function w(be){var ke={};return be.forEach(function(Ge,Xe){ke[Ge]=!0}),ke}function T(be,ke,Ge){if(be.customInspect&&ke&&Ce(ke.inspect)&&ke.inspect!==s.inspect&&!(ke.constructor&&ke.constructor.prototype===ke)){var Xe=ke.inspect(Ge,be);return te(Xe)||(Xe=T(be,Xe,Ge)),Xe}var At=C(be,ke);if(At)return At;var yt=Object.keys(ke),kt=w(yt);if(be.showHidden&&(yt=Object.getOwnPropertyNames(ke)),Ie(ke)&&(yt.indexOf("message")>=0||yt.indexOf("description")>=0))return O(ke);if(yt.length===0){if(Ce(ke)){var Nt=ke.name?": "+ke.name:"";return be.stylize("[Function"+Nt+"]","special")}if(le(ke))return be.stylize(RegExp.prototype.toString.call(ke),"regexp");if(ge(ke))return be.stylize(Date.prototype.toString.call(ke),"date");if(Ie(ke))return O(ke)}var Ir="",yr=!1,Wr=["{","}"];if(F(ke)&&(yr=!0,Wr=["[","]"]),Ce(ke)){var $r=ke.name?": "+ke.name:"";Ir=" [Function"+$r+"]"}if(le(ke)&&(Ir=" "+RegExp.prototype.toString.call(ke)),ge(ke)&&(Ir=" "+Date.prototype.toUTCString.call(ke)),Ie(ke)&&(Ir=" "+O(ke)),yt.length===0&&(!yr||ke.length==0))return Wr[0]+Ir+Wr[1];if(Ge<0)return le(ke)?be.stylize(RegExp.prototype.toString.call(ke),"regexp"):be.stylize("[Object]","special");be.seen.push(ke);var sn;return yr?sn=R(be,ke,Ge,kt,yt):sn=yt.map(function(Hr){return B(be,ke,Ge,kt,Hr,yr)}),be.seen.pop(),M(sn,Ir,Wr)}function C(be,ke){if(ae(ke))return be.stylize("undefined","undefined");if(te(ke)){var Ge="'"+JSON.stringify(ke).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return be.stylize(Ge,"string")}if(X(ke))return be.stylize(""+ke,"number");if(H(ke))return be.stylize(""+ke,"boolean");if(U(ke))return be.stylize("null","null")}function O(be){return"["+Error.prototype.toString.call(be)+"]"}function R(be,ke,Ge,Xe,At){for(var yt=[],kt=0,Nt=ke.length;kt<Nt;++kt)Fe(ke,String(kt))?yt.push(B(be,ke,Ge,Xe,String(kt),!0)):yt.push("");return At.forEach(function(Ir){Ir.match(/^\d+$/)||yt.push(B(be,ke,Ge,Xe,Ir,!0))}),yt}function B(be,ke,Ge,Xe,At,yt){var kt,Nt,Ir;if(Ir=Object.getOwnPropertyDescriptor(ke,At)||{value:ke[At]},Ir.get?Ir.set?Nt=be.stylize("[Getter/Setter]","special"):Nt=be.stylize("[Getter]","special"):Ir.set&&(Nt=be.stylize("[Setter]","special")),Fe(Xe,At)||(kt="["+At+"]"),Nt||(be.seen.indexOf(Ir.value)<0?(U(Ge)?Nt=T(be,Ir.value,null):Nt=T(be,Ir.value,Ge-1),Nt.indexOf(` 629`)>-1&&(yt?Nt=Nt.split(` 630`).map(function(yr){return" "+yr}).join(` 631`).substr(2):Nt=` 632`+Nt.split(` 633`).map(function(yr){return" "+yr}).join(` 634`))):Nt=be.stylize("[Circular]","special")),ae(kt)){if(yt&&At.match(/^\d+$/))return Nt;kt=JSON.stringify(""+At),kt.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(kt=kt.substr(1,kt.length-2),kt=be.stylize(kt,"name")):(kt=kt.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),kt=be.stylize(kt,"string"))}return kt+": "+Nt}function M(be,ke,Ge){var Xe=0,At=be.reduce(function(yt,kt){return Xe++,kt.indexOf(` 635`)>=0&&Xe++,yt+kt.replace(/\u001b\[\d\d?m/g,"").length+1},0);return At>60?Ge[0]+(ke===""?"":ke+` 636 `)+" "+be.join(`, 637 `)+" "+Ge[1]:Ge[0]+ke+" "+be.join(", ")+" "+Ge[1]}function F(be){return Array.isArray(be)}s.isArray=F;function H(be){return typeof be=="boolean"}s.isBoolean=H;function U(be){return be===null}s.isNull=U;function W(be){return be==null}s.isNullOrUndefined=W;function X(be){return typeof be=="number"}s.isNumber=X;function te(be){return typeof be=="string"}s.isString=te;function q(be){return typeof be=="symbol"}
637s.isSymbol=q;function ae(be){return be===void 0}s.isUndefined=ae;function le(be){return pe(be)&&qe(be)==="[object RegExp]"}s.isRegExp=le;function pe(be){return typeof be=="object"&&be!==null}s.isObject=pe;function ge(be){return pe(be)&&qe(be)==="[object Date]"}s.isDate=ge;function Ie(be){return pe(be)&&(qe(be)==="[object Error]"||be instanceof Error)}s.isError=Ie;function Ce(be){return typeof be=="function"}s.isFunction=Ce;function Je(be){return be===null||typeof be=="boolean"||typeof be=="number"||typeof be=="string"||typeof be=="symbol"||typeof be>"u"}s.isPrimitive=Je,s.isBuffer=r("./support/isBuffer");function qe(be){return Object.prototype.toString.call(be)}function ye(be){return be<10?"0"+be.toString(10):be.toString(10)}var xe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function De(){var be=new Date,ke=[ye(be.getHours()),ye(be.getMinutes()),ye(be.getSeconds())].join(":");return[be.getDate(),xe[be.getMonth()],ke].join(" ")}s.log=function(){console.log("%s - %s",De(),s.format.apply(s,arguments))},s.inherits=r("inherits"),s._extend=function(be,ke){if(!ke||!pe(ke))return be;for(var Ge=Object.keys(ke),Xe=Ge.length;Xe--;)be[Ge[Xe]]=ke[Ge[Xe]];return be};function Fe(be,ke){return Object.prototype.hasOwnProperty.call(be,ke)}}).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 E=0,w=h.length-1;w>=0;w--){var T=h[w];T==="."?h.splice(w,1):T===".."?(h.splice(w,1),E++):E&&(h.splice(w,1),E--)}if(v)for(;E--;E)h.unshift("..");return h}s.resolve=function(){for(var h="",v=!1,E=arguments.length-1;E>=-1&&!v;E--){var w=E>=0?arguments[E]:i.cwd();if(typeof w!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!w)continue;h=w+"/"+h,v=w.charAt(0)==="/"}return h=u(m(h.split("/"),function(T){return!!T}),!v).join("/"),(v?"/":"")+h||"."},s.normalize=function(h){var v=s.isAbsolute(h),E=g(h,-1)==="/";return h=u(m(h.split("/"),function(w){return!!w}),!v).join("/"),!h&&!v&&(h="."),h&&E&&(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,E){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 E(M){for(var F=0;F<M.length&&M[F]==="";F++);for(var H=M.length-1;H>=0&&M[H]==="";H--);return F>H?[]:M.slice(F,H-F+1)}for(var w=E(h.split("/")),T=E(v.split("/")),C=Math.min(w.length,T.length),O=C,R=0;R<C;R++)if(w[R]!==T[R]){O=R;break}for(var B=[],R=O;R<w.length;R++)B.push("..");return B=B.concat(T.slice(O)),B.join("/")},s.sep="/",s.delimiter=":",s.dirname=function(h){if(typeof h!="string"&&(h=h+""),h.length===0)return".";for(var v=h.charCodeAt(0),E=v===47,w=-1,T=!0,C=h.length-1;C>=1;--C)if(v=h.charCodeAt(C),v===47){if(!T){w=C;break}}else T=!1;return w===-1?E?"/":".":E&&w===1?"/":h.slice(0,w)};function l(h){typeof h!="string"&&(h=h+"");var v=0,E=-1,w=!0,T;for(T=h.length-1;T>=0;--T)if(h.charCodeAt(T)===47){if(!w){v=T+1;break}}else E===-1&&(w=!1,E=T+1);return E===-1?"":h.slice(v,E)}
637s.basename=function(h,v){var E=l(h);return v&&E.substr(-1*v.length)===v&&(E=E.substr(0,E.length-v.length)),E},s.extname=function(h){typeof h!="string"&&(h=h+"");for(var v=-1,E=0,w=-1,T=!0,C=0,O=h.length-1;O>=0;--O){var R=h.charCodeAt(O);if(R===47){if(!T){E=O+1;break}continue}w===-1&&(T=!1,w=O+1),R===46?v===-1?v=O:C!==1&&(C=1):v!==-1&&(C=-1)}return v===-1||w===-1||C===0||C===1&&v===w-1&&v===E+1?"":h.slice(v,w)};function m(h,v){if(h.filter)return h.filter(v);for(var E=[],w=0;w<h.length;w++)v(h[w],w,h)&&E.push(h[w]);return E}var g=function(h,v,E){return h.substr(v,E)}}).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(F){if(u===setTimeout)return setTimeout(F,0);if((u===m||!u)&&setTimeout)return u=setTimeout,setTimeout(F,0);try{return u(F,0)}catch{try{return u.call(null,F,0)}catch{return u.call(this,F,0)}}}function v(F){if(l===clearTimeout)return clearTimeout(F);if((l===g||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(F);try{return l(F)}catch{try{return l.call(null,F)}catch{return l.call(this,F)}}}var E=[],w=!1,T,C=-1;function O(){!w||!T||(w=!1,T.length?E=T.concat(E):C=-1,E.length&&R())}function R(){if(!w){var F=h(O);w=!0;for(var H=E.length;H;){for(T=E,E=[];++C<H;)T&&T[C].run();C=-1,H=E.length}T=null,w=!1,v(F)}}i.nextTick=function(F){var H=new Array(arguments.length-1);if(arguments.length>1)for(var U=1;U<arguments.length;U++)H[U-1]=arguments[U];E.push(new B(F,H)),E.length===1&&!w&&h(R)};function B(F,H){this.fun=F,this.array=H}B.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={};function M(){}i.on=M,i.addListener=M,i.once=M,i.off=M,i.removeListener=M,i.removeAllListeners=M,i.emit=M,i.prependListener=M,i.prependOnceListener=M,i.listeners=function(F){return[]},i.binding=function(F){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(F){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={},E=(function w(T,C){if(T.type==="Literal")return T.value;if(T.type==="UnaryExpression"){var O=w(T.argument,C);return T.operator==="+"?+O:T.operator==="-"?-O:T.operator==="~"?~O:T.operator==="!"?!O:v}else if(T.type==="ArrayExpression"){for(var R=[],B=0,M=T.elements.length;B<M;B++){var F=w(T.elements[B],C);if(F===v)return v;R.push(F)}return R}else if(T.type==="ObjectExpression"){for(var H={},B=0;B<T.properties.length;B++){var U=T.properties[B],W=U.value===null?U.value:w(U.value,C);if(W===v)return v;H[U.key.value||U.key.name]=W}return H}else if(T.type==="BinaryExpression"||T.type==="LogicalExpression"){var X=T.operator;if(X==="&&"){var M=w(T.left);if(M===v)return v;if(!M)return M;var te=w(T.right);return te===v?v:te}else if(X==="||"){var M=w(T.left);if(M===v)return v;if(M)return M;var te=w(T.right);return te===v?v:te}var M=w(T.left,C);if(M===v)return v;var te=w(T.right,C);return te===v?v:X==="=="?M==te:X==="==="?M===te:X==="!="?M!=te:X==="!=="?M!==te:X==="+"?M+te:X==="-"?M-te:X==="*"?M*te:X==="/"?M/te:X==="%"?M%te:X==="<"?M<te:X==="<="?M<=te:X===">"?M>te:X===">="?M>=te:X==="|"?M|te:X==="&"?M&te:X==="^"?M^te:v}else{if(T.type==="Identifier")return{}.hasOwnProperty.call(m,T.name)?m[T.name]:v;if(T.type==="ThisExpression")return{}.hasOwnProperty.call(m,"this")?m.this:v;if(T.type==="CallExpression"){var q=w(T.callee,C);if(q===v||typeof q!="function")return v;var ae=T.callee.object?w(T.callee.object,C):v;ae===v&&(ae=null);for(var le=[],B=0,M=T.arguments.length;B<M;B++){var F=w(T.arguments[B],C);if(F===v)return v;le.push(F)}return C?void 0:q.apply(ae,le)}else if(T.type==="MemberExpression"){var H=w(T.object,C);if(H===v||typeof H=="function"&&h)return v;if(T.property.type==="Identifier"&&!T.computed)return u(T.property.name)?v:H[T.property.name];var U=w(T.property,C);return U===null||U===v||u(U)?v:H[U]}else if(T.type==="ConditionalExpression"){var O=w(T.test,C);return O===v?v:O?w(T.consequent):w(T.alternate,C)}else if(T.type==="ExpressionStatement"){var O=w(T.expression,C);return O===v?v:O}else{if(T.type==="ReturnStatement")return w(T.argument,C);if(T.type==="FunctionExpression"){var pe=T.body.body,ge={};Object.keys(m).forEach(function(be){ge[be]=m[be]});for(var B=0;B<T.params.length;B++){var Ie=T.params[B];if(Ie.type=="Identifier")m[Ie.name]=null;else return v}for(var B in pe)if(w(pe[B],!0)===v)return v;m=ge;var Ce=Object.keys(m),Je=Ce.map(function(be){return m[be]});return Function(Ce.join(", "),"return "+i(T)).apply(null,Je)}else if(T.type==="TemplateLiteral"){for(var qe="",B=0;B<T.expressions.length;B++)qe+=w(T.quasis[B],C),qe+=w(T.expressions[B],C);return qe+=w(T.quasis[B],C),qe}else if(T.type==="TaggedTemplateExpression"){var ye=w(T.tag,C),xe=T.quasi,De=xe.quasis.map(w),Fe=xe.expressions.map(w);return ye.apply(null,[De].concat(Fe))}else return T.type==="TemplateElement"?T.value.cooked:v}}})(l);return E===v?void 0:E};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(T,C,O){switch(O.length){case 0:return T.call(C);case 1:return T.call(C,O[0]);case 2:return T.call(C,O[0],O[1]);case 3:return T.call(C,O[0],O[1],O[2])}return T.apply(C,O)}function e(T,C){for(var O=-1,R=T?T.length:0,B=Array(R);++O<R;)B[O]=C(T[O],O,T);return B}function n(T,C,O,R){for(var B=T.length,M=O+(R?1:-1);R?M--:++M<B;)if(C(T[M],M,T))return M;return-1}function r(T,C,O){if(C!==C)return n(T,s,O);for(var R=O-1,B=T.length;++R<B;)if(T[R]===C)return R;return-1}function a(T,C,O,R){for(var B=O-1,M=T.length;++B<M;)if(R(T[B],C))return B;return-1}function s(T){return T!==T}function i(T){return function(C){return T(C)}}var u=Array.prototype,l=u.splice,m=Math.max;function g(T,C,O,R){var B=R?a:r,M=-1,F=C.length,H=T;for(T===C&&(C=v(C)),O&&(H=e(T,i(O)));++M<F;)for(var U=0,W=C[M],X=O?O(W):W;(U=B(H,X,U,R))>-1;)H!==T&&l.call(H,U,1),l.call(T,U,1);return T}function h(T,C){return C=m(C===void 0?T.length-1:C,0),function(){for(var O=arguments,R=-1,B=m(O.length-C,0),M=Array(B);++R<B;)M[R]=O[C+R];R=-1;for(var F=Array(C+1);++R<C;)F[R]=O[R];return F[C]=M,d(T,this,F)}}function v(T,C){var O=-1,R=T.length;for(C||(C=Array(R));++O<R;)C[O]=T[O];return C}var E=h(w);function w(T,C){return T&&T.length&&C&&C.length?g(T,C):T}f.exports=E},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,E=Math.max,w=Math.min,T=function(){return g.Date.now()};function C(H,U,W){var X,te,q,ae,le,pe,ge=0,Ie=!1,Ce=!1,Je=!0;if(typeof H!="function")throw new TypeError(d);U=F(U)||0,R(W)&&(Ie=!!W.leading,Ce="maxWait"in W,q=Ce?E(F(W.maxWait)||0,U):q,Je="trailing"in W?!!W.trailing:Je);function qe(At){var yt=X,kt=te;return X=te=void 0,ge=At,ae=H.apply(kt,yt),ae}function ye(At){return ge=At,le=setTimeout(Fe,U),Ie?qe(At):ae}function xe(At){var yt=At-pe,kt=At-ge,Nt=U-yt;return Ce?w(Nt,q-kt):Nt}function De(At){var yt=At-pe,kt=At-ge;return pe===void 0||yt>
vendor: 2,383 bytes, line 637
637=U||yt<0||Ce&&kt>=q}function Fe(){var At=T();if(De(At))return be(At);le=setTimeout(Fe,xe(At))}function be(At){return le=void 0,Je&&X?qe(At):(X=te=void 0,ae)}function ke(){le!==void 0&&clearTimeout(le),ge=0,X=pe=te=le=void 0}function Ge(){return le===void 0?ae:be(T())}function Xe(){var At=T(),yt=De(At);if(X=arguments,te=this,pe=At,yt){if(le===void 0)return ye(pe);if(Ce)return le=setTimeout(Fe,U),qe(pe)}return le===void 0&&(le=setTimeout(Fe,U)),ae}return Xe.cancel=ke,Xe.flush=Ge,Xe}function O(H,U,W){var X=!0,te=!0;if(typeof H!="function")throw new TypeError(d);return R(W)&&(X="leading"in W?!!W.leading:X,te="trailing"in W?!!W.trailing:te),C(H,U,{leading:X,maxWait:U,trailing:te})}function R(H){var U=typeof H;return!!H&&(U=="object"||U=="function")}function B(H){return!!H&&typeof H=="object"}function M(H){return typeof H=="symbol"||B(H)&&v.call(H)==n}function F(H){if(typeof H=="number")return H;if(M(H))return e;if(R(H)){var U=typeof H.valueOf=="function"?H.valueOf():H;H=R(U)?U+"":U}if(typeof H!="string")return H===0?H:+H;H=H.replace(r,"");var W=s.test(H);return W||i.test(H)?u(H.slice(2),W?2:8):a.test(H)?e:+H}f.exports=O},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,630 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},79910(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 E=a(h),w=!E&&r(h),T=!E&&!w&&s(h),C=!E&&!w&&!T&&u(h),O=E||w||T||C,R=O?n(h.length,String):[],B=R.length;for(var M in h)(v||m.call(h,M))&&!(O&&(M=="length"||T&&(M=="offset"||M=="parent")||C&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||i(M,B)))&&R.push(M);return R}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),E=e(69099),w=e(78659),T=e(45573),C=e(43651),O=e(42759),R=e(84698),B=e(67840),M=e(90823),F=e(65626),H=e(53356),U=e(17555),W=1,X=2,te=4,q="[object Arguments]",ae="[object Array]",le="[object Boolean]",pe="[object Date]",ge="[object Error]",Ie="[object Function]",Ce="[object GeneratorFunction]",Je="[object Map]",qe="[object Number]",ye="[object Object]",xe="[object RegExp]",De="[object Set]",Fe="[object String]",be="[object Symbol]",ke="[object WeakMap]",Ge="[object ArrayBuffer]",Xe="[object DataView]",At="[object Float32Array]",yt="[object Float64Array]",kt="[object Int8Array]",Nt="[object Int16Array]",Ir="[object Int32Array]",yr="[object Uint8Array]",Wr="[object Uint8ClampedArray]",$r="[object Uint16Array]",sn="[object Uint32Array]",Hr={};Hr[q]=Hr[ae]=Hr[Ge]=Hr[Xe]=Hr[le]=Hr[pe]=Hr[At]=Hr[yt]=Hr[kt]=Hr[Nt]=Hr[Ir]=Hr[Je]=Hr[qe]=Hr[ye]=Hr[xe]=Hr[De]=Hr[Fe]=Hr[be]=Hr[yr]=Hr[Wr]=Hr[$r]=Hr[sn]=!0,Hr[ge]=Hr[Ie]=Hr[ke]=!1;function pt(et,wr,Dr,Sr,kr,qt){var Sn,dr=wr&W,Nr=wr&X,un=wr&te;if(Dr&&(Sn=kr?Dr(et,Sr,kr,qt):Dr(et)),Sn!==void 0)return Sn;if(!M(et))return et;var Xt=O(et);if(Xt){if(Sn=w(et),!dr)return l(et,Sn)}else{var br=E(et),$t=br==Ie||br==Ce;if(R(et))return u(et,dr);if(br==ye||br==q||$t&&!kr){if(Sn=Nr||$t?{}:C(et),!dr)return Nr?g(et,i(Sn,et)):m(et,s(Sn,et))}else{if(!Hr[br])return kr?et:{};Sn=T(et,br,dr)}}qt||(qt=new n);var wt=qt.get(et);if(wt)return wt;qt.set(et,Sn),F(et)?et.forEach(function(ut){Sn.add(pt(ut,wr,Dr,ut,et,qt))}):B(et)&&et.forEach(function(ut,tr){Sn.set(tr,pt(ut,wr,Dr,tr,et,qt))});var Ar=un?Nr?v:h:Nr?U:H,Q=Xt?void 0:Ar(et);return r(Q||et,function(ut,tr){Q&&(tr=ut,ut=et[tr]),a(Sn,tr,pt(ut,wr,Dr,tr,et,qt))}),Sn}f.exports=pt},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,301 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]",E="[object Object]",w=Object.prototype,T=w.hasOwnProperty;function C(O,R,B,M,F,H){var U=u(O),W=u(R),X=U?v:i(O),te=W?v:i(R);X=X==h?E:X,te=te==h?E:te;var q=X==E,ae=te==E,le=X==te;if(le&&l(O)){if(!l(R))return!1;U=!0,q=!1}if(le&&!q)return H||(H=new n),U||m(O)?r(O,R,B,M,F,H):a(O,R,X,B,M,F,H);if(!(B&g)){var pe=q&&T.call(O,"__wrapped__"),ge=ae&&T.call(R,"__wrapped__");
vendor: 4,165 bytes, line 637
637if(pe||ge){var Ie=pe?O.value():O,Ce=ge?R.value():R;return H||(H=new n),F(Ie,Ce,B,M,H)}}return le?(H||(H=new n),s(O,R,B,M,F,H)):!1}f.exports=C},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,E=!g;if(u==null)return!v;for(u=Object(u);h--;){var w=m[h];if(E&&w[2]?w[1]!==u[w[0]]:!(w[0]in u))return!1}for(;++h<v;){w=m[h];var T=w[0],C=u[T],O=w[1];if(E&&w[2]){if(C===void 0&&!(T in u))return!1}else{var R=new n;if(g)var B=g(C,O,T,u,l,R);if(!(B===void 0?r(O,C,a|s,g,R):B))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 E(w){if(!a(w)||r(w))return!1;var T=n(w)?v:u;return T.test(s(w))}f.exports=E},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]",E="[object Object]",w="[object RegExp]",T="[object Set]",C="[object String]",O="[object WeakMap]",R="[object ArrayBuffer]",B="[object DataView]",M="[object Float32Array]",F="[object Float64Array]",H="[object Int8Array]",U="[object Int16Array]",W="[object Int32Array]",X="[object Uint8Array]",te="[object Uint8ClampedArray]",q="[object Uint16Array]",ae="[object Uint32Array]",le={};le[M]=le[F]=le[H]=le[U]=le[W]=le[X]=le[te]=le[q]=le[ae]=!0,le[s]=le[i]=le[R]=le[u]=le[B]=le[l]=le[m]=le[g]=le[h]=le[v]=le[E]=le[w]=le[T]=le[C]=le[O]=!1;function pe(ge){return a(ge)&&r(ge.length)&&!!le[n(ge)]}f.exports=pe},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,E){return s(v)&&i(E)?u(l(v),E):function(w){var T=r(w,v);return T===void 0&&T===E?a(w,v):n(E,T,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(79910);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],E=l?l(u[v],s[v],v,u,s):void 0;E===void 0&&(E=s[v]),m?r(u,v,E):n(u,v,E)}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(E){return h(g[E],E,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,E){var w=g&s,T=l.length,C=m.length;if(T!=C&&!(w&&C>T))return!1;var O=E.get(l),R=E.get(m);
vendor: 5,830 bytes, line 637
637if(O&&R)return O==m&&R==l;var B=-1,M=!0,F=g&i?new n:void 0;for(E.set(l,m),E.set(m,l);++B<T;){var H=l[B],U=m[B];if(h)var W=w?h(U,H,B,m,l,E):h(H,U,B,l,m,E);if(W!==void 0){if(W)continue;M=!1;break}if(F){if(!r(m,function(X,te){if(!a(F,te)&&(H===X||v(H,X,g,h,E)))return F.push(te)})){M=!1;break}}else if(!(H===U||v(H,U,g,h,E))){M=!1;break}}return E.delete(l),E.delete(m),M}f.exports=u},11352(f,d,e){var n=e(63051),r=e(79910),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]",E="[object Map]",w="[object Number]",T="[object RegExp]",C="[object Set]",O="[object String]",R="[object Symbol]",B="[object ArrayBuffer]",M="[object DataView]",F=n?n.prototype:void 0,H=F?F.valueOf:void 0;function U(W,X,te,q,ae,le,pe){switch(te){case M:if(W.byteLength!=X.byteLength||W.byteOffset!=X.byteOffset)return!1;W=W.buffer,X=X.buffer;case B:return!(W.byteLength!=X.byteLength||!le(new r(W),new r(X)));case g:case h:case w:return a(+W,+X);case v:return W.name==X.name&&W.message==X.message;case T:case O:return W==X+"";case E:var ge=i;case C:var Ie=q&l;if(ge||(ge=u),W.size!=X.size&&!Ie)return!1;var Ce=pe.get(W);if(Ce)return Ce==X;q|=m,pe.set(W,X);var Je=s(ge(W),ge(X),q,ae,le,pe);return pe.delete(W),Je;case R:if(H)return H.call(W)==H.call(X)}return!1}f.exports=U},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 E=m&r,w=n(u),T=w.length,C=n(l),O=C.length;if(T!=O&&!E)return!1;for(var R=T;R--;){var B=w[R];if(!(E?B in l:s.call(l,B)))return!1}var M=v.get(u),F=v.get(l);if(M&&F)return M==l&&F==u;var H=!0;v.set(u,l),v.set(l,u);for(var U=E;++R<T;){B=w[R];var W=u[B],X=l[B];if(g)var te=E?g(X,W,B,l,u,v):g(W,X,B,u,l,v);if(!(te===void 0?W===X||h(W,X,m,g,v):te)){H=!1;break}U||(U=B=="constructor")}if(H&&!U){var q=u.constructor,ae=l.constructor;q!=ae&&"constructor"in u&&"constructor"in l&&!(typeof q=="function"&&q instanceof q&&typeof ae=="function"&&ae instanceof ae)&&(H=!1)}return v.delete(u),v.delete(l),H}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]",E="[object WeakMap]",w="[object DataView]",T=l(n),C=l(r),O=l(a),R=l(s),B=l(i),M=u;(n&&M(new n(new ArrayBuffer(1)))!=w||r&&M(new r)!=m||a&&M(a.resolve())!=h||s&&M(new s)!=v||i&&M(new i)!=E)&&(M=function(F){var H=u(F),U=H==g?F.constructor:void 0,W=U?l(U):"";if(W)switch(W){case T:return w;case C:return m;case O:return h;case R:return v;case B:return E}return H}),f.exports=M},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,E=g.length,w=!1;++v<E;){var T=u(g[v]);if(!(w=m!=null&&h(m,T)))break;m=m[T]}return w||++v!=E?w:(E=m==null?0:m.length,!!E&&i(E)&&s(T,E)&&(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]",E="[object String]",w="[object Symbol]",T="[object ArrayBuffer]",C="[object DataView]",O="[object Float32Array]",R="[object Float64Array
637]",B="[object Int8Array]",M="[object Int16Array]",F="[object Int32Array]",H="[object Uint8Array]",U="[object Uint8ClampedArray]",W="[object Uint16Array]",X="[object Uint32Array]";function te(q,ae,le){var pe=q.constructor;switch(ae){case T:return n(q);case u:case l:return new pe(+q);case C:return r(q,le);case O:case R:case B:case M:case F:case H:case U:case W:case X:return i(q,le);case m:return new pe;case g:case E:return new pe(q);case h:return a(q);case v:return new pe;case w:return s(q)}}f.exports=te},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,923 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]",E="\\u200d",w=m+"?",T="["+s+"]?",C="(?:"+E+"(?:"+[g,h,v].join("|")+")"+T+w+")*",O=T+w+C,R="(?:"+[g+u+"?",u,h,v,i].join("|")+")",B=RegExp(l+"(?="+l+")|"+R+O,"g");function M(F){for(var H=B.lastIndex=0;B.test(F);)++H;return H}f.exports=M},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]",E="\\u200d",w=m+"?",T="["+s+"]?",C="(?:"+E+"(?:"+[g,h,v].join("|")+")"+T+w+")*",O=T+w+C,R="(?:"+[g+u+"?",u,h,v,i].join("|")+")",B=RegExp(l+"(?="+l+")|"+R+O,"g");function M(F){return F.match(B)||[]}f.exports=M},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",E=u+l+m+g,w="['\u2019]",T="["+E+"]",C="["+a+"]",O="\\d+",R="["+s+"]",B="["+i+"]",M="[^"+d+E+O+s+i+h+"]",F="\\ud83c[\\udffb-\\udfff]",H="(?:"+C+"|"+F+")",U="[^"+d+"]",W="(?:\\ud83c[\\udde6-\\uddff]){2}",X="[\\ud800-\\udbff][\\udc00-\\udfff]",te="["+h+"]",q="\\u200d",ae="(?:"+B+"|"+M+")",le="(?:"+te+"|"+M+")",pe="(?:"+w+"(?:d|ll|m|re|s|t|ve))?",ge="(?:"+w+"(?:D|LL|M|RE|S|T|VE))?",Ie=H+"?",Ce="["+v+"]?",Je="(?:"+q+"(?:"+[U,W,X].join("|")+")"+Ce+Ie+")*",qe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ye="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xe=Ce+Ie+Je,De="(?:"+[R,W,X].join("|")+")"+xe,Fe=RegExp([te+"?"+B+"+"+pe+"(?="+[T,te,"$"].join("|")+")",le+"+"+ge+"(?="+[T,te+ae,"$"].join("|")+")",te+"?"+ae+"+"+pe,te+"+"+ge,ye,qe,O,De].join("|"),"g");function be(ke){return ke.match(Fe)||[]}f.exports=be},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,E,w,T,C,O,R=0,B=!1,M=!1,F=!0;if(typeof m!="function")throw new TypeError(s);g=a(g)||0,n(h)&&(B=!!h.leading,M="maxWait"in h,w=M?i(a(h.maxWait)||0,g):w,F="trailing"in h?!!h.trailing:F);function H(ge){var Ie=v,Ce=E;return v=E=void 0,R=ge,T=m.apply(Ce,Ie),T}function U(ge){return R=ge,C=setTimeout(te,g),B?H(ge):T}function W(ge){var Ie=ge-O,Ce=ge-R,Je=g-Ie;return M?u(Je,w-Ce):Je}function X(ge){var Ie=ge-O,Ce=ge-R;return O===void 0||Ie>=g||Ie<0||M&&Ce>=w}function te(){var ge=r();if(X(ge))return q(ge);C=setTimeout(te,W(ge))}function q(ge){return C=void 0,F&&v?H(ge):(v=E=void 0,T)}function ae(){C!==void 0&&clearTimeout(C),R=0,v=O=E=C=void 0}function le(){return C===void 0?T:q(r())}function pe(){var ge=r(),Ie=X(ge);if(v=arguments,E=this,O=ge,Ie){if(C===void 0)return U(O);if(M)return clearTimeout(C),C=setTimeout(te,g),H(O)}return C===void 0&&(C=setTimeout(te,g)),T}return pe.cancel=ae,pe.flush=le,pe}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,E=v.hasOwnProperty;function w(T){if(T==null)return!0;if(i(T)&&(s(T)||typeof T=="string"||typeof T.splice=="function"||u(T)||m(T)||a(T)))return!T.length;var C=r(T);if(C==g||C==h)return!T.size;if(l(T))return!n(T).length;for(var O in T)if(E.call(T,O))return!1;return!0}f.exports=w},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__",E=1,w=2,T=4,C=1,O=2,R=1,B=2,M=4,F=8,H=16,U=32,W=64,X=128,te=256,q=512,ae=30,le="...",pe=800,ge=16,Ie=1,Ce=2,Je=3,qe=1/0,ye=9007199254740991,xe=17976931348623157e292,De=NaN,Fe=4294967295,be=Fe-1,ke=Fe>>>1,Ge=[["ary",X],["bind",R],["bindKey",B],["curry",F],["curryRight",H],["flip",q],["partial",U],["partialRight",W],["rearg",te]],Xe="[object Arguments]",At="[object Array]",yt="[object AsyncFunction]",kt="[object Boolean]",Nt="[object Date]",Ir="[object DOMException]",yr="[object Error]",Wr="[object Function]",$r="[object GeneratorFunction]",sn="[object Map]",Hr="[object Number]",pt="[object Null]",et="[object Object]",wr="[object Promise]",Dr="[object Proxy]",Sr="[object RegExp]",kr="[object Set]",qt="[object String]",Sn="[object Symbol]",dr="[object Undef
644ined]",Nr="[object WeakMap]",un="[object WeakSet]",Xt="[object ArrayBuffer]",br="[object DataView]",$t="[object Float32Array]",wt="[object Float64Array]",Ar="[object Int8Array]",Q="[object Int16Array]",ut="[object Int32Array]",tr="[object Uint8Array]",rt="[object Uint8ClampedArray]",_t="[object Uint16Array]",Yr="[object Uint32Array]",ln=/\b__p \+= '';/g,cn=/\b(__p \+=) '' \+/g,gn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wi=/&(?:amp|lt|gt|quot|#39);/g,ki=/[&<>"']/g,Ur=RegExp(wi.source),Bi=RegExp(ki.source),bs=/<%-([\s\S]+?)%>/g,Di=/<%([\s\S]+?)%>/g,on=/<%=([\s\S]+?)%>/g,fi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qi=/^\w*$/,ri=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vi=/[\\^$.*+?()[\]{}|]/g,si=RegExp(Vi.source),ks=/^\s+/,cr=/\s/,fe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Re=/\{\n\/\* \[wrapped with (.+)\] \*/,Qe=/,? & /,mt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xt=/[()=,{}\[\]\/\s]/,Mr=/\\(\\)?/g,vn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ut=/\w*$/,Yn=/^[-+]0x[0-9a-f]+$/i,mi=/^0b[01]+$/i,yn=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,Tn=/^(?:0|[1-9]\d*)$/,Cs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 15,939 bytes, line 644
6447f]/g,$i=/($^)/,gs=/['\n\r\u2028\u2029\\]/g,vs="\\ud800-\\udfff",Vt="\\u0300-\\u036f",hr="\\ufe20-\\ufe2f",rn="\\u20d0-\\u20ff",zn=Vt+hr+rn,$n="\\u2700-\\u27bf",bn="a-z\\xdf-\\xf6\\xf8-\\xff",ni="\\xac\\xb1\\xd7\\xf7",ai="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",yi="\\u2000-\\u206f",es=" \\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",Ei="A-Z\\xc0-\\xd6\\xd8-\\xde",Hi="\\ufe0e\\ufe0f",zi=ni+ai+yi+es,us="['\u2019]",Ss="["+vs+"]",as="["+zi+"]",oi="["+zn+"]",$s="\\d+",Es="["+$n+"]",ls="["+bn+"]",Ts="[^"+vs+zi+$s+$n+bn+Ei+"]",de="\\ud83c[\\udffb-\\udfff]",$e="(?:"+oi+"|"+de+")",Pt="[^"+vs+"]",or="(?:\\ud83c[\\udde6-\\uddff]){2}",tn="[\\ud800-\\udbff][\\udc00-\\udfff]",Vn="["+Ei+"]",Ri="\\u200d",ts="(?:"+ls+"|"+Ts+")",ss="(?:"+Vn+"|"+Ts+")",Li="(?:"+us+"(?:d|ll|m|re|s|t|ve))?",Ia="(?:"+us+"(?:D|LL|M|RE|S|T|VE))?",Sa=$e+"?",ha="["+Hi+"]?",Qa="(?:"+Ri+"(?:"+[Pt,or,tn].join("|")+")"+ha+Sa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Aa=ha+Sa+Qa,en="(?:"+[Es,or,tn].join("|")+")"+Aa,pa="(?:"+[Pt+oi+"?",oi,or,tn,Ss].join("|")+")",Pa=RegExp(us,"g"),Xs=RegExp(oi,"g"),Hs=RegExp(de+"(?="+de+")|"+pa+Aa,"g"),ao=RegExp([Vn+"?"+ls+"+"+Li+"(?="+[as,Vn,"$"].join("|")+")",ss+"+"+Ia+"(?="+[as,Vn+ts,"$"].join("|")+")",Vn+"?"+ts+"+"+Li,Vn+"+"+Ia,fr,_s,$s,en].join("|"),"g"),Wa=RegExp("["+Ri+vs+zn+Hi+"]"),Co=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_o=["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"],Oo=-1,Ks={};Ks[$t]=Ks[wt]=Ks[Ar]=Ks[Q]=Ks[ut]=Ks[tr]=Ks[rt]=Ks[_t]=Ks[Yr]=!0,Ks[Xe]=Ks[At]=Ks[Xt]=Ks[kt]=Ks[br]=Ks[Nt]=Ks[yr]=Ks[Wr]=Ks[sn]=Ks[Hr]=Ks[et]=Ks[Sr]=Ks[kr]=Ks[qt]=Ks[Nr]=!1;var Mi={};Mi[Xe]=Mi[At]=Mi[Xt]=Mi[br]=Mi[kt]=Mi[Nt]=Mi[$t]=Mi[wt]=Mi[Ar]=Mi[Q]=Mi[ut]=Mi[sn]=Mi[Hr]=Mi[et]=Mi[Sr]=Mi[kr]=Mi[qt]=Mi[Sn]=Mi[tr]=Mi[rt]=Mi[_t]=Mi[Yr]=!0,Mi[yr]=Mi[Wr]=Mi[Nr]=!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"},je={"&":"&","<":"<",">":">",'"':""","'":"'"},Ot={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Br=parseFloat,Vr=parseInt,an=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,ii=typeof self=="object"&&self&&self.Object===Object&&self,Yi=an||ii||Function("return this")(),Ui=d&&!d.nodeType&&d,bi=Ui&&!0&&f&&!f.nodeType&&f,Ws=bi&&bi.exports===Ui,ms=Ws&&an.process,Le=(function(){try{var nr=bi&&bi.require&&bi.require("util").types;return nr||ms&&ms.binding&&ms.binding("util")}catch{}})(),Ye=Le&&Le.isArrayBuffer,ft=Le&&Le.isDate,ht=Le&&Le.isMap,Mt=Le&&Le.isRegExp,Jt=Le&&Le.isSet,Er=Le&&Le.isTypedArray;function Lr(nr,Fr,_r){switch(_r.length){case 0:return nr.call(Fr);case 1:return nr.call(Fr,_r[0]);case 2:return nr.call(Fr,_r[0],_r[1]);case 3:return nr.call(Fr,_r[0],_r[1],_r[2])}return nr.apply(Fr,_r)}function Mn(nr,Fr,_r,ui){for(var Ni=-1,ci=nr==null?0:nr.length;++Ni<ci;){var ra=nr[Ni];Fr(ui,ra,_r(ra),nr)}return ui}function Pn(nr,Fr){for(var _r=-1,ui=nr==null?0:nr.length;++_r<ui&&Fr(nr[_r],_r,nr)!==!1;);return nr}function kn(nr,Fr){for(var _r=nr==null?0:nr.length;_r--&&Fr(nr[_r],_r,nr)!==!1;);return nr}function Gi(nr,Fr){for(var _r=-1,ui=nr==null?0:nr.length;++_r<ui;)if(!Fr(nr[_r],_r,nr))return!1;return!0}function os(nr,Fr){for(var _r=-1,ui=nr==null?0:nr.length,Ni=0,ci=[];++_r<ui;){var ra=nr[_r];Fr(ra,_r,nr)&&(ci[Ni++]=ra)}return ci}function Os(nr,Fr){var _r=nr==null?0:nr.length;return!!_r&&ar(nr,Fr,0)>-1}function ir(nr,Fr,_r){for(var ui=-1,Ni=nr==null?0:nr.length;++ui<Ni;)if(_r(Fr,nr[ui]))return!0;return!1}function Bt(nr,Fr){for(var _r=-1,ui=nr==null?0:nr.length,Ni=Array(ui);++_r<ui;)Ni[_r]=Fr(nr[_r],_r,nr);return Ni}function sr(nr,Fr){for(var _r=-1,ui=Fr.length,Ni=nr.length;++_r<ui;)nr[Ni+_r]=Fr[_r];return nr}function Cr(nr,Fr,_r,ui){var Ni=-1,ci=nr==null?0:nr.length;for(ui&&ci&&(_r=nr[++Ni]);++Ni<ci;)_r=Fr(_r,nr[Ni],Ni,nr);return _r}function Fn(nr,Fr,_r,ui){var Ni=nr==null?0:nr.length;for(ui&&Ni&&(_r=nr[--Ni]);Ni--;)_r=Fr(_r,nr[Ni],Ni,nr);return _r}function Pe(nr,Fr){for(var _r=-1,ui=nr==null?0:nr.length;++_r<ui;)if(Fr(nr[_r],_r,nr))return!0;return!1}var Be=jn("length");function it(nr){return nr.split("")}function st(nr){return nr.match(mt)||[]}function jt(nr,Fr,_r){var ui;return _r(nr,function(Ni,ci,ra){if(Fr(Ni,ci,ra))return ui=ci,!1}),ui}function Gt(nr,Fr,_r,ui){for(var Ni=nr.length,ci=_r+(ui?1:-1);ui?ci--:++ci<Ni;)if(Fr(nr[ci],ci,nr))return ci;return-1}function ar(nr,Fr,_r){return Fr===Fr?Zt(nr,Fr,_r):Gt(nr,Un,_r)}function ur(nr,Fr,_r,ui){for(var Ni=_r-1,ci=nr.length;++Ni<ci;)if(ui(nr[Ni],Fr))return Ni;return-1}function Un(nr){return nr!==nr}function An(nr,Fr){var _r=nr==null?0:nr.length;return _r?ws(nr,Fr)/_r:De}function jn(nr){return function(Fr){return Fr==null?r:Fr[nr]}}function Wi(nr){return function(Fr){return nr==null?r:nr[Fr]}}function Vs(nr,Fr,_r,ui,Ni){return Ni(nr,function(ci,ra,na){_r=ui?(ui=!1,ci):Fr(_r,ci,ra,na)}),_r}function Pi(nr,Fr){var _r=nr.length;for(nr.sort(Fr);_r--;)nr[_r]=nr[_r].value;return nr}function ws(nr,Fr){for(var _r,ui=-1,Ni=nr.length;++ui<Ni;){var ci=Fr(nr[ui]);ci!==r&&(_r=_r===r?ci:_r+ci)}return _r}function Ci(nr,Fr){for(var _r=-1,ui=Array(nr);++_r<nr;)ui[_r]=Fr(_r);return ui}function ei(nr,Fr){return Bt(Fr,function(_r){return[_r,nr[_r]]})}function hi(nr){return nr&&nr.slice(0,In(nr)+1).replace(ks,"")}function Ps(nr){return function(Fr){return nr(Fr)}}function Zi(nr,Fr){return Bt(Fr,function(_r){return nr[_r]})}function Ti(nr,Fr){return nr.has(Fr)}function xs(nr,Fr){for(var _r=-1,ui=nr.length;++_r<ui&&ar(Fr,nr[_r],0)>-1;);return _r}function ma(nr,Fr){for(var _r=nr.length;_r--&&ar(Fr,nr[_r],0)>-1;);return _r}function Fo(nr,Fr){for(var _r=nr.length,ui=0;_r--;)nr[_r]===Fr&&++ui;return ui}var ho=Wi(Me),la=Wi(je);function Fa(nr){return"\\"+Wt[nr]}function V(nr,Fr){return nr==null?r:nr[Fr]}function $(nr){return Wa.test(nr)}function ne(nr){return Co.test(nr)}function me(nr){for(var Fr,_r=[];!(Fr=nr.next()).done;)_r.push(Fr.value);return _r}function Oe(nr){var Fr=-1,_r=Array(nr.size);return nr.forEach(function(ui,Ni){_r[++Fr]=[Ni,ui]}),_r}function ze(nr,Fr){return function(_r){return nr(Fr(_r))}}function nt(nr,Fr){for(var _r=-1,ui=nr.length,Ni=0,ci=[];++_r<ui;){var ra=nr[_r];(ra===Fr||ra===v)&&(nr[_r]=v,ci[Ni++]=_r)}return ci}function ct(nr){var Fr=-1,_r=Array(nr.size);return nr.forEach(function(ui){_r[++Fr]=ui}),_r}function Dt(nr){var Fr=-1,_r=Array(nr.size);return nr.forEach(function(ui){_r[++Fr]=[ui,ui]}),_r}function Zt(nr,Fr,_r){for(var ui=_r-1,Ni=nr.length;++ui<Ni;)if(nr[ui]===Fr)return ui;return-1}function Ft(nr,Fr,_r){for(var ui=_r+1;ui--;)if(nr[ui]===Fr)return ui;return ui}function Rr(nr){return $(nr)?Jn(nr):Be(nr)}function Jr(nr){return $(nr)?_i(nr):it(nr)}function In(nr){for(var Fr=nr.length;Fr--&&cr.test(nr.charAt(Fr)););return Fr}var Rn=Wi(Ot);function Jn(nr){for(var Fr=Hs.lastIndex=0;Hs.test(nr);)++Fr;return Fr}function _i(nr){return nr.match(Hs)||[]}function qn(nr){return nr.match(ao)||[]}var Xi=(function nr(Fr){Fr=Fr==null?Yi:cs.defaults(Yi.Object(),Fr,cs.pick(Yi,_o));var _r=Fr.Array,ui=Fr.Date,Ni=Fr.Error,ci=Fr.Function,ra=Fr.Math,na=Fr.Object,hu=Fr.RegExp,zo=Fr.String,bo=Fr.TypeError,$o=_r.prototype,Yu=ci.prototype,ua=na.prototype,pu=Fr["__core-js_shared__"],Mu=Yu.toString,Ea=ua.hasOwnProperty,Yl=0,ul=(function(){var x=/[^.]+$/.exec(pu&&pu.keys&&pu.keys.IE_PROTO||"");return x?"Symbol(src)_1."+x:""})(),Io=ua.toString,Lc=Mu.call(na),Xl=Yi._,Us=hu("^"+Mu.call(Ea).replace(Vi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),su=Ws?Fr.Buffer:r,oo=Fr.Symbol,ku=Fr.Uint8Array,Ml=su?su.allocUnsafe:r,oe=ze(na.getPrototypeOf,na),mr=na.create,ot=ua.propertyIsEnumerable,gt=$o.splice,mn=oo?oo.isConcatSpreadable:r,Gn=oo?oo.iterator:r,fs=oo?oo.toStringTag:r,Rs=(function(){try{var x=Ds(na,"defineProperty");return x({},"",{}),x}catch{}})(),fa=Fr.clearTimeout!==Yi.clearTimeout&&Fr.clearTimeout,Ho=ui&&ui.now!==Yi.Date.now&&ui.now,po=Fr.setTimeout!==Yi.setTimeout&&Fr.setTimeout,Ja=ra.ceil,Xu=ra.floor,Bo=na.getOwnPropertySymbols,mu=su?su.isBuffer:r,kl=Fr.isFinite,Nu=$o.join,au=ze(na.keys,na),mo=ra.max,Po=ra.min,Is=ui.now,ou=Fr.parseInt,Qu=ra.random,Nl=$o.reverse,Fu=Ds(Fr,"DataView"),Bu=Ds(Fr,"Map"),xl=Ds(Fr,"Promise"),Uu=Ds(Fr,"Set"),go=Ds(Fr,"WeakMap"),ju=Ds(na,"create"),Wo=go&&new go,gu={},pc=Tu(Fu),we=Tu(Bu),Ze=Tu(xl),lt=Tu(Uu),Rt=Tu(go),Kt=oo?oo.prototype:r,Or=Kt?Kt.valueOf:r,hn=Kt?Kt.toString:r;function Ke(x){if(du(x)&&!ya(x)&&!(x instanceof Ii)){if(x instanceof gi)return x;if(Ea.call(x,"__wrapped__"))return cf(x)}return new gi(x)}var xi=(function(){function x(){}return function(I){if(!Zo(I))return{};if(mr)return mr(I);x.prototype=I;var Z=new x;return x.prototype=r,Z}})();function vi(){}function gi(x,I){this.__wrapped__=x,this.__actions__=[],this.__chain__=!!I,this.__index__=0,this.__values__=r}Ke.templateSettings={escape:bs,evaluate:Di,interpolate:on,variable:"",imports:{_:Ke}},Ke.prototype=vi.prototype,Ke.prototype.constructor=Ke,gi.prototype=xi(vi.prototype),gi.prototype.constructor=gi;function Ii(x){this.__wrapped__=x,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Fe,this.__views__=[]}function js(){var x=new Ii(this.__wrapped__);return x.__actions__=Jo(this.__actions__),x.__dir__=this.__dir__,x.__filtered__=this.__filtered__,x.__iteratees__=Jo(this.__iteratees__),x.__takeCount__=this.__takeCount__,x.__views__=Jo(this.__views__),x}function Za(){if(this.__filtered__){var x=new Ii(this);x.__dir__=-1,x.__filtered__=!0}else x=this.clone(),x.__dir__*=-1;return x}function qa(){var x=this.__wrapped__.value(),I=this.__dir__,Z=ya(x),_e=I<0,tt=Z?x.length:0,Et=rs(0,tt,this.__views__),rr=Et.start,Pr=Et.end,Zr=Pr-rr,Xn=_e?Pr:rr-1,Qn=this.__iteratees__,li=Qn.length,ns=0,Ns=Po(Zr,this.__takeCount__);if(!Z||!_e&&tt==Zr&&Ns==Zr)return tc(x,this.__actions__);var ea=[];e:for(;Zr--&&ns<Ns;){Xn+=I;for(var xa=-1,ta=x[Xn];++xa<li;){var Ha=Qn[xa],ro=Ha.iteratee,Zc=Ha.type,fc=ro(ta);if(Zc==Ce)ta=fc;else if(!fc){if(Zc==Ie)continue e;break e}}ea[ns++]=ta}return ea}Ii.prototype=xi(vi.prototype),Ii.prototype.constructor=Ii;function Ca(x){var I=-1,Z=x==null?0:x.length;for(this.clear();++I<Z;){var _e=x[I];this.set(_e[0],_e[1])}}function Va(){this.__data__=ju?ju(null):{},this.size=0}function ca(x){var I=this.has(x)&&delete this.__data__[x];return this.size-=I?1:0,I}function Ma(x){var I=this.__data__;if(ju){var Z=I[x];return Z===g?r:Z}return Ea.call(I,x)?I[x]:r}function no(x){var I=this.__data__;return ju?I[x]!==r:Ea.call(I,x)}function _u(x,I){var Z=this.__data__;return this.size+=this.has(x)?0:1,Z[x]=ju&&I===r?g:I,this}Ca.prototype.clear=Va,Ca.prototype.delete=ca,Ca.prototype.get=Ma,Ca.prototype.has=no,Ca.prototype.set=_u;function So(x){var I=-1,Z=x==null?0:x.length;for(this.clear();++I<Z;){var _e=x[I];this.set(_e[0],_e[1])}}function Ao(){this.__data__=[],this.size=0}function Fl(x){var I=this.__data__,Z=Ou(I,x);if(Z<0)return!1;var _e=I.length-1;return Z==_e?I.pop():gt.call(I,Z,1),--this.size,!0}function zu(x){var I=this.__data__,Z=Ou(I,x);return Z<0?r:I[Z][1]}function Au(x){return Ou(this.__data__,x)>-1}function Mc(x,I){var Z=this.__data__,_e=Ou(Z,x);return _e<0?(++this.size,Z.push([x,I])):Z[_e][1]=I,this}So.prototype.clear=Ao,So.prototype.delete=Fl,So.prototype.get=zu,So.prototype.has=Au,So.prototype.set=Mc;function $u(x){var I=-1,Z=x==null?0:x.length;for(this.clear();++I<Z;){var _e=x[I];this.set(_e[0],_e[1])}}function Hu(){this.size=0,this.__data__={hash:new Ca,map:new(Bu||So),string:new Ca}}function mc(x){var I=Qt(this,x).delete(x);return this.size-=I?1:0,I}function kc(x){return Qt(this,x).get(x)}function rd(x){return Qt(this,x).has(x)}function uu(x,I){var Z=Qt(this,x),_e=Z.size;return Z.set(x,I),this.size+=Z.size==_e?0:1,this}$u.prototype.clear=Hu,$u.prototype.delete=mc,$u.prototype.get=kc,$u.prototype.has=rd,$u.prototype.set=uu;function Hn(x){var I=-1,Z=x==null?0:x.length;for(this.__data__=new $u;++I<Z;)this.add(x[I])}function ll(x){return this.__data__.set(x,g),this}function gc(x){return this.__data__.has(x)}Hn.prototype.add=Hn.prototype.push=ll,Hn.prototype.has=gc;function vu(x){var I=this.__data__=new So(x);this.size=I.size}function Ta(){this.__data__=new So,this.size=0}function qo(x){var I=this.__data__,Z=I.delete(x);return this.size=I.size,Z}function Ba(x){return this.__data__.get(x)}function Yo(x){return this.__data__.has(x)}function Vo(x,I){var Z=this.__data__;if(Z instanceof So){var _e=Z.__data__;if(!Bu||_e.length<s-1)return _e.push([x,I]),this.size=++Z.size,this;Z=this.__data__=new $u(_e)}return Z.set(x,I),this.size=Z.size,this}vu.prototype.clear=Ta,vu.prototype.delete=qo,vu.prototype.get=Ba,vu.prototype.has=Yo,vu.prototype.set=Vo;function vc(x,I){var Z=ya(x),_e=!Z&&Xd(x),tt=!Z&&!_e&&di(x),Et=!Z&&!_e&&!tt&&Uf(x),rr=Z||_e||tt||Et,Pr=rr?Ci(x.length,zo):[],Zr=Pr.length;for(var Xn in x)(I||Ea.call(x,Xn))&&!(rr&&(Xn=="length"||tt&&(Xn=="offset"||Xn=="parent")||Et&&(Xn=="buffer"||Xn=="byteLength"||Xn=="byteOffset")||lo(Xn,Zr)))&&Pr.push(Xn);return Pr}function Bl(x){var I=x.length;return I?x[S(0,I-1)]:r}function yu(x,I){return Tc(Jo(x),Ju(I,0,x.length))}function Nc(x){return Tc(Jo(x))}function Ro(x,I,Z){(Z!==r&&!Cc(x[I],Z)||Z===r&&!(I in x))&&bu(x,I,Z)}function Cu(x,I,Z){var _e=x[I];(!(Ea.call(x,I)&&Cc(_e,Z))||Z===r&&!(I in x))&&bu(x,I,Z)}function Ou(x,I){for(var Z=x.length;Z--;)if(Cc(x[Z][0],I))return Z;return-1}function Ul(x,I,Z,_e){return qu(x,function(tt,Et,rr){I(_e,tt,Z(tt),rr)}),_e}function Ql(x,I){return x&&za(I,Gu(I),x)}
vendor: 5,491 bytes, line 644
644function nd(x,I){return x&&za(I,cc(I),x)}function bu(x,I,Z){I=="__proto__"&&Rs?Rs(x,I,{configurable:!0,enumerable:!0,value:Z,writable:!0}):x[I]=Z}function cl(x,I){for(var Z=-1,_e=I.length,tt=_r(_e),Et=x==null;++Z<_e;)tt[Z]=Et?r:lp(x,I[Z]);return tt}function Ju(x,I,Z){return x===x&&(Z!==r&&(x=x<=Z?x:Z),I!==r&&(x=x>=I?x:I)),x}function Xo(x,I,Z,_e,tt,Et){var rr,Pr=I&E,Zr=I&w,Xn=I&T;if(Z&&(rr=tt?Z(x,_e,tt,Et):Z(x)),rr!==r)return rr;if(!Zo(x))return x;var Qn=ya(x);if(Qn){if(rr=Uo(x),!Pr)return Jo(x,rr)}else{var li=As(x),ns=li==Wr||li==$r;if(di(x))return lu(x,Pr);if(li==et||li==Xe||ns&&!tt){if(rr=Zr||ns?{}:Ys(x),!Pr)return Zr?Sf(x,nd(rr,x)):Wc(x,Ql(rr,x))}else{if(!Mi[li])return tt?x:{};rr=Do(x,li,Pr)}}Et||(Et=new vu);var Ns=Et.get(x);if(Ns)return Ns;Et.set(x,rr),Dp(x)?x.forEach(function(ta){rr.add(Xo(ta,I,Z,ta,x,Et))}):Rp(x)&&x.forEach(function(ta,Ha){rr.set(Ha,Xo(ta,I,Z,Ha,x,Et))});var ea=Xn?Zr?Dn:qr:Zr?cc:Gu,xa=Qn?r:ea(x);return Pn(xa||x,function(ta,Ha){xa&&(Ha=ta,ta=x[Ha]),Cu(rr,Ha,Xo(ta,I,Z,Ha,x,Et))}),rr}function Zu(x){var I=Gu(x);return function(Z){return yc(Z,x,I)}}function yc(x,I,Z){var _e=Z.length;if(x==null)return!_e;for(x=na(x);_e--;){var tt=Z[_e],Et=I[tt],rr=x[tt];if(rr===r&&!(tt in x)||!Et(rr))return!1}return!0}function Iu(x,I,Z){if(typeof x!="function")throw new bo(u);return sl(function(){x.apply(r,Z)},I)}function Ga(x,I,Z,_e){var tt=-1,Et=Os,rr=!0,Pr=x.length,Zr=[],Xn=I.length;if(!Pr)return Zr;Z&&(I=Bt(I,Ps(Z))),_e?(Et=ir,rr=!1):I.length>=s&&(Et=Ti,rr=!1,I=new Hn(I));e:for(;++tt<Pr;){var Qn=x[tt],li=Z==null?Qn:Z(Qn);if(Qn=_e||Qn!==0?Qn:0,rr&&li===li){for(var ns=Xn;ns--;)if(I[ns]===li)continue e;Zr.push(Qn)}else Et(I,li,_e)||Zr.push(Qn)}return Zr}var qu=Ec(xo),vd=Ec(El,!0);function wn(x,I){var Z=!0;return qu(x,function(_e,tt,Et){return Z=!!I(_e,tt,Et),Z}),Z}function Fc(x,I,Z){for(var _e=-1,tt=x.length;++_e<tt;){var Et=x[_e],rr=I(Et);if(rr!=null&&(Pr===r?rr===rr&&!Oc(rr):Z(rr,Pr)))var Pr=rr,Zr=Et}return Zr}function id(x,I,Z,_e){var tt=x.length;for(Z=_a(Z),Z<0&&(Z=-Z>tt?0:tt+Z),_e=_e===r||_e>tt?tt:_a(_e),_e<0&&(_e+=tt),_e=Z>_e?0:ap(_e);Z<_e;)x[Z++]=I;return x}function Jl(x,I){var Z=[];return qu(x,function(_e,tt,Et){I(_e,tt,Et)&&Z.push(_e)}),Z}function Oa(x,I,Z,_e,tt){var Et=-1,rr=x.length;for(Z||(Z=cu),tt||(tt=[]);++Et<rr;){var Pr=x[Et];I>0&&Z(Pr)?I>1?Oa(Pr,I-1,Z,_e,tt):sr(tt,Pr):_e||(tt[tt.length]=Pr)}return tt}var Zl=Ed(),ql=Ed(!0);function xo(x,I){return x&&Zl(x,I,Gu)}function El(x,I){return x&&ql(x,I,Gu)}function el(x,I){return os(I,function(Z){return md(x[Z])})}function jl(x,I){I=il(I,x);for(var Z=0,_e=I.length;x!=null&&Z<_e;)x=x[Eu(I[Z++])];return Z&&Z==_e?x:r}function Bc(x,I,Z){var _e=I(x);return ya(x)?_e:sr(_e,Z(x))}function sa(x){return x==null?x===r?dr:pt:fs&&fs in na(x)?Ai(x):Tf(x)}function zl(x,I){return x>I}function tl(x,I){return x!=null&&Ea.call(x,I)}function bc(x,I){return x!=null&&I in na(x)}function dl(x,I,Z){return x>=Po(I,Z)&&x<mo(I,Z)}function $l(x,I,Z){for(var _e=Z?ir:Os,tt=x[0].length,Et=x.length,rr=Et,Pr=_r(Et),Zr=1/0,Xn=[];rr--;){var Qn=x[rr];rr&&I&&(Qn=Bt(Qn,Ps(I))),Zr=Po(Qn.length,Zr),Pr[rr]=!Z&&(I||tt>=120&&Qn.length>=120)?new Hn(rr&&Qn):r}Qn=x[0];var li=-1,ns=Pr[0];e:for(;++li<tt&&Xn.length<Zr;){var Ns=Qn[li],ea=I?I(Ns):Ns;if(Ns=Z||Ns!==0?Ns:0,!(ns?Ti(ns,ea):_e(Xn,ea,Z))){for(rr=Et;--rr;){var xa=Pr[rr];if(!(xa?Ti(xa,ea):_e(x[rr],ea,Z)))continue e}ns&&ns.push(ea),Xn.push(Ns)}}return Xn}function yd(x,I,Z,_e){return xo(x,function(tt,Et,rr){I(_e,Z(tt),Et,rr)}),_e}function rl(x,I,Z){I=il(I,x),x=of(x,I);var _e=x==null?x:x[Eu(ti(I))];return _e==null?r:Lr(_e,x,Z)}function fl(x){return du(x)&&sa(x)==Xe}function hl(x){return du(x)&&sa(x)==Xt}function Uc(x){return du(x)&&sa(x)==Nt}function pl(x,I,Z,_e,tt){return x===I?!0:x==null||I==null||!du(x)&&!du(I)?x!==x&&I!==I:Tl(x,I,Z,_e,pl,tt)}function Tl(x,I,Z,_e,tt,Et){var rr=ya(x),Pr=ya(I),Zr=rr?At:As(x),Xn=Pr?At:As(I);Zr=Zr==Xe?et:Zr,Xn=Xn==Xe?et:Xn;var Qn=Zr==et,li=Xn==et,ns=Zr==Xn;if(ns&&di(x)){if(!di(I))return!1;rr=!0,Qn=!1}if(ns&&!Qn)return Et||(Et=new vu),rr||Uf(x)?Lt(x,I,Z,_e,tt,Et):vr(x,I,Zr,Z,_e,tt,Et);if(!(Z&C)){var Ns=Qn&&Ea.call(x,"__wrapped__"),ea=li&&Ea.call(I,"__wrapped__");if(Ns||ea){var xa=Ns?x.value():x,ta=ea?I.value():I;return Et||(Et=new vu),tt(xa,ta,Z,_e,Et)}}return ns?(Et||(Et=new vu),zt(x,I,Z,_e,tt,Et)):!1}function ec(x){return du(x)&&As(x)==sn}function da(x,I,Z,_e){var tt=Z.length,Et=tt,rr=!_e;if(x==null)return!Et;for(x=na(x);tt--;){var Pr=Z[tt];if(rr&&Pr[2]?Pr[1]!==x[Pr[0]]:!(Pr[0]in x))return!1}for(;++tt<Et;){Pr=Z[tt];var Zr=Pr[0],Xn=x[Zr],Qn=Pr[1];if(rr&&Pr[2]){if(Xn===r&&!(Zr in x))return!1}else{var li=new vu;if(_e)var ns=_e(Xn,Qn,Zr,x,I,li);if(!(ns===r?pl(Qn,Xn,C|O,_e,li):ns))return!1}}return!0}function N(x){if(!Zo(x)||wd(x))return!1;var I=md(x)?Us:yn;return I.test(Tu(x))}function re(x){return du(x)&&sa(x)==Sr}function Ee(x){return du(x)&&As(x)==kr}function Ue(x){return du(x)&&rp(x.length)&&!!Ks[sa(x)]}function dt(x){return typeof x=="function"?x:x==null?dc:typeof x=="object"?ya(x)?Eo(x[0],x[1]):aa(x):z0(x)}function gr(x){if(!ud(x))return au(x);var I=[];for(var Z in na(x))Ea.call(x,Z)&&Z!="constructor"&&I.push(Z);return I}function _n(x){if(!Zo(x))return af(x);var I=ud(x),Z=[];for(var _e in x)_e=="constructor"&&(I||!Ea.call(x,_e))||Z.push(_e);return Z}function Ki(x,I){return x<I}function Gs(x,I){var Z=-1,_e=j(x)?_r(x.length):[];return qu(x,function(tt,Et,rr){_e[++Z]=I(tt,Et,rr)}),_e}function aa(x){var I=Kn(x);return I.length==1&&I[0][2]?Ef(I[0][0],I[0][1]):function(Z){return Z===x||da(Z,x,I)}}
vendor: 4,262 bytes, line 644
644function Eo(x,I){return Il(x)&&xf(I)?Ef(Eu(x),I):function(Z){var _e=lp(Z,x);return _e===r&&_e===I?kp(Z,x):pl(I,_e,C|O)}}function Pu(x,I,Z,_e,tt){x!==I&&Zl(I,function(Et,rr){if(tt||(tt=new vu),Zo(Et))wl(x,I,rr,Z,Pu,_e,tt);else{var Pr=_e?_e(Kc(x,rr),Et,rr+"",x,I,tt):r;Pr===r&&(Pr=Et),Ro(x,rr,Pr)}},cc)}function wl(x,I,Z,_e,tt,Et,rr){var Pr=Kc(x,Z),Zr=Kc(I,Z),Xn=rr.get(Zr);if(Xn){Ro(x,Z,Xn);return}var Qn=Et?Et(Pr,Zr,Z+"",x,I,rr):r,li=Qn===r;if(li){var ns=ya(Zr),Ns=!ns&&di(Zr),ea=!ns&&!Ns&&Uf(Zr);Qn=Zr,ns||Ns||ea?ya(Pr)?Qn=Pr:He(Pr)?Qn=Jo(Pr):Ns?(li=!1,Qn=lu(Zr,!0)):ea?(li=!1,Qn=Vl(Zr,!0)):Qn=[]:rh(Zr)||Xd(Zr)?(Qn=Pr,Xd(Pr)?Qn=g0(Pr):(!Zo(Pr)||md(Pr))&&(Qn=Ys(Zr))):li=!1}li&&(rr.set(Zr,Qn),tt(Qn,Zr,_e,Et,rr),rr.delete(Zr)),Ro(x,Z,Qn)}function jc(x,I){var Z=x.length;if(Z)return I+=I<0?Z:0,lo(I,Z)?x[I]:r}function Hl(x,I,Z){I.length?I=Bt(I,function(Et){return ya(Et)?function(rr){return jl(rr,Et.length===1?Et[0]:Et)}:Et}):I=[dc];var _e=-1;I=Bt(I,Ps(Gr()));var tt=Gs(x,function(Et,rr,Pr){var Zr=Bt(I,function(Xn){return Xn(Et)});return{criteria:Zr,index:++_e,value:Et}});return Pi(tt,function(Et,rr){return yl(Et,rr,Z)})}function _l(x,I){return nl(x,I,function(Z,_e){return kp(x,_e)})}function nl(x,I,Z){for(var _e=-1,tt=I.length,Et={};++_e<tt;){var rr=I[_e],Pr=jl(x,rr);Z(Pr,rr)&&zc(Et,il(rr,x),Pr)}return Et}function Wl(x){return function(I){return jl(I,x)}}function Qo(x,I,Z,_e){var tt=_e?ur:ar,Et=-1,rr=I.length,Pr=x;for(x===I&&(I=Jo(I)),Z&&(Pr=Bt(x,Ps(Z)));++Et<rr;)for(var Zr=0,Xn=I[Et],Qn=Z?Z(Xn):Xn;(Zr=tt(Pr,Qn,Zr,_e))>-1;)Pr!==x&>.call(Pr,Zr,1),gt.call(x,Zr,1);return x}function Al(x,I){for(var Z=x?I.length:0,_e=Z-1;Z--;){var tt=I[Z];if(Z==_e||tt!==Et){var Et=tt;lo(tt)?gt.call(x,tt,1):xc(x,tt)}}return x}function S(x,I){return x+Xu(Qu()*(I-x+1))}function ml(x,I,Z,_e){for(var tt=-1,Et=mo(Ja((I-x)/(Z||1)),0),rr=_r(Et);Et--;)rr[_e?Et:++tt]=x,x+=Z;return rr}function Qs(x,I){var Z="";if(!x||I<1||I>ye)return Z;do I%2&&(Z+=x),I=Xu(I/2),I&&(x+=x);while(I);return Z}function Fi(x,I){return lf(sc(x,I,dc),x+"")}function bd(x){return Bl(Jd(x))}function sd(x,I){var Z=Jd(x);return Tc(Z,Ju(I,0,Z.length))}function zc(x,I,Z,_e){if(!Zo(x))return x;I=il(I,x);for(var tt=-1,Et=I.length,rr=Et-1,Pr=x;Pr!=null&&++tt<Et;){var Zr=Eu(I[tt]),Xn=Z;if(Zr==="__proto__"||Zr==="constructor"||Zr==="prototype")return x;if(tt!=rr){var Qn=Pr[Zr];Xn=_e?_e(Qn,Zr,Pr):r,Xn===r&&(Xn=Zo(Qn)?Qn:lo(I[tt+1])?[]:{})}Cu(Pr,Zr,Xn),Pr=Pr[Zr]}return x}var nf=Wo?function(x,I){return Wo.set(x,I),x}:dc,fn=Rs?function(x,I){return Rs(x,"toString",{configurable:!0,enumerable:!1,value:Ih(I),writable:!0})}:dc;function ga(x){return Tc(Jd(x))}function eo(x,I,Z){var _e=-1,tt=x.length;I<0&&(I=-I>tt?0:tt+I),Z=Z>tt?tt:Z,Z<0&&(Z+=tt),tt=I>Z?0:Z-I>>>0,I>>>=0;for(var Et=_r(tt);++_e<tt;)Et[_e]=x[_e+I];return Et}function Ka(x,I){var Z;return qu(x,function(_e,tt,Et){return Z=I(_e,tt,Et),!Z}),!!Z}function Zs(x,I,Z){var _e=0,tt=x==null?_e:x.length;if(typeof I=="number"&&I===I&&tt<=ke){for(;_e<tt;){var Et=_e+tt>>>1,rr=x[Et];rr!==null&&!Oc(rr)&&(Z?rr<=I:rr<I)?_e=Et+1:tt=Et}return tt}return Cl(x,I,dc,Z)}function Cl(x,I,Z,_e){var tt=0,Et=x==null?0:x.length;if(Et===0)return 0;I=Z(I);for(var rr=I!==I,Pr=I===null,Zr=Oc(I),Xn=I===r;tt<Et;){var Qn=Xu((tt+Et)/2),li=Z(x[Qn]),ns=li!==r,Ns=li===null,ea=li===li,xa=Oc(li);if(rr)var ta=_e||ea;else Xn?ta=ea&&(_e||ns):Pr?ta=ea&&ns&&(_e||!Ns):Zr?ta=ea&&ns&&!Ns&&(_e||!xa):Ns||xa?ta=!1:ta=_e?li<=I:li<I;ta?tt=Qn+1:Et=Qn}return Po(Et,be)}function Sc(x,I){for(var Z=-1,_e=x.length,tt=0,Et=[];++Z<_e;){var rr=x[Z],Pr=I?I(rr):rr;if(!Z||!Cc(Pr,Zr)){var Zr=Pr;Et[tt++]=rr===0?0:rr}}return Et}function Ua(x){return typeof x=="number"?x:Oc(x)?De:+x}function Ru(x){if(typeof x=="string")return x;if(ya(x))return Bt(x,Ru)+"";if(Oc(x))return hn?hn.call(x):"";var I=x+"";return I=="0"&&1/x==-qe?"-0":I}function Ol(x,I,Z){var _e=-1,tt=Os,Et=x.length,rr=!0,Pr=[],Zr=Pr;if(Z)rr=!1,tt=ir;else if(Et>=s){var Xn=I?null:Se(x);if(Xn)return ct(Xn);rr=!1,tt=Ti,Zr=new Hn}else Zr=I?[]:Pr;e:for(;++_e<Et;){var Qn=x[_e],li=I?I(Qn):Qn;if(Qn=Z||Qn!==0?Qn:0,rr&&li===li){for(var ns=Zr.length;ns--;)if(Zr[ns]===li)continue e;I&&Zr.push(li),Pr.push(Qn)}else tt(Zr,li,Z)||(Zr!==Pr&&Zr.push(li),Pr.push(Qn))}return Pr}function xc(x,I){I=il(I,x);var Z=-1,_e=I.length;if(!_e)return!0;for(;
vendor: 5,343 bytes, line 644
644++Z<_e;){var tt=Eu(I[Z]);if(tt==="__proto__"&&!Ea.call(x,"__proto__")||(tt==="constructor"||tt==="prototype")&&Z<_e-1)return!1}var Et=of(x,I);return Et==null||delete Et[Eu(ti(I))]}function gl(x,I,Z,_e){return zc(x,I,Z(jl(x,I)),_e)}function Sd(x,I,Z,_e){for(var tt=x.length,Et=_e?tt:-1;(_e?Et--:++Et<tt)&&I(x[Et],Et,x););return Z?eo(x,_e?0:Et,_e?Et+1:tt):eo(x,_e?Et+1:0,_e?tt:Et)}function tc(x,I){var Z=x;return Z instanceof Ii&&(Z=Z.value()),Cr(I,function(_e,tt){return tt.func.apply(tt.thisArg,sr([_e],tt.args))},Z)}function jd(x,I,Z){var _e=x.length;if(_e<2)return _e?Ol(x[0]):[];for(var tt=-1,Et=_r(_e);++tt<_e;)for(var rr=x[tt],Pr=-1;++Pr<_e;)Pr!=tt&&(Et[tt]=Ga(Et[tt]||rr,x[Pr],I,Z));return Ol(Oa(Et,1),I,Z)}function zd(x,I,Z){for(var _e=-1,tt=x.length,Et=I.length,rr={};++_e<tt;){var Pr=_e<Et?I[_e]:r;Z(rr,x[_e],Pr)}return rr}function vl(x){return He(x)?x:[]}function $c(x){return typeof x=="function"?x:dc}function il(x,I){return ya(x)?x:Il(x,I)?[x]:Hf(co(x))}var eu=Fi;function to(x,I,Z){var _e=x.length;return Z=Z===r?_e:Z,!I&&Z>=_e?x:eo(x,I,Z)}var ja=fa||function(x){return Yi.clearTimeout(x)};function lu(x,I){if(I)return x.slice();var Z=x.length,_e=Ml?Ml(Z):new x.constructor(Z);return x.copy(_e),_e}function rc(x){var I=new x.constructor(x.byteLength);return new ku(I).set(new ku(x)),I}function $d(x,I){var Z=I?rc(x.buffer):x.buffer;return new x.constructor(Z,x.byteOffset,x.byteLength)}function Wu(x){var I=new x.constructor(x.source,Ut.exec(x));return I.lastIndex=x.lastIndex,I}function ad(x){return Or?na(Or.call(x)):{}}function Vl(x,I){var Z=I?rc(x.buffer):x.buffer;return new x.constructor(Z,x.byteOffset,x.length)}function Hc(x,I){if(x!==I){var Z=x!==r,_e=x===null,tt=x===x,Et=Oc(x),rr=I!==r,Pr=I===null,Zr=I===I,Xn=Oc(I);if(!Pr&&!Xn&&!Et&&x>I||Et&&rr&&Zr&&!Pr&&!Xn||_e&&rr&&Zr||!Z&&Zr||!tt)return 1;if(!_e&&!Et&&!Xn&&x<I||Xn&&Z&&tt&&!_e&&!Et||Pr&&Z&&tt||!rr&&tt||!Zr)return-1}return 0}function yl(x,I,Z){for(var _e=-1,tt=x.criteria,Et=I.criteria,rr=tt.length,Pr=Z.length;++_e<rr;){var Zr=Hc(tt[_e],Et[_e]);if(Zr){if(_e>=Pr)return Zr;var Xn=Z[_e];return Zr*(Xn=="desc"?-1:1)}}return x.index-I.index}function Hd(x,I,Z,_e){for(var tt=-1,Et=x.length,rr=Z.length,Pr=-1,Zr=I.length,Xn=mo(Et-rr,0),Qn=_r(Zr+Xn),li=!_e;++Pr<Zr;)Qn[Pr]=I[Pr];for(;++tt<rr;)(li||tt<Et)&&(Qn[Z[tt]]=x[tt]);for(;Xn--;)Qn[Pr++]=x[tt++];return Qn}function sf(x,I,Z,_e){for(var tt=-1,Et=x.length,rr=-1,Pr=Z.length,Zr=-1,Xn=I.length,Qn=mo(Et-Pr,0),li=_r(Qn+Xn),ns=!_e;++tt<Qn;)li[tt]=x[tt];for(var Ns=tt;++Zr<Xn;)li[Ns+Zr]=I[Zr];for(;++rr<Pr;)(ns||tt<Et)&&(li[Ns+Z[rr]]=x[tt++]);return li}function Jo(x,I){var Z=-1,_e=x.length;for(I||(I=_r(_e));++Z<_e;)I[Z]=x[Z];return I}function za(x,I,Z,_e){var tt=!Z;Z||(Z={});for(var Et=-1,rr=I.length;++Et<rr;){var Pr=I[Et],Zr=_e?_e(Z[Pr],x[Pr],Pr,Z,x):r;Zr===r&&(Zr=x[Pr]),tt?bu(Z,Pr,Zr):Cu(Z,Pr,Zr)}return Z}function Wc(x,I){return za(x,hs(x),I)}function Sf(x,I){return za(x,ys(x),I)}function xd(x,I){return function(Z,_e){var tt=ya(Z)?Mn:Ul,Et=I?I():{};return tt(Z,x,Gr(_e,2),Et)}}function bl(x){return Fi(function(I,Z){var _e=-1,tt=Z.length,Et=tt>1?Z[tt-1]:r,rr=tt>2?Z[2]:r;for(Et=x.length>3&&typeof Et=="function"?(tt--,Et):r,rr&&io(Z[0],Z[1],rr)&&(Et=tt<3?r:Et,tt=1),I=na(I);++_e<tt;){var Pr=Z[_e];Pr&&x(I,Pr,_e,Et)}return I})}function Ec(x,I){return function(Z,_e){if(Z==null)return Z;if(!j(Z))return x(Z,_e);for(var tt=Z.length,Et=I?tt:-1,rr=na(Z);(I?Et--:++Et<tt)&&_e(rr[Et],Et,rr)!==!1;);return Z}}function Ed(x){return function(I,Z,_e){for(var tt=-1,Et=na(I),rr=_e(I),Pr=rr.length;Pr--;){var Zr=rr[x?Pr:++tt];if(Z(Et[Zr],Zr,Et)===!1)break}return I}}function ph(x,I,Z){var _e=I&R,tt=nc(x);function Et(){var rr=this&&this!==Yi&&this instanceof Et?tt:x;return rr.apply(_e?Z:this,arguments)}return Et}function od(x){return function(I){I=co(I);var Z=$(I)?Jr(I):r,_e=Z?Z[0]:I.charAt(0),tt=Z?to(Z,1).join(""):I.slice(1);return _e[x]()+tt}}function Vc(x){return function(I){return Cr(Up(O0(I).replace(Pa,"")),x,"")}}function nc(x){return function(){var I=arguments;switch(I.length){case 0:return new x;case 1:return new x(I[0]);case 2:return new x(I[0],I[1]);case 3:return new x(I[0],I[1],I[2]);case 4:return new x(I[0],I[1],I[2],I[3]);case 5:return new x(I[0],I[1],I[2],I[3],I[4]);case 6:return new x(I[0],I[1],I[2],I[3],I[4],I[5]);case 7:return new x(I[0],I[1],I[2],I[3],I[4],I[5],I[6])}var Z=xi(x.prototype),_e=x.apply(Z,I);return Zo(_e)?_e:Z}}function Du(x,I,Z){var _e=nc(x);function tt(){for(var Et=arguments.length,rr=_r(Et),Pr=Et,Zr=nn(tt);Pr--;)rr[Pr]=arguments[Pr];var Xn=Et<3&&rr[0]!==Zr&&rr[Et-1]!==Zr?[]:nt(rr,Zr);if(Et-=Xn.length,Et<Z)return ce(x,I,ic,tt.placeholder,r,rr,Xn,r,r,Z-Et);var Qn=this&&this!==Yi&&this instanceof tt?_e:x;return Lr(Qn,this,rr)}return tt}function Td(x){return function(I,Z,_e){var tt=na(I);if(!j(I)){var Et=Gr(Z,3);I=Gu(I),Z=function(Pr){return Et(tt[Pr],Pr,tt)}}var rr=x(I,Z,_e);return rr>-1?tt[Et?I[rr]:rr]:r}}function Da(x){return Xr(function(I){var Z=I.length,_e=Z,tt=gi.prototype.thru;for(x&&I.reverse();_e--;){var Et=I[_e];if(typeof Et!="function")throw new bo(u);if(tt&&!rr&&Zn(Et)=="wrapper")var rr=new gi([],!0)}for(_e=rr?_e:Z;++_e<Z;){Et=I[_e];var Pr=Zn(Et),Zr=Pr=="wrapper"?Nn(Et):r;Zr&&Gl(Zr[0])&&Zr[1]==(X|F|U|te)&&!Zr[4].length&&Zr[9]==1?rr=rr[Zn(Zr[0])].apply(rr,Zr[3]):rr=Et.length==1&&Gl(Et)?rr[Pr]():rr.thru(Et)}return function(){var Xn=arguments,Qn=Xn[0];
vendor: 7,328 bytes, line 644
644if(rr&&Xn.length==1&&ya(Qn))return rr.plant(Qn).value();for(var li=0,ns=Z?I[li].apply(this,Xn):Qn;++li<Z;)ns=I[li].call(this,ns);return ns}})}function ic(x,I,Z,_e,tt,Et,rr,Pr,Zr,Xn){var Qn=I&X,li=I&R,ns=I&B,Ns=I&(F|H),ea=I&q,xa=ns?r:nc(x);function ta(){for(var Ha=arguments.length,ro=_r(Ha),Zc=Ha;Zc--;)ro[Zc]=arguments[Zc];if(Ns)var fc=nn(ta),qc=Fo(ro,fc);if(_e&&(ro=Hd(ro,_e,tt,Ns)),Et&&(ro=sf(ro,Et,rr,Ns)),Ha-=qc,Ns&&Ha<Xn){var Lu=nt(ro,fc);return ce(x,I,ic,ta.placeholder,Z,ro,Lu,Pr,Zr,Xn-Ha)}var kd=li?Z:this,yf=ns?kd[x]:x;return Ha=ro.length,Pr?ro=uf(ro,Pr):ea&&Ha>1&&ro.reverse(),Qn&&Zr<Ha&&(ro.length=Zr),this&&this!==Yi&&this instanceof ta&&(yf=xa||nc(yf)),yf.apply(kd,ro)}return ta}function z(x,I){return function(Z,_e){return yd(Z,x,I(_e),{})}}function b(x,I){return function(Z,_e){var tt;if(Z===r&&_e===r)return I;if(Z!==r&&(tt=Z),_e!==r){if(tt===r)return _e;typeof Z=="string"||typeof _e=="string"?(Z=Ru(Z),_e=Ru(_e)):(Z=Ua(Z),_e=Ua(_e)),tt=x(Z,_e)}return tt}}function _(x){return Xr(function(I){return I=Bt(I,Ps(Gr())),Fi(function(Z){var _e=this;return x(I,function(tt){return Lr(tt,_e,Z)})})})}function L(x,I){I=I===r?" ":Ru(I);var Z=I.length;if(Z<2)return Z?Qs(I,x):I;var _e=Qs(I,Ja(x/Rr(I)));return $(I)?to(Jr(_e),0,x).join(""):_e.slice(0,x)}function G(x,I,Z,_e){var tt=I&R,Et=nc(x);function rr(){for(var Pr=-1,Zr=arguments.length,Xn=-1,Qn=_e.length,li=_r(Qn+Zr),ns=this&&this!==Yi&&this instanceof rr?Et:x;++Xn<Qn;)li[Xn]=_e[Xn];for(;Zr--;)li[Xn++]=arguments[++Pr];return Lr(ns,tt?Z:this,li)}return rr}function Y(x){return function(I,Z,_e){return _e&&typeof _e!="number"&&io(I,Z,_e)&&(Z=_e=r),I=Qd(I),Z===r?(Z=I,I=0):Z=Qd(Z),_e=_e===r?I<Z?1:-1:Qd(_e),ml(I,Z,_e,x)}}function se(x){return function(I,Z){return typeof I=="string"&&typeof Z=="string"||(I=Ic(I),Z=Ic(Z)),x(I,Z)}}function ce(x,I,Z,_e,tt,Et,rr,Pr,Zr,Xn){var Qn=I&F,li=Qn?rr:r,ns=Qn?r:rr,Ns=Qn?Et:r,ea=Qn?r:Et;I|=Qn?U:W,I&=~(Qn?W:U),I&M||(I&=~(R|B));var xa=[x,I,tt,Ns,li,ea,ns,Pr,Zr,Xn],ta=Z.apply(r,xa);return Gl(x)&&Ad(ta,xa),ta.placeholder=_e,wf(ta,x,I)}function he(x){var I=ra[x];return function(Z,_e){if(Z=Ic(Z),_e=_e==null?0:Po(_a(_e),292),_e&&kl(Z)){var tt=(co(Z)+"e").split("e"),Et=I(tt[0]+"e"+(+tt[1]+_e));return tt=(co(Et)+"e").split("e"),+(tt[0]+"e"+(+tt[1]-_e))}return I(Z)}}var Se=Uu&&1/ct(new Uu([,-0]))[1]==qe?function(x){return new Uu(x)}:fp;function Ae(x){return function(I){var Z=As(I);return Z==sn?Oe(I):Z==kr?Dt(I):ei(I,x(I))}}function Ve(x,I,Z,_e,tt,Et,rr,Pr){var Zr=I&B;if(!Zr&&typeof x!="function")throw new bo(u);var Xn=_e?_e.length:0;if(Xn||(I&=~(U|W),_e=tt=r),rr=rr===r?rr:mo(_a(rr),0),Pr=Pr===r?Pr:_a(Pr),Xn-=tt?tt.length:0,I&W){var Qn=_e,li=tt;_e=tt=r}var ns=Zr?r:Nn(x),Ns=[x,I,Z,_e,tt,Qn,li,Et,rr,Pr];if(ns&&Gc(Ns,ns),x=Ns[0],I=Ns[1],Z=Ns[2],_e=Ns[3],tt=Ns[4],Pr=Ns[9]=Ns[9]===r?Zr?0:x.length:mo(Ns[9]-Xn,0),!Pr&&I&(F|H)&&(I&=~(F|H)),!I||I==R)var ea=ph(x,I,Z);else I==F||I==H?ea=Du(x,I,Pr):(I==U||I==(R|U))&&!tt.length?ea=G(x,I,Z,_e):ea=ic.apply(r,Ns);var xa=ns?nf:Ad;return wf(xa(ea,Ns),x,I)}function at(x,I,Z,_e){return x===r||Cc(x,ua[Z])&&!Ea.call(_e,Z)?I:x}function Tt(x,I,Z,_e,tt,Et){return Zo(x)&&Zo(I)&&(Et.set(I,x),Pu(x,I,r,Tt,Et),Et.delete(I)),x}function Ct(x){return rh(x)?r:x}function Lt(x,I,Z,_e,tt,Et){var rr=Z&C,Pr=x.length,Zr=I.length;if(Pr!=Zr&&!(rr&&Zr>Pr))return!1;var Xn=Et.get(x),Qn=Et.get(I);if(Xn&&Qn)return Xn==I&&Qn==x;var li=-1,ns=!0,Ns=Z&O?new Hn:r;for(Et.set(x,I),Et.set(I,x);++li<Pr;){var ea=x[li],xa=I[li];if(_e)var ta=rr?_e(xa,ea,li,I,x,Et):_e(ea,xa,li,x,I,Et);if(ta!==r){if(ta)continue;ns=!1;break}if(Ns){if(!Pe(I,function(Ha,ro){if(!Ti(Ns,ro)&&(ea===Ha||tt(ea,Ha,Z,_e,Et)))return Ns.push(ro)})){ns=!1;break}}else if(!(ea===xa||tt(ea,xa,Z,_e,Et))){ns=!1;break}}return Et.delete(x),Et.delete(I),ns}function vr(x,I,Z,_e,tt,Et,rr){switch(Z){case br:if(x.byteLength!=I.byteLength||x.byteOffset!=I.byteOffset)return!1;x=x.buffer,I=I.buffer;case Xt:return!(x.byteLength!=I.byteLength||!Et(new ku(x),new ku(I)));case kt:case Nt:case Hr:return Cc(+x,+I);case yr:return x.name==I.name&&x.message==I.message;case Sr:case qt:return x==I+"";case sn:var Pr=Oe;case kr:var Zr=_e&C;if(Pr||(Pr=ct),x.size!=I.size&&!Zr)return!1;var Xn=rr.get(x);if(Xn)return Xn==I;_e|=O,rr.set(x,I);var Qn=Lt(Pr(x),Pr(I),_e,tt,Et,rr);return rr.delete(x),Qn;case Sn:if(Or)return Or.call(x)==Or.call(I)}return!1}function zt(x,I,Z,_e,tt,Et){var rr=Z&C,Pr=qr(x),Zr=Pr.length,Xn=qr(I),Qn=Xn.length;if(Zr!=Qn&&!rr)return!1;for(var li=Zr;li--;){var ns=Pr[li];if(!(rr?ns in I:Ea.call(I,ns)))return!1}var Ns=Et.get(x),ea=Et.get(I);if(Ns&&ea)return Ns==I&&ea==x;var xa=!0;Et.set(x,I),Et.set(I,x);for(var ta=rr;++li<Zr;){ns=Pr[li];var Ha=x[ns],ro=I[ns];if(_e)var Zc=rr?_e(ro,Ha,ns,I,x,Et):_e(Ha,ro,ns,x,I,Et);if(!(Zc===r?Ha===ro||tt(Ha,ro,Z,_e,Et):Zc)){xa=!1;break}ta||(ta=ns=="constructor")}if(xa&&!ta){var fc=x.constructor,qc=I.constructor;fc!=qc&&"constructor"in x&&"constructor"in I&&!(typeof fc=="function"&&fc instanceof fc&&typeof qc=="function"&&qc instanceof qc)&&(xa=!1)}return Et.delete(x),Et.delete(I),xa}function Xr(x){return lf(sc(x,r,cd),x+"")}function qr(x){return Bc(x,Gu,hs)}function Dn(x){return Bc(x,cc,ys)}var Nn=Wo?function(x){return Wo.get(x)}:fp;function Zn(x){for(var I=x.name+"",Z=gu[I],_e=Ea.call(gu,I)?Z.length:0;_e--;){var tt=Z[_e],Et=tt.func;if(Et==null||Et==x)return tt.name}return I}function nn(x){var I=Ea.call(Ke,"placeholder")?Ke:x;return I.placeholder}function Gr(){var x=Ke.iteratee||jp;return x=x===jp?dt:x,arguments.length?x(arguments[0],arguments[1]):x}function Qt(x,I){var Z=x.__data__;return Su(I)?Z[typeof I=="string"?"string":"hash"]:Z.map}function Kn(x){for(var I=Gu(x),Z=I.length;Z--;){var _e=I[Z],tt=x[_e];I[Z]=[_e,tt,xf(tt)]}return I}function Ds(x,I){var Z=V(x,I);return N(Z)?Z:r}function Ai(x){var I=Ea.call(x,fs),Z=x[fs];try{x[fs]=r;var _e=!0}catch{}var tt=Io.call(x);return _e&&(I?x[fs]=Z:delete x[fs]),tt}var hs=Bo?function(x){return x==null?[]:(x=na(x),os(Bo(x),function(I){return ot.call(x,I)}))}:Hp,ys=Bo?function(x){for(var I=[];x;)sr(I,hs(x)),x=oe(x);return I}:Hp,As=sa;(Fu&&As(new Fu(new ArrayBuffer(1)))!=br||Bu&&As(new Bu)!=sn||xl&&As(xl.resolve())!=wr||Uu&&As(new Uu)!=kr||go&&As(new go)!=Nr)&&(As=function(x){var I=sa(x),Z=I==et?x.constructor:r,_e=Z?Tu(Z):"";if(_e)switch(_e){case pc:return br;case we:return sn;case Ze:return wr;case lt:return kr;case Rt:return Nr}return I});function rs(x,I,Z){for(var _e=-1,tt=Z.length;++_e<tt;){var Et=Z[_e],rr=Et.size;switch(Et.type){case"drop":x+=rr;break;case"dropRight":I-=rr;break;case"take":I=Po(I,x+rr);break;case"takeRight":x=mo(x,I-rr);break}}return{start:x,end:I}}function oa(x){var I=x.match(Re);return I?I[1].split(Qe):[]}function uo(x,I,Z){I=il(I,x);for(var _e=-1,tt=I.length,Et=!1;++_e<tt;){var rr=Eu(I[_e]);if(!(Et=x!=null&&Z(x,rr)))break;x=x[rr]}return Et||++_e!=tt?Et:(tt=x==null?0:x.length,!!tt&&rp(tt)&&lo(rr,tt)&&(ya(x)||Xd(x)))}function Uo(x){var I=x.length,Z=new x.constructor(I);return I&&typeof x[0]=="string"&&Ea.call(x,"index")&&(Z.index=x.index,Z.input=x.input),Z}function Ys(x){return typeof x.constructor=="function"&&!ud(x)?xi(oe(x)):{}}function Do(x,I,Z){var _e=x.constructor;switch(I){case Xt:return rc(x);case kt:case Nt:return new _e(+x);case br:return $d(x,Z);case $t:case wt:case Ar:case Q:case ut:case tr:case rt:case _t:case Yr:return Vl(x,Z);case sn:return new _e;case Hr:case qt:return new _e(x);
vendor: 7,167 bytes, lines 644-646
644case Sr:return Wu(x);case kr:return new _e;case Sn:return ad(x)}}function vo(x,I){var Z=I.length;if(!Z)return x;var _e=Z-1;return I[_e]=(Z>1?"& ":"")+I[_e],I=I.join(Z>2?", ":" "),x.replace(fe,`{ 645/* [wrapped with `+I+`] */ 646`)}function cu(x){return ya(x)||Xd(x)||!!(mn&&x&&x[mn])}function lo(x,I){var Z=typeof x;return I=I??ye,!!I&&(Z=="number"||Z!="symbol"&&Tn.test(x))&&x>-1&&x%1==0&&x<I}function io(x,I,Z){if(!Zo(Z))return!1;var _e=typeof I;return(_e=="number"?j(Z)&&lo(I,Z.length):_e=="string"&&I in Z)?Cc(Z[I],x):!1}function Il(x,I){if(ya(x))return!1;var Z=typeof x;return Z=="number"||Z=="symbol"||Z=="boolean"||x==null||Oc(x)?!0:qi.test(x)||!fi.test(x)||I!=null&&x in na(I)}function Su(x){var I=typeof x;return I=="string"||I=="number"||I=="symbol"||I=="boolean"?x!=="__proto__":x===null}function Gl(x){var I=Zn(x),Z=Ke[I];if(typeof Z!="function"||!(I in Ii.prototype))return!1;if(x===Z)return!0;var _e=Nn(Z);return!!_e&&x===_e[0]}function wd(x){return!!ul&&ul in x}var _d=pu?md:Wp;function ud(x){var I=x&&x.constructor,Z=typeof I=="function"&&I.prototype||ua;return x===Z}function xf(x){return x===x&&!Zo(x)}function Ef(x,I){return function(Z){return Z==null?!1:Z[x]===I&&(I!==r||x in na(Z))}}function xu(x){var I=Bf(x,function(_e){return Z.size===h&&Z.clear(),_e}),Z=I.cache;return I}function Gc(x,I){var Z=x[1],_e=I[1],tt=Z|_e,Et=tt<(R|B|X),rr=_e==X&&Z==F||_e==X&&Z==te&&x[7].length<=I[8]||_e==(X|te)&&I[7].length<=I[8]&&Z==F;if(!(Et||rr))return x;_e&R&&(x[2]=I[2],tt|=Z&R?0:M);var Pr=I[3];if(Pr){var Zr=x[3];x[3]=Zr?Hd(Zr,Pr,I[4]):Pr,x[4]=Zr?nt(x[3],v):I[4]}return Pr=I[5],Pr&&(Zr=x[5],x[5]=Zr?sf(Zr,Pr,I[6]):Pr,x[6]=Zr?nt(x[5],v):I[6]),Pr=I[7],Pr&&(x[7]=Pr),_e&X&&(x[8]=x[8]==null?I[8]:Po(x[8],I[8])),x[9]==null&&(x[9]=I[9]),x[0]=I[0],x[1]=tt,x}function af(x){var I=[];if(x!=null)for(var Z in na(x))I.push(Z);return I}function Tf(x){return Io.call(x)}function sc(x,I,Z){return I=mo(I===r?x.length-1:I,0),function(){for(var _e=arguments,tt=-1,Et=mo(_e.length-I,0),rr=_r(Et);++tt<Et;)rr[tt]=_e[I+tt];tt=-1;for(var Pr=_r(I+1);++tt<I;)Pr[tt]=_e[tt];return Pr[I]=Z(rr),Lr(x,this,Pr)}}function of(x,I){return I.length<2?x:jl(x,eo(I,0,-1))}function uf(x,I){for(var Z=x.length,_e=Po(I.length,Z),tt=Jo(x);_e--;){var Et=I[_e];x[_e]=lo(Et,Z)?tt[Et]:r}return x}function Kc(x,I){if(!(I==="constructor"&&typeof x[I]=="function")&&I!="__proto__")return x[I]}var Ad=ld(nf),sl=po||function(x,I){return Yi.setTimeout(x,I)},lf=ld(fn);function wf(x,I,Z){var _e=I+"";return lf(x,vo(_e,ac(oa(_e),Z)))}function ld(x){var I=0,Z=0;return function(){var _e=Is(),tt=ge-(_e-Z);if(Z=_e,tt>0){if(++I>=pe)return arguments[0]}else I=0;return x.apply(r,arguments)}}function Tc(x,I){var Z=-1,_e=x.length,tt=_e-1;for(I=I===r?_e:I;++Z<I;){var Et=S(Z,tt),rr=x[Et];x[Et]=x[Z],x[Z]=rr}return x.length=I,x}var Hf=xu(function(x){var I=[];return x.charCodeAt(0)===46&&I.push(""),x.replace(ri,function(Z,_e,tt,Et){I.push(tt?Et.replace(Mr,"$1"):_e||Z)}),I});function Eu(x){if(typeof x=="string"||Oc(x))return x;var I=x+"";return I=="0"&&1/x==-qe?"-0":I}function Tu(x){if(x!=null){try{return Mu.call(x)}catch{}try{return x+""}catch{}}return""}function ac(x,I){return Pn(Ge,function(Z){var _e="_."+Z[0];I&Z[1]&&!Os(x,_e)&&x.push(_e)}),x.sort()}function cf(x){if(x instanceof Ii)return x.clone();var I=new gi(x.__wrapped__,x.__chain__);return I.__actions__=Jo(x.__actions__),I.__index__=x.__index__,I.__values__=x.__values__,I}function Wf(x,I,Z){(Z?io(x,I,Z):I===r)?I=1:I=mo(_a(I),0);var _e=x==null?0:x.length;if(!_e||I<1)return[];for(var tt=0,Et=0,rr=_r(Ja(_e/I));tt<_e;)rr[Et++]=eo(x,tt,tt+=I);return rr}function Cd(x){for(var I=-1,Z=x==null?0:x.length,_e=0,tt=[];++I<Z;){var Et=x[I];Et&&(tt[_e++]=Et)}return tt}function _f(){var x=arguments.length;if(!x)return[];for(var I=_r(x-1),Z=arguments[0],_e=x;_e--;)I[_e-1]=arguments[_e];return sr(ya(Z)?Jo(Z):[Z],Oa(I,1))}var oc=Fi(function(x,I){return He(x)?Ga(x,Oa(I,1,He,!0)):[]}),mh=Fi(function(x,I){var Z=ti(I);return He(Z)&&(Z=r),He(x)?Ga(x,Oa(I,1,He,!0),Gr(Z,2)):[]}),Af=Fi(function(x,I){var Z=ti(I);return He(Z)&&(Z=r),He(x)?Ga(x,Oa(I,1,He,!0),r,Z):[]});function Wd(x,I,Z){var _e=x==null?0:x.length;return _e?(I=Z||I===r?1:_a(I),eo(x,I<0?0:I,_e)):[]}function gh(x,I,Z){var _e=x==null?0:x.length;return _e?(I=Z||I===r?1:_a(I),I=_e-I,eo(x,0,I<0?0:I)):[]}function Vf(x,I){return x&&x.length?Sd(x,Gr(I,3),!0,!0):[]}function Qi(x,I){return x&&x.length?Sd(x,Gr(I,3),!0):[]}function Cf(x,I,Z,_e){var tt=x==null?0:x.length;return tt?(Z&&typeof Z!="number"&&io(x,I,Z)&&(Z=0,_e=tt),id(x,I,Z,_e)):[]}function Od(x,I,Z){var _e=x==null?0:x.length;if(!_e)return-1;var tt=Z==null?0:_a(Z);return tt<0&&(tt=mo(_e+tt,0)),Gt(x,Gr(I,3),tt)}function Id(x,I,Z){var _e=x==null?0:x.length;if(!_e)return-1;var tt=_e-1;return Z!==r&&(tt=_a(Z),tt=Z<0?mo(_e+tt,0):Po(tt,_e-1)),Gt(x,Gr(I,3),tt,!0)}function cd(x){var I=x==null?0:x.length;return I?Oa(x,1):[]}function Of(x){var I=x==null?0:x.length;return I?Oa(x,qe):[]}function $a(x,I){var Z=x==null?0:x.length;return Z?(I=I===r?1:_a(I),Oa(x,I)):[]}function Yc(x){for(var I=-1,Z=x==null?0:x.length,_e={};++I<Z;){var tt=x[I];bu(_e,tt[0],tt[1])}return _e}function wc(x){return x&&x.length?x[0]:r}function _c(x,I,Z){var _e=x==null?0:x.length;if(!_e)return-1;var tt=Z==null?0:_a(Z);return tt<0&&(tt=mo(_e+tt,0)),ar(x,I,tt)}function dd(x){var I=x==null?0:x.length;return I?eo(x,0,-1):[]}var fd=Fi(function(x){var I=Bt(x,vl);return I.length&&I[0]===x[0]?$l(I):[]}),lr=Fi(function(x){var I=ti(x),Z=Bt(x,vl);return I===ti(Z)?I=r:Z.pop(),Z.length&&Z[0]===x[0]?$l(Z,Gr(I,2)):[]}),Kr=Fi(function(x){var I=ti(x),Z=Bt(x,vl);return I=typeof I=="function"?I:r,I&&Z.pop(),Z.length&&Z[0]===x[0]?$l(Z,r,I):[]});function dn(x,I){return x==null?"":Nu.call(x,I)}function ti(x){var I=x==null?0:x.length;return I?x[I-1]:r}function Oi(x,I,Z){var _e=x==null?0:x.length;if(!_e)return-1;var tt=_e;return Z!==r&&(tt=_a(Z),tt=tt<0?mo(_e+tt,0):Po(tt,_e-1)),I===I?Ft(x,I,tt):Gt(x,Un,tt,!0)}function ds(x,I){return x&&x.length?jc(x,_a(I)):r}var Ls=Fi(is);function is(x,I){return x&&x.length&&I&&I.length?Qo(x,I):x}function Fs(x,I,Z){return x&&x.length&&I&&I.length?Qo(x,I,Gr(Z,2)):x}function ps(x,I,Z){return x&&x.length&&I&&I.length?Qo(x,I,r,Z):x}var xr=Xr(function(x,I){var Z=x==null?0:x.length,_e=cl(x,I);return Al(x,Bt(I,function(tt){return lo(tt,Z)?+tt:tt}).sort(Hc)),_e});function Ms(x,I){var Z=[];if(!(x&&x.length))return Z;var _e=-1,tt=[],Et=x.length;for(I=Gr(I,3);++_e<Et;){var rr=x[_e];I(rr,_e,x)&&(Z.push(rr),tt.push(_e))}return Al(x,tt),Z}function Ra(x){return x==null?x:Nl.call(x)}function ka(x,I,Z){var _e=x==null?0:x.length;return _e?(Z&&typeof Z!="number"&&io(x,I,Z)?(I=0,Z=_e):(I=I==null?0:_a(I),Z=Z===r?_e:_a(Z)),eo(x,I,Z)):[]}function Ya(x,I){return Zs(x,I)}function Lo(x,I,Z){return Cl(x,I,Gr(Z,2))}function Xa(x,I){var Z=x==null?0:x.length;if(Z){var _e=Zs(x,I);if(_e<Z&&Cc(x[_e],I))return _e}return-1}function wa(x,I){return Zs(x,I,!0)}function so(x,I,Z){return Cl(x,I,Gr(Z,2),!0)}function va(x,I){var Z=x==null?0:x.length;if(Z){var _e=Zs(x,I,!0)-1;if(Cc(x[_e],I))return _e}return-1}function jo(x){return x&&x.length?Sc(x):[]}function Xc(x,I){return x&&x.length?Sc(x,Gr(I,2)):[]}function tu(x){var I=x==null?0:x.length;return I?eo(x,1,I):[]}
vendor: 7,490 bytes, line 646
646function Pl(x,I,Z){return x&&x.length?(I=Z||I===r?1:_a(I),eo(x,0,I<0?0:I)):[]}function Pd(x,I,Z){var _e=x==null?0:x.length;return _e?(I=Z||I===r?1:_a(I),I=_e-I,eo(x,I<0?0:I,_e)):[]}function Rl(x,I){return x&&x.length?Sd(x,Gr(I,3),!1,!0):[]}function Qc(x,I){return x&&x.length?Sd(x,Gr(I,3)):[]}var Rd=Fi(function(x){return Ol(Oa(x,1,He,!0))}),Na=Fi(function(x){var I=ti(x);return He(I)&&(I=r),Ol(Oa(x,1,He,!0),Gr(I,2))}),wu=Fi(function(x){var I=ti(x);return I=typeof I=="function"?I:r,Ol(Oa(x,1,He,!0),r,I)});function Jc(x){return x&&x.length?Ol(x):[]}function al(x,I){return x&&x.length?Ol(x,Gr(I,2)):[]}function Mo(x,I){return I=typeof I=="function"?I:r,x&&x.length?Ol(x,r,I):[]}function Ac(x){if(!(x&&x.length))return[];var I=0;return x=os(x,function(Z){if(He(Z))return I=mo(Z.length,I),!0}),Ci(I,function(Z){return Bt(x,jn(Z))})}function Vd(x,I){if(!(x&&x.length))return[];var Z=Ac(x);return I==null?Z:Bt(Z,function(_e){return Lr(I,r,_e)})}var If=Fi(function(x,I){return He(x)?Ga(x,I):[]}),Gf=Fi(function(x){return jd(os(x,He))}),Mh=Fi(function(x){var I=ti(x);return He(I)&&(I=r),jd(os(x,He),Gr(I,2))}),Kf=Fi(function(x){var I=ti(x);return I=typeof I=="function"?I:r,jd(os(x,He),r,I)}),kh=Fi(Ac);function yp(x,I){return zd(x||[],I||[],Cu)}function df(x,I){return zd(x||[],I||[],zc)}var vh=Fi(function(x){var I=x.length,Z=I>1?x[I-1]:r;return Z=typeof Z=="function"?(x.pop(),Z):r,Vd(x,Z)});function Pf(x){var I=Ke(x);return I.__chain__=!0,I}function Gd(x,I){return I(x),x}function hd(x,I){return I(x)}var Nh=Xr(function(x){var I=x.length,Z=I?x[0]:0,_e=this.__wrapped__,tt=function(Et){return cl(Et,x)};return I>1||this.__actions__.length||!(_e instanceof Ii)||!lo(Z)?this.thru(tt):(_e=_e.slice(Z,+Z+(I?1:0)),_e.__actions__.push({func:hd,args:[tt],thisArg:r}),new gi(_e,this.__chain__).thru(function(Et){return I&&!Et.length&&Et.push(r),Et}))});function yh(){return Pf(this)}function bh(){return new gi(this.value(),this.__chain__)}function Rf(){this.__values__===r&&(this.__values__=sp(this.value()));var x=this.__index__>=this.__values__.length,I=x?r:this.__values__[this.__index__++];return{done:x,value:I}}function Yf(){return this}function Kd(x){for(var I,Z=this;Z instanceof vi;){var _e=cf(Z);_e.__index__=0,_e.__values__=r,I?tt.__wrapped__=_e:I=_e;var tt=_e;Z=Z.__wrapped__}return tt.__wrapped__=x,I}function Sh(){var x=this.__wrapped__;if(x instanceof Ii){var I=x;return this.__actions__.length&&(I=new Ii(this)),I=I.reverse(),I.__actions__.push({func:hd,args:[Ra],thisArg:r}),new gi(I,this.__chain__)}return this.thru(Ra)}function xh(){return tc(this.__wrapped__,this.__actions__)}var Fh=xd(function(x,I,Z){Ea.call(x,Z)?++x[Z]:bu(x,Z,1)});function Df(x,I,Z){var _e=ya(x)?Gi:wn;return Z&&io(x,I,Z)&&(I=r),_e(x,Gr(I,3))}function Xf(x,I){var Z=ya(x)?os:Jl;return Z(x,Gr(I,3))}var Bh=Td(Od),Lf=Td(Id);function Sl(x,I){return Oa(Qf(x,I),1)}function Uh(x,I){return Oa(Qf(x,I),qe)}function ff(x,I,Z){return Z=Z===r?1:_a(Z),Oa(Qf(x,I),Z)}function Eh(x,I){var Z=ya(x)?Pn:qu;return Z(x,Gr(I,3))}function jh(x,I){var Z=ya(x)?kn:vd;return Z(x,Gr(I,3))}var hf=xd(function(x,I,Z){Ea.call(x,Z)?x[Z].push(I):bu(x,Z,[I])});function zh(x,I,Z,_e){x=j(x)?x:Jd(x),Z=Z&&!_e?_a(Z):0;var tt=x.length;return Z<0&&(Z=mo(tt+Z,0)),ip(x)?Z<=tt&&x.indexOf(I,Z)>-1:!!tt&&ar(x,I,Z)>-1}var $h=Fi(function(x,I,Z){var _e=-1,tt=typeof I=="function",Et=j(x)?_r(x.length):[];return qu(x,function(rr){Et[++_e]=tt?Lr(I,rr,Z):rl(rr,I,Z)}),Et}),bp=xd(function(x,I,Z){bu(x,Z,I)});function Qf(x,I){var Z=ya(x)?Bt:Gs;return Z(x,Gr(I,3))}function Hh(x,I,Z,_e){return x==null?[]:(ya(I)||(I=I==null?[]:[I]),Z=_e?r:Z,ya(Z)||(Z=Z==null?[]:[Z]),Hl(x,I,Z))}var Wh=xd(function(x,I,Z){x[Z?0:1].push(I)},function(){return[[],[]]});function Vh(x,I,Z){var _e=ya(x)?Cr:Vs,tt=arguments.length<3;return _e(x,Gr(I,4),Z,tt,qu)}function Yd(x,I,Z){var _e=ya(x)?Fn:Vs,tt=arguments.length<3;return _e(x,Gr(I,4),Z,tt,vd)}function Sp(x,I){var Z=ya(x)?os:Jl;return Z(x,qf(Gr(I,3)))}function Gh(x){var I=ya(x)?Bl:bd;return I(x)}function Kh(x,I,Z){(Z?io(x,I,Z):I===r)?I=1:I=_a(I);var _e=ya(x)?yu:sd;return _e(x,I)}function xp(x){var I=ya(x)?Nc:ga;return I(x)}function Mf(x){if(x==null)return 0;if(j(x))return ip(x)?Rr(x):x.length;var I=As(x);return I==sn||I==kr?x.size:gr(x).length}function Yh(x,I,Z){var _e=ya(x)?Pe:Ka;return Z&&io(x,I,Z)&&(I=r),_e(x,Gr(I,3))}var kf=Fi(function(x,I){if(x==null)return[];var Z=I.length;return Z>1&&io(x,I[0],I[1])?I=[]:Z>2&&io(I[0],I[1],I[2])&&(I=[I[0]]),Hl(x,Oa(I,1),[])}),Jf=Ho||function(){return Yi.Date.now()};function Ep(x,I){if(typeof I!="function")throw new bo(u);return x=_a(x),function(){if(--x<1)return I.apply(this,arguments)}}function Xh(x,I,Z){return I=Z?r:I,I=x&&I==null?x.length:I,Ve(x,X,r,r,r,r,I)}function Tp(x,I){var Z;if(typeof I!="function")throw new bo(u);return x=_a(x),function(){return--x>0&&(Z=I.apply(this,arguments)),x<=1&&(I=r),Z}}var Nf=Fi(function(x,I,Z){var _e=R;if(Z.length){var tt=nt(Z,nn(Nf));_e|=U}return Ve(x,_e,I,Z,tt)}),Th=Fi(function(x,I,Z){var _e=R|B;if(Z.length){var tt=nt(Z,nn(Th));_e|=U}return Ve(I,_e,x,Z,tt)});function Zf(x,I,Z){I=Z?r:I;var _e=Ve(x,F,r,r,r,r,r,I);return _e.placeholder=Zf.placeholder,_e}function Dd(x,I,Z){I=Z?r:I;var _e=Ve(x,H,r,r,r,r,r,I);return _e.placeholder=Dd.placeholder,_e}function Ff(x,I,Z){var _e,tt,Et,rr,Pr,Zr,Xn=0,Qn=!1,li=!1,ns=!0;if(typeof x!="function")throw new bo(u);I=Ic(I)||0,Zo(Z)&&(Qn=!!Z.leading,li="maxWait"in Z,Et=li?mo(Ic(Z.maxWait)||0,I):Et,ns="trailing"in Z?!!Z.trailing:ns);function Ns(Lu){var kd=_e,yf=tt;return _e=tt=r,Xn=Lu,rr=x.apply(yf,kd),rr}function ea(Lu){return Xn=Lu,Pr=sl(Ha,I),Qn?Ns(Lu):rr}function xa(Lu){var kd=Lu-Zr,yf=Lu-Xn,Lg=I-kd;return li?Po(Lg,Et-yf):Lg}function ta(Lu){var kd=Lu-Zr,yf=Lu-Xn;return Zr===r||kd>=I||kd<0||li&&yf>=Et}function Ha(){var Lu=Jf();if(ta(Lu))return ro(Lu);Pr=sl(Ha,xa(Lu))}function ro(Lu){return Pr=r,ns&&_e?Ns(Lu):(_e=tt=r,rr)}function Zc(){Pr!==r&&ja(Pr),Xn=0,_e=Zr=tt=Pr=r}function fc(){return Pr===r?rr:ro(Jf())}function qc(){var Lu=Jf(),kd=ta(Lu);if(_e=arguments,tt=this,Zr=Lu,kd){if(Pr===r)return ea(Zr);if(li)return ja(Pr),Pr=sl(Ha,I),Ns(Zr)}return Pr===r&&(Pr=sl(Ha,I)),rr}return qc.cancel=Zc,qc.flush=fc,qc}var pd=Fi(function(x,I){return Iu(x,1,I)}),pf=Fi(function(x,I,Z){return Iu(x,Ic(I)||0,Z)});function mf(x){return Ve(x,q)}function Bf(x,I){if(typeof x!="function"||I!=null&&typeof I!="function")throw new bo(u);var Z=function(){var _e=arguments,tt=I?I.apply(this,_e):_e[0],Et=Z.cache;if(Et.has(tt))return Et.get(tt);var rr=x.apply(this,_e);return Z.cache=Et.set(tt,rr)||Et,rr};return Z.cache=new(Bf.Cache||$u),Z}Bf.Cache=$u;function qf(x){if(typeof x!="function")throw new bo(u);return function(){var I=arguments;switch(I.length){case 0:return!x.call(this);case 1:return!x.call(this,I[0]);case 2:return!x.call(this,I[0],I[1]);case 3:return!x.call(this,I[0],I[1],I[2])}return!x.apply(this,I)}}function wp(x){return Tp(2,x)}var Qh=eu(function(x,I){I=I.length==1&&ya(I[0])?Bt(I[0],Ps(Gr())):Bt(Oa(I,1),Ps(Gr()));var Z=I.length;return Fi(function(_e){for(var tt=-1,Et=Po(_e.length,Z);++tt<Et;)_e[tt]=I[tt].call(this,_e[tt]);return Lr(x,this,_e)})}),uc=Fi(function(x,I){var Z=nt(I,nn(uc));return Ve(x,U,r,I,Z)}),wh=Fi(function(x,I){var Z=nt(I,nn(wh));return Ve(x,W,r,I,Z)}),_h=Xr(function(x,I){return Ve(x,te,r,r,r,I)});function Jh(x,I){if(typeof x!="function")throw new bo(u);return I=I===r?I:_a(I),Fi(x,I)}function Ah(x,I){if(typeof x!="function")throw new bo(u);return I=I==null?0:mo(_a(I),0),Fi(function(Z){var _e=Z[I],tt=to(Z,0,I);return _e&&sr(tt,_e),Lr(x,this,tt)})}
vendor: 12,581 bytes, lines 646-663
646function gf(x,I,Z){var _e=!0,tt=!0;if(typeof x!="function")throw new bo(u);return Zo(Z)&&(_e="leading"in Z?!!Z.leading:_e,tt="trailing"in Z?!!Z.trailing:tt),Ff(x,I,{leading:_e,maxWait:I,trailing:tt})}function eh(x){return Xh(x,1)}function th(x,I){return uc($c(I),x)}function _p(){if(!arguments.length)return[];var x=arguments[0];return ya(x)?x:[x]}function Zh(x){return Xo(x,T)}function qh(x,I){return I=typeof I=="function"?I:r,Xo(x,T,I)}function Ch(x){return Xo(x,E|T)}function Ap(x,I){return I=typeof I=="function"?I:r,Xo(x,E|T,I)}function ep(x,I){return I==null||yc(x,I,Gu(I))}function Cc(x,I){return x===I||x!==x&&I!==I}var Cp=se(zl),Op=se(function(x,I){return x>=I}),Xd=fl((function(){return arguments})())?fl:function(x){return du(x)&&Ea.call(x,"callee")&&!ot.call(x,"callee")},ya=_r.isArray,P=Ye?Ps(Ye):hl;function j(x){return x!=null&&rp(x.length)&&!md(x)}function He(x){return du(x)&&j(x)}function pr(x){return x===!0||x===!1||du(x)&&sa(x)==kt}var di=mu||Wp,qs=ft?Ps(ft):Uc;function La(x){return du(x)&&x.nodeType===1&&!rh(x)}function lc(x){if(x==null)return!0;if(j(x)&&(ya(x)||typeof x=="string"||typeof x.splice=="function"||di(x)||Uf(x)||Xd(x)))return!x.length;var I=As(x);if(I==sn||I==kr)return!x.size;if(ud(x))return!gr(x).length;for(var Z in x)if(Ea.call(x,Z))return!1;return!0}function Ip(x,I){return pl(x,I)}function Pp(x,I,Z){Z=typeof Z=="function"?Z:r;var _e=Z?Z(x,I):r;return _e===r?pl(x,I,r,Z):!!_e}function tp(x){if(!du(x))return!1;var I=sa(x);return I==yr||I==Ir||typeof x.message=="string"&&typeof x.name=="string"&&!rh(x)}function Tm(x){return typeof x=="number"&&kl(x)}function md(x){if(!Zo(x))return!1;var I=sa(x);return I==Wr||I==$r||I==yt||I==Dr}function Vu(x){return typeof x=="number"&&x==_a(x)}function rp(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=ye}function Zo(x){var I=typeof x;return x!=null&&(I=="object"||I=="function")}function du(x){return x!=null&&typeof x=="object"}var Rp=ht?Ps(ht):ec;function d0(x,I){return x===I||da(x,I,Kn(I))}function f0(x,I,Z){return Z=typeof Z=="function"?Z:r,da(x,I,Kn(I),Z)}function wm(x){return h0(x)&&x!=+x}function _m(x){if(_d(x))throw new Ni(i);return N(x)}function Am(x){return x===null}function Cm(x){return x==null}function h0(x){return typeof x=="number"||du(x)&&sa(x)==Hr}function rh(x){if(!du(x)||sa(x)!=et)return!1;var I=oe(x);if(I===null)return!0;var Z=Ea.call(I,"constructor")&&I.constructor;return typeof Z=="function"&&Z instanceof Z&&Mu.call(Z)==Lc}var np=Mt?Ps(Mt):re;function p0(x){return Vu(x)&&x>=-ye&&x<=ye}var Dp=Jt?Ps(Jt):Ee;function ip(x){return typeof x=="string"||!ya(x)&&du(x)&&sa(x)==qt}function Oc(x){return typeof x=="symbol"||du(x)&&sa(x)==Sn}var Uf=Er?Ps(Er):Ue;function l1(x){return x===r}function Lp(x){return du(x)&&As(x)==Nr}function nh(x){return du(x)&&sa(x)==un}var Ld=se(Ki),m0=se(function(x,I){return x<=I});function sp(x){if(!x)return[];if(j(x))return ip(x)?Jr(x):Jo(x);if(Gn&&x[Gn])return me(x[Gn]());var I=As(x),Z=I==sn?Oe:I==kr?ct:Jd;return Z(x)}function Qd(x){if(!x)return x===0?x:0;if(x=Ic(x),x===qe||x===-qe){var I=x<0?-1:1;return I*xe}return x===x?x:0}function _a(x){var I=Qd(x),Z=I%1;return I===I?Z?I-Z:I:0}function ap(x){return x?Ju(_a(x),0,Fe):0}function Ic(x){if(typeof x=="number")return x;if(Oc(x))return De;if(Zo(x)){var I=typeof x.valueOf=="function"?x.valueOf():x;x=Zo(I)?I+"":I}if(typeof x!="string")return x===0?x:+x;x=hi(x);var Z=mi.test(x);return Z||ji.test(x)?Vr(x.slice(2),Z?2:8):Yn.test(x)?De:+x}function g0(x){return za(x,cc(x))}function Om(x){return x?Ju(_a(x),-ye,ye):x===0?x:0}function co(x){return x==null?"":Ru(x)}var Im=bl(function(x,I){if(ud(I)||j(I)){za(I,Gu(I),x);return}for(var Z in I)Ea.call(I,Z)&&Cu(x,Z,I[Z])}),v0=bl(function(x,I){za(I,cc(I),x)}),y0=bl(function(x,I,Z,_e){za(I,cc(I),x,_e)}),op=bl(function(x,I,Z,_e){za(I,Gu(I),x,_e)}),b0=Xr(cl);function Pm(x,I){var Z=xi(x);return I==null?Z:Ql(Z,I)}var Rm=Fi(function(x,I){x=na(x);var Z=-1,_e=I.length,tt=_e>2?I[2]:r;for(tt&&io(I[0],I[1],tt)&&(_e=1);++Z<_e;)for(var Et=I[Z],rr=cc(Et),Pr=-1,Zr=rr.length;++Pr<Zr;){var Xn=rr[Pr],Qn=x[Xn];(Qn===r||Cc(Qn,ua[Xn])&&!Ea.call(x,Xn))&&(x[Xn]=Et[Xn])}return x}),Dm=Fi(function(x){return x.push(r,Tt),Lr(E0,r,x)});function Lm(x,I){return jt(x,Gr(I,3),xo)}function Mm(x,I){return jt(x,Gr(I,3),El)}function up(x,I){return x==null?x:Zl(x,Gr(I,3),cc)}function S0(x,I){return x==null?x:ql(x,Gr(I,3),cc)}function ih(x,I){return x&&xo(x,Gr(I,3))}function sh(x,I){return x&&El(x,Gr(I,3))}function Mp(x){return x==null?[]:el(x,Gu(x))}function km(x){return x==null?[]:el(x,cc(x))}function lp(x,I,Z){var _e=x==null?r:jl(x,I);return _e===r?Z:_e}function x0(x,I){return x!=null&&uo(x,I,tl)}function kp(x,I){return x!=null&&uo(x,I,bc)}var Nm=z(function(x,I,Z){I!=null&&typeof I.toString!="function"&&(I=Io.call(I)),x[I]=Z},Ih(dc)),Fm=z(function(x,I,Z){I!=null&&typeof I.toString!="function"&&(I=Io.call(I)),Ea.call(x,I)?x[I].push(Z):x[I]=[Z]},Gr),Bm=Fi(rl);function Gu(x){return j(x)?vc(x):gr(x)}function cc(x){return j(x)?vc(x,!0):_n(x)}function Um(x,I){var Z={};return I=Gr(I,3),xo(x,function(_e,tt,Et){bu(Z,I(_e,tt,Et),_e)}),Z}function jm(x,I){var Z={};return I=Gr(I,3),xo(x,function(_e,tt,Et){bu(Z,tt,I(_e,tt,Et))}),Z}var zm=bl(function(x,I,Z){Pu(x,I,Z)}),E0=bl(function(x,I,Z,_e){Pu(x,I,Z,_e)}),$m=Xr(function(x,I){var Z={};if(x==null)return Z;var _e=!1;I=Bt(I,function(Et){return Et=il(Et,x),_e||(_e=Et.length>1),Et}),za(x,Dn(x),Z),_e&&(Z=Xo(Z,E|w|T,Ct));for(var tt=I.length;tt--;)xc(Z,I[tt]);return Z});function Hm(x,I){return ah(x,qf(Gr(I)))}var T0=Xr(function(x,I){return x==null?{}:_l(x,I)});function ah(x,I){if(x==null)return{};var Z=Bt(Dn(x),function(_e){return[_e]});return I=Gr(I),nl(x,Z,function(_e,tt){return I(_e,tt[0])})}function Wm(x,I,Z){I=il(I,x);var _e=-1,tt=I.length;for(tt||(tt=1,x=r);++_e<tt;){var Et=x==null?r:x[Eu(I[_e])];Et===r&&(_e=tt,Et=Z),x=md(Et)?Et.call(x):Et}return x}function Vm(x,I,Z){return x==null?x:zc(x,I,Z)}function Gm(x,I,Z,_e){return _e=typeof _e=="function"?_e:r,x==null?x:zc(x,I,Z,_e)}var w0=Ae(Gu),_0=Ae(cc);function Km(x,I,Z){var _e=ya(x),tt=_e||di(x)||Uf(x);if(I=Gr(I,4),Z==null){var Et=x&&x.constructor;tt?Z=_e?new Et:[]:Zo(x)?Z=md(Et)?xi(oe(x)):{}:Z={}}return(tt?Pn:xo)(x,function(rr,Pr,Zr){return I(Z,rr,Pr,Zr)}),Z}function Oh(x,I){return x==null?!0:xc(x,I)}function Ym(x,I,Z){return x==null?x:gl(x,I,$c(Z))}function A0(x,I,Z,_e){return _e=typeof _e=="function"?_e:r,x==null?x:gl(x,I,$c(Z),_e)}function Jd(x){return x==null?[]:Zi(x,Gu(x))}function Xm(x){return x==null?[]:Zi(x,cc(x))}function Qm(x,I,Z){return Z===r&&(Z=I,I=r),Z!==r&&(Z=Ic(Z),Z=Z===Z?Z:0),I!==r&&(I=Ic(I),I=I===I?I:0),Ju(Ic(x),I,Z)}function oh(x,I,Z){return I=Qd(I),Z===r?(Z=I,I=0):Z=Qd(Z),x=Ic(x),dl(x,I,Z)}function C0(x,I,Z){if(Z&&typeof Z!="boolean"&&io(x,I,Z)&&(I=Z=r),Z===r&&(typeof I=="boolean"?(Z=I,I=r):typeof x=="boolean"&&(Z=x,x=r)),x===r&&I===r?(x=0,I=1):(x=Qd(x),I===r?(I=x,x=0):I=Qd(I)),x>I){var _e=x;x=I,I=_e}if(Z||x%1||I%1){var tt=Qu();return Po(x+tt*(I-x+Br("1e-"+((tt+"").length-1))),I)}return S(x,I)}var Jm=Vc(function(x,I,Z){return I=I.toLowerCase(),x+(Z?cp(I):I)});function cp(x){return Bp(co(x).toLowerCase())}function O0(x){return x=co(x),x&&x.replace(Cs,ho).replace(Xs,"")}function Zm(x,I,Z){x=co(x),I=Ru(I);var _e=x.length;Z=Z===r?_e:Ju(_a(Z),0,_e);var tt=Z;return Z-=I.length,Z>=0&&x.slice(Z,tt)==I}function vf(x){return x=co(x),x&&Bi.test(x)?x.replace(ki,la):x}function qm(x){return x=co(x),x&&si.test(x)?x.replace(Vi,"\\$&"):x}var I0=Vc(function(x,I,Z){return x+(Z?"-":"")+I.toLowerCase()}),eg=Vc(function(x,I,Z){return x+(Z?" ":"")+I.toLowerCase()}),jf=od("toLowerCase");function Np(x,I,Z){x=co(x),I=_a(I);var _e=I?Rr(x):0;if(!I||_e>=I)return x;var tt=(I-_e)/2;return L(Xu(tt),Z)+x+L(Ja(tt),Z)}function Zd(x,I,Z){x=co(x),I=_a(I);var _e=I?Rr(x):0;return I&&_e<I?x+L(I-_e,Z):x}function P0(x,I,Z){x=co(x),I=_a(I);var _e=I?Rr(x):0;return I&&_e<I?L(I-_e,Z)+x:x}function tg(x,I,Z){return Z||I==null?I=0:I&&(I=+I),ou(co(x).replace(ks,""),I||0)}function Fp(x,I,Z){return(Z?io(x,I,Z):I===r)?I=1:I=_a(I),Qs(co(x),I)}function rg(){var x=arguments,I=co(x[0]);return x.length<3?I:I.replace(x[1],x[2])}var uh=Vc(function(x,I,Z){return x+(Z?"_":"")+I.toLowerCase()});function R0(x,I,Z){return Z&&typeof Z!="number"&&io(x,I,Z)&&(I=Z=r),Z=Z===r?Fe:Z>>>0,Z?(x=co(x),x&&(typeof I=="string"||I!=null&&!np(I))&&(I=Ru(I),!I&&$(x))?to(Jr(x),0,Z):x.split(I,Z)):[]}var Md=Vc(function(x,I,Z){return x+(Z?" ":"")+Bp(I)});function Pc(x,I,Z){return x=co(x),Z=Z==null?0:Ju(_a(Z),0,x.length),I=Ru(I),x.slice(Z,Z+I.length)==I}function Rc(x,I,Z){var _e=Ke.templateSettings;Z&&io(x,I,Z)&&(I=r),x=co(x),I=op({},I,_e,at);var tt=op({},I.imports,_e.imports,at),Et=Gu(tt),rr=Zi(tt,Et);Pn(Et,function(ta){if(xt.test(ta))throw new Ni(m)});var Pr,Zr,Xn=0,Qn=I.interpolate||$i,li="__p += '",ns=hu((I.escape||$i).source+"|"+Qn.source+"|"+(Qn===on?vn:$i).source+"|"+(I.evaluate||$i).source+"|$","g"),Ns="//# sourceURL="+(Ea.call(I,"sourceURL")?(I.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Oo+"]")+` 647`;x.replace(ns,function(ta,Ha,ro,Zc,fc,qc){return ro||(ro=Zc),li+=x.slice(Xn,qc).replace(gs,Fa),Ha&&(Pr=!0,li+=`' + 648__e(`+Ha+`) + 649'`),fc&&(Zr=!0,li+=`'; 650`+fc+`; 651__p += '`),ro&&(li+=`' + 652((__t = (`+ro+`)) == null ? '' : __t) + 653'`),Xn=qc+ta.length,ta}),li+=`'; 654`;var ea=Ea.call(I,"variable")&&I.variable;if(!ea)li=`with (obj) { 655`+li+` 656} 657`;else if(xt.test(ea))throw new Ni(l);li=(Zr?li.replace(ln,""):li).replace(cn,"$1").replace(gn,"$1;"),li="function("+(ea||"obj")+`) { 658`+(ea?"":`obj || (obj = {}); 659`)+"var __t, __p = ''"+(Pr?", __e = _.escape":"")+(Zr?`, __j = Array.prototype.join; 660function print() { __p += __j.call(arguments, '') } 661`:`; 662`)+li+`return __p 663}`;var xa=N0(function(){return ci(Et,Ns+"return "+li).apply(r,rr)});if(xa.source=li,tp(xa))throw xa;return xa}function D0(x){return co(x).toLowerCase()}function L0(x){return co(x).toUpperCase()}function M0(x,I,Z){if(x=co(x),x&&(Z||I===r))return hi(x);if(!x||!(I=Ru(I)))return x;var _e=Jr(x),tt=Jr(I),Et=xs(_e,tt),rr=ma(_e,tt)+1;return to(_e,Et,rr).join("")}function ng(x,I,Z){if(x=co(x),x&&(Z||I===r))return x.slice(0,In(x)+1);if(!x||!(I=Ru(I)))return x;var _e=Jr(x),tt=ma(_e,Jr(I))+1;return to(_e,0,tt).join("")}function k0(x,I,Z){if(x=co(x),x&&(Z||I===r))return x.replace(ks,"");if(!x||!(I=Ru(I)))return x;var _e=Jr(x),tt=xs(_e,Jr(I));return to(_e,tt).join("")}function ig(x,I){var Z=ae,_e=le;if(Zo(I)){var tt="separator"in I?I.separator:tt;Z="length"in I?_a(I.length):Z,_e="omission"in I?Ru(I.omission):_e}x=co(x);var Et=x.length;if($(x)){var rr=Jr(x);Et=rr.length}if(Z>=Et)return x;var Pr=Z-Rr(_e);if(Pr<1)return _e;var Zr=rr?to(rr,0,Pr).join(""):x.slice(0,Pr);if(tt===r)return Zr+_e;if(rr&&(Pr+=Zr.length-Pr),np(tt)){if(x.slice(Pr).search(tt)){var Xn,Qn=Zr;for(tt.global||(tt=hu(tt.source,co(Ut.exec(tt))+"g")),tt.lastIndex=0;Xn=tt.exec(Qn);)var li=Xn.index;Zr=Zr.slice(0,li===r?Pr:li)}}else if(x.indexOf(Ru(tt),Pr)!=Pr){var ns=Zr.lastIndexOf(tt);ns>-1&&(Zr=Zr.slice(0,ns))}return Zr+_e}function sg(x){return x=co(x),x&&Ur.test(x)?x.replace(wi,Rn):x}var ag=Vc(function(x,I,Z){return x+(Z?" ":"")+I.toUpperCase()}),Bp=od("toUpperCase");function Up(x,I,Z){return x=co(x),I=Z?r:I,I===r?ne(x)?qn(x):st(x):x.match(I)||[]}var N0=Fi(function(x,I){try{return Lr(x,r,I)}catch(Z){return tp(Z)?Z:new Ni(Z)}}),F0=Xr(function(x,I){return Pn(I,function(Z){Z=Eu(Z),bu(x,Z,Nf(x[Z],x))}),x});function B0(x){var I=x==null?0:x.length,Z=Gr();return x=I?Bt(x,function(_e){if(typeof _e[1]!="function")throw new bo(u);return[Z(_e[0]),_e[1]]}):[],Fi(function(_e){for(var tt=-1;++tt<I;){var Et=x[tt];if(Lr(Et[0],this,_e))return Lr(Et[1],this,_e)}})}function og(x){return Zu(Xo(x,E))}function Ih(x){return function(){return x}}function ug(x,I){return x==null||x!==x?I:x}var lg=Da(),cg=Da(!0);function dc(x){return x}function jp(x){return dt(typeof x=="function"?x:Xo(x,E))}function U0(x){return aa(Xo(x,E))}function zp(x,I){return Eo(x,Xo(I,E))}var dg=Fi(function(x,I){return function(Z){return rl(Z,x,I)}}),fg=Fi(function(x,I){return function(Z){return rl(x,Z,I)}});function $p(x,I,Z){var _e=Gu(I),tt=el(I,_e);Z==null&&!(Zo(I)&&(tt.length||!_e.length))&&(Z=I,I=x,x=this,tt=el(I,Gu(I)));var Et=!(Zo(Z)&&"chain"in Z)||!!Z.chain,rr=md(x);return Pn(tt,function(Pr){var Zr=I[Pr];x[Pr]=Zr,rr&&(x.prototype[Pr]=function(){var Xn=this.__chain__;if(Et||Xn){var Qn=x(this.__wrapped__),li=Qn.__actions__=Jo(this.__actions__);return li.push({func:Zr,args:arguments,thisArg:x}),Qn.__chain__=Xn,Qn}return Zr.apply(x,sr([this.value()],arguments))})}),x}function dp(){return Yi._===this&&(Yi._=Xl),this}function fp(){}function hg(x){return x=_a(x),Fi(function(I){return jc(I,x)})}var j0=_(Bt),pg=_(Gi),mg=_(Pe);
vendor: 4,351 bytes, line 663
663function z0(x){return Il(x)?jn(Eu(x)):Wl(x)}function gg(x){return function(I){return x==null?r:jl(x,I)}}var vg=Y(),$0=Y(!0);function Hp(){return[]}function Wp(){return!1}function yg(){return{}}function qd(){return""}function bg(){return!0}function Sg(x,I){if(x=_a(x),x<1||x>ye)return[];var Z=Fe,_e=Po(x,Fe);I=Gr(I),x-=Fe;for(var tt=Ci(_e,I);++Z<x;)I(Z);return tt}function xg(x){return ya(x)?Bt(x,Eu):Oc(x)?[x]:Jo(Hf(co(x)))}function Eg(x){var I=++Yl;return co(x)+I}var Tg=b(function(x,I){return x+I},0),wg=he("ceil"),_g=b(function(x,I){return x/I},1),H0=he("floor");function Ag(x){return x&&x.length?Fc(x,dc,zl):r}function Cg(x,I){return x&&x.length?Fc(x,Gr(I,2),zl):r}function W0(x){return An(x,dc)}function Og(x,I){return An(x,Gr(I,2))}function V0(x){return x&&x.length?Fc(x,dc,Ki):r}function Ig(x,I){return x&&x.length?Fc(x,Gr(I,2),Ki):r}var Pg=b(function(x,I){return x*I},1),Rg=he("round"),Dg=b(function(x,I){return x-I},0);function ru(x){return x&&x.length?ws(x,dc):0}function G0(x,I){return x&&x.length?ws(x,Gr(I,2)):0}return Ke.after=Ep,Ke.ary=Xh,Ke.assign=Im,Ke.assignIn=v0,Ke.assignInWith=y0,Ke.assignWith=op,Ke.at=b0,Ke.before=Tp,Ke.bind=Nf,Ke.bindAll=F0,Ke.bindKey=Th,Ke.castArray=_p,Ke.chain=Pf,Ke.chunk=Wf,Ke.compact=Cd,Ke.concat=_f,Ke.cond=B0,Ke.conforms=og,Ke.constant=Ih,Ke.countBy=Fh,Ke.create=Pm,Ke.curry=Zf,Ke.curryRight=Dd,Ke.debounce=Ff,Ke.defaults=Rm,Ke.defaultsDeep=Dm,Ke.defer=pd,Ke.delay=pf,Ke.difference=oc,Ke.differenceBy=mh,Ke.differenceWith=Af,Ke.drop=Wd,Ke.dropRight=gh,Ke.dropRightWhile=Vf,Ke.dropWhile=Qi,Ke.fill=Cf,Ke.filter=Xf,Ke.flatMap=Sl,Ke.flatMapDeep=Uh,Ke.flatMapDepth=ff,Ke.flatten=cd,Ke.flattenDeep=Of,Ke.flattenDepth=$a,Ke.flip=mf,Ke.flow=lg,Ke.flowRight=cg,Ke.fromPairs=Yc,Ke.functions=Mp,Ke.functionsIn=km,Ke.groupBy=hf,Ke.initial=dd,Ke.intersection=fd,Ke.intersectionBy=lr,Ke.intersectionWith=Kr,Ke.invert=Nm,Ke.invertBy=Fm,Ke.invokeMap=$h,Ke.iteratee=jp,Ke.keyBy=bp,Ke.keys=Gu,Ke.keysIn=cc,Ke.map=Qf,Ke.mapKeys=Um,Ke.mapValues=jm,Ke.matches=U0,Ke.matchesProperty=zp,Ke.memoize=Bf,Ke.merge=zm,Ke.mergeWith=E0,Ke.method=dg,Ke.methodOf=fg,Ke.mixin=$p,Ke.negate=qf,Ke.nthArg=hg,Ke.omit=$m,Ke.omitBy=Hm,Ke.once=wp,Ke.orderBy=Hh,Ke.over=j0,Ke.overArgs=Qh,Ke.overEvery=pg,Ke.overSome=mg,Ke.partial=uc,Ke.partialRight=wh,Ke.partition=Wh,Ke.pick=T0,Ke.pickBy=ah,Ke.property=z0,Ke.propertyOf=gg,Ke.pull=Ls,Ke.pullAll=is,Ke.pullAllBy=Fs,Ke.pullAllWith=ps,Ke.pullAt=xr,Ke.range=vg,Ke.rangeRight=$0,Ke.rearg=_h,Ke.reject=Sp,Ke.remove=Ms,Ke.rest=Jh,Ke.reverse=Ra,Ke.sampleSize=Kh,Ke.set=Vm,Ke.setWith=Gm,Ke.shuffle=xp,Ke.slice=ka,Ke.sortBy=kf,Ke.sortedUniq=jo,Ke.sortedUniqBy=Xc,Ke.split=R0,Ke.spread=Ah,Ke.tail=tu,Ke.take=Pl,Ke.takeRight=Pd,Ke.takeRightWhile=Rl,Ke.takeWhile=Qc,Ke.tap=Gd,Ke.throttle=gf,Ke.thru=hd,Ke.toArray=sp,Ke.toPairs=w0,Ke.toPairsIn=_0,Ke.toPath=xg,Ke.toPlainObject=g0,Ke.transform=Km,Ke.unary=eh,Ke.union=Rd,Ke.unionBy=Na,Ke.unionWith=wu,Ke.uniq=Jc,Ke.uniqBy=al,Ke.uniqWith=Mo,Ke.unset=Oh,Ke.unzip=Ac,Ke.unzipWith=Vd,Ke.update=Ym,Ke.updateWith=A0,Ke.values=Jd,Ke.valuesIn=Xm,Ke.without=If,Ke.words=Up,Ke.wrap=th,Ke.xor=Gf,Ke.xorBy=Mh,Ke.xorWith=Kf,Ke.zip=kh,Ke.zipObject=yp,Ke.zipObjectDeep=df,Ke.zipWith=vh,Ke.entries=w0,Ke.entriesIn=_0,Ke.extend=v0,Ke.extendWith=y0,$p(Ke,Ke),Ke.add=Tg,Ke.attempt=N0,Ke.camelCase=Jm,Ke.capitalize=cp,Ke.ceil=wg,Ke.clamp=Qm,Ke.clone=Zh,Ke.cloneDeep=Ch,Ke.cloneDeepWith=Ap,Ke.cloneWith=qh,Ke.conformsTo=ep,Ke.deburr=O0,Ke.defaultTo=ug,Ke.divide=_g,Ke.endsWith=Zm,Ke.eq=Cc,Ke.escape=vf,Ke.escapeRegExp=qm,Ke.every=Df,Ke.find=Bh,Ke.findIndex=Od,Ke.findKey=Lm,Ke.findLast=Lf,Ke.findLastIndex=Id,Ke.findLastKey=Mm,Ke.floor=H0,Ke.forEach=Eh,Ke.forEachRight=jh,Ke.forIn=up,Ke.forInRight=S0,Ke.forOwn=ih,Ke.forOwnRight=sh,Ke.get=lp,Ke.gt=Cp,Ke.gte=Op,Ke.has=x0,Ke.hasIn=kp,Ke.head=wc,Ke.identity=dc,Ke.includes=zh,Ke.indexOf=_c,Ke.inRange=oh,Ke.invoke=Bm,Ke.isArguments=Xd,Ke.isArray=ya,Ke.isArrayBuffer=P,Ke.isArrayLike=j,Ke.isArrayLikeObject=He,Ke.isBoolean=pr,Ke.isBuffer=di,Ke.isDate=qs,Ke.isElement=La,Ke.isEmpty=lc,Ke.isEqual=Ip,Ke.isEqualWith=Pp,Ke.isError=tp,Ke.isFinite=Tm,Ke.isFunction=md,Ke.isInteger=Vu,Ke.isLength=rp,Ke.isMap=Rp,Ke.isMatch=d0,Ke.isMatchWith=f0,Ke.isNaN=wm,Ke.isNative=_m,Ke.isNil=Cm,Ke.isNull=Am,Ke.isNumber=h0,Ke.isObject=Zo,Ke.isObjectLike=du,Ke.isPlainObject=rh,Ke.isRegExp=np,Ke.isSafeInteger=p0,Ke.isSet=Dp,Ke.isString=ip,Ke.isSymbol
vendor: 4,564 bytes, line 663
663=Oc,Ke.isTypedArray=Uf,Ke.isUndefined=l1,Ke.isWeakMap=Lp,Ke.isWeakSet=nh,Ke.join=dn,Ke.kebabCase=I0,Ke.last=ti,Ke.lastIndexOf=Oi,Ke.lowerCase=eg,Ke.lowerFirst=jf,Ke.lt=Ld,Ke.lte=m0,Ke.max=Ag,Ke.maxBy=Cg,Ke.mean=W0,Ke.meanBy=Og,Ke.min=V0,Ke.minBy=Ig,Ke.stubArray=Hp,Ke.stubFalse=Wp,Ke.stubObject=yg,Ke.stubString=qd,Ke.stubTrue=bg,Ke.multiply=Pg,Ke.nth=ds,Ke.noConflict=dp,Ke.noop=fp,Ke.now=Jf,Ke.pad=Np,Ke.padEnd=Zd,Ke.padStart=P0,Ke.parseInt=tg,Ke.random=C0,Ke.reduce=Vh,Ke.reduceRight=Yd,Ke.repeat=Fp,Ke.replace=rg,Ke.result=Wm,Ke.round=Rg,Ke.runInContext=nr,Ke.sample=Gh,Ke.size=Mf,Ke.snakeCase=uh,Ke.some=Yh,Ke.sortedIndex=Ya,Ke.sortedIndexBy=Lo,Ke.sortedIndexOf=Xa,Ke.sortedLastIndex=wa,Ke.sortedLastIndexBy=so,Ke.sortedLastIndexOf=va,Ke.startCase=Md,Ke.startsWith=Pc,Ke.subtract=Dg,Ke.sum=ru,Ke.sumBy=G0,Ke.template=Rc,Ke.times=Sg,Ke.toFinite=Qd,Ke.toInteger=_a,Ke.toLength=ap,Ke.toLower=D0,Ke.toNumber=Ic,Ke.toSafeInteger=Om,Ke.toString=co,Ke.toUpper=L0,Ke.trim=M0,Ke.trimEnd=ng,Ke.trimStart=k0,Ke.truncate=ig,Ke.unescape=sg,Ke.uniqueId=Eg,Ke.upperCase=ag,Ke.upperFirst=Bp,Ke.each=Eh,Ke.eachRight=jh,Ke.first=wc,$p(Ke,(function(){var x={};return xo(Ke,function(I,Z){Ea.call(Ke.prototype,Z)||(x[Z]=I)}),x})(),{chain:!1}),Ke.VERSION=a,Pn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(x){Ke[x].placeholder=Ke}),Pn(["drop","take"],function(x,I){Ii.prototype[x]=function(Z){Z=Z===r?1:mo(_a(Z),0);var _e=this.__filtered__&&!I?new Ii(this):this.clone();return _e.__filtered__?_e.__takeCount__=Po(Z,_e.__takeCount__):_e.__views__.push({size:Po(Z,Fe),type:x+(_e.__dir__<0?"Right":"")}),_e},Ii.prototype[x+"Right"]=function(Z){return this.reverse()[x](Z).reverse()}}),Pn(["filter","map","takeWhile"],function(x,I){var Z=I+1,_e=Z==Ie||Z==Je;Ii.prototype[x]=function(tt){var Et=this.clone();return Et.__iteratees__.push({iteratee:Gr(tt,3),type:Z}),Et.__filtered__=Et.__filtered__||_e,Et}}),Pn(["head","last"],function(x,I){var Z="take"+(I?"Right":"");Ii.prototype[x]=function(){return this[Z](1).value()[0]}}),Pn(["initial","tail"],function(x,I){var Z="drop"+(I?"":"Right");Ii.prototype[x]=function(){return this.__filtered__?new Ii(this):this[Z](1)}}),Ii.prototype.compact=function(){return this.filter(dc)},Ii.prototype.find=function(x){return this.filter(x).head()},Ii.prototype.findLast=function(x){return this.reverse().find(x)},Ii.prototype.invokeMap=Fi(function(x,I){return typeof x=="function"?new Ii(this):this.map(function(Z){return rl(Z,x,I)})}),Ii.prototype.reject=function(x){return this.filter(qf(Gr(x)))},Ii.prototype.slice=function(x,I){x=_a(x);var Z=this;return Z.__filtered__&&(x>0||I<0)?new Ii(Z):(x<0?Z=Z.takeRight(-x):x&&(Z=Z.drop(x)),I!==r&&(I=_a(I),Z=I<0?Z.dropRight(-I):Z.take(I-x)),Z)},Ii.prototype.takeRightWhile=function(x){return this.reverse().takeWhile(x).reverse()},Ii.prototype.toArray=function(){return this.take(Fe)},xo(Ii.prototype,function(x,I){var Z=/^(?:filter|find|map|reject)|While$/.test(I),_e=/^(?:head|last)$/.test(I),tt=Ke[_e?"take"+(I=="last"?"Right":""):I],Et=_e||/^find/.test(I);tt&&(Ke.prototype[I]=function(){var rr=this.__wrapped__,Pr=_e?[1]:arguments,Zr=rr instanceof Ii,Xn=Pr[0],Qn=Zr||ya(rr),li=function(Ha){var ro=tt.apply(Ke,sr([Ha],Pr));return _e&&ns?ro[0]:ro};Qn&&Z&&typeof Xn=="function"&&Xn.length!=1&&(Zr=Qn=!1);var ns=this.__chain__,Ns=!!this.__actions__.length,ea=Et&&!ns,xa=Zr&&!Ns;if(!Et&&Qn){rr=xa?rr:new Ii(this);var ta=x.apply(rr,Pr);return ta.__actions__.push({func:hd,args:[li],thisArg:r}),new gi(ta,ns)}return ea&&xa?x.apply(this,Pr):(ta=this.thru(li),ea?_e?ta.value()[0]:ta.value():ta)})}),Pn(["pop","push","shift","sort","splice","unshift"],function(x){var I=$o[x],Z=/^(?:push|sort|unshift)$/.test(x)?"tap":"thru",_e=/^(?:pop|shift)$/.test(x);Ke.prototype[x]=function(){var tt=arguments;if(_e&&!this.__chain__){var Et=this.value();return I.apply(ya(Et)?Et:[],tt)}return this[Z](function(rr){return I.apply(ya(rr)?rr:[],tt)})}}),xo(Ii.prototype,function(x,I){var Z=Ke[I];if(Z){var _e=Z.name+"";Ea.call(gu,_e)||(gu[_e]=[]),gu[_e].push({name:I,func:Z})}}),gu[ic(r,B).name]=[{name:"wrapper",func:r}],Ii.prototype.clone=js,Ii.prototype.reverse=Za,Ii.prototype.value=qa,Ke.prototype.at=Nh,Ke.prototype.chain=yh,Ke.prototype.commit=bh,Ke.prototype.next=Rf,Ke.prototype.plant=Kd,Ke.prototype.reverse=Sh,Ke.prototype.toJSON=Ke.prototype.valueOf=Ke.prototype.value=xh,Ke.prototype.first=Ke.prototype.head,Gn&&(Ke.prototype[Gn]=Yf),Ke}),cs=Xi();Yi._=cs,n=(function(){return cs}).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 E=u.test(h);return E||l.test(h)?m(h.slice(2),E?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="...",E=/\w*$/;function w(T,C){var O=h,R=v;if(s(C)){var B="separator"in C?C.separator:B;O="length"in C?m(C.length):O,R="omission"in C?n(C.omission):R}T=g(T);var M=T.length;if(a(T)){var F=l(T);M=F.length}if(O>=M)return T;var H=O-u(R);if(H<1)return R;var U=F?r(F,0,H).join(""):T.slice(0,H);if(B===void 0)return U+R;if(F&&(H+=U.length-H),i(B)){if(T.slice(H).search(B)){var W,X=U;for(B.global||(B=RegExp(B.source,g(E.exec(B))+"g")),B.lastIndex=0;W=B.exec(X);)var te=W.index;U=U.slice(0,te===void 0?H:te)}}else if(T.indexOf(n(B),H)!=H){var q=U.lastIndexOf(B);q>-1&&(U=U.slice(0,q))}return U+R}f.exports=w},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 E=m[v],w=++g;if(l[w]=v,m[v]=w,!E)return++i,i<=s?void 0:(v=l[u],h(v),v);if(delete l[E],u===E)for(;!a.call(l,++u););},delete:h=function(v){var E=m[v];if(E&&(delete l[E],delete m[v],--i,u===E)){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),E=m(null),w=h.memoized,T=h.original,C,O,R;h.memoized=s(function(B){var M=arguments,F=M[M.length-1];return typeof F=="function"&&(C=F,M=u.call(M,0,-1)),w.apply(O=this,R=M)},w);try{a(h.memoized,w)}catch{}h.on("get",function(B){var M,F,H;if(C){if(v[B]){typeof v[B]=="function"?v[B]=[v[B],C]:v[B].push(C),C=null;return}M=C,F=O,H=R,C=O=R=null,i(function(){var U;
663hasOwnProperty.call(E,B)?(U=E[B],h.emit("getasync",B,H,F),l.call(M,U.context,U.args)):(C=M,O=F,R=H,w.apply(F,H))})}}),h.original=function(){var B,M,F,H;return C?(B=n(arguments),M=function U(W){var X,te,q=U.id;if(q==null){i(l.bind(U,this,arguments));return}if(delete U.id,X=v[q],delete v[q],!!X)return te=n(arguments),h.has(q)&&(W?h.delete(q):(E[q]={context:this,args:te},h.emit("setasync",q,typeof X=="function"?1:X.length))),typeof X=="function"?H=l.call(X,this,te):X.forEach(function(ae){H=l.call(ae,this,te)},this),H},F=C,C=O=R=null,B.push(M),H=l.call(T,this,B),M.cb=F,C=M,H):l.call(T,this,arguments)},h.on("set",function(B){if(!C){h.delete(B);return}v[B]?typeof v[B]=="function"?v[B]=[v[B],C.cb]:v[B].push(C.cb):v[B]=C.cb,delete C.cb,C.id=B,C=null}),h.on("delete",function(B){var M;hasOwnProperty.call(v,B)||E[B]&&(M=E[B],delete E[B],h.emit("deleteasync",B,u.call(M.args,1)))}),h.on("clear",function(){var B=E;E=m(null),h.emit("clearasync",r(B,function(M){return u.call(M.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,E,w){var T,C,O,R;v=i(v),v&&(T=h(null),C=w.async&&u.async||w.promise&&u.promise?"async":"",E.on("set"+C,function(B){T[B]=setTimeout(function(){E.delete(B)},v),typeof T[B].unref=="function"&&T[B].unref(),R&&(R[B]&&R[B]!=="nextTick"&&clearTimeout(R[B]),R[B]=setTimeout(function(){delete R[B]},O),typeof R[B].unref=="function"&&R[B].unref())}),E.on("delete"+C,function(B){clearTimeout(T[B]),delete T[B],R&&(R[B]!=="nextTick"&&clearTimeout(R[B]),delete R[B])}),w.preFetch&&(w.preFetch===!0||isNaN(w.preFetch)?O=.333:O=m(g(Number(w.preFetch),1),0),O&&(R={},O=(1-O)*v,E.on("get"+C,function(B,M,F){R[B]||(R[B]="nextTick",a(function(){var H;R[B]==="nextTick"&&(delete R[B],E.delete(B),w.async&&(M=n(M),M.push(l)),H=E.memoized.apply(F,M),w.promise&&s(H)&&(typeof H.done=="function"?H.done(l,l):H.then(l,l)))}))}))),E.on("clear"+C,function(){r(T,function(B){clearTimeout(B)}),T={},R&&(r(R,function(B){B!=="nextTick"&&clearTimeout(B)}),R={})}))}},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),E=l(null),w=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(T,C,O){var R=!1;if(!i(O)){E[T]=O,h.emit("setasync",T,1);return}v[T]=1,w[T]=O;var B=function(U){var W=v[T];if(R)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.`);W&&(delete v[T],E[T]=U,h.emit("setasync",T,W))},M=function(){R=!0,v[T]&&(delete v[T],delete w[T],h.delete(T))},F=g;if(F||(F="then"),F==="then"){var H=function(){u(M)};O=O.then(function(U){u(B.bind(this,U))},H),typeof O.finally=="function"&&O.finally(H)}else if(F==="done"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");O.done(B,M)}else if(F==="done:finally"){if(typeof O.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof O.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");O.done(B),O.finally(M)}}),h.on("get",function(T,C,O){var R;if(v[T]){++v[T];return}R=w[T];var B=function(){h.emit("getasync",T,C,O)};i(R)?typeof R.done=="function"?R.done(B):R.then(function(){u(B)}):B()}),h.on("delete",function(T){if(delete w[T],v[T]){delete v[T];return}if(hasOwnProperty.call(E,T)){var C=E[T];delete E[T],h.emit("deleteasync",T,[C])}}),h.on("clear",function(){var T=E;E=l(null),v=l(null),w=l(null),h.emit("clearasync",n(T,function(C){return[C]}))})}},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,E=s.emit;f.exports=function(w,T,C){var O=g(null),R,B,M,F,H,U,W,X,te,q,ae,le,pe,ge,Ie;return T!==!1?B=T:isNaN(w.length)?B=1:B=w.length,C.normalizer&&(q=u(C.normalizer),M=q.get,F=q.set,H=q.delete,U=q.clear),C.resolvers!=null&&(Ie=i(C.resolvers)),M?ge=r(function(Ce){var Je,qe,ye=arguments;if(Ie&&(ye=Ie(ye)),Je=M(ye),Je!==null&&hasOwnProperty.call(O,Je))return ae&&R.emit("get",Je,ye,this),O[Je];if(ye.length===1?qe=m.call(w,this,ye[0]):qe=l.call(w,this,ye),Je===null){if(Je=M(ye),Je!==null)throw n("Circular invocation","CIRCULAR_INVOCATION");Je=F(ye)}else if(hasOwnProperty.call(O,Je))throw n("Circular invocation","CIRCULAR_INVOCATION");return O[Je]=qe,le&&R.emit("set",Je,null,qe),qe},B):T===0?ge=function(){var Ce;if(hasOwnProperty.call(O,"data"))return ae&&R.emit("get","data",arguments,this),O.data;if(arguments.length?Ce=l.call(w,this,arguments):Ce=m.call(w,this),hasOwnProperty.call(O,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return O.data=Ce,le&&R.emit("set","data",null,Ce),Ce}:ge=function(Ce){var Je,qe=arguments,ye;if(Ie&&(qe=Ie(arguments)),ye=String(qe[0]),hasOwnProperty.call(O,ye))return ae&&R.emit("get",ye,qe,this),O[ye];if(qe.length===1?Je=m.call(w,this,qe[0]):Je=l.call(w,this,qe),hasOwnProperty.call(O,ye))throw n("Circular invocation","CIRCULAR_INVOCATION");return O[ye]=Je,le&&R.emit("set",ye,null,Je),Je},R={original:w,memoized:ge,profileName:C.profileName,get:function(Ce){return Ie&&(Ce=Ie(Ce)),M?M(Ce):String(Ce[0])},has:function(Ce){return hasOwnProperty.call(O,Ce)},delete:function(Ce){var Je;hasOwnProperty.call(O,Ce)&&(H&&H(Ce),Je=O[Ce],delete O[Ce],pe&&R.emit("delete",Ce,Je))},clear:function(){var Ce=O;
664U&&U(),O=g(null),R.emit("clear",Ce)},on:function(Ce,Je){return Ce==="get"?ae=!0:Ce==="set"?le=!0:Ce==="delete"&&(pe=!0),v.call(this,Ce,Je)},emit:E,updateEnv:function(){w=R.original}},M?W=r(function(Ce){var Je,qe=arguments;Ie&&(qe=Ie(qe)),Je=M(qe),Je!==null&&R.delete(Je)},B):T===0?W=function(){return R.delete("data")}:W=function(Ce){return Ie&&(Ce=Ie(arguments)[0]),R.delete(Ce)},X=r(function(){var Ce,Je=arguments;return T===0?O.data:(Ie&&(Je=Ie(Je)),M?Ce=M(Je):Ce=String(Je[0]),O[Ce])}),te=r(function(){var Ce,Je=arguments;return T===0?R.has("data"):(Ie&&(Je=Ie(Je)),M?Ce=M(Je):Ce=String(Je[0]),Ce===null?!1:R.has(Ce))}),h(ge,{__memoized__:a(!0),delete:a(W),clear:a(R.clear),_get:a(X),_has:a(te)}),R}},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))},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=[],E=u[l];m<a-1;){if(h=n.call(g[0],E[m]),h===-1)return;v.push(g,h),g=g[1][h],++m}if(h=n.call(g[0],E[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,E=[];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;E.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&&E.length;)g=E.pop(),m=E.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,E){m[E]&&v(m[E],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",LT
668S:"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(N){n=N}function s(N){return N instanceof Array||Object.prototype.toString.call(N)==="[object Array]"}function i(N){return N!=null&&Object.prototype.toString.call(N)==="[object Object]"}function u(N,re){return Object.prototype.hasOwnProperty.call(N,re)}function l(N){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(N).length===0;var re;for(re in N)if(u(N,re))return!1;return!0}function m(N){return N===void 0}function g(N){return typeof N=="number"||Object.prototype.toString.call(N)==="[object Number]"}function h(N){return N instanceof Date||Object.prototype.toString.call(N)==="[object Date]"}function v(N,re){var Ee=[],Ue,dt=N.length;for(Ue=0;Ue<dt;++Ue)Ee.push(re(N[Ue],Ue));return Ee}function E(N,re){for(var Ee in re)u(re,Ee)&&(N[Ee]=re[Ee]);return u(re,"toString")&&(N.toString=re.toString),u(re,"valueOf")&&(N.valueOf=re.valueOf),N}function w(N,re,Ee,Ue){return Ps(N,re,Ee,Ue,!0).utc()}function T(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 35,923 bytes, lines 701-704
701dMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function C(N){return N._pf==null&&(N._pf=T()),N._pf}var O;Array.prototype.some?O=Array.prototype.some:O=function(N){var re=Object(this),Ee=re.length>>>0,Ue;for(Ue=0;Ue<Ee;Ue++)if(Ue in re&&N.call(this,re[Ue],Ue,re))return!0;return!1};function R(N){var re=null,Ee=!1,Ue=N._d&&!isNaN(N._d.getTime());if(Ue&&(re=C(N),Ee=O.call(re.parsedDateParts,function(dt){return dt!=null}),Ue=re.overflow<0&&!re.empty&&!re.invalidEra&&!re.invalidMonth&&!re.invalidWeekday&&!re.weekdayMismatch&&!re.nullInput&&!re.invalidFormat&&!re.userInvalidated&&(!re.meridiem||re.meridiem&&Ee),N._strict&&(Ue=Ue&&re.charsLeftOver===0&&re.unusedTokens.length===0&&re.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(N))N._isValid=Ue;else return Ue;return N._isValid}function B(N){var re=w(NaN);return N!=null?E(C(re),N):C(re).userInvalidated=!0,re}var M=r.momentProperties=[],F=!1;function H(N,re){var Ee,Ue,dt,gr=M.length;if(m(re._isAMomentObject)||(N._isAMomentObject=re._isAMomentObject),m(re._i)||(N._i=re._i),m(re._f)||(N._f=re._f),m(re._l)||(N._l=re._l),m(re._strict)||(N._strict=re._strict),m(re._tzm)||(N._tzm=re._tzm),m(re._isUTC)||(N._isUTC=re._isUTC),m(re._offset)||(N._offset=re._offset),m(re._pf)||(N._pf=C(re)),m(re._locale)||(N._locale=re._locale),gr>0)for(Ee=0;Ee<gr;Ee++)Ue=M[Ee],dt=re[Ue],m(dt)||(N[Ue]=dt);return N}function U(N){H(this,N),this._d=new Date(N._d!=null?N._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),F===!1&&(F=!0,r.updateOffset(this),F=!1)}function W(N){return N instanceof U||N!=null&&N._isAMomentObject!=null}function X(N){r.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+N)}function te(N,re){var Ee=!0;return E(function(){if(r.deprecationHandler!=null&&r.deprecationHandler(null,N),Ee){var Ue=[],dt,gr,_n,Ki=arguments.length;for(gr=0;gr<Ki;gr++){if(dt="",typeof arguments[gr]=="object"){dt+=` 702[`+gr+"] ";for(_n in arguments[0])u(arguments[0],_n)&&(dt+=_n+": "+arguments[0][_n]+", ");dt=dt.slice(0,-2)}else dt=arguments[gr];Ue.push(dt)}X(N+` 703Arguments: `+Array.prototype.slice.call(Ue).join("")+` 704`+new Error().stack),Ee=!1}return re.apply(this,arguments)},re)}var q={};function ae(N,re){r.deprecationHandler!=null&&r.deprecationHandler(N,re),q[N]||(X(re),q[N]=!0)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null;function le(N){return typeof Function<"u"&&N instanceof Function||Object.prototype.toString.call(N)==="[object Function]"}function pe(N){var re,Ee;for(Ee in N)u(N,Ee)&&(re=N[Ee],le(re)?this[Ee]=re:this["_"+Ee]=re);this._config=N,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ge(N,re){var Ee=E({},N),Ue;for(Ue in re)u(re,Ue)&&(i(N[Ue])&&i(re[Ue])?(Ee[Ue]={},E(Ee[Ue],N[Ue]),E(Ee[Ue],re[Ue])):re[Ue]!=null?Ee[Ue]=re[Ue]:delete Ee[Ue]);for(Ue in N)u(N,Ue)&&!u(re,Ue)&&i(N[Ue])&&(Ee[Ue]=E({},Ee[Ue]));return Ee}function Ie(N){N!=null&&this.set(N)}var Ce;Object.keys?Ce=Object.keys:Ce=function(N){var re,Ee=[];for(re in N)u(N,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 qe(N,re,Ee){var Ue=this._calendar[N]||this._calendar.sameElse;return le(Ue)?Ue.call(re,Ee):Ue}function ye(N,re,Ee){var Ue=""+Math.abs(N),dt=re-Ue.length,gr=N>=0;return(gr?Ee?"+":"":"-")+Math.pow(10,Math.max(0,dt)).toString().substr(1)+Ue}var xe=/(\[[^\[]*\])|(\\)?([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,De=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Fe={},be={};function ke(N,re,Ee,Ue){var dt=Ue;typeof Ue=="string"&&(dt=function(){return this[Ue]()}),N&&(be[N]=dt),re&&(be[re[0]]=function(){return ye(dt.apply(this,arguments),re[1],re[2])}),Ee&&(be[Ee]=function(){return this.localeData().ordinal(dt.apply(this,arguments),N)})}function Ge(N){return N.match(/\[[\s\S]/)?N.replace(/^\[|\]$/g,""):N.replace(/\\/g,"")}function Xe(N){var re=N.match(xe),Ee,Ue;for(Ee=0,Ue=re.length;Ee<Ue;Ee++)be[re[Ee]]?re[Ee]=be[re[Ee]]:re[Ee]=Ge(re[Ee]);return function(dt){var gr="",_n;for(_n=0;_n<Ue;_n++)gr+=le(re[_n])?re[_n].call(dt,N):re[_n];return gr}}function At(N,re){return N.isValid()?(re=yt(re,N.localeData()),Fe[re]=Fe[re]||Xe(re),Fe[re](N)):N.localeData().invalidDate()}function yt(N,re){var Ee=5;function Ue(dt){return re.longDateFormat(dt)||dt}for(De.lastIndex=0;Ee>=0&&De.test(N);)N=N.replace(De,Ue),De.lastIndex=0,Ee-=1;return N}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 Nt(N){var re=this._longDateFormat[N],Ee=this._longDateFormat[N.toUpperCase()];return re||!Ee?re:(this._longDateFormat[N]=Ee.match(xe).map(function(Ue){return Ue==="MMMM"||Ue==="MM"||Ue==="DD"||Ue==="dddd"?Ue.slice(1):Ue}).join(""),this._longDateFormat[N])}var Ir="Invalid date";function yr(){return this._invalidDate}var Wr="%d",$r=/\d{1,2}/;function sn(N){return this._ordinal.replace("%d",N)}var Hr={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 pt(N,re,Ee,Ue){var dt=this._relativeTime[Ee];return le(dt)?dt(N,re,Ee,Ue):dt.replace(/%d/i,N)}function et(N,re){var Ee=this._relativeTime[N>0?"future":"past"];return le(Ee)?Ee(re):Ee.replace(/%s/i,re)}var wr={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 Dr(N){return typeof N=="string"?wr[N]||wr[N.toLowerCase()]:void 0}function Sr(N){var re={},Ee,Ue;for(Ue in N)u(N,Ue)&&(Ee=Dr(Ue),Ee&&(re[Ee]=N[Ue]));return re}var kr={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 qt(N){var re=[],Ee;for(Ee in N)u(N,Ee)&&re.push({unit:Ee,priority:kr[Ee]});return re.sort(function(Ue,dt){return Ue.priority-dt.priority}),re}var Sn=/\d/,dr=/\d\d/,Nr=/\d{3}/,un=/\d{4}/,Xt=/[+-]?\d{6}/,br=/\d\d?/,$t=/\d\d\d\d?/,wt=/\d\d\d\d\d\d?/,Ar=/\d{1,3}/,Q=/\d{1,4}/,ut=/[+-]?\d{1,6}/,tr=/\d+/,rt=/[+-]?\d+/,_t=/Z|[+-]\d\d:?\d\d/gi,Yr=/Z|[+-]\d\d(?::?\d\d)?/gi,ln=/[+-]?\d+(\.\d{1,3})?/,cn=/[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,gn=/^[1-9]\d?/,wi=/^([1-9]\d|\d)/,ki;ki={};function Ur(N,re,Ee){ki[N]=le(re)?re:function(Ue,dt){return Ue&&Ee?Ee:re}}function Bi(N,re){return u(ki,N)?ki[N](re._strict,re._locale):new RegExp(bs(N))}function bs(N){return Di(N.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(re,Ee,Ue,dt,gr){return Ee||Ue||dt||gr}))}function Di(N){return N.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function on(N){return N<0?Math.ceil(N)||0:Math.floor(N)}function fi(N){var re=+N,Ee=0;return re!==0&&isFinite(re)&&(Ee=on(re)),Ee}var qi={};function ri(N,re){var Ee,Ue=re,dt;for(typeof N=="string"&&(N=[N]),g(re)&&(Ue=function(gr,_n){_n[re]=fi(gr)}),dt=N.length,Ee=0;Ee<dt;Ee++)qi[N[Ee]]=Ue}function Vi(N,re){ri(N,function(Ee,Ue,dt,gr){dt._w=dt._w||{},re(Ee,dt._w,dt,gr)})}function si(N,re,Ee){re!=null&&u(qi,N)&&qi[N](re,Ee._a,Ee,N)}function ks(N){return N%4===0&&N%100!==0||N%400===0}var cr=0,fe=1,Re=2,Qe=3,mt=4,xt=5,Mr=6,vn=7,Ut=8;ke("Y",0,0,function(){var N=this.year();return N<=9999?ye(N,4):"+"+N}),ke(0,["YY",2],0,function(){return this.year()%100}),ke(0,["YYYY",4],0,"year"),ke(0,["YYYYY",5],0,"year"),ke(0,["YYYYYY",6,!0],0,"year"),Ur("Y",rt),Ur("YY",br,dr),Ur("YYYY",Q,un),Ur("YYYYY",ut,Xt),Ur("YYYYYY",ut,Xt),ri(["YYYYY","YYYYYY"],cr),ri("YYYY",function(N,re){re[cr]=N.length===2?r.parseTwoDigitYear(N):fi(N)}),ri("YY",function(N,re){re[cr]=r.parseTwoDigitYear(N)}),ri("Y",function(N,re){re[cr]=parseInt(N,10)});function Yn(N){return ks(N)?366:365}r.parseTwoDigitYear=function(N){return fi(N)+(fi(N)>68?1900:2e3)};var mi=ji("FullYear",!0);function yn(){return ks(this.year())}function ji(N,re){return function(Ee){return Ee!=null?(Cs(this,N,Ee),r.updateOffset(this,re),this):Tn(this,N)}}function Tn(N,re){if(!N.isValid())return NaN;var Ee=N._d,Ue=N._isUTC;switch(re){case"Milliseconds":return Ue?Ee.getUTCMilliseconds():Ee.getMilliseconds();case"Seconds":return Ue?Ee.getUTCSeconds():Ee.getSeconds();case"Minutes":return Ue?Ee.getUTCMinutes():Ee.getMinutes();case"Hours":return Ue?Ee.getUTCHours():Ee.getHours();case"Date":return Ue?Ee.getUTCDate():Ee.getDate();case"Day":return Ue?Ee.getUTCDay():Ee.getDay();case"Month":return Ue?Ee.getUTCMonth():Ee.getMonth();case"FullYear":return Ue?Ee.getUTCFullYear():Ee.getFullYear();default:return NaN}}function Cs(N,re,Ee){var Ue,dt,gr,_n,Ki;if(!(!N.isValid()||isNaN(Ee))){switch(Ue=N._d,dt=N._isUTC,re){case"Milliseconds":return void(dt?Ue.setUTCMilliseconds(Ee):Ue.setMilliseconds(Ee));case"Seconds":return void(dt?Ue.setUTCSeconds(Ee):Ue.setSeconds(Ee));case"Minutes":return void(dt?Ue.setUTCMinutes(Ee):Ue.setMinutes(Ee));case"Hours":return void(dt?Ue.setUTCHours(Ee):Ue.setHours(Ee));case"Date":return void(dt?Ue.setUTCDate(Ee):Ue.setDate(Ee));case"FullYear":break;default:return}gr=Ee,_n=N.month(),Ki=N.date(),Ki=Ki===29&&_n===1&&!ks(gr)?28:Ki,dt?Ue.setUTCFullYear(gr,_n,Ki):Ue.setFullYear(gr,_n,Ki)}}function $i(N){return N=Dr(N),le(this[N])?this[N]():this}function gs(N,re){if(typeof N=="object"){N=Sr(N);var Ee=qt(N),Ue,dt=Ee.length;for(Ue=0;Ue<dt;Ue++)this[Ee[Ue].unit](N[Ee[Ue].unit])}else if(N=Dr(N),le(this[N]))return this[N](re);return this}function vs(N,re){return(N%re+re)%re}var Vt;Array.prototype.indexOf?Vt=Array.prototype.indexOf:Vt=function(N){var re;for(re=0;re<this.length;++re)if(this[re]===N)return re;return-1};function hr(N,re){if(isNaN(N)||isNaN(re))return NaN;var Ee=vs(re,12);return N+=(re-Ee)/12,Ee===1?ks(N)?29:28:31-Ee%7%2}ke("M",["MM",2],"Mo",function(){return this.month()+1}),ke("MMM",0,0,function(N){return this.localeData().monthsShort(this,N)}),ke("MMMM",0,0,function(N){return this.localeData().months(this,N)}),Ur("M",br,gn),Ur("MM",br,dr),Ur("MMM",function(N,re){return re.monthsShortRegex(N)}),Ur("MMMM",function(N,re){return re.monthsRegex(N)}),ri(["M","MM"],function(N,re){re[fe]=fi(N)-1}),ri(["MMM","MMMM"],function(N,re,Ee,Ue){var dt=Ee._locale.monthsParse(N,Ue,Ee._strict);dt!=null?re[fe]=dt:C(Ee).invalidMonth=N});var rn="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),zn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),$n=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,bn=cn,ni=cn;function ai(N,re){return N?s(this._months)?this._months[N.month()]:this._months[(this._months.isFormat||$n).test(re)?"format":"standalone"][N.month()]:s(this._months)?this._months:this._months.standalone}function yi(N,re){return N?s(this._monthsShort)?this._monthsShort[N.month()]:this._monthsShort[$n.test(re)?"format":"standalone"][N.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function es(N,re,Ee){var Ue,dt,gr,_n=N.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],Ue=0;Ue<12;++Ue)gr=w([2e3,Ue]),this._shortMonthsParse[Ue]=this.monthsShort(gr,"").toLocaleLowerCase(),this._longMonthsParse[Ue]=this.months(gr,"").toLocaleLowerCase();return Ee?re==="MMM"?(dt=Vt.call(this._shortMonthsParse,_n),dt!==-1?dt:null):(dt=Vt.call(this._longMonthsParse,_n),dt!==-1?dt:null):re==="MMM"?(dt=Vt.call(this._shortMonthsParse,_n),dt!==-1?dt:(dt=Vt.call(this._longMonthsParse,_n),dt!==-1?dt:null)):(dt=Vt.call(this._longMonthsParse,_n),dt!==-1?dt:(dt=Vt.call(this._shortMonthsParse,_n),dt!==-1?dt:null))}function Ei(N,re,Ee){var Ue,dt,gr;if(this._monthsParseExact)return es.call(this,N,re,Ee);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Ue=0;Ue<12;Ue++){if(dt=w([2e3,Ue]),Ee&&!this._longMonthsParse[Ue]&&(this._longMonthsParse[Ue]=new RegExp("^"+this.months(dt,"").replace(".","")+"$","i"),this._shortMonthsParse[Ue]=new RegExp("^"+this.monthsShort(dt,"").replace(".","")+"$","i")),!Ee&&!this._monthsParse[Ue]&&(gr="^"+this.months(dt,"")+"|^"+this.monthsShort(dt,""),this._monthsParse[Ue]=new RegExp(gr.replace(".",""),"i")),Ee&&re==="MMMM"&&this._longMonthsParse[Ue].test(N))return Ue;if(Ee&&re==="MMM"&&this._shortMonthsParse[Ue].test(N))return Ue;if(!Ee&&this._monthsParse[Ue].test(N))return Ue}}function Hi(N,re){if(!N.isValid())return N;if(typeof re=="string"){if(/^\d+$/.test(re))re=fi(re);else if(re=N.localeData().monthsParse(re),!g(re))return N}var Ee=re,Ue=N.date();return Ue=Ue<29?Ue:Math.min(Ue,hr(N.year(),Ee)),N._isUTC?N._d.setUTCMonth(Ee,Ue):N._d.setMonth(Ee,Ue),N}function zi(N){return N!=null?(Hi(this,N),r.updateOffset(this,!0),this):Tn(this,"Month")}function us(){return hr(this.year(),this.month())}function Ss(N){return this._monthsParseExact?(u(this,"_monthsRegex")||oi.call(this),N?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,"_monthsShortRegex")||(this._monthsShortRegex=bn),this._monthsShortStrictRegex&&N?this._monthsShortStrictRegex:this._monthsShortRegex)}function as(N){return this._monthsParseExact?(u(this,"_monthsRegex")||oi.call(this),N?this._monthsStrictRegex:this._monthsRegex):(u(this,"_monthsRegex")||(this._monthsRegex=ni),this._monthsStrictRegex&&N?this._monthsStrictRegex:this._monthsRegex)}function oi(){function N(Gs,aa){return aa.length-Gs.length}var re=[],Ee=[],Ue=[],dt,gr,_n,Ki;for(dt=0;dt<12;dt++)gr=w([2e3,dt]),_n=Di(this.monthsShort(gr,"")),Ki=Di(this.months(gr,"")),re.push(_n),Ee.push(Ki),Ue.push(Ki),Ue.push(_n);re.sort(N),Ee.sort(N),Ue.sort(N),this._monthsRegex=new RegExp("^("+Ue.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Ee.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+re.join("|")+")","i")}function $s(N,re,Ee,Ue,dt,gr,_n){var Ki;return N<100&&N>=0?(Ki=new Date(N+400,re,Ee,Ue,dt,gr,_n),isFinite(Ki.getFullYear())&&Ki.setFullYear(N)):Ki=new Date(N,re,Ee,Ue,dt,gr,_n),Ki}function Es(N){var re,Ee;return N<100&&N>=0?(Ee=Array.prototype.slice.call(arguments),Ee[0]=N+400,re=new Date(Date.UTC.apply(null,Ee)),isFinite(re.getUTCFullYear())&&re.setUTCFullYear(N)):re=new Date(Date.UTC.apply(null,arguments)),re}function ls(N,re,Ee){var Ue=7+re-Ee,dt=(7+Es(N,0,Ue).getUTCDay()-re)%7;return-dt+Ue-1}function Ts(N,re,Ee,Ue,dt){var gr=(7+Ee-Ue)%7,_n=ls(N,Ue,dt),Ki=1+7*(re-1)+gr+_n,Gs,aa;return Ki<=0?(Gs=N-1,aa=Yn(Gs)+Ki):Ki>Yn(N)?(Gs=N+1,aa=Ki-Yn(N)):(Gs=N,aa=Ki),{year:Gs,dayOfYear:aa}}function de(N,re,Ee){var Ue=ls(N.year(),re,Ee),dt=Math.floor((N.dayOfYear()-Ue-1)/7)+1,gr,_n;return dt<1?(_n=N.year()-1,gr=dt+$e(_n,re,Ee)):dt>$e(N.year(),re,Ee)?(gr=dt-$e(N.year(),re,Ee),_n=N.year()+1):(_n=N.year(),gr=dt),{week:gr,year:_n}}function $e(N,re,Ee){var Ue=ls(N,re,Ee),dt=ls(N+1,re,Ee);return(Yn(N)-Ue+dt)/7}ke("w",["ww",2],"wo","week"),ke("W",["WW",2],"Wo","isoWeek"),Ur("w",br,gn),Ur("ww",br,dr),Ur("W",br,gn),Ur("WW",br,dr),Vi(["w","ww","W","WW"],function(N,re,Ee,Ue){re[Ue.substr(0,1)]=fi(N)});function Pt(N){return de(N,this._week.dow,this._week.doy).week}var or={dow:0,doy:6};function tn(){return this._week.dow}function Vn(){return this._week.doy}function Ri(N){var re=this.localeData().week(this);return N==null?re:this.add((N-re)*7,"d")}function ts(N){var re=de(this,1,4).week;return N==null?re:this.add((N-re)*7,"d")}ke("d",0,"do","day"),ke("dd",0,0,function(N){return this.localeData().weekdaysMin(this,N)}),ke("ddd",0,0,function(N){return this.localeData().weekdaysShort(this,N)}),ke("dddd",0,0,function(N){return this.localeData().weekdays(this,N)}),ke("e",0,0,"weekday"),ke("E",0,0,"isoWeekday"),Ur("d",br),Ur("e",br),Ur("E",br),Ur("dd",function(N,re){return re.weekdaysMinRegex(N)}),Ur("ddd",function(N,re){return re.weekdaysShortRegex(N)}),Ur("dddd",function(N,re){return re.weekdaysRegex(N)}),Vi(["dd","ddd","dddd"],function(N,re,Ee,Ue){var dt=Ee._locale.weekdaysParse(N,Ue,Ee._strict);dt!=null?re.d=dt:C(Ee).invalidWeekday=N}),Vi(["d","e","E"],function(N,re,Ee,Ue){re[Ue]=fi(N)});function ss(N,re){return typeof N!="string"?N:isNaN(N)?(N=re.weekdaysParse(N),typeof N=="number"?N:null):parseInt(N,10)}function Li(N,re){return typeof N=="string"?re.weekdaysParse(N)%7||7:isNaN(N)?null:N}function Ia(N,re){return N.slice(re,7).concat(N.slice(0,re))}var Sa="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ha="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qa="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),_s=cn,fr=cn,Aa=cn;function en(N,re){var Ee=s(this._weekdays)?this._weekdays:this._weekdays[N&&N!==!0&&this._weekdays.isFormat.test(re)?"format":"standalone"];return N===!0?Ia(Ee,this._week.dow):N?Ee[N.day()]:Ee}function pa(N){return N===!0?Ia(this._weekdaysShort,this._week.dow):N?this._weekdaysShort[N.day()]:this._weekdaysShort}function Pa(N){return N===!0?Ia(this._weekdaysMin,this._week.dow):N?this._weekdaysMin[N.day()]:this._weekdaysMin}function Xs(N,re,Ee){var Ue,dt,gr,_n=N.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Ue=0;Ue<7;++Ue)gr=w([2e3,1]).day(Ue),this._minWeekdaysParse[Ue]=this.weekdaysMin(gr,"").toLocaleLowerCase(),this._shortWeekdaysParse[Ue]=this.weekdaysShort(gr,"").toLocaleLowerCase(),this._weekdaysParse[Ue]=this.weekdays(gr,"").toLocaleLowerCase();return Ee?re==="dddd"?(dt=Vt.call(this._weekdaysParse,_n),dt!==-1?dt:null):re==="ddd"?(dt=Vt.call(this._shortWeekdaysParse,_n),dt!==-1?dt:null):(dt=Vt.call(this._minWeekdaysParse,_n),dt!==-1?dt:null):re==="dddd"?(dt=Vt.call(this._weekdaysParse,_n),dt!==-1||(dt=Vt.call(this._shortWeekdaysParse,_n),dt!==-1)?dt:(dt=Vt.call(this._minWeekdaysParse,_n),dt!==-1?dt:null)):re==="ddd"?(dt=Vt.call(this._shortWeekdaysParse,_n),dt!==-1||(dt=Vt.call(this._weekdaysParse,_n),dt!==-1)?dt:(dt=Vt.call(this._minWeekdaysParse,_n),dt!==-1?dt:null)):(dt=Vt.call(this._minWeekdaysParse,_n),dt!==-1||(dt=Vt.call(this._weekdaysParse,_n),dt!==-1)?dt:(dt=Vt.call(this._shortWeekdaysParse,_n),dt!==-1?dt:null))}function Hs(N,re,Ee){var Ue,dt,gr;if(this._weekdaysParseExact)return Xs.call(this,N,re,Ee);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Ue=0;Ue<7;Ue++){if(dt=w([2e3,1]).day(Ue),Ee&&!this._fullWeekdaysParse[Ue]&&(this._fullWeekdaysParse[Ue]=new RegExp("^"+this.weekdays(dt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Ue]=new RegExp("^"+this.weekdaysShort(dt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Ue]=new RegExp("^"+this.weekdaysMin(dt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Ue]||(gr="^"+this.weekdays(dt,"")+"|^"+this.weekdaysShort(dt,"")+"|^"+this.weekdaysMin(dt,""),this._weekdaysParse[Ue]=new RegExp(gr.replace(".",""),"i")),Ee&&re==="dddd"&&this._fullWeekdaysParse[Ue].test(N))return Ue;if(Ee&&re==="ddd"&&this._shortWeekdaysParse[Ue].test(N))return Ue;if(Ee&&re==="dd"&&this._minWeekdaysParse[Ue].test(N))return Ue;if(!Ee&&this._weekdaysParse[Ue].test(N))return Ue}}function ao(N){if(!this.isValid())return N!=null?this:NaN;var re=Tn(this,"Day");return N!=null?(N=ss(N,this.localeData()),this.add(N-re,"d")):re}function Wa(N){if(!this.isValid())return N!=null?this:NaN;var re=(this.day()+7-this.localeData()._week.dow)%7;return N==null?re:this.add(N-re,"d")}function Co(N){if(!this.isValid())return N!=null?this:NaN;if(N!=null){var re=Li(N,this.localeData());return this.day(this.day()%7?re:re-7)}else return this.day()||7}function _o(N){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Mi.call(this),N?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=_s),this._weekdaysStrictRegex&&N?this._weekdaysStrictRegex:this._weekdaysRegex)}function Oo(N){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Mi.call(this),N?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=fr),this._weekdaysShortStrictRegex&&N?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ks(N){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||Mi.call(this),N?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Aa),this._weekdaysMinStrictRegex&&N?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Mi(){function N(Eo,Pu){return Pu.length-Eo.length}var re=[],Ee=[],Ue=[],dt=[],gr,_n,Ki,Gs,aa;for(gr=0;gr<7;gr++)_n=w([2e3,1]).day(gr),Ki=Di(this.weekdaysMin(_n,"")),Gs=Di(this.weekdaysShort(_n,"")),aa=Di(this.weekdays(_n,"")),re.push(Ki),Ee.push(Gs),Ue.push(aa),dt.push(Ki),dt.push(Gs),dt.push(aa);re.sort(N),Ee.sort(N),Ue.sort(N),dt.sort(N),this._weekdaysRegex=new RegExp("^("+dt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Ue.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ee.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+re.join("|")+")","i")}function Me(){return this.hours()%12||12}function je(){return this.hours()||24}ke("H",["HH",2],0,"hour"),ke("h",["hh",2],0,Me),ke("k",["kk",2],0,je),ke("hmm",0,0,function(){return""+Me.apply(this)+ye(this.minutes(),2)}),ke("hmmss",0,0,function(){return""+Me.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)}),ke("Hmm",0,0,function(){return""+this.hours()+ye(this.minutes(),2)}),ke("Hmmss",0,0,function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)});function Ot(N,re){ke(N,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),re)})}Ot("a",!0),Ot("A",!1);function Wt(N,re){return re._meridiemParse}Ur("a",Wt),Ur("A",Wt),Ur("H",br,wi),Ur("h",br,gn),Ur("k",br,gn),Ur("HH",br,dr),Ur("hh",br,dr),Ur("kk",br,dr),Ur("hmm",$t),Ur("hmmss",wt),Ur("Hmm",$t),Ur("Hmmss",wt),ri(["H","HH"],Qe),ri(["k","kk"],function(N,re,Ee){var Ue=fi(N);re[Qe]=Ue===24?0:Ue}),ri(["a","A"],function(N,re,Ee){Ee._isPm=Ee._locale.isPM(N),Ee._meridiem=N}),ri(["h","hh"],function(N,re,Ee){re[Qe]=fi(N),C(Ee).bigHour=!0}),ri("hmm",function(N,re,Ee){var Ue=N.length-2;re[Qe]=fi(N.substr(0,Ue)),re[mt]=fi(N.substr(Ue)),C(Ee).bigHour=!0}),ri("hmmss",function(N,re,Ee){var Ue=N.length-4,dt=N.length-2;re[Qe]=fi(N.substr(0,Ue)),re[mt]=fi(N.substr(Ue,2)),re[xt]=fi(N.substr(dt)),C(Ee).bigHour=!0}),ri("Hmm",function(N,re,Ee){var Ue=N.length-2;re[Qe]=fi(N.substr(0,Ue)),re[mt]=fi(N.substr(Ue))}),ri("Hmmss",function(N,re,Ee){var Ue=N.length-4,dt=N.length-2;re[Qe]=fi(N.substr(0,Ue)),re[mt]=fi(N.substr(Ue,2)),re[xt]=fi(N.substr(dt))});function Br(N){return(N+"").toLowerCase().charAt(0)==="p"}var Vr=/[ap]\.?m?\.?/i,an=ji("Hours",!0);function ii(N,re,Ee){return N>11?Ee?"pm":"PM":Ee?"am":"AM"}var Yi={calendar:Je,longDateFormat:kt,invalidDate:Ir,ordinal:Wr,dayOfMonthOrdinalParse:$r,relativeTime:Hr,months:rn,monthsShort:zn,week:or,weekdays:Sa,weekdaysMin:Qa,weekdaysShort:ha,meridiemParse:Vr},Ui={},bi={},Ws;function ms(N,re){var Ee,Ue=Math.min(N.length,re.length);for(Ee=0;Ee<Ue;Ee+=1)if(N[Ee]!==re[Ee])return Ee;return Ue}function Le(N){return N&&N.toLowerCase().replace("_","-")}function Ye(N){for(var re=0,Ee,Ue,dt,gr;re<N.length;){for(gr=Le(N[re]).split("-"),Ee=gr.length,Ue=Le(N[re+1]),Ue=Ue?Ue.split("-"):null;Ee>0;){if(dt=ht(gr.slice(0,Ee).join("-")),dt)return dt;if(Ue&&Ue.length>=Ee&&ms(gr,Ue)>=Ee-1)break;Ee--}re++}return Ws}function ft(N){return!!(N&&N.match("^[^/\\\\]*$"))}function ht(N){var re=null,Ee;if(Ui[N]===void 0&&f&&f.exports&&ft(N))try{re=Ws._abbr,Ee=void 0,e(31926)("./"+N),Mt(re)}catch{Ui[N]=null}return Ui[N]}function Mt(N,re){var Ee;return N&&(m(re)?Ee=Lr(N):Ee=Jt(N,re),Ee?Ws=Ee:typeof console<"u"&&console.warn&&console.warn("Locale "+N+" not found. Did you forget to load it?")),Ws._abbr}function Jt(N,re){if(re!==null){var Ee,Ue=Yi;if(re.abbr=N,Ui[N]!=null)ae("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."),Ue=Ui[N]._config;else if(re.parentLocale!=null)if(Ui[re.parentLocale]!=null)Ue=Ui[re.parentLocale]._config;else if(Ee=ht(re.parentLocale),Ee!=null)Ue=Ee._config;else return bi[re.parentLocale]||(bi[re.parentLocale]=[]),bi[re.parentLocale].push({name:N,config:re}),null;return Ui[N]=new Ie(ge(Ue,re)),bi[N]&&bi[N].forEach(function(dt){Jt(dt.name,dt.config)}),Mt(N),Ui[N]}else return delete Ui[N],null}function Er(N,re){if(re!=null){var Ee,Ue,dt=Yi;Ui[N]!=null&&Ui[N].parentLocale!=null?Ui[N].set(ge(Ui[N]._config,re)):(Ue=ht(N),Ue!=null&&(dt=Ue._config),re=ge(dt,re),Ue==null&&(re.abbr=N),Ee=new Ie(re),Ee.parentLocale=Ui[N],Ui[N]=Ee),Mt(N)}else Ui[N]!=null&&(Ui[N].parentLocale!=null?(Ui[N]=Ui[N].parentLocale,N===Mt()&&Mt(N)):Ui[N]!=null&&delete Ui[N]);return Ui[N]}function Lr(N){var re;if(N&&N._locale&&N._locale._abbr&&(N=N._locale._abbr),!N)return Ws;if(!s(N)){if(re=ht(N),re)return re;N=[N]}return Ye(N)}function Mn(){return Ce(Ui)}function Pn(N){var re,Ee=N._a;return Ee&&C(N).overflow===-2&&(re=Ee[fe]<0||Ee[fe]>11?fe:Ee[Re]<1||Ee[Re]>hr(Ee[cr],Ee[fe])?Re:Ee[Qe]<0||Ee[Qe]>24||Ee[Qe]===24&&(Ee[mt]!==0||Ee[xt]!==0||Ee[Mr]!==0)?Qe:Ee[mt]<0||Ee[mt]>59?mt:Ee[xt]<0||Ee[xt]>59?xt:Ee[Mr]<0||Ee[Mr]>999?Mr:-1,C(N)._overflowDayOfYear&&(re<cr||re>Re)&&(re=Re),C(N)._overflowWeeks&&re===-1&&(re=vn),C(N)._overflowWeekday&&re===-1&&(re=Ut),C(N).overflow=re),N}var kn=/^\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)?)?$/,Gi=/^\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)?)?$/,os=/Z|[+-]\d\d(?::?\d\d)?/,Os=[["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]],ir=[["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/]],Bt=/^\/?Date\((-?\d+)/i,sr=/^(?:(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}))$/,Cr={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Fn(N){var re,Ee,Ue=N._i,dt=kn.exec(Ue)||Gi.exec(Ue),gr,_n,Ki,Gs,aa=Os.length,Eo=ir.length;if(dt){for(C(N).iso=!0,re=0,Ee=aa;re<Ee;re++)if(Os[re][1].exec(dt[1])){_n=Os[re][0],gr=Os[re][2]!==!1;break}if(_n==null){N._isValid=!1;return}if(dt[3]){for(re=0,Ee=Eo;re<Ee;re++)if(ir[re][1].exec(dt[3])){Ki=(dt[2]||" ")+ir[re][0];break}if(Ki==null){N._isValid=!1;return}}if(!gr&&Ki!=null){N._isValid=!1;return}if(dt[4])if(os.exec(dt[4]))Gs="Z";else{N._isValid=!1;return}N._f=_n+(Ki||"")+(Gs||""),Wi(N)}else N._isValid=!1}function Pe(N,re,Ee,Ue,dt,gr){var _n=[Be(N),zn.indexOf(re),parseInt(Ee,10),parseInt(Ue,10),parseInt(dt,10)];return gr&&_n.push(parseInt(gr,10)),_n}function Be(N){var re=parseInt(N,10);return re<=49?2e3+re:re<=999?1900+re:re}function it(N){return N.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function st(N,re,Ee){if(N){var Ue=ha.indexOf(N),dt=new Date(re[0],re[1],re[2]).getDay();if(Ue!==dt)return C(Ee).weekdayMismatch=!0,Ee._isValid=!1,!1}return!0}function jt(N,re,Ee){if(N)return Cr[N];if(re)return 0;var Ue=parseInt(Ee,10),dt=Ue%100,gr=(Ue-dt)/100;return gr*60+dt}function Gt(N){var re=sr.exec(it(N._i)),Ee;if(re){if(Ee=Pe(re[4],re[3],re[2],re[5],re[6],re[7]),!st(re[1],Ee,N))return;N._a=Ee,N._tzm=jt(re[8],re[9],re[10]),N._d=Es.apply(null,N._a),N._d.setUTCMinutes(N._d.getUTCMinutes()-N._tzm),C(N).rfc2822=!0}else N._isValid=!1}function ar(N){var re=Bt.exec(N._i);if(re!==null){N._d=new Date(+re[1]);return}if(Fn(N),N._isValid===!1)delete N._isValid;else return;if(Gt(N),N._isValid===!1)delete N._isValid;else return;N._strict?N._isValid=!1:r.createFromInputFallback(N)}r.createFromInputFallback=te("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(N){N._d=new Date(N._i+(N._useUTC?" UTC":""))});function ur(N,re,Ee){return N??re??Ee}function Un(N){var re=new Date(r.now());return N._useUTC?[re.getUTCFullYear(),re.getUTCMonth(),re.getUTCDate()]:[re.getFullYear(),re.getMonth(),re.getDate()]}function An(N){var re,Ee,Ue=[],dt,gr,_n;if(!N._d){for(dt=Un(N),N._w&&N._a[Re]==null&&N._a[fe]==null&&jn(N),N._dayOfYear!=null&&(_n=ur(N._a[cr],dt[cr]),(N._dayOfYear>Yn(_n)||N._dayOfYear===0)&&(C(N)._overflowDayOfYear=!0),Ee=Es(_n,0,N._dayOfYear),N._a[fe]=Ee.getUTCMonth(),N._a[Re]=Ee.getUTCDate()),re=0;re<3&&N._a[re]==null;++re)N._a[re]=Ue[re]=dt[re];for(;re<7;re++)N._a[re]=Ue[re]=N._a[re]==null?re===2?1:0:N._a[re];N._a[Qe]===24&&N._a[mt]===0&&N._a[xt]===0&&N._a[Mr]===0&&(N._nextDay=!0,N._a[Qe]=0),N._d=(N._useUTC?Es:$s).apply(null,Ue),gr=N._useUTC?N._d.getUTCDay():N._d.getDay(),N._tzm!=null&&N._d.setUTCMinutes(N._d.getUTCMinutes()-N._tzm),N._nextDay&&(N._a[Qe]=24),N._w&&typeof N._w.d<"u"&&N._w.d!==gr&&(C(N).weekdayMismatch=!0)}}function jn(N){var re,Ee,Ue,dt,gr,_n,Ki,Gs,aa;re=N._w,re.GG!=null||re.W!=null||re.E!=null?(gr=1,_n=4,Ee=ur(re.GG,N._a[cr],de(Zi(),1,4).year),Ue=ur(re.W,1),dt=ur(re.E,1),(dt<1||dt>7)&&(Gs=!0)):(gr=N._locale._week.dow,_n=N._locale._week.doy,aa=de(Zi(),gr,_n),Ee=ur(re.gg,N._a[cr],aa.year),Ue=ur(re.w,aa.week),re.d!=null?(dt=re.d,(dt<0||dt>6)&&(Gs=!0)):re.e!=null?(dt=re.e+gr,(re.e<0||re.e>6)&&(Gs=!0)):dt=gr),Ue<1||Ue>$e(Ee,gr,_n)?C(N)._overflowWeeks=!0:Gs!=null?C(N)._overflowWeekday=!0:(Ki=Ts(Ee,Ue,dt,gr,_n),N._a[cr]=Ki.year,N._dayOfYear=Ki.dayOfYear)}r.ISO_8601=function(){},r.RFC_2822=function(){};function Wi(N){if(N._f===r.ISO_8601){Fn(N);return}if(N._f===r.RFC_2822){Gt(N);return}N._a=[],C(N).empty=!0;var re=""+N._i,Ee,Ue,dt,gr,_n,Ki=re.length,Gs=0,aa,Eo;for(dt=yt(N._f,N._locale).match(xe)||[],Eo=dt.length,Ee=0;Ee<Eo;Ee++)gr=dt[Ee],Ue=(re.match(Bi(gr,N))||[])[0],Ue&&(_n=re.substr(0,re.indexOf(Ue)),_n.length>0&&C(N).unusedInput.push(_n),re=re.slice(re.indexOf(Ue)+Ue.length),Gs+=Ue.length),be[gr]?(Ue?C(N).empty=!1:C(N).unusedTokens.push(gr),si(gr,Ue,N)):N._strict&&!Ue&&C(N).unusedTokens.push(gr);C(N).charsLeftOver=Ki-Gs,re.length>0&&C(N).unusedInput.push(re),N._a[Qe]<=12&&C(N).bigHour===!0&&N._a[Qe]>0&&(C(N).bigHour=void 0),C(N).parsedDateParts=N._a.slice(0),C(N).meridiem=N._meridiem,N._a[Qe]=Vs(N._locale,N._a[Qe],N._meridiem),aa=C(N).era,aa!==null&&(N._a[cr]=N._locale.erasConvertYear(aa,N._a[cr])),An(N),Pn(N)}function Vs(N,re,Ee){var Ue;return Ee==null?re:N.meridiemHour!=null?N.meridiemHour(re,Ee):(N.isPM!=null&&(Ue=N.isPM(Ee),Ue&&re<12&&(re+=12),!Ue&&re===12&&(re=0)),re)}function Pi(N){var re,Ee,Ue,dt,gr,_n,Ki=!1,Gs=N._f.length;if(Gs===0){C(N).invalidFormat=!0,N._d=new Date(NaN);return}for(dt=0;dt<Gs;dt++)gr=0,_n=!1,re=H({},N),N._useUTC!=null&&(re._useUTC=N._useUTC),re._f=N._f[dt],Wi(re),R(re)&&(_n=!0),gr+=C(re).charsLeftOver,gr+=C(re).unusedTokens.length*10,C(re).score=gr,Ki?gr<Ue&&(Ue=gr,Ee=re):(Ue==null||gr<Ue||_n)&&(Ue=gr,Ee=re,_n&&(Ki=!0));E(N,Ee||re)}function ws(N){if(!N._d){var re=Sr(N._i),Ee=re.day===void 0?re.date:re.day;N._a=v([re.year,re.month,Ee,re.hour,re.minute,re.second,re.millisecond],function(Ue){return Ue&&parseInt(Ue,10)}),An(N)}}function Ci(N){var re=new U(Pn(ei(N)));return re._nextDay&&(re.add(1,"d"),re._nextDay=void 0),re}function ei(N){var re=N._i,Ee=N._f;return N._locale=N._locale||Lr(N._l),re===null||Ee===void 0&&re===""?B({nullInput:!0}):(typeof re=="string"&&(N._i=re=N._locale.preparse(re)),W(re)?new U(Pn(re)):(h(re)?N._d=re:s(Ee)?Pi(N):Ee?Wi(N):hi(N),R(N)||(N._d=null),N))}function hi(N){var re=N._i;m(re)?N._d=new Date(r.now()):h(re)?N._d=new Date(re.valueOf()):typeof re=="string"?ar(N):s(re)?(N._a=v(re.slice(0),function(Ee){return parseInt(Ee,10)}),An(N)):i(re)?ws(N):g(re)?N._d=new Date(re):r.createFromInputFallback(N)}function Ps(N,re,Ee,Ue,dt){var gr={};return(re===!0||re===!1)&&(Ue=re,re=void 0),(Ee===!0||Ee===!1)&&(Ue=Ee,Ee=void 0),(i(N)&&l(N)||s(N)&&N.length===0)&&(N=void 0),gr._isAMomentObject=!0,gr._useUTC=gr._isUTC=dt,gr._l=Ee,gr._i=N,gr._f=re,gr._strict=Ue,Ci(gr)}function Zi(N,re,Ee,Ue){return Ps(N,re,Ee,Ue,!1)}var Ti=te("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var N=Zi.apply(null,arguments);return this.isValid()&&N.isValid()?N<this?this:N:B()}),xs=te("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var N=Zi.apply(null,arguments);return this.isValid()&&N.isValid()?N>this?this:N:B()});function ma(N,re){var Ee,Ue;if(re.length===1&&s(re[0])&&(re=re[0]),!re.length)return Zi();for(Ee=re[0],Ue=1;Ue<re.length;++Ue)(!re[Ue].isValid()||re[Ue][N](Ee))&&(Ee=re[Ue]);return Ee}function Fo(){var N=[].slice.call(arguments,0);return ma("isBefore",N)}function ho(){var N=[].slice.call(arguments,0);return ma("isAfter",N)}var la=function(){return Date.now?Date.now():+new Date},Fa=["year","quarter","month","week","day","hour","minute","second","millisecond"];function V(N){var re,Ee=!1,Ue,dt=Fa.length;for(re in N)if(u(N,re)&&!(Vt.call(Fa,re)!==-1&&(N[re]==null||!isNaN(N[re]))))return!1;for(Ue=0;Ue<dt;++Ue)if(N[Fa[Ue]]){if(Ee)return!1;parseFloat(N[Fa[Ue]])!==fi(N[Fa[Ue]])&&(Ee=!0)}return!0}function $(){return this._isValid}function ne(){return ci(NaN)}function me(N){var re=Sr(N),Ee=re.year||0,Ue=re.quarter||0,dt=re.month||0,gr=re.week||re.isoWeek||0,_n=re.day||0,Ki=re.hour||0,Gs=re.minute||0,aa=re.second||0,Eo=re.millisecond||0;this._isValid=V(re),this._milliseconds=+Eo+aa*1e3+Gs*6e4+Ki*1e3*60*60,this._days=+_n+gr*7,this._months=+dt+Ue*3+Ee*12,this._data={},this._locale=Lr(),this._bubble()}function Oe(N){return N instanceof me}function ze(N){return N<0?Math.round(-1*N)*-1:Math.round(N)}function nt(N,re,Ee){var Ue=Math.min(N.length,re.length),dt=Math.abs(N.length-re.length),gr=0,_n;for(_n=0;_n<Ue;_n++)(Ee&&N[_n]!==re[_n]||!Ee&&fi(N[_n])!==fi(re[_n]))&&gr++;return gr+dt}function ct(N,re){ke(N,0,0,function(){var Ee=this.utcOffset(),Ue="+";return Ee<0&&(Ee=-Ee,Ue="-"),Ue+ye(~~(Ee/60),2)+re+ye(~~Ee%60,2)})}ct("Z",":"),ct("ZZ",""),Ur("Z",Yr),Ur("ZZ",Yr),ri(["Z","ZZ"],function(N,re,Ee){Ee._useUTC=!0,Ee._tzm=Zt(Yr,N)});var Dt=/([\+\-]|\d\d)/gi;function Zt(N,re){var Ee=(re||"").match(N),Ue,dt,gr;return Ee===null?null:(Ue=Ee[Ee.length-1]||[],dt=(Ue+"").match(Dt)||["-",0,0],gr=+(dt[1]*60)+fi(dt[2]),gr===0?0:dt[0]==="
704+"?gr:-gr)}function Ft(N,re){var Ee,Ue;return re._isUTC?(Ee=re.clone(),Ue=(W(N)||h(N)?N.valueOf():Zi(N).valueOf())-Ee.valueOf(),Ee._d.setTime(Ee._d.valueOf()+Ue),r.updateOffset(Ee,!1),Ee):Zi(N).local()}function Rr(N){return-Math.round(N._d.getTimezoneOffset())}r.updateOffset=function(){};function Jr(N,re,Ee){var Ue=this._offset||0,dt;if(!this.isValid())return N!=null?this:NaN;if(N!=null){if(typeof N=="string"){if(N=Zt(Yr,N),N===null)return this}else Math.abs(N)<16&&!Ee&&(N=N*60);return!this._isUTC&&re&&(dt=Rr(this)),this._offset=N,this._isUTC=!0,dt!=null&&this.add(dt,"m"),Ue!==N&&(!re||this._changeInProgress?bo(this,ci(N-Ue,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?Ue:Rr(this)}function In(N,re){return N!=null?(typeof N!="string"&&(N=-N),this.utcOffset(N,re),this):-this.utcOffset()}function Rn(N){return this.utcOffset(0,N)}function Jn(N){return this._isUTC&&(this.utcOffset(0,N),this._isUTC=!1,N&&this.subtract(Rr(this),"m")),this}function _i(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var N=Zt(_t,this._i);N!=null?this.utcOffset(N):this.utcOffset(0,!0)}return this}function qn(N){return this.isValid()?(N=N?Zi(N).utcOffset():0,(this.utcOffset()-N)%60===0):!1}function Xi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function cs(){if(!m(this._isDSTShifted))return this._isDSTShifted;var N={},re;return H(N,this),N=ei(N),N._a?(re=N._isUTC?w(N._a):Zi(N._a),this._isDSTShifted=this.isValid()&&nt(N._a,re.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function nr(){return this.isValid()?!this._isUTC:!1}function Fr(){return this.isValid()?this._isUTC:!1}function _r(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ui=/^(-|\+)?(?:(\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 ci(N,re){var Ee=N,Ue=null,dt,gr,_n;return Oe(N)?Ee={ms:N._milliseconds,d:N._days,M:N._months}:g(N)||!isNaN(+N)?(Ee={},re?Ee[re]=+N:Ee.milliseconds=+N):(Ue=ui.exec(N))?(dt=Ue[1]==="-"?-1:1,Ee={y:0,d:fi(Ue[Re])*dt,h:fi(Ue[Qe])*dt,m:fi(Ue[mt])*dt,s:fi(Ue[xt])*dt,ms:fi(ze(Ue[Mr]*1e3))*dt}):(Ue=Ni.exec(N))?(dt=Ue[1]==="-"?-1:1,Ee={y:ra(Ue[2],dt),M:ra(Ue[3],dt),w:ra(Ue[4],dt),d:ra(Ue[5],dt),h:ra(Ue[6],dt),m:ra(Ue[7],dt),s:ra(Ue[8],dt)}):Ee==null?Ee={}:typeof Ee=="object"&&("from"in Ee||"to"in Ee)&&(_n=hu(Zi(Ee.from),Zi(Ee.to)),Ee={},Ee.ms=_n.milliseconds,Ee.M=_n.months),gr=new me(Ee),Oe(N)&&u(N,"_locale")&&(gr._locale=N._locale),Oe(N)&&u(N,"_isValid")&&(gr._isValid=N._isValid),gr}ci.fn=me.prototype,ci.invalid=ne;function ra(N,re){var Ee=N&&parseFloat(N.replace(",","."));return(isNaN(Ee)?0:Ee)*re}function na(N,re){var Ee={};return Ee.months=re.month()-N.month()+(re.year()-N.year())*12,N.clone().add(Ee.months,"M").isAfter(re)&&--Ee.months,Ee.milliseconds=+re-+N.clone().add(Ee.months,"M"),Ee}function hu(N,re){var Ee;return N.isValid()&&re.isValid()?(re=Ft(re,N),N.isBefore(re)?Ee=na(N,re):(Ee=na(re,N),Ee.milliseconds=-Ee.milliseconds,Ee.months=-Ee.months),Ee):{milliseconds:0,months:0}}function zo(N,re){return function(Ee,Ue){var dt,gr;return Ue!==null&&!isNaN(+Ue)&&(ae(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=Ue,Ue=gr),dt=ci(Ee,Ue),bo(this,dt,N),this}}function bo(N,re,Ee,Ue){var dt=re._milliseconds,gr=ze(re._days),_n=ze(re._months);N.isValid()&&(Ue=Ue??!0,_n&&Hi(N,Tn(N,"Month")+_n*Ee),gr&&Cs(N,"Date",Tn(N,"Date")+gr*Ee),dt&&N._d.setTime(N._d.valueOf()+dt*Ee),Ue&&r.updateOffset(N,gr||_n))}var $o=zo(1,"add"),Yu=zo(-1,"subtract");function ua(N){return typeof N=="string"||N instanceof String}function pu(N){return W(N)||h(N)||ua(N)||g(N)||Ea(N)||Mu(N)||N===null||N===void 0}function Mu(N){var re=i(N)&&!l(N),Ee=!1,Ue=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],dt,gr,_n=Ue.length;for(dt=0;dt<_n;dt+=1)gr=Ue[dt],Ee=Ee||u(N,gr);return re&&Ee}function Ea(N){var re=s(N),Ee=!1;return re&&(Ee=N.filter(function(Ue){return!g(Ue)&&ua(N)}).length===0),re&&Ee}function Yl(N){var re=i(N)&&!l(N),Ee=!1,Ue=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],dt,gr;for(dt=0;dt<Ue.length;dt+=1)gr=Ue[dt],Ee=Ee||u(N,gr);return re&&Ee}function ul(N,re){var Ee=N.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 Io(N,re){arguments.length===1&&(arguments[0]?pu(arguments[0])?(N=arguments[0],re=void 0):Yl(arguments[0])&&(re=arguments[0],N=void 0):(N=void 0,re=void 0));var Ee=N||Zi(),Ue=Ft(Ee,this).startOf("day"),dt=r.calendarFormat(this,Ue)||"sameElse",gr=re&&(le(re[dt])?re[dt].call(this,Ee):re[dt]);return this.format(gr||this.localeData().calendar(dt,this,Zi(Ee)))}function Lc(){return new U(this)}function Xl(N,re){var Ee=W(N)?N:Zi(N);return this.isValid()&&Ee.isValid()?(re=Dr(re)||"millisecond",re==="millisecond"?this.valueOf()>Ee.valueOf():Ee.valueOf()<this.clone().startOf(re).valueOf()):!1}function Us(N,re){var Ee=W(N)?N:Zi(N);return this.isValid()&&Ee.isValid()?(re=Dr(re)||"millisecond",re==="millisecond"?this.valueOf()<Ee.valueOf():this.clone().endOf(re).valueOf()<Ee.valueOf()):!1}function su(N,re,Ee,Ue){var dt=W(N)?N:Zi(N),gr=W(re)?re:Zi(re);
vendor: 18,663 bytes, line 704
704return this.isValid()&&dt.isValid()&&gr.isValid()?(Ue=Ue||"()",(Ue[0]==="("?this.isAfter(dt,Ee):!this.isBefore(dt,Ee))&&(Ue[1]===")"?this.isBefore(gr,Ee):!this.isAfter(gr,Ee))):!1}function oo(N,re){var Ee=W(N)?N:Zi(N),Ue;return this.isValid()&&Ee.isValid()?(re=Dr(re)||"millisecond",re==="millisecond"?this.valueOf()===Ee.valueOf():(Ue=Ee.valueOf(),this.clone().startOf(re).valueOf()<=Ue&&Ue<=this.clone().endOf(re).valueOf())):!1}function ku(N,re){return this.isSame(N,re)||this.isAfter(N,re)}function Ml(N,re){return this.isSame(N,re)||this.isBefore(N,re)}function oe(N,re,Ee){var Ue,dt,gr;if(!this.isValid())return NaN;if(Ue=Ft(N,this),!Ue.isValid())return NaN;switch(dt=(Ue.utcOffset()-this.utcOffset())*6e4,re=Dr(re),re){case"year":gr=mr(this,Ue)/12;break;case"month":gr=mr(this,Ue);break;case"quarter":gr=mr(this,Ue)/3;break;case"second":gr=(this-Ue)/1e3;break;case"minute":gr=(this-Ue)/6e4;break;case"hour":gr=(this-Ue)/36e5;break;case"day":gr=(this-Ue-dt)/864e5;break;case"week":gr=(this-Ue-dt)/6048e5;break;default:gr=this-Ue}return Ee?gr:on(gr)}function mr(N,re){if(N.date()<re.date())return-mr(re,N);var Ee=(re.year()-N.year())*12+(re.month()-N.month()),Ue=N.clone().add(Ee,"months"),dt,gr;return re-Ue<0?(dt=N.clone().add(Ee-1,"months"),gr=(re-Ue)/(Ue-dt)):(dt=N.clone().add(Ee+1,"months"),gr=(re-Ue)/(dt-Ue)),-(Ee+gr)||0}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ot(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function gt(N){if(!this.isValid())return null;var re=N!==!0,Ee=re?this.clone().utc():this;return Ee.year()<0||Ee.year()>9999?At(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",At(Ee,"Z")):At(Ee,re?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function mn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var N="moment",re="",Ee,Ue,dt,gr;return this.isLocal()||(N=this.utcOffset()===0?"moment.utc":"moment.parseZone",re="Z"),Ee="["+N+'("]',Ue=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",dt="-MM-DD[T]HH:mm:ss.SSS",gr=re+'[")]',this.format(Ee+Ue+dt+gr)}function Gn(N){N||(N=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var re=At(this,N);return this.localeData().postformat(re)}function fs(N,re){return this.isValid()&&(W(N)&&N.isValid()||Zi(N).isValid())?ci({to:this,from:N}).locale(this.locale()).humanize(!re):this.localeData().invalidDate()}function Rs(N){return this.from(Zi(),N)}function fa(N,re){return this.isValid()&&(W(N)&&N.isValid()||Zi(N).isValid())?ci({from:this,to:N}).locale(this.locale()).humanize(!re):this.localeData().invalidDate()}function Ho(N){return this.to(Zi(),N)}function po(N){var re;return N===void 0?this._locale._abbr:(re=Lr(N),re!=null&&(this._locale=re),this)}var Ja=te("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(N){return N===void 0?this.localeData():this.locale(N)});function Xu(){return this._locale}var Bo=1e3,mu=60*Bo,kl=60*mu,Nu=(365*400+97)*24*kl;function au(N,re){return(N%re+re)%re}function mo(N,re,Ee){return N<100&&N>=0?new Date(N+400,re,Ee)-Nu:new Date(N,re,Ee).valueOf()}function Po(N,re,Ee){return N<100&&N>=0?Date.UTC(N+400,re,Ee)-Nu:Date.UTC(N,re,Ee)}function Is(N){var re,Ee;if(N=Dr(N),N===void 0||N==="millisecond"||!this.isValid())return this;switch(Ee=this._isUTC?Po:mo,N){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-=au(re+(this._isUTC?0:this.utcOffset()*mu),kl);break;case"minute":re=this._d.valueOf(),re-=au(re,mu);break;case"second":re=this._d.valueOf(),re-=au(re,Bo);break}return this._d.setTime(re),r.updateOffset(this,!0),this}function ou(N){var re,Ee;if(N=Dr(N),N===void 0||N==="millisecond"||!this.isValid())return this;switch(Ee=this._isUTC?Po:mo,N){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-au(re+(this._isUTC?0:this.utcOffset()*mu),kl)-1;break;case"minute":re=this._d.valueOf(),re+=mu-au(re,mu)-1;break;case"second":re=this._d.valueOf(),re+=Bo-au(re,Bo)-1;break}return this._d.setTime(re),r.updateOffset(this,!0),this}function Qu(){return this._d.valueOf()-(this._offset||0)*6e4}function Nl(){return Math.floor(this.valueOf()/1e3)}function Fu(){return new Date(this.valueOf())}function Bu(){var N=this;return[N.year(),N.month(),N.date(),N.hour(),N.minute(),N.second(),N.millisecond()]}function xl(){var N=this;return{years:N.year(),months:N.month(),date:N.date(),hours:N.hours(),minutes:N.minutes(),seconds:N.seconds(),milliseconds:N.milliseconds()}}function Uu(){return this.isValid()?this.toISOString():null}function go(){return R(this)}function ju(){return E({},C(this))}function Wo(){return C(this).overflow}function gu(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ke("N",0,0,"eraAbbr"),ke("NN",0,0,"eraAbbr"),ke("NNN",0,0,"eraAbbr"),ke("NNNN",0,0,"eraName"),ke("NNNNN",0,0,"eraNarrow"),ke("y",["y",1],"yo","eraYear"),ke("y",["yy",2],0,"eraYear"),ke("y",["yyy",3],0,"eraYear"),ke("y",["yyyy",4],0,"eraYear"),Ur("N",vi),Ur("NN",vi),Ur("NNN",vi),Ur("NNNN",gi),Ur("NNNNN",Ii),ri(["N","NN","NNN","NNNN","NNNNN"],function(N,re,Ee,Ue){var dt=Ee._locale.erasParse(N,Ue,Ee._strict);dt?C(Ee).era=dt:C(Ee).invalidEra=N}),Ur("y",tr),Ur("yy",tr),Ur("yyy",tr),Ur("yyyy",tr),Ur("yo",js),ri(["y","yy","yyy","yyyy"],cr),ri(["yo"],function(N,re,Ee,Ue){var dt;Ee._locale._eraYearOrdinalRegex&&(dt=N.match(Ee._locale._eraYearOrdinalRegex)),Ee._locale.eraYearOrdinalParse?re[cr]=Ee._locale.eraYearOrdinalParse(N,dt):re[cr]=parseInt(N,10)});function pc(N,re){var Ee,Ue,dt,gr=this._eras||Lr("en")._eras;for(Ee=0,Ue=gr.length;Ee<Ue;++Ee)switch(typeof gr[Ee].since==="string"&&(dt=r(gr[Ee].since).startOf("day"),gr[Ee].since=dt.valueOf()),typeof gr[Ee].until){case"undefined":gr[Ee].until=1/0;break;case"string":dt=r(gr[Ee].until).startOf("day").valueOf(),gr[Ee].until=dt.valueOf();break}return gr}function we(N,re,Ee){var Ue,dt,gr=this.eras(),_n,Ki,Gs;for(N=N.toUpperCase(),Ue=0,dt=gr.length;Ue<dt;++Ue)if(_n=gr[Ue].name.toUpperCase(),Ki=gr[Ue].abbr.toUpperCase(),Gs=gr[Ue].narrow.toUpperCase(),Ee)switch(re){case"N":case"NN":case"NNN":if(Ki===N)return gr[Ue];break;case"NNNN":if(_n===N)return gr[Ue];break;case"NNNNN":if(Gs===N)return gr[Ue];break}else if([_n,Ki,Gs].indexOf(N)>=0)return gr[Ue]}function Ze(N,re){var Ee=N.since<=N.until?1:-1;return re===void 0?r(N.since).year():r(N.since).year()+(re-N.offset)*Ee}function lt(){var N,re,Ee,Ue=this.localeData().eras();for(N=0,re=Ue.length;N<re;++N)if(Ee=this.clone().startOf("day").valueOf(),Ue[N].since<=Ee&&Ee<=Ue[N].until||Ue[N].until<=Ee&&Ee<=Ue[N].since)return Ue[N].name;return""}function Rt(){var N,re,Ee,Ue=this.localeData().eras();for(N=0,re=Ue.length;N<re;++N)if(Ee=this.clone().startOf("day").valueOf(),Ue[N].since<=Ee&&Ee<=Ue[N].until||Ue[N].until<=Ee&&Ee<=Ue[N].since)return Ue[N].narrow;return""}function Kt(){var N,re,Ee,Ue=this.localeData().eras();for(N=0,re=Ue.length;N<re;++N)if(Ee=this.clone().startOf("day").valueOf(),Ue[N].since<=Ee&&Ee<=Ue[N].until||Ue[N].until<=Ee&&Ee<=Ue[N].since)return Ue[N].abbr;return""}function Or(){var N,re,Ee,Ue,dt=this.localeData().eras();for(N=0,re=dt.length;N<re;++N)if(Ee=dt[N].since<=dt[N].until?1:-1,Ue=this.clone().startOf("day").valueOf(),dt[N].since<=Ue&&Ue<=dt[N].until||dt[N].until<=Ue&&Ue<=dt[N].since)return(this.year()-r(dt[N].since).year())*Ee+dt[N].offset;return this.year()}function hn(N){return u(this,"_erasNameRegex")||Za.call(this),N?this._erasNameRegex:this._erasRegex}function Ke(N){return u(this,"_erasAbbrRegex")||Za.call(this),N?this._erasAbbrRegex:this._erasRegex}function xi(N){return u(this,"_erasNarrowRegex")||Za.call(this),N?this._erasNarrowRegex:this._erasRegex}function vi(N,re){return re.erasAbbrRegex(N)}function gi(N,re){return re.erasNameRegex(N)}function Ii(N,re){return re.erasNarrowRegex(N)}function js(N,re){return re._eraYearOrdinalRegex||tr}function Za(){var N=[],re=[],Ee=[],Ue=[],dt,gr,_n,Ki,Gs,aa=this.eras();for(dt=0,gr=aa.length;dt<gr;++dt)_n=Di(aa[dt].name),Ki=Di(aa[dt].abbr),Gs=Di(aa[dt].narrow),re.push(_n),N.push(Ki),Ee.push(Gs),Ue.push(_n),Ue.push(Ki),Ue.push(Gs);this._erasRegex=new RegExp("^("+Ue.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+re.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+N.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Ee.join("|")+")","i")}ke(0,["gg",2],0,function(){return this.weekYear()%100}),ke(0,["GG",2],0,function(){return this.isoWeekYear()%100});function qa(N,re){ke(0,[N,N.length],0,re)}qa("gggg","weekYear"),qa("ggggg","weekYear"),qa("GGGG","isoWeekYear"),qa("GGGGG","isoWeekYear"),Ur("G",rt),Ur("g",rt),Ur("GG",br,dr),Ur("gg",br,dr),Ur("GGGG",Q,un),Ur("gggg",Q,un),Ur("GGGGG",ut,Xt),Ur("ggggg",ut,Xt),Vi(["gggg","ggggg","GGGG","GGGGG"],function(N,re,Ee,Ue){re[Ue.substr(0,2)]=fi(N)}),Vi(["gg","GG"],function(N,re,Ee,Ue){re[Ue]=r.parseTwoDigitYear(N)});function Ca(N){return So.call(this,N,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Va(N){return So.call(this,N,this.isoWeek(),this.isoWeekday(),1,4)}function ca(){return $e(this.year(),1,4)}function Ma(){return $e(this.isoWeekYear(),1,4)}function no(){var N=this.localeData()._week;return $e(this.year(),N.dow,N.doy)}function _u(){var N=this.localeData()._week;return $e(this.weekYear(),N.dow,N.doy)}function So(N,re,Ee,Ue,dt){var gr;return N==null?de(this,Ue,dt).year:(gr=$e(N,Ue,dt),re>gr&&(re=gr),Ao.call(this,N,re,Ee,Ue,dt))}function Ao(N,re,Ee,Ue,dt){var gr=Ts(N,re,Ee,Ue,dt),_n=Es(gr.year,0,gr.dayOfYear);return this.year(_n.getUTCFullYear()),this.month(_n.getUTCMonth()),this.date(_n.getUTCDate()),this}ke("Q",0,"Qo","quarter"),Ur("Q",Sn),ri("Q",function(N,re){re[fe]=(fi(N)-1)*3});function Fl(N){return N==null?Math.ceil((this.month()+1)/3):this.month((N-1)*3+this.month()%3)}ke("D",["DD",2],"Do","date"),Ur("D",br,gn),Ur("DD",br,dr),Ur("Do",function(N,re){return N?re._dayOfMonthOrdinalParse||re._ordinalParse:re._dayOfMonthOrdinalParseLenient}),ri(["D","DD"],Re),ri("Do",function(N,re){re[Re]=fi(N.match(br)[0])});var zu=ji("Date",!0);ke("DDD",["DDDD",3],"DDDo","dayOfYear"),Ur("DDD",Ar),Ur("DDDD",Nr),ri(["DDD","DDDD"],function(N,re,Ee){Ee._dayOfYear=fi(N)});function Au(N){var re=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return N==null?re:this.add(N-re,"d")}ke("m",["mm",2],0,"minute"),Ur("m",br,wi),Ur("mm",br,dr),ri(["m","mm"],mt);var Mc=ji("Minutes",!1);ke("s",["ss",2],0,"second"),Ur("s",br,wi),Ur("ss",br,dr),ri(["s","ss"],xt);var $u=ji("Seconds",!1);ke("S",0,0,function(){return~~(this.millisecond()/100)}),ke(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ke(0,["SSS",3],0,"millisecond"),ke(0,["SSSS",4],0,function(){return this.millisecond()*10}),ke(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ke(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ke(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ke(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ke(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ur("S",Ar,Sn),Ur("SS",Ar,dr),Ur("SSS",Ar,Nr);var Hu,mc;for(Hu="SSSS";Hu.length<=9;Hu+="S")Ur(Hu,tr);function kc(N,re){re[Mr]=fi(("0."+N)*1e3)}for(Hu="S";Hu.length<=9;Hu+="S")ri(Hu,kc);mc=ji("Milliseconds",!1),ke("z",0,0,"zoneAbbr"),ke("zz",0,0,"zoneName");function rd(){return this._isUTC?"UTC":""}function uu(){return this._isUTC?"Coordinated Universal Time":""}var Hn=U.prototype;Hn.add=$o,Hn.calendar=Io,Hn.clone=Lc,Hn.diff=oe,Hn.endOf=ou,Hn.format=Gn,Hn.from=fs,Hn.fromNow=Rs,Hn.to=fa,Hn.toNow=Ho,Hn.get=$i,Hn.invalidAt=Wo,Hn.isAfter=Xl,Hn.isBefore=Us,Hn.isBetween=su,Hn.isSame=oo,Hn.isSameOrAfter=ku,Hn.isSameOrBefore=Ml,Hn.isValid=go,Hn.lang=Ja,Hn.locale=po,Hn.localeData=Xu,Hn.max=xs,Hn.min=Ti,Hn.parsingFlags=ju,Hn.set=gs,Hn.startOf=Is,Hn.subtract=Yu,Hn.toArray=Bu,Hn.toObject=xl,Hn.toDate=Fu,Hn.toISOString=gt,Hn.inspect=mn,typeof Symbol<"u"&&Symbol.for!=null&&(Hn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Hn.toJSON=Uu,Hn.toString=ot,Hn.unix=Nl,Hn.valueOf=Qu,Hn.creationData=gu,Hn.eraName=lt,Hn.eraNarrow=Rt,Hn.eraAbbr=Kt,Hn.eraYear=Or,Hn.year=mi,Hn.isLeapYear=yn,Hn.weekYear=Ca,Hn.isoWeekYear=Va,Hn.quarter=Hn.quarters=Fl,Hn.month=zi,Hn.daysInMonth=us,Hn.week=Hn.weeks=Ri,Hn.isoWeek=Hn.isoWeeks=ts,Hn.weeksInYear=no,Hn.weeksInWeekYear=_u,Hn.isoWeeksInYear=ca,Hn.isoWeeksInISOWeekYear=Ma,Hn.date=zu,Hn.day=Hn.days=ao,Hn.weekday=Wa,Hn.isoWeekday=Co,Hn.dayOfYear=Au,Hn.hour=Hn.hours=an,Hn.minute=Hn.minutes=Mc,Hn.second=Hn.seconds=$u,Hn.millisecond=Hn.milliseconds=mc,Hn.utcOffset=Jr,Hn.utc=Rn,Hn.local=Jn,Hn.parseZone=_i,Hn.hasAlignedHourOffset=qn,Hn.isDST=Xi,Hn.isLocal=nr,Hn.isUtcOffset=Fr,Hn.isUtc=_r,Hn.isUTC=_r,Hn.zoneAbbr=rd,Hn.zoneName=uu,Hn.dates=te("dates accessor is deprecated. Use date instead.",zu),Hn.months=te("months accessor is deprecated. Use month instead",zi),Hn.years=te("years accessor is deprecated. Use year instead",mi),Hn.zone=te("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",In),Hn.isDSTShifted=te("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",cs);function ll(N){return Zi(N*1e3)}function gc(){return Zi.apply(null,arguments).parseZone()}function vu(N){return N}var Ta=Ie.prototype;Ta.calendar=qe,Ta.longDateFormat=Nt,Ta.invalidDate=yr,Ta.ordinal=sn,Ta.preparse=vu,Ta.postformat=vu,Ta.relativeTime=pt,Ta.pastFuture=et,Ta.set=pe,Ta.eras=pc,Ta.erasParse=we,Ta.erasConvertYear=Ze,Ta.erasAbbrRegex=Ke,Ta.erasNameRegex=hn,Ta.erasNarrowRegex=xi,Ta.months=ai,Ta.monthsShort=yi,Ta.monthsParse=Ei,Ta.monthsRegex=as,Ta.monthsShortRegex=Ss,Ta.week=Pt,Ta.firstDayOfYear=Vn,Ta.firstDayOfWeek=tn,Ta.weekdays=en,Ta.weekdaysMin=Pa,Ta.weekdaysShort=pa,Ta.weekdaysParse=Hs,Ta.weekdaysRegex=_o,Ta.weekdaysShortRegex=Oo,Ta.weekdaysMinRegex=Ks,Ta.isPM=Br,Ta.meridiem=ii;function qo(N,re,Ee,Ue){var dt=Lr(),gr=w().set(Ue,re);return dt[Ee](gr,N)}function Ba(N,re,Ee){if(g(N)&&(re=N,N=void 0),N=N||"",re!=null)return qo(N,re,Ee,"month");var Ue,dt=[];for(Ue=0;Ue<12;Ue++)dt[Ue]=qo(N,Ue,Ee,"month");return dt}function Yo(N,re,Ee,Ue){typeof N=="boolean"?(g(re)&&(Ee=re,re=void 0),re=re||""):(re=N,Ee=re,N=!1,g(re)&&(Ee=re,re=void 0),re=re||"");var dt=Lr(),gr=N?dt._week.dow:0,_n,Ki=[];if(Ee!=null)return qo(re,(Ee+gr)%7,Ue,"day");for(_n=0;_n<7;_n++)Ki[_n]=qo(re,(_n+gr)%7,Ue,"day");return Ki}function Vo(N,re){return Ba(N,re,"months")}function vc(N,re){return Ba(N,re,"monthsShort")}function Bl(N,re,Ee){return Yo(N,re,Ee,"weekdays")}function yu(N,re,Ee){return Yo(N,re,Ee,"weekdaysShort")}function Nc(N,re,Ee){return Yo(N,re,Ee,"weekdaysMin")}Mt("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(N){var re=N%10,Ee=fi(N%100/10)===1?"th":re===1?"st":re===2?"nd":re===3?"rd":"th";return N+Ee}}),r.lang=te("moment.lang is deprecated. Use moment.locale instead.",Mt),r.langData=te("moment.langData is deprecated. Use moment.localeData instead.",Lr);var Ro=Math.abs;function Cu(){var N=this._data;return this._milliseconds=Ro(this._milliseconds),this._days=Ro(this._days),this._months=Ro(this._months),N.milliseconds=Ro(N.milliseconds),N.seconds=Ro(N.seconds),N.minutes=Ro(N.minutes),N.hours=Ro(N.hours),N.months=Ro(N.months),N.years=Ro(N.years),this}function Ou(N,re,Ee,Ue){var dt=ci(re,Ee);return N._milliseconds+=Ue*dt._milliseconds,N._days+=Ue*dt._days,N._months+=Ue*dt._months,N._bubble()}function Ul(N,re){return Ou(this,N,re,1)}function Ql(N,re){return Ou(this,N,re,-1)}function nd(N){return N<0?Math.floor(N):Math.ceil(N)}function bu(){var N=this._milliseconds,re=this._days,Ee=this._months,Ue=this._data,dt,gr,_n,Ki,Gs;return N>=0&&re>=0&&Ee>=0||N<=0&&re<=0&&Ee<=0||(N+=nd(Ju(Ee)+re)*864e5,re=0,Ee=0),Ue.milliseconds=N%1e3,dt=on(N/1e3),Ue.seconds=dt%60,gr=on(dt/60),Ue.minutes=gr%60,_n=on(gr/60),Ue.hours=_n%24,re+=on(_n/24),Gs=on(cl(re)),Ee+=Gs,re-=nd(Ju(Gs)),Ki=on(Ee/12),Ee%=12,Ue.days=re,Ue.months=Ee,Ue.years=Ki,this}function cl(N){return N*4800/146097}function Ju(N){return N*146097/4800}function Xo(N){if(!this.isValid())return NaN;var re,Ee,Ue=this._milliseconds;if(N=Dr(N),N==="month"||N==="quarter"||N==="year")switch(re=this._days+Ue/864e5,Ee=this._months+cl(re),N){case"month":return Ee;case"quarter":return Ee/3;case"year":return Ee/12}else switch(re=this._days+Math.round(Ju(this._months)),N){case"week":return re/7+Ue/6048e5;case"day":return re+Ue/864e5;case"hour":return re*24+Ue/36e5;case"minute":return re*1440+Ue/6e4;case"second":return re*86400+Ue/1e3;case"millisecond":return Math.floor(re*864e5)+Ue;default:throw new Error("Unknown unit "+N)}}function Zu(N){return function(){return this.as(N)}}var yc=Zu("ms"),Iu=Zu("s"),Ga=Zu("m"),qu=Zu("h"),vd=Zu("d"),wn=Zu("w"),Fc=Zu("M"),id=Zu("Q"),Jl=Zu("y"),Oa=yc;function Zl(){return ci(this)}function ql(N){return N=Dr(N),this.isValid()?this[N+"s"]():NaN}function xo(N){return function(){return this.isValid()?this._data[N]:NaN}}var El=xo("milliseconds"),el=xo("seconds"),jl=xo("minutes"),Bc=xo("hours"),sa=xo("days"),zl=xo("months"),tl=xo("years");function bc(){return on(this.days()/7)}var dl=Math.round,$l={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function yd(N,re,Ee,Ue,dt){return dt.relativeTime(re||1,!!Ee,N,Ue)}function rl(N,re,Ee,Ue){var dt=ci(N).abs(),gr=dl(dt.as("s")),_n=dl(dt.as("m")),Ki=dl(dt.as("h")),Gs=dl(dt.as("d")),aa=dl(dt.as("M")),Eo=dl(dt.as("w")),Pu=dl(dt.as("y")),wl=gr<=Ee.ss&&["s",gr]||gr<Ee.s&&["ss",gr]||_n<=1&&["m"]||_n<Ee.m&&["mm",_n]||Ki<=1&&["h"]||Ki<Ee.h&&["hh",Ki]||Gs<=1&&["d"]||Gs<Ee.d&&["dd",Gs];
704return Ee.w!=null&&(wl=wl||Eo<=1&&["w"]||Eo<Ee.w&&["ww",Eo]),wl=wl||aa<=1&&["M"]||aa<Ee.M&&["MM",aa]||Pu<=1&&["y"]||["yy",Pu],wl[2]=re,wl[3]=+N>0,wl[4]=Ue,yd.apply(null,wl)}function fl(N){return N===void 0?dl:typeof N=="function"?(dl=N,!0):!1}function hl(N,re){return $l[N]===void 0?!1:re===void 0?$l[N]:($l[N]=re,N==="s"&&($l.ss=re-1),!0)}function Uc(N,re){if(!this.isValid())return this.localeData().invalidDate();var Ee=!1,Ue=$l,dt,gr;return typeof N=="object"&&(re=N,N=!1),typeof N=="boolean"&&(Ee=N),typeof re=="object"&&(Ue=Object.assign({},$l,re),re.s!=null&&re.ss==null&&(Ue.ss=re.s-1)),dt=this.localeData(),gr=rl(this,!Ee,Ue,dt),Ee&&(gr=dt.pastFuture(+this,gr)),dt.postformat(gr)}var pl=Math.abs;function Tl(N){return(N>0)-(N<0)||+N}function ec(){if(!this.isValid())return this.localeData().invalidDate();var N=pl(this._milliseconds)/1e3,re=pl(this._days),Ee=pl(this._months),Ue,dt,gr,_n,Ki=this.asSeconds(),Gs,aa,Eo,Pu;return Ki?(Ue=on(N/60),dt=on(Ue/60),N%=60,Ue%=60,gr=on(Ee/12),Ee%=12,_n=N?N.toFixed(3).replace(/\.?0+$/,""):"",Gs=Ki<0?"-":"",aa=Tl(this._months)!==Tl(Ki)?"-":"",Eo=Tl(this._days)!==Tl(Ki)?"-":"",Pu=Tl(this._milliseconds)!==Tl(Ki)?"-":"",Gs+"P"+(gr?aa+gr+"Y":"")+(Ee?aa+Ee+"M":"")+(re?Eo+re+"D":"")+(dt||Ue||N?"T":"")+(dt?Pu+dt+"H":"")+(Ue?Pu+Ue+"M":"")+(N?Pu+_n+"S":"")):"P0D"}var da=me.prototype;da.isValid=$,da.abs=Cu,da.add=Ul,da.subtract=Ql,da.as=Xo,da.asMilliseconds=yc,da.asSeconds=Iu,da.asMinutes=Ga,da.asHours=qu,da.asDays=vd,da.asWeeks=wn,da.asMonths=Fc,da.asQuarters=id,da.asYears=Jl,da.valueOf=Oa,da._bubble=bu,da.clone=Zl,da.get=ql,da.milliseconds=El,da.seconds=el,da.minutes=jl,da.hours=Bc,da.days=sa,da.weeks=bc,da.months=zl,da.years=tl,da.humanize=Uc,da.toISOString=ec,da.toString=ec,da.toJSON=ec,da.locale=po,da.localeData=Xu,da.toIsoString=te("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ec),da.lang=Ja,ke("X",0,0,"unix"),ke("x",0,0,"valueOf"),Ur("x",rt),Ur("X",ln),ri("X",function(N,re,Ee){Ee._d=new Date(parseFloat(N)*1e3)}),ri("x",function(N,re,Ee){Ee._d=new Date(fi(N))});//! moment.js 705return r.version="2.30.1",a(Zi),r.fn=Hn,r.min=Fo,r.max=ho,r.now=la,r.utc=w,r.unix=ll,r.months=Vo,r.isDate=h,r.locale=Mt,r.invalid=B,r.duration=ci,r.isMoment=W,r.weekdays=Bl,r.parseZone=gc,r.localeData=Lr,r.isDuration=Oe,r.monthsShort=vc,r.weekdaysMin=Nc,r.defineLocale=Jt,r.updateLocale=Er,r.locales=Mn,r.weekdaysShort=yu,r.normalizeUnits=Dr,r.relativeTimeRounding=fl,r.relativeTimeThreshold=hl,r.calendarFormat=ul,r.prototype=Hn,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}
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,E=v?WeakSet.prototype.has:null,w=typeof WeakRef=="function"&&WeakRef.prototype,T=w?WeakRef.prototype.deref:null,C=Boolean.prototype.valueOf,O=Object.prototype.toString,R=Function.prototype.toString,B=String.prototype.match,M=String.prototype.slice,F=String.prototype.replace,H=String.prototype.toUpperCase,U=String.prototype.toLowerCase,W=RegExp.prototype.test,X=Array.prototype.concat,te=Array.prototype.join,q=Array.prototype.slice,ae=Math.floor,le=typeof BigInt=="function"?BigInt.prototype.valueOf:null,pe=Object.getOwnPropertySymbols,ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ie=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ce=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ie||!0)?Symbol.toStringTag:null,Je=Object.prototype.propertyIsEnumerable,qe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(rt){return rt.__proto__}:null);function ye(rt,_t){if(rt===1/0||rt===-1/0||rt!==rt||rt&&rt>-1e3&&rt<1e3||W.call(/e/,_t))return _t;var Yr=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof rt=="number"){var ln=rt<0?-ae(-rt):ae(rt);
vendor: 9,241 bytes, lines 705-710
705if(ln!==rt){var cn=String(ln),gn=M.call(_t,cn.length+1);return F.call(cn,Yr,"$&_")+"."+F.call(F.call(gn,/([0-9]{3})/g,"$&_"),/_$/,"")}}return F.call(_t,Yr,"$&_")}var xe=e(38954),De=xe.custom,Fe=$r(De)?De:null,be={__proto__:null,double:'"',single:"'"},ke={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};f.exports=function rt(_t,Yr,ln,cn){var gn=Yr||{};if(pt(gn,"quoteStyle")&&!pt(be,gn.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pt(gn,"maxStringLength")&&(typeof gn.maxStringLength=="number"?gn.maxStringLength<0&&gn.maxStringLength!==1/0:gn.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var wi=pt(gn,"customInspect")?gn.customInspect:!0;if(typeof wi!="boolean"&&wi!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pt(gn,"indent")&&gn.indent!==null&&gn.indent!==" "&&!(parseInt(gn.indent,10)===gn.indent&&gn.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pt(gn,"numericSeparator")&&typeof gn.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var ki=gn.numericSeparator;if(typeof _t>"u")return"undefined";if(_t===null)return"null";if(typeof _t=="boolean")return _t?"true":"false";if(typeof _t=="string")return un(_t,gn);if(typeof _t=="number"){if(_t===0)return 1/0/_t>0?"0":"-0";var Ur=String(_t);return ki?ye(_t,Ur):Ur}if(typeof _t=="bigint"){var Bi=String(_t)+"n";return ki?ye(_t,Bi):Bi}var bs=typeof gn.depth>"u"?5:gn.depth;if(typeof ln>"u"&&(ln=0),ln>=bs&&bs>0&&typeof _t=="object")return At(_t)?"[Array]":"[Object]";var Di=Q(gn,ln);if(typeof cn>"u")cn=[];else if(Dr(cn,_t)>=0)return"[Circular]";function on(mi,yn,ji){if(yn&&(cn=q.call(cn),cn.push(yn)),ji){var Tn={depth:gn.depth};return pt(gn,"quoteStyle")&&(Tn.quoteStyle=gn.quoteStyle),rt(mi,Tn,ln+1,cn)}return rt(mi,gn,ln+1,cn)}if(typeof _t=="function"&&!kt(_t)){var fi=wr(_t),qi=tr(_t,on);return"[Function"+(fi?": "+fi:" (anonymous)")+"]"+(qi.length>0?" { "+te.call(qi,", ")+" }":"")}if($r(_t)){var ri=Ie?F.call(String(_t),/^(Symbol\(.*\))_[^)]*$/,"$1"):ge.call(_t);return typeof _t=="object"&&!Ie?br(ri):ri}if(Nr(_t)){for(var Vi="<"+U.call(String(_t.nodeName)),si=_t.attributes||[],ks=0;ks<si.length;ks++)Vi+=" "+si[ks].name+"="+Ge(Xe(si[ks].value),"double",gn);return Vi+=">",_t.childNodes&&_t.childNodes.length&&(Vi+="..."),Vi+="</"+U.call(String(_t.nodeName))+">",Vi}if(At(_t)){if(_t.length===0)return"[]";var cr=tr(_t,on);return Di&&!Ar(cr)?"["+ut(cr,Di)+"]":"[ "+te.call(cr,", ")+" ]"}if(Nt(_t)){var fe=tr(_t,on);return!("cause"in Error.prototype)&&"cause"in _t&&!Je.call(_t,"cause")?"{ ["+String(_t)+"] "+te.call(X.call("[cause]: "+on(_t.cause),fe),", ")+" }":fe.length===0?"["+String(_t)+"]":"{ ["+String(_t)+"] "+te.call(fe,", ")+" }"}if(typeof _t=="object"&&wi){if(Fe&&typeof _t[Fe]=="function"&&xe)return xe(_t,{depth:bs-ln});if(wi!=="symbol"&&typeof _t.inspect=="function")return _t.inspect()}if(Sr(_t)){var Re=[];return s&&s.call(_t,function(mi,yn){Re.push(on(yn,_t,!0)+" => "+on(mi,_t))}),wt("Map",a.call(_t),Re,Di)}if(Sn(_t)){var Qe=[];return m&&m.call(_t,function(mi){Qe.push(on(mi,_t))}),wt("Set",l.call(_t),Qe,Di)}if(kr(_t))return $t("WeakMap");if(dr(_t))return $t("WeakSet");if(qt(_t))return $t("WeakRef");if(yr(_t))return br(on(Number(_t)));if(sn(_t))return br(on(le.call(_t)));if(Wr(_t))return br(C.call(_t));if(Ir(_t))return br(on(String(_t)));if(typeof window<"u"&&_t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&_t===globalThis||typeof globalThis<"u"&&_t===globalThis)return"{ [object globalThis] }";if(!yt(_t)&&!kt(_t)){var mt=tr(_t,on),xt=qe?qe(_t)===Object.prototype:_t instanceof Object||_t.constructor===Object,Mr=_t instanceof Object?"":"null prototype",vn=!xt&&Ce&&Object(_t)===_t&&Ce in _t?M.call(et(_t),8,-1):Mr?"Object":"",Ut=xt||typeof _t.constructor!="function"?"":_t.constructor.name?_t.constructor.name+" ":"",Yn=Ut+(vn||Mr?"["+te.call(X.call([],vn||[],Mr||[]),": ")+"] ":"");return mt.length===0?Yn+"{}":Di?Yn+"{"+ut(mt,Di)+"}":Yn+"{ "+te.call(mt,", ")+" }"}return String(_t)};function Ge(rt,_t,Yr){var ln=Yr.quoteStyle||_t,cn=be[ln];return cn+rt+cn}function Xe(rt){return F.call(String(rt),/"/g,""")}function At(rt){return et(rt)==="[object Array]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function yt(rt){return et(rt)==="[object Date]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function kt(rt){return et(rt)==="[object RegExp]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function Nt(rt){return et(rt)==="[object Error]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function Ir(rt){return et(rt)==="[object String]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function yr(rt){return et(rt)==="[object Number]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function Wr(rt){return et(rt)==="[object Boolean]"&&(!Ce||!(typeof rt=="object"&&Ce in rt))}function $r(rt){if(Ie)return rt&&typeof rt=="object"&&rt instanceof Symbol;if(typeof rt=="symbol")return!0;if(!rt||typeof rt!="object"||!ge)return!1;try{return ge.call(rt),!0}catch{}return!1}function sn(rt){if(!rt||typeof rt!="object"||!le)return!1;try{return le.call(rt),!0}catch{}return!1}var Hr=Object.prototype.hasOwnProperty||function(rt){return rt in this};function pt(rt,_t){return Hr.call(rt,_t)}function et(rt){return O.call(rt)}function wr(rt){if(rt.name)return rt.name;var _t=B.call(R.call(rt),/^function\s*([\w$]+)/);return _t?_t[1]:null}function Dr(rt,_t){if(rt.indexOf)return rt.indexOf(_t);for(var Yr=0,ln=rt.length;Yr<ln;Yr++)if(rt[Yr]===_t)return Yr;return-1}function Sr(rt){if(!a||!rt||typeof rt!="object")return!1;try{a.call(rt);try{l.call(rt)}catch{return!0}return rt instanceof Map}catch{}return!1}function kr(rt){if(!h||!rt||typeof rt!="object")return!1;try{h.call(rt,h);try{E.call(rt,E)}catch{return!0}return rt instanceof WeakMap}catch{}return!1}function qt(rt){if(!T||!rt||typeof rt!="object")return!1;try{return T.call(rt),!0}catch{}return!1}function Sn(rt){if(!l||!rt||typeof rt!="object")return!1;try{l.call(rt);try{a.call(rt)}catch{return!0}return rt instanceof Set}catch{}return!1}function dr(rt){if(!E||!rt||typeof rt!="object")return!1;try{E.call(rt,E);try{h.call(rt,h)}catch{return!0}return rt instanceof WeakSet}catch{}return!1}function Nr(rt){return!rt||typeof rt!="object"?!1:typeof HTMLElement<"u"&&rt instanceof HTMLElement?!0:typeof rt.nodeName=="string"&&typeof rt.getAttribute=="function"}function un(rt,_t){if(rt.length>_t.maxStringLength){var Yr=rt.length-_t.maxStringLength,ln="... "+Yr+" more character"+(Yr>1?"s":"");return un(M.call(rt,0,_t.maxStringLength),_t)+ln}var cn=ke[_t.quoteStyle||"single"];cn.lastIndex=0;var gn=F.call(F.call(rt,cn,"\\$1"),/[\x00-\x1f]/g,Xt);return Ge(gn,"single",_t)}function Xt(rt){var _t=rt.charCodeAt(0),Yr={8:"b",9:"t",10:"n",12:"f",13:"r"}[_t];return Yr?"\\"+Yr:"\\x"+(_t<16?"0":"")+H.call(_t.toString(16))}function br(rt){return"Object("+rt+")"}function $t(rt){return rt+" { ? }"}function wt(rt,_t,Yr,ln){var cn=ln?ut(Yr,ln):te.call(Yr,", ");return rt+" ("+_t+") {"+cn+"}"}function Ar(rt){for(var _t=0;_t<rt.length;_t++)if(Dr(rt[_t],` 706`)>=0)return!1;return!0}function Q(rt,_t){var Yr;if(rt.indent===" ")Yr=" ";else if(typeof rt.indent=="number"&&rt.indent>0)Yr=te.call(Array(rt.indent+1)," ");else return null;return{base:Yr,prev:te.call(Array(_t+1),Yr)}}function ut(rt,_t){if(rt.length===0)return"";var Yr=` 707`+_t.prev+_t.base;return Yr+te.call(rt,","+Yr)+` 708`+_t.prev}function tr(rt,_t){var Yr=At(rt),ln=[];if(Yr){ln.length=rt.length;for(var cn=0;cn<rt.length;cn++)ln[cn]=pt(rt,cn)?_t(rt[cn],rt):""}var gn=typeof pe=="function"?pe(rt):[],wi;if(Ie){wi={};for(var ki=0;ki<gn.length;ki++)wi["$"+gn[ki]]=gn[ki]}for(var Ur in rt)pt(rt,Ur)&&(Yr&&String(Number(Ur))===Ur&&Ur<rt.length||Ie&&wi["$"+Ur]instanceof Symbol||(W.call(/[^\w$]/,Ur)?ln.push(_t(Ur,rt)+": "+_t(rt[Ur],rt)):ln.push(Ur+": "+_t(rt[Ur],rt))));if(typeof pe=="function")for(var Bi=0;Bi<gn.length;Bi++)Je.call(rt,gn[Bi])&&ln.push("["+_t(gn[Bi])+"]: "+_t(rt[gn[Bi]],rt));return ln}},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,E=g.length;if(Array.prototype.IndexOf&&g.indexOf===Array.prototype.IndexOf)return g.indexOf(h);for(;
710v<E;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],E=0;E<v.length;E++)if(v[E].id===h)return!0;return!1},s.Keeper.prototype.add=function(g,h,v,E,w){var T={id:g,event:h,cb:v,ctx:E,one:w};this.has(h)?this.data[h].push(T):this.data[h]=[T]},s.Keeper.prototype.execute=function(g,h,v,E){if(!this.has(g,h))return!1;for(var w=[],T=[],C=0;C<this.data[g].length;C++){var O=this.data[g][C];s.isNone(h)||!s.isNone(h)&&O.id===h?(T.push({cb:O.cb,ctx:O.ctx?O.ctx:E,data:v}),O.one===!1&&w.push(O)):w.push(O)}w.length===0?delete this.data[g]:this.data[g]=w;for(var R=0;R<T.length;R++){var B=T[R];B.cb.call(B.ctx,B.data)}},s.Keeper.prototype.on=function(g,h,v,E){this.add(g,h,v,E,!1)},s.Keeper.prototype.one=function(g,h,v,E){this.add(g,h,v,E,!0)},s.Keeper.prototype.off=function(g,h){var v=[];if(!this.data.hasOwnProperty(g))return v;for(var E=[],w=0;w<this.data[g].length;w++){var T=this.data[g][w];!s.isNone(h)&&T.cb!==h?E.push(T):s.isNone(T.id)||v.push(T.id)}return E.length===0?delete this.data[g]:this.data[g]=E,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(E){v.receive(E)}):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 E=this.keeper.getUUID();g.listener=E,this.keeper.one(E,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}if(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 E=this.keeper.getUUID();return g==="ready"?this.keeper.one(E,g,h,v):this.keeper.on(E,g,h,v),this.send({method:"addEventListener",value:g,listener:E}),!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 E in v)return this.send({method:"removeEventListener",value:g,listener:v[E]}),!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,E=0;E<h.length;E++)if(s.indexOf(v,h[E])===-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}
vendor: 5,599 bytes, line 710
710if(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(E){v.receive(E)})},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(w){s.log("JSON Parse Error",w)}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 E=s.indexOf(this.eventListeners[h.value],v);E>-1&&this.eventListeners[h.value].splice(E,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 E=this;if(!this.methods.hasOwnProperty(g))return this.emit("error",{code:3,msg:'Method Not Supported"'+g+'"'}),!1;var w=this.methods[g];if(g.substr(0,3)==="get"){var T=function(C){E.send(g,C,v)};w.call(this,T)}else w.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 E={context:s.CONTEXT,version:s.VERSION,event:g};s.isNone(h)||(E.value=h),s.isNone(v)||(E.listener=v);var w=JSON.stringify(E);r.parent.postMessage(w,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 E=this.eventListeners[g][v];this.send(g,h,E)}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};this.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(E){var w=E.position,T=E.duration;if(!w||!T)return!1;var C={seconds:w,duration:T};h.emit("timeupdate",C)});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(E){E(g.getState().toLowerCase()!=="PLAYING".toLowerCase())}),h.on("getCurrentTime",function(E){E(g.getPosition())}),h.on("setCurrentTime",function(E){g.seek(E)}),h.on("getDuration",function(E){E(g.getDuration())}),h.on("getVolume",function(E){E(g.getVolume())}),h.on("setVolume",function(E){g.setVolume(E)}),h.on("mute",function(){g.setMute(!0)}),h.on("unmute",function(){g.setMute(!1)}),h.on("getMuted",function(E){E(g.getMute()===!0)}),h.on("getLoop",function(E){E(this.looped)},this),h.on("setLoop",function(E){this.looped=E},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;
710g.play(),this.emit("play"),g.timeupdate=function(E){v.emit("timeupdate",E)}}),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 E=g.currentTime(),w=g.duration();if(!E||!w)return!1;var T={seconds:E,duration:w};h.emit("timeupdate",T)}),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,E){if(E!==n){var w=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 w.name="Invariant Violation",w}}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(w){return w.replace(/&#(\d+);/g,function(T,C){return String.fromCharCode(parseInt(C,10))})},u=function(w,T){return w&&typeof w=="string"&&T.comma&&w.indexOf(",")>-1?w.split(","):w},l="utf8=%26%2310003%3B",m="utf8=%E2%9C%93",g=function(T,C){var O={__proto__:null},R=C.ignoreQueryPrefix?T.replace(/^\?/,""):T;R=R.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var B=C.parameterLimit===1/0?void 0:C.parameterLimit,M=R.split(C.delimiter,B),F=-1,H,U=C.charset;if(C.charsetSentinel)for(H=0;H<M.length;++H)M[H].indexOf("utf8=")===0&&(M[H]===m?U="utf-8":M[H]===l&&(U="iso-8859-1"),F=H,H=M.length);for(H=0;H<M.length;++H)if(H!==F){var W=M[H],X=W.indexOf("]="),te=X===-1?W.indexOf("="):X+1,q,ae;te===-1?(q=C.decoder(W,s.decoder,U,"key"),ae=C.strictNullHandling?null:""):(q=C.decoder(W.slice(0,te),s.decoder,U,"key"),ae=n.maybeMap(u(W.slice(te+1),C),function(pe){return C.decoder(pe,s.decoder,U,"value")})),ae&&C.interpretNumericEntities&&U==="iso-8859-1"&&(ae=i(ae)),W.indexOf("[]=")>-1&&(ae=a(ae)?[ae]:ae);var le=r.call(O,q);le&&C.duplicates==="combine"?O[q]=n.combine(O[q],ae):(!le||C.duplicates==="last")&&(O[q]=ae)}return O},h=function(w,T,C,O){for(var R=O?T:u(T,C),B=w.length-1;B>=0;--B){var M,F=w[B];if(F==="[]"&&C.parseArrays)M=C.allowEmptyArrays&&(R===""||C.strictNullHandling&&R===null)?[]:[].concat(R);else{M=C.plainObjects?Object.create(null):{};var H=F.charAt(0)==="["&&F.charAt(F.length-1)==="]"?F.slice(1,-1):F,U=C.decodeDotInKeys?H.replace(/%2E/g,"."):H,W=parseInt(U,10);!C.parseArrays&&U===""?M={0:R}:!isNaN(W)&&F!==U&&String(W)===U&&W>=0&&C.parseArrays&&W<=C.arrayLimit?(M=[],M[W]=R):U!=="__proto__"&&(M[U]=R)}R=M}return R},v=function(T,C,O,R){if(T){var B=O.allowDots?T.replace(/\.([^.[]+)/g,"[$1]"):T,M=/(\[[^[\]]*])/,F=/(\[[^[\]]*])/g,H=O.depth>0&&M.exec(B),U=H?B.slice(0,H.index):B,W=[];if(U){if(!O.plainObjects&&r.call(Object.prototype,U)&&!O.allowPrototypes)return;W.push(U)}for(var X=0;O.depth>0&&(H=F.exec(B))!==null&&X<O.depth;){if(X+=1,!O.plainObjects&&r.call(Object.prototype,H[1].slice(1,-1))&&!O.allowPrototypes)return;W.push(H[1])}if(H){if(O.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+O.depth+" and strictDepth is true");W.push("["+B.slice(H.index)+"]")}return h(W,C,O,R)}},E=function(T){if(!T)return s;if(typeof T.allowEmptyArrays<"u"&&typeof T.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
vendor: 10,113 bytes, line 710
710if(typeof T.decodeDotInKeys<"u"&&typeof T.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(T.decoder!==null&&typeof T.decoder<"u"&&typeof T.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof T.charset<"u"&&T.charset!=="utf-8"&&T.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var C=typeof T.charset>"u"?s.charset:T.charset,O=typeof T.duplicates>"u"?s.duplicates:T.duplicates;if(O!=="combine"&&O!=="first"&&O!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var R=typeof T.allowDots>"u"?T.decodeDotInKeys===!0?!0:s.allowDots:!!T.allowDots;return{allowDots:R,allowEmptyArrays:typeof T.allowEmptyArrays=="boolean"?!!T.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:typeof T.allowPrototypes=="boolean"?T.allowPrototypes:s.allowPrototypes,allowSparse:typeof T.allowSparse=="boolean"?T.allowSparse:s.allowSparse,arrayLimit:typeof T.arrayLimit=="number"?T.arrayLimit:s.arrayLimit,charset:C,charsetSentinel:typeof T.charsetSentinel=="boolean"?T.charsetSentinel:s.charsetSentinel,comma:typeof T.comma=="boolean"?T.comma:s.comma,decodeDotInKeys:typeof T.decodeDotInKeys=="boolean"?T.decodeDotInKeys:s.decodeDotInKeys,decoder:typeof T.decoder=="function"?T.decoder:s.decoder,delimiter:typeof T.delimiter=="string"||n.isRegExp(T.delimiter)?T.delimiter:s.delimiter,depth:typeof T.depth=="number"||T.depth===!1?+T.depth:s.depth,duplicates:O,ignoreQueryPrefix:T.ignoreQueryPrefix===!0,interpretNumericEntities:typeof T.interpretNumericEntities=="boolean"?T.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof T.parameterLimit=="number"?T.parameterLimit:s.parameterLimit,parseArrays:T.parseArrays!==!1,plainObjects:typeof T.plainObjects=="boolean"?T.plainObjects:s.plainObjects,strictDepth:typeof T.strictDepth=="boolean"?!!T.strictDepth:s.strictDepth,strictNullHandling:typeof T.strictNullHandling=="boolean"?T.strictNullHandling:s.strictNullHandling}};f.exports=function(w,T){var C=E(T);if(w===""||w===null||typeof w>"u")return C.plainObjects?Object.create(null):{};for(var O=typeof w=="string"?g(w,C):w,R=C.plainObjects?Object.create(null):{},B=Object.keys(O),M=0;M<B.length;++M){var F=B[M],H=v(F,O[F],C,typeof w=="string");R=n.merge(R,H,C)}return C.allowSparse===!0?R:n.compact(R)}},33597(f,d,e){"use strict";var n=e(98362),r=e(20937),a=e(53776),s=Object.prototype.hasOwnProperty,i={brackets:function(R){return R+"[]"},comma:"comma",indices:function(R,B){return R+"["+B+"]"},repeat:function(R){return R}},u=Array.isArray,l=Array.prototype.push,m=function(O,R){l.apply(O,u(R)?R:[R])},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(R){return g.call(R)},skipNulls:!1,strictNullHandling:!1},E=function(R){return typeof R=="string"||typeof R=="number"||typeof R=="boolean"||typeof R=="symbol"||typeof R=="bigint"},w={},T=function O(R,B,M,F,H,U,W,X,te,q,ae,le,pe,ge,Ie,Ce,Je,qe){for(var ye=R,xe=qe,De=0,Fe=!1;(xe=xe.get(w))!==void 0&&!Fe;){var be=xe.get(R);if(De+=1,typeof be<"u"){if(be===De)throw new RangeError("Cyclic object value");Fe=!0}typeof xe.get(w)>"u"&&(De=0)}if(typeof q=="function"?ye=q(B,ye):ye instanceof Date?ye=pe(ye):M==="comma"&&u(ye)&&(ye=r.maybeMap(ye,function(Hr){return Hr instanceof Date?pe(Hr):Hr})),ye===null){if(U)return te&&!Ce?te(B,v.encoder,Je,"key",ge):B;ye=""}if(E(ye)||r.isBuffer(ye)){if(te){var ke=Ce?B:te(B,v.encoder,Je,"key",ge);return[Ie(ke)+"="+Ie(te(ye,v.encoder,Je,"value",ge))]}return[Ie(B)+"="+Ie(String(ye))]}var Ge=[];if(typeof ye>"u")return Ge;var Xe;if(M==="comma"&&u(ye))Ce&&te&&(ye=r.maybeMap(ye,te)),Xe=[{value:ye.length>0?ye.join(",")||null:void 0}];else if(u(q))Xe=q;else{var At=Object.keys(ye);Xe=ae?At.sort(ae):At}var yt=X?B.replace(/\./g,"%2E"):B,kt=F&&u(ye)&&ye.length===1?yt+"[]":yt;if(H&&u(ye)&&ye.length===0)return kt+"[]";for(var Nt=0;Nt<Xe.length;++Nt){var Ir=Xe[Nt],yr=typeof Ir=="object"&&typeof Ir.value<"u"?Ir.value:ye[Ir];if(!(W&&yr===null)){var Wr=le&&X?Ir.replace(/\./g,"%2E"):Ir,$r=u(ye)?typeof M=="function"?M(kt,Wr):kt:kt+(le?"."+Wr:"["+Wr+"]");qe.set(R,De);var sn=n();sn.set(w,qe),m(Ge,O(yr,$r,M,F,H,U,W,X,M==="comma"&&Ce&&u(ye)?null:te,q,ae,le,pe,ge,Ie,Ce,Je,sn))}}return Ge},C=function(R){if(!R)return v;if(typeof R.allowEmptyArrays<"u"&&typeof R.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof R.encodeDotInKeys<"u"&&typeof R.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(R.encoder!==null&&typeof R.encoder<"u"&&typeof R.encoder!="function")throw new TypeError("Encoder has to be a function.");var B=R.charset||v.charset;if(typeof R.charset<"u"&&R.charset!=="utf-8"&&R.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var M=a.default;if(typeof R.format<"u"){if(!s.call(a.formatters,R.format))throw new TypeError("Unknown format option provided.");M=R.format}var F=a.formatters[M],H=v.filter;(typeof R.filter=="function"||u(R.filter))&&(H=R.filter);var U;if(R.arrayFormat in i?U=R.arrayFormat:"indices"in R?U=R.indices?"indices":"repeat":U=v.arrayFormat,"commaRoundTrip"in R&&typeof R.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var W=typeof R.allowDots>"u"?R.encodeDotInKeys===!0?!0:v.allowDots:!!R.allowDots;return{addQueryPrefix:typeof R.addQueryPrefix=="boolean"?R.addQueryPrefix:v.addQueryPrefix,allowDots:W,allowEmptyArrays:typeof R.allowEmptyArrays=="boolean"?!!R.allowEmptyArrays:v.allowEmptyArrays,arrayFormat:U,charset:B,charsetSentinel:typeof R.charsetSentinel=="boolean"?R.charsetSentinel:v.charsetSentinel,commaRoundTrip:R.commaRoundTrip,delimiter:typeof R.delimiter>"u"?v.delimiter:R.delimiter,encode:typeof R.encode=="boolean"?R.encode:v.encode,encodeDotInKeys:typeof R.encodeDotInKeys=="boolean"?R.encodeDotInKeys:v.encodeDotInKeys,encoder:typeof R.encoder=="function"?R.encoder:v.encoder,encodeValuesOnly:typeof R.encodeValuesOnly=="boolean"?R.encodeValuesOnly:v.encodeValuesOnly,filter:H,format:M,formatter:F,serializeDate:typeof R.serializeDate=="function"?R.serializeDate:v.serializeDate,skipNulls:typeof R.skipNulls=="boolean"?R.skipNulls:v.skipNulls,sort:typeof R.sort=="function"?R.sort:null,strictNullHandling:typeof R.strictNullHandling=="boolean"?R.strictNullHandling:v.strictNullHandling}};f.exports=function(O,R){var B=O,M=C(R),F,H;typeof M.filter=="function"?(H=M.filter,B=H("",B)):u(M.filter)&&(H=M.filter,F=H);var U=[];if(typeof B!="object"||B===null)return"";var W=i[M.arrayFormat],X=W==="comma"&&M.commaRoundTrip;F||(F=Object.keys(B)),M.sort&&F.sort(M.sort);for(var te=n(),q=0;q<F.length;++q){var ae=F[q];M.skipNulls&&B[ae]===null||m(U,T(B[ae],ae,W,X,M.allowEmptyArrays,M.strictNullHandling,M.skipNulls,M.encodeDotInKeys,M.encode?M.encoder:null,M.filter,M.sort,M.allowDots,M.serializeDate,M.format,M.formatter,M.encodeValuesOnly,M.charset,te))}var le=U.join(M.delimiter),pe=M.addQueryPrefix===!0?"?":"";return M.charsetSentinel&&(M.charset==="iso-8859-1"?pe+="utf8=%26%2310003%3B&":pe+="utf8=%E2%9C%93&"),le.length>0?pe+le:""}},20937(f,d,e){"use strict";var n=e(53776),r=Object.prototype.hasOwnProperty,a=Array.isArray,s=(function(){for(var R=[],B=0;B<256;++B)R.push("%"+((B<16?"0":"")+B.toString(16)).toUpperCase());return R})(),i=function(B){for(;B.length>1;){var M=B.pop(),F=M.obj[M.prop];if(a(F)){for(var H=[],U=0;U<F.length;++U)typeof F[U]<"u"&&H.push(F[U]);M.obj[M.prop]=H}}},u=function(B,M){for(var F=M&&M.plainObjects?Object.create(null):{},H=0;H<B.length;++H)typeof B[H]<"u"&&(F[H]=B[H]);return F},l=function R(B,M,F){if(!M)return B;if(typeof M!="object"){if(a(B))B.push(M);else if(B&&typeof B=="object")(F&&(F.plainObjects||F.allowPrototypes)||!r.call(Object.prototype,M))&&(B[M]=!0);else return[B,M];return B}if(!B||typeof B!="object")return[B].concat(M);var H=B;return a(B)&&!a(M)&&(H=u(B,F)),a(B)&&a(M)?(M.forEach(function(U,W){if(r.call(B,W)){var X=B[W];X&&typeof X=="object"&&U&&typeof U=="object"?B[W]=R(X,U,F):B.push(U)}else B[W]=U}),B):Object.keys(M).reduce(function(U,W){var X=M[W];return r.call(U,W)?U[W]=R(U[W],X,F):U[W]=X,U},H)},m=function(B,M){return Object.keys(M).reduce(function(F,H){return F[H]=M[H],F},B)},g=function(R,B,M){var F=R.replace(/\+/g," ");if(M==="iso-8859-1")return F.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(F)}catch{return F}},h=1024,v=function(B,M,F,H,U){if(B.length===0)return B;var W=B;if(typeof B=="symbol"?W=Symbol.prototype.toString.call(B):typeof B!="string"&&(W=String(B)),F==="iso-8859-1")return escape(W).replace(/%u[0-9a-f]{4}/gi,function(ge){return"%26%23"+parseInt(ge.slice(2),16)+"%3B"});for(var X="",te=0;te<W.length;te+=h){for(var q=W.length>=h?W.slice(te,te+h):W,ae=[],le=0;le<q.length;++le){var pe=q.charCodeAt(le);if(pe===45||pe===46||pe===95||pe===126||pe>=48&&pe<=57||pe>=65&&pe<=90||pe>=97&&pe<=122||U===n.RFC1738&&(pe===40||pe===41)){ae[ae.length]=q.charAt(le);continue}if(pe<128){ae[ae.length]=s[pe];continue}if(pe<2048){ae[ae.length]=s[192|pe>>6]+s[128|pe&63];continue}if(pe<55296||pe>=57344){ae[ae.length]=s[224|pe>>12]+s[128|pe>>6&63]+s[128|pe&63];continue}le+=1,pe=65536+((pe&1023)<<10|q.charCodeAt(le)&1023),ae[ae.length]=s[240|pe>>18]+s[128|pe>>12&63]+s[128|pe>>6&63]+s[128|pe&63]}X+=ae.join("")}return X},E=function(B){for(var M=[{obj:{o:B},prop:"o"}],F=[],H=0;H<M.length;++H)for(var U=M[H],W=U.obj[U.prop],X=Object.keys(W),te=0;te<X.length;++te){var q=X[te],ae=W[q];typeof ae=="object"&&ae!==null&&F.indexOf(ae)===-1&&(M.push({obj:W,prop:q}),F.push(ae))}return i(M),B},w=function(B){return Object.prototype.toString.call(B)==="[object RegExp]"},T=function(B){return!B||typeof B!="object"?!1:!!(B.constructor&&B.constructor.isBuffer&&B.constructor.isBuffer(
710B))},C=function(B,M){return[].concat(B,M)},O=function(B,M){if(a(B)){for(var F=[],H=0;H<B.length;H+=1)F.push(M(B[H]));return F}return M(B)};f.exports={arrayToObject:u,assign:m,combine:C,compact:E,decode:g,encode:v,isBuffer:T,isRegExp:w,maybeMap:O,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(3744),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(E){return r(E,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 E=!u(h)&&r(v,h)?h[v]:s(m[1])?[]:{};g=l(Array.prototype.slice.call(m,1),g,E)}if(s(v)&&a(h)){var w=[].concat(h);return w[v]=g,w}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,E,w,T,C,O){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,E);case 7:return new u(l,m,g,h,v,E,w);case 8:return new u(l,m,g,h,v,E,w,T);case 9:return new u(l,m,g,h,v,E,w,T,C);case 10:return new u(l,m,g,h,v,E,w,T,C,O)}}))})},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(E){return E.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,E=0;E<v;){if(s===i[E])return u[E];E+=1}i[E+1]=s,u[E+1]=h;for(var w in s)h[w]=l?a(s[w],i,u,!0):s[w];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 E=i(m);if(E.length!==i(g).length)return!1;for(var w=h.length-1;w>=0;){if(h[w]===m)return v[w]===g;w-=1}for(h.push(m),v.push(g),w=E.length-1;w>=0;){var T=E[w];if(!(a(T,g)&&l(g[T],m[T],h,v)))return!1;w-=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,E=h.length;v<E;){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(T){var C=g.concat([m]);return n(T,C)?"<Circular>":l(T,C)},v=function(w,T){return r(function(C){return a(C)+": "+h(w[C])},T.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(w){return/^\d+$/.test(w)},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 E=m.toString();if(E!=="[object Object]")return E}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],E=r(v,g)?g[v]:g[v]=[];E[E.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,E=[],w=u&&a(g);for(h in g)r(h,g)&&(!w||h!=="length")&&(E[E.length]=h);if(s)for(v=i.length-1;v>=0;)h=i[v],r(h,g)&&!l(E,h)&&(E[E.length]=h),v-=1;return E})})()},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,E){return v[E]=g(h[E]),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,E){return s.call(this,i,u,l,m,g,h,v,E)};case 9:return function(i,u,l,m,g,h,v,E,w){return s.call(this,i,u,l,m,g,h,v,E,w)};case 10:return function(i,u,l,m,g,h,v,E,w,T){return s.call(this,i,u,l,m,g,h,v,E,w,T)};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,E){var w=g(E);return v[w]=l(a(w,v)?v[w]:m,E),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)})},3744(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,E=this;return g.apply(E,r(function(w){return w.apply(E,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 E=0,w=v.length;E<w;){if(h=g["@@transducer/step"](h,v[E]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}E+=1}return g["@@transducer/result"](h)}function i(g,h,v){for(var E=v.next();!E.done;){if(h=g["@@transducer/step"](h,E.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}E=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,E){return g["@@transducer/result"](v[E](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,E){for(var w=0;w<v.length;){if(v[w]===E)return!0;w+=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 E,w,T=[],C=u&&a(v);for(E in v)r(E,v)&&(!C||E!=="length")&&(T[T.length]=E);if(s)for(w=i.length-1;w>=0;)E=i[w],r(E,v)&&!l(T,E)&&(T[T.length]=E),w-=1;return T},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(E,w){return E[w]=h(v[w]),E},{},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,E){return g(h[E])&&(v[E]=h[E]),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,E,w){var T=n(h),C=n(v);function O(R,B){return g(R,B,E.slice(),w.slice())}return!r(function(R,B){return!r(O,B,R)},C,T)}function g(h,v,E,w){if(i(h,v))return!0;var T=l(h);if(T!==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(T){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 C=E.length-1;C>=0;){if(E[C]===h)return w[C]===v;C-=1}switch(T){case"Map":return h.size!==v.size?!1:m(h.entries(),v.entries(),E.concat([h]),w.concat([v]));case"Set":return h.size!==v.size?!1:m(h.values(),v.values(),E.concat([h]),w.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 O=u(h);if(O.length!==u(v).length)return!1;var R=E.concat([h]),B=w.concat([v]);for(C=O.length-1;C>=0;){var M=O[C];if(!(s(M,v)&&g(v[M],h[M],R,B)))return!1;C-=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;
711){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 E=0,w=v.length;E<w;){if(h=g["@@transducer/step"](h,v[E]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}E+=1}return g["@@transducer/result"](h)}function i(g,h,v){for(var E=v.next();!E.done;){if(h=g["@@transducer/step"](h,E.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}E=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,E){return g["@@transducer/result"](v[E](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(T){var C=g.concat([m]);return n(T,C)?"<Circular>":l(T,C)},v=function(w,T){return r(function(C){return a(C)+": "+h(w[C])},T.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(w){return/^\d+$/.test(w)},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 E=m.toString();if(E!=="[object Object]")return E}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}
711,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 E=0;E<h.length;){if(h[E]===v)return!0;E+=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,E,w=[],T=u&&a(h);for(v in h)r(v,h)&&(!T||v!=="length")&&(w[w.length]=v);if(s)for(E=i.length-1;E>=0;)v=i[E],r(v,h)&&!l(w,v)&&(w[w.length]=v),E-=1;return w});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(E,w){return E[w]=h(v[w]),E},{},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,E=0;E<h;E+=1)v.add(u[E]);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,E){return g(h[E])&&(v[E]=h[E]),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,E,w){var T=n(h),C=n(v);function O(R,B){return g(R,B,E.slice(),w.slice())}return!r(function(R,B){return!r(O,B,R)},C,T)}function g(h,v,E,w){if(i(h,v))return!0;var T=l(h);if(T!==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(T){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 C=E.length-1;C>=0;){if(E[C]===h)return w[C]===v;C-=1}switch(T){case"Map":return h.size!==v.size?!1:m(h.entries(),v.entries(),E.concat([h]),w.concat([v]));case"Set":return h.size!==v.size?!1:m(h.values(),v.values(),E.concat([h]),w.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 O=u(h);if(O.length!==u(v).length)return!1;var R=E.concat([h]),B=w.concat([v]);for(C=O.length-1;C>=0;){var M=O[C];if(!(s(M,v)&&g(v[M],h[M],R,B)))return!1;C-=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;
711){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 E=0,w=v.length;E<w;){if(h=g["@@transducer/step"](h,v[E]),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}E+=1}return g["@@transducer/result"](h)}function i(g,h,v){for(var E=v.next();!E.done;){if(h=g["@@transducer/step"](h,E.value),h&&h["@@transducer/reduced"]){h=h["@@transducer/value"];break}E=v.next()}return g["@@transducer/result"](h)}function u(g,h,v,E){return g["@@transducer/result"](v[E](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},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(T){var C=g.concat([m]);return n(T,C)?"<Circular>":l(T,C)},v=function(w,T){return r(function(C){return a(C)+": "+h(w[C])},T.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(w){return/^\d+$/.test(w)},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 E=m.toString();if(E!=="[object Object]")return E}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 E=0;E<h.length;){if(h[E]===v)return!0;E+=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,E,w=[],T=u&&a(h);for(v in h)r(v,h)&&(!T||v!=="length")&&(w[w.length]=v);if(s)for(E=i.length-1;E>=0;)v=i[E],r(v,h)&&!l(w,v)&&(w[w.length]=v),E-=1;return w});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(E,w){return E[w]=h(v[w]),E},{},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},26953(f,d,e){(function(n,r){f.exports=r(e(9608))})(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,E,w=m-l;return E=1.70158,u===0?l:(u/=g)==1?l+w:((v=0)||(v=.3*g),(h=w)<Math.abs(w)?(h=w,E=v/4):E=v/(2*Math.PI)*Math.asin(w/h),-h*Math.pow(2,10*(u-=1))*Math.sin((u*g-E)*(2*Math.PI)/v)+l)},easeOutElastic:function(u,l,m,g){var h,v,E,w=m-l;return E=1.70158,u===0?l:(u/=g)==1?l+w:((v=0)||(v=.3*g),(h=w)<Math.abs(w)?(h=w,E=v/4):E=v/(2*Math.PI)*Math.asin(w/h),h*Math.pow(2,-10*u)*Math.sin((u*g-E)*(2*Math.PI)/v)+w+l)},easeInOutElastic:function(u,l,m,g){var h,v,E,w=m-l;return E=1.70158,u===0?l:(u/=g/2)==2?l+w:((v=0)||(v=g*.44999999999999996),(h=w)<Math.abs(w)?(h=w,E=v/4):E=v/(2*Math.PI)*Math.asin(w/h),u<1?h*Math.pow(2,10*(u-=1))*Math.sin((u*g-E)*(2*Math.PI)/v)*-.5+l:h*Math.pow(2,-10*(u-=1))*Math.sin((u*g-E)*(2*Math.PI)/v)*.5+w+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(xe,De){return xe+Math.random()*(De-xe)}function E(xe,De){for(var Fe=0;Fe<De.length;Fe++){var be=De[Fe];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(xe,be.key,be)}}function w(xe,De,Fe){return De in xe?Object.defineProperty(xe,De,{value:Fe,enumerable:!0,configurable:!0,writable:!0}):xe[De]=Fe,xe}(function(xe){xe[xe.Circle=0]="Circle",xe[xe.Square=1]="Square",xe[xe.Strip=2]="Strip"})(i||(i={})),(function(xe){xe[xe.Positive=1]="Positive",xe[xe.Negative=-1]="Negative"})(u||(u={}));var T=(function(){function xe(ke,Ge,Xe,At){(function($r,sn){if(!($r instanceof sn))throw new TypeError("Cannot call a class as a function")})(this,xe),w(this,"context",void 0),w(this,"radius",void 0),w(this,"x",void 0),w(this,"y",void 0),w(this,"w",void 0),w(this,"h",void 0),w(this,"vx",void 0),w(this,"vy",void 0),w(this,"shape",void 0),w(this,"angle",void 0),w(this,"angularSpin",void 0),w(this,"color",void 0),w(this,"rotateY",void 0),w(this,"rotationDirection",void 0),w(this,"getOptions",void 0),this.getOptions=Ge;var yt,kt,Nt=this.getOptions(),Ir=Nt.colors,yr=Nt.initialVelocityX,Wr=Nt.initialVelocityY;this.context=ke,this.x=Xe,this.y=At,this.w=v(5,20),this.h=v(5,20),this.radius=v(5,10),this.vx=v(-yr,yr),this.vy=v(-Wr,0),this.shape=(yt=0,kt=2,Math.floor(yt+Math.random()*(kt-yt+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 De,Fe,be;return De=xe,(Fe=[{key:"update",value:function(){var ke=this.getOptions(),Ge=ke.gravity,Xe=ke.wind,At=ke.friction,yt=ke.opacity,kt=ke.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=Ge,this.vx+=Xe,this.vx*=At,this.vy*=At,this.rotateY>=1&&this.rotationDirection===u.Positive?this.rotationDirection=u.Negative:this.rotateY<=-1&&this.rotationDirection===u.Negative&&(this.rotationDirection=u.Positive);var Nt=.1*this.rotationDirection;if(this.rotateY+=Nt,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=yt,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()}}])&&E(De.prototype,Fe),be&&E(De,be),xe})();function C(xe,De,Fe){return De in xe?Object.defineProperty(xe,De,{value:Fe,enumerable:!0,configurable:!0,writable:!0}):xe[De]=Fe,xe}var O=function xe(De,Fe){var be=this;(function(Ge,Xe){if(!(Ge instanceof Xe))throw new TypeError("Cannot call a class as a function")})(this,xe),C(this,"canvas",void 0),C(this,"context",void 0),C(this,"getOptions",void 0),C(this,"x",0),C(this,"y",0),C(this,"w",0),C(this,"h",0),C(this,"lastNumberOfPieces",0),C(this,"tweenInitTime",Date.now()),C(this,"particles",[]),C(this,"particlesGenerated",0),C(this,"removeParticleAt",function(Ge){be.particles.splice(Ge,1)}),C(this,"getParticle",function(){var Ge=v(be.x,be.w+be.x),Xe=v(be.y,be.h+be.y);return new T(be.context,be.getOptions,Ge,Xe)}),C(this,"animate",function(){var Ge=be.canvas,Xe=be.context,At=be.particlesGenerated,yt=be.lastNumberOfPieces,kt=be.getOptions(),Nt=kt.run,Ir=kt.recycle,yr=kt.numberOfPieces,Wr=kt.debug,$r=kt.tweenFunction,sn=kt.tweenDuration;if(!Nt)return!1;var Hr=be.particles.length,pt=Ir?Hr:At,et=Date.now();if(pt<yr){yt!==yr&&(be.tweenInitTime=et,be.lastNumberOfPieces=yr);
711for(var wr=be.tweenInitTime,Dr=$r(et-wr>sn?sn:Math.max(0,et-wr),pt,yr,sn),Sr=Math.round(Dr-pt),kr=0;kr<Sr;kr++)be.particles.push(be.getParticle());be.particlesGenerated+=Sr}return Wr&&(Xe.font="12px sans-serif",Xe.fillStyle="#333",Xe.textAlign="right",Xe.fillText("Particles: ".concat(Hr),Ge.width-10,Ge.height-20)),be.particles.forEach(function(qt,Sn){qt.update(),(qt.y>Ge.height||qt.y<-100||qt.x>Ge.width+100||qt.x<-100)&&(Ir&&pt<=yr?be.particles[Sn]=be.getParticle():be.removeParticleAt(Sn))}),Hr>0||pt<yr}),this.canvas=De;var ke=this.canvas.getContext("2d");if(!ke)throw new Error("Could not get canvas context");this.context=ke,this.getOptions=Fe};function R(xe,De){var Fe=Object.keys(xe);if(Object.getOwnPropertySymbols){var be=Object.getOwnPropertySymbols(xe);De&&(be=be.filter(function(ke){return Object.getOwnPropertyDescriptor(xe,ke).enumerable})),Fe.push.apply(Fe,be)}return Fe}function B(xe,De){for(var Fe=0;Fe<De.length;Fe++){var be=De[Fe];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(xe,be.key,be)}}function M(xe,De,Fe){return De in xe?Object.defineProperty(xe,De,{value:Fe,enumerable:!0,configurable:!0,writable:!0}):xe[De]=Fe,xe}var F={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},H=(function(){function xe(ke,Ge){var Xe=this;(function(yt,kt){if(!(yt instanceof kt))throw new TypeError("Cannot call a class as a function")})(this,xe),M(this,"canvas",void 0),M(this,"context",void 0),M(this,"_options",void 0),M(this,"generator",void 0),M(this,"rafId",void 0),M(this,"setOptionsWithDefaults",function(yt){var kt={confettiSource:{x:0,y:0,w:Xe.canvas.width,h:0}};Xe._options=(function(Nt){for(var Ir=1;Ir<arguments.length;Ir++){var yr=arguments[Ir]!=null?arguments[Ir]:{};Ir%2?R(yr,!0).forEach(function(Wr){M(Nt,Wr,yr[Wr])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Nt,Object.getOwnPropertyDescriptors(yr)):R(yr).forEach(function(Wr){Object.defineProperty(Nt,Wr,Object.getOwnPropertyDescriptor(yr,Wr))})}return Nt})({},kt,{},F,{},yt),Object.assign(Xe,yt.confettiSource)}),M(this,"update",function(){var yt=Xe.options,kt=yt.run,Nt=yt.onConfettiComplete,Ir=Xe.canvas,yr=Xe.context;kt&&(yr.fillStyle="white",yr.clearRect(0,0,Ir.width,Ir.height)),Xe.generator.animate()?Xe.rafId=requestAnimationFrame(Xe.update):(Nt&&typeof Nt=="function"&&Xe.generator.particlesGenerated>0&&Nt.call(Xe,Xe),Xe._options.run=!1)}),M(this,"reset",function(){Xe.generator&&Xe.generator.particlesGenerated>0&&(Xe.generator.particlesGenerated=0,Xe.generator.particles=[],Xe.generator.lastNumberOfPieces=0)}),M(this,"stop",function(){Xe.options={run:!1},Xe.rafId&&(cancelAnimationFrame(Xe.rafId),Xe.rafId=void 0)}),this.canvas=ke;var At=this.canvas.getContext("2d");if(!At)throw new Error("Could not get canvas context");this.context=At,this.generator=new O(this.canvas,function(){return Xe.options}),this.options=Ge,this.update()}var De,Fe,be;return De=xe,(Fe=[{key:"options",get:function(){return this._options},set:function(ke){var Ge=this._options&&this._options.run,Xe=this._options&&this._options.recycle;this.setOptionsWithDefaults(ke),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof ke.recycle=="boolean"&&ke.recycle&&Xe===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof ke.run=="boolean"&&ke.run&&Ge===!1&&this.update()}}])&&B(De.prototype,Fe),be&&B(De,be),xe})();function U(xe){return(function(De){if(Array.isArray(De)){for(var Fe=0,be=new Array(De.length);Fe<De.length;Fe++)be[Fe]=De[Fe];return be}})(xe)||(function(De){if(Symbol.iterator in Object(De)||Object.prototype.toString.call(De)==="[object Arguments]")return Array.from(De)})(xe)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}function W(xe){return(W=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(De){return typeof De}:function(De){return De&&typeof Symbol=="function"&&De.constructor===Symbol&&De!==Symbol.prototype?"symbol":typeof De})(xe)}function X(){return(X=Object.assign||function(xe){for(var De=1;De<arguments.length;De++){var Fe=arguments[De];for(var be in Fe)Object.prototype.hasOwnProperty.call(Fe,be)&&(xe[be]=Fe[be])}return xe}).apply(this,arguments)}function te(xe,De){var Fe=Object.keys(xe);if(Object.getOwnPropertySymbols){var be=Object.getOwnPropertySymbols(xe);De&&(be=be.filter(function(ke){return Object.getOwnPropertyDescriptor(xe,ke).enumerable})),Fe.push.apply(Fe,be)}return Fe}function q(xe){for(var De=1;De<arguments.length;De++){var Fe=arguments[De]!=null?arguments[De]:{};
711De%2?te(Fe,!0).forEach(function(be){Ce(xe,be,Fe[be])}):Object.getOwnPropertyDescriptors?Object.defineProperties(xe,Object.getOwnPropertyDescriptors(Fe)):te(Fe).forEach(function(be){Object.defineProperty(xe,be,Object.getOwnPropertyDescriptor(Fe,be))})}return xe}function ae(xe,De){return(function(Fe){if(Array.isArray(Fe))return Fe})(xe)||(function(Fe,be){var ke=[],Ge=!0,Xe=!1,At=void 0;try{for(var yt,kt=Fe[Symbol.iterator]();!(Ge=(yt=kt.next()).done)&&(ke.push(yt.value),!be||ke.length!==be);Ge=!0);}catch(Nt){Xe=!0,At=Nt}finally{try{Ge||kt.return==null||kt.return()}finally{if(Xe)throw At}}return ke})(xe,De)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function le(xe,De){for(var Fe=0;Fe<De.length;Fe++){var be=De[Fe];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(xe,be.key,be)}}function pe(xe){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(De){return De.__proto__||Object.getPrototypeOf(De)})(xe)}function ge(xe){if(xe===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return xe}function Ie(xe,De){return(Ie=Object.setPrototypeOf||function(Fe,be){return Fe.__proto__=be,Fe})(xe,De)}function Ce(xe,De,Fe){return De in xe?Object.defineProperty(xe,De,{value:Fe,enumerable:!0,configurable:!0,writable:!0}):xe[De]=Fe,xe}s.d(a,"ReactConfetti",function(){return ye});var Je=(function(xe){function De(Ge){var Xe,At;(function(Ir,yr){if(!(Ir instanceof yr))throw new TypeError("Cannot call a class as a function")})(this,De);for(var yt=arguments.length,kt=new Array(yt>1?yt-1:0),Nt=1;Nt<yt;Nt++)kt[Nt-1]=arguments[Nt];return At=(function(Ir,yr){return!yr||W(yr)!=="object"&&typeof yr!="function"?ge(Ir):yr})(this,(Xe=pe(De)).call.apply(Xe,[this,Ge].concat(kt))),Ce(ge(At),"canvas",m.a.createRef()),Ce(ge(At),"confetti",void 0),At.canvas=Ge.canvasRef||m.a.createRef(),At}var Fe,be,ke;return(function(Ge,Xe){if(typeof Xe!="function"&&Xe!==null)throw new TypeError("Super expression must either be null or a function");Ge.prototype=Object.create(Xe&&Xe.prototype,{constructor:{value:Ge,writable:!0,configurable:!0}}),Xe&&Ie(Ge,Xe)})(De,l.Component),Fe=De,(be=[{key:"componentDidMount",value:function(){if(this.canvas.current){var Ge=qe(this.props)[0];this.confetti=new H(this.canvas.current,Ge)}}},{key:"componentWillReceiveProps",value:function(Ge){var Xe=qe(Ge)[0];this.confetti&&(this.confetti.options=Xe)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var Ge=ae(qe(this.props),2),Xe=Ge[0],At=Ge[1],yt=q({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},At.style);return m.a.createElement("canvas",X({width:Xe.width,height:Xe.height,ref:this.canvas},At,{style:yt}))}}])&&le(Fe.prototype,be),ke&&le(Fe,ke),De})();function qe(xe){var De={},Fe={},be=[].concat(U(Object.keys(F)),["confettiSource","drawShape","onConfettiComplete"]),ke=["canvasRef"];for(var Ge in xe){var Xe=xe[Ge];be.includes(Ge)?De[Ge]=Xe:ke.includes(Ge)?ke[Ge]=Xe:Fe[Ge]=Xe}return[De,Fe,{}]}Ce(Je,"defaultProps",q({},F)),Ce(Je,"displayName","ReactConfetti");var ye=m.a.forwardRef(function(xe,De){return m.a.createElement(Je,X({canvasRef:De},xe))});a.default=ye}]).default})},26017(f,d,e){var n=e(25412);typeof Object.assign!="function"&&(Object.assign=function(E){"use strict";if(E==null)throw new TypeError("Cannot convert undefined or null to object");E=Object(E);for(var w=1;w<arguments.length;w++){var T=arguments[w];if(T!=null)for(var C in T)Object.prototype.hasOwnProperty.call(T,C)&&(E[C]=T[C])}return E});var r={},a=void 0;function s(){return!(!a||a.headersSent===!0)}function i(E,w){var T=typeof document>"u"?r:n.parse(document.cookie),C=T&&T[E];if(typeof w>"u"&&(w=!C||C[0]!=="{"&&C[0]!=="["),!w)try{C=JSON.parse(C)}catch{}return C}function u(E){var w=typeof document>"u"?r:n.parse(document.cookie);return w?E?Object.keys(w).reduce(function(T,C){if(!E.test(C))return T;var O={};return O[C]=w[C],Object.assign({},T,O)},{}):w:{}}function l(E,w,T){r[E]=w,typeof w=="object"&&(r[E]=JSON.stringify(w)),typeof document<"u"&&(document.cookie=n.seri
711alize(E,r[E],T)),s()&&a.cookie&&a.cookie(E,w,T)}function m(E,w){delete r[E],typeof w>"u"?w={}:typeof w=="string"?w={path:w}:w=Object.assign({},w),typeof document<"u"&&(w.expires=new Date(1970,1,1,0,0,1),w.maxAge=0,document.cookie=n.serialize(E,"",w)),s()&&a.clearCookie&&a.clearCookie(E,w)}function g(E){E?r=n.parse(E):r={}}function h(E,w){return E.cookie?r=E.cookie:E.cookies?r=E.cookies:E.headers&&E.headers.cookie?g(E.headers.cookie):r={},a=w,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},33258(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=(function(){function v(E,w){for(var T=0;T<w.length;T++){var C=w[T];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(E,C.key,C)}}return function(E,w,T){return w&&v(E.prototype,w),T&&v(E,T),E}})(),r=e(9608),a=u(r),s=e(48921),i=u(s);function u(v){return v&&v.__esModule?v:{default:v}}function l(v,E){if(!(v instanceof E))throw new TypeError("Cannot call a class as a function")}function m(v,E){if(!v)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return E&&(typeof E=="object"||typeof E=="function")?E:v}function g(v,E){if(typeof E!="function"&&E!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof E);v.prototype=Object.create(E&&E.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}),E&&(Object.setPrototypeOf?Object.setPrototypeOf(v,E):v.__proto__=E)}var h=(function(v){g(E,v);function E(){return l(this,E),m(this,(E.__proto__||Object.getPrototypeOf(E)).apply(this,arguments))}return n(E,[{key:"render",value:function(){return a.default.createElement("button",this.props,this.props.children)}}]),E})(a.default.Component);d.default=(0,i.default)(h)},97932(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(T){for(var C=1;C<arguments.length;C++){var O=arguments[C];for(var R in O)Object.prototype.hasOwnProperty.call(O,R)&&(T[R]=O[R])}return T},r=(function(){function T(C,O){for(var R=0;R<O.length;R++){var B=O[R];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(C,B.key,B)}}return function(C,O,R){return O&&T(C.prototype,O),R&&T(C,R),C}})(),a=e(9608),s=g(a),i=e(93016),u=g(i),l=e(98929),m=g(l);function g(T){return T&&T.__esModule?T:{default:T}}function h(T,C){if(!(T instanceof C))throw new TypeError("Cannot call a class as a function")}function v(T,C){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C&&(typeof C=="object"||typeof C=="function")?C:T}function E(T,C){if(typeof C!="function"&&C!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof C);T.prototype=Object.create(C&&C.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),C&&(Object.setPrototypeOf?Object.setPrototypeOf(T,C):T.__proto__=C)}var w=(function(T){E(C,T);function C(){return h(this,C),v(this,(C.__proto__||Object.getPrototypeOf(C)).apply(this,arguments))}return r(C,[{key:"render",value:function(){var R=this,B=n({},this.props);return delete B.name,B.parentBindings&&delete B.parentBindings,s.default.createElement("div",n({},B,{ref:function(F){R.props.parentBindings.domNode=F}}),this.props.children)}}]),C})(s.default.Component);w.propTypes={name:m.default.string,id:m.default.string},d.default=(0,u.default)(w)},70794(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(9608),r=i(n),a=e(48921),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 E,w,T,C;u(this,v);for(var O=arguments.length,R=Array(O),B=0;B<O;B++)R[B]=arguments[B];return C=(w=(T=l(this,(E=v.__proto__||Object.getPrototypeOf(v)).call.apply(E,[this].concat(R))),T),T.render=function(){return r.default.createElement("a",T.props,T.props.children)},w),l(T,C)}return v})(r.default.Component);d.default=(0,s.default)(g)},50343(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(70794),a=U(r),s=e(33258),i=U(s),u=e(97932),l=U(u),m=e(7029),g=U(m),h=e(57183),v=U(h),E=e(81122),w=U(E),T=e(77691),C=U(T),O=e(48921),R=U(O),B=e(93016),M=U(B),F=e(1703),H=U(F);function U(W){return W&&W.__esModule?W:{default:W}}n=a.default,n=i.default,n=l.default,n=g.default,n=v.default,n=w.default,n=C.default,n=R.default,n=M.default,n=H.default,d.Ay={Link:a.default,Button:i.default,Element:l.default,scroller:g.default,Events:v.default,scrollSpy:w.default,animateScroll:C.default,ScrollLink:R.default,ScrollElement:M.default,Helpers:H.default}},1703(f,d,e){"use strict";var n=Object.assign||function(C){for(var O=1;O<arguments.length;O++){var R=arguments[O];for(var B in R)Object.prototype.hasOwnProperty.call(R,B)&&(C[B]=R[B]
711)}return C},r=(function(){function C(O,R){for(var B=0;B<R.length;B++){var M=R[B];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(O,M.key,M)}}return function(O,R,B){return R&&C(O.prototype,R),B&&C(O,B),O}})();function a(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}function s(C,O){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:C}function i(C,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);C.prototype=Object.create(O&&O.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(C,O):C.__proto__=O)}var u=e(9608),l=e(58174),m=e(61367),g=e(81122),h=e(7029),v=e(98929),E=e(52961),w={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},T={Scroll:function(O,R){console.warn("Helpers.Scroll is deprecated since v1.7.0");var B=R||h,M=(function(H){i(U,H);function U(W){a(this,U);var X=s(this,(U.__proto__||Object.getPrototypeOf(U)).call(this,W));return F.call(X),X.state={active:!1},X}return r(U,[{key:"getScrollSpyContainer",value:function(){var X=this.props.containerId,te=this.props.container;return X?document.getElementById(X):te&&te.nodeType?te:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var X=this.getScrollSpyContainer();g.isMounted(X)||g.mount(X,this.props.spyThrottle),this.props.hashSpy&&(E.isMounted()||E.mount(B),E.mapContainer(this.props.to,X)),this.props.spy&&g.addStateHandler(this.stateHandler),g.addSpyHandler(this.spyHandler,X),this.setState({container:X})}}},{key:"componentWillUnmount",value:function(){g.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var X="";this.state&&this.state.active?X=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():X=this.props.className;var te=n({},this.props);for(var q in w)te.hasOwnProperty(q)&&delete te[q];return te.className=X,te.onClick=this.handleClick,u.createElement(O,te)}}]),U})(u.Component),F=function(){var U=this;this.scrollTo=function(W,X){B.scrollTo(W,n({},U.state,X))},this.handleClick=function(W){U.props.onClick&&U.props.onClick(W),W.stopPropagation&&W.stopPropagation(),W.preventDefault&&W.preventDefault(),U.scrollTo(U.props.to,U.props)},this.stateHandler=function(){B.getActiveLink()!==U.props.to&&(U.state!==null&&U.state.active&&U.props.onSetInactive&&U.props.onSetInactive(),U.setState({active:!1}))},this.spyHandler=function(W){var X=U.getScrollSpyContainer();if(!(E.isMounted()&&!E.isInitialized())){var te=U.props.to,q=null,ae=0,le=0,pe=0;if(X.getBoundingClientRect){var ge=X.getBoundingClientRect();pe=ge.top}if(!q||U.props.isDynamic){if(q=B.get(te),!q)return;var Ie=q.getBoundingClientRect();ae=Ie.top-pe+W,le=ae+Ie.height}var Ce=W-U.props.offset,Je=Ce>=Math.floor(ae)&&Ce<Math.floor(le),qe=Ce<Math.floor(ae)||Ce>=Math.floor(le),ye=B.getActiveLink();if(qe)return te===ye&&B.setActiveLink(void 0),U.props.hashSpy&&E.getHash()===te&&E.changeHash(),U.props.spy&&U.state.active&&(U.setState({active:!1}),U.props.onSetInactive&&U.props.onSetInactive()),g.updateStates();if(Je&&ye!==te)return B.setActiveLink(te),U.props.hashSpy&&E.changeHash(te),U.props.spy&&(U.setState({active:!0}),U.props.onSetActive&&U.props.onSetActive(te)),g.updateStates()}}};return M.propTypes=w,M.defaultProps={offset:0},M},Element:function(O){console.warn("Helpers.Element is deprecated since v1.7.0");var R=(function(B){i(M,B);function M(F){a(this,M);var H=s(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,F));return H.childBindings={domNode:null},H}return r(M,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(H){this.props.name!==H.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){h.register(H,this.childBindings.domNo
711de)}},{key:"render",value:function(){return u.createElement(O,n({},this.props,{parentBindings:this.childBindings}))}}]),M})(u.Component);return R.propTypes={name:v.string,id:v.string},R}};f.exports=T},77691(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(le){for(var pe=1;pe<arguments.length;pe++){var ge=arguments[pe];for(var Ie in ge)Object.prototype.hasOwnProperty.call(ge,Ie)&&(le[Ie]=ge[Ie])}return le},r=e(61367),a=h(r),s=e(51166),i=h(s),u=e(11190),l=h(u),m=e(57183),g=h(m);function h(le){return le&&le.__esModule?le:{default:le}}var v=function(pe){return i.default[pe.smooth]||i.default.defaultEasing},E=function(pe){return typeof pe=="function"?pe:function(){return pe}},w=function(){if(typeof window<"u")return window.requestAnimationFrame||window.webkitRequestAnimationFrame},T=(function(){return w()||function(le,pe,ge){window.setTimeout(le,ge||1e3/60,new Date().getTime())}})(),C=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}},O=function(pe){var ge=pe.data.containerElement;if(ge&&ge!==document&&ge!==document.body)return ge.scrollLeft;var Ie=window.pageXOffset!==void 0,Ce=(document.compatMode||"")==="CSS1Compat";return Ie?window.pageXOffset:Ce?document.documentElement.scrollLeft:document.body.scrollLeft},R=function(pe){var ge=pe.data.containerElement;if(ge&&ge!==document&&ge!==document.body)return ge.scrollTop;var Ie=window.pageXOffset!==void 0,Ce=(document.compatMode||"")==="CSS1Compat";return Ie?window.pageYOffset:Ce?document.documentElement.scrollTop:document.body.scrollTop},B=function(pe){var ge=pe.data.containerElement;if(ge&&ge!==document&&ge!==document.body)return ge.scrollWidth-ge.offsetWidth;var Ie=document.body,Ce=document.documentElement;return Math.max(Ie.scrollWidth,Ie.offsetWidth,Ce.clientWidth,Ce.scrollWidth,Ce.offsetWidth)},M=function(pe){var ge=pe.data.containerElement;if(ge&&ge!==document&&ge!==document.body)return ge.scrollHeight-ge.offsetHeight;var Ie=document.body,Ce=document.documentElement;return Math.max(Ie.scrollHeight,Ie.offsetHeight,Ce.clientHeight,Ce.scrollHeight,Ce.offsetHeight)},F=function le(pe,ge,Ie){var Ce=ge.data;if(!ge.ignoreCancelEvents&&Ce.cancel){g.default.registered.end&&g.default.registered.end(Ce.to,Ce.target,Ce.currentPositionY);return}if(Ce.delta=Math.round(Ce.targetPosition-Ce.startPosition),Ce.start===null&&(Ce.start=Ie),Ce.progress=Ie-Ce.start,Ce.percent=Ce.progress>=Ce.duration?1:pe(Ce.progress/Ce.duration),Ce.currentPosition=Ce.startPosition+Math.ceil(Ce.delta*Ce.percent),Ce.containerElement&&Ce.containerElement!==document&&Ce.containerElement!==document.body?ge.horizontal?Ce.containerElement.scrollLeft=Ce.currentPosition:Ce.containerElement.scrollTop=Ce.currentPosition:ge.horizontal?window.scrollTo(Ce.currentPosition,0):window.scrollTo(0,Ce.currentPosition),Ce.percent<1){var Je=le.bind(null,pe,ge);T.call(window,Je);return}g.default.registered.end&&g.default.registered.end(Ce.to,Ce.target,Ce.currentPosition)},H=function(pe){pe.data.containerElement=pe?pe.containerId?document.getElementById(pe.containerId):pe.container&&pe.container.nodeType?pe.container:document:null},U=function(pe,ge,Ie,Ce){ge.data=ge.data||C(),window.clearTimeout(ge.data.delayTimeout);var Je=function(){ge.data.cancel=!0};if(l.default.subscribe(Je),H(ge),ge.data.start=null,ge.data.cancel=!1,ge.data.startPosition=ge.horizontal?O(ge):R(ge),ge.data.targetPosition=ge.absolute?pe:pe+ge.data.startPosition,ge.data.startPosition===ge.data.targetPosition){g.default.registered.end&&g.default.registered.end(ge.data.to,ge.data.target,ge.data.currentPosition);return}ge.data.delta=Math.round(ge.data.targetPosition-ge.data.startPosition),ge.data.duration=E(ge.duration)(ge.data.delta),ge.data.duration=isNaN(parseFloat(ge.data.duration))?1e3:parseFloat(ge.data.duration),ge.data.to=Ie,ge.data.target=Ce;var qe=v(ge),ye=F.bind(null,qe,ge);if(ge&&ge.delay>0){ge.data.delayTimeout=window.setTimeout(function(){g.default.registered.begin&&g.default.registered.begin(ge.data.to,ge.data.target),T.call(window,ye)},ge.delay);return}g.default.registered.begin&&g.default.registered.begin(ge.data.to,ge.data.target),T.call(window,ye)},W=function(pe){return pe=n({},pe),pe.data=pe.data||C(),pe.absolute=!0,pe},X=function(pe){U(0,W(pe))},te=function(pe,ge){U(pe,W(ge))},q=function(pe){pe=W(pe),H(pe),U(pe.horizontal?B(pe):M(pe),pe)},ae=function(pe,ge){ge=W(ge),H(ge);var Ie=ge.horizontal?O(ge):R(ge);U(pe+Ie,ge)};d.default={animateTopScroll:U,getAnimationType:v,scrollToTop:X,scrollToBottom:q,scrollTo:te,scrollMore:ae}},11190(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(29946),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)})}}},29946(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},93016(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(C){for(var O=1;O<arguments.length;O++){var R=arguments[O];for(var B in R)Object.prototype.hasOwnProperty.call(R,B)&&(C[B]=R[B]
711)}return C},r=(function(){function C(O,R){for(var B=0;B<R.length;B++){var M=R[B];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(O,M.key,M)}}return function(O,R,B){return R&&C(O.prototype,R),B&&C(O,B),O}})(),a=e(9608),s=v(a),i=e(58174),u=v(i),l=e(7029),m=v(l),g=e(98929),h=v(g);function v(C){return C&&C.__esModule?C:{default:C}}function E(C,O){if(!(C instanceof O))throw new TypeError("Cannot call a class as a function")}function w(C,O){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O&&(typeof O=="object"||typeof O=="function")?O:C}function T(C,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof O);C.prototype=Object.create(O&&O.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(C,O):C.__proto__=O)}d.default=function(C){var O=(function(R){T(B,R);function B(M){E(this,B);var F=w(this,(B.__proto__||Object.getPrototypeOf(B)).call(this,M));return F.childBindings={domNode:null},F}return r(B,[{key:"componentDidMount",value:function(){if(typeof window>"u")return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(F){this.props.name!==F.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(F){m.default.register(F,this.childBindings.domNode)}},{key:"render",value:function(){return s.default.createElement(C,n({},this.props,{parentBindings:this.childBindings}))}}]),B})(s.default.Component);return O.propTypes={name:h.default.string,id:h.default.string},O}},57183(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},52961(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(29946),r=e(61367),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},48921(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(B){for(var M=1;M<arguments.length;M++){var F=arguments[M];for(var H in F)Object.prototype.hasOwnProperty.call(F,H)&&(B[H]=F[H])}return B},r=(function(){function B(M,F){for(var H=0;H<F.length;H++){var U=F[H];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(M,U.key,U)}}return function(M,F,H){return F&&B(M.prototype,F),H&&B(M,H),M}})(),a=e(9608),s=w(a),i=e(81122),u=w(i),l=e(7029),m=w(l),g=e(98929),h=w(g),v=e(52961),E=w(v);function w(B){return B&&B.__esModule?B:{default:B}}function T(B,M){if(!(B instanceof M))throw new TypeError("Cannot call a class as a function")}function C(B,M){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:B}function O(B,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);
711B.prototype=Object.create(M&&M.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(B,M):B.__proto__=M)}var R={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(B,M){var F=M||m.default,H=(function(W){O(X,W);function X(te){T(this,X);var q=C(this,(X.__proto__||Object.getPrototypeOf(X)).call(this,te));return U.call(q),q.state={active:!1},q}return r(X,[{key:"getScrollSpyContainer",value:function(){var q=this.props.containerId,ae=this.props.container;return q&&!ae?document.getElementById(q):ae&&ae.nodeType?ae:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var q=this.getScrollSpyContainer();u.default.isMounted(q)||u.default.mount(q,this.props.spyThrottle),this.props.hashSpy&&(E.default.isMounted()||E.default.mount(F),E.default.mapContainer(this.props.to,q)),u.default.addSpyHandler(this.spyHandler,q),this.setState({container:q})}}},{key:"componentWillUnmount",value:function(){u.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var q="";this.state&&this.state.active?q=((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():q=this.props.className;var ae={};this.state&&this.state.active?ae=n({},this.props.style,this.props.activeStyle):ae=n({},this.props.style);var le=n({},this.props);for(var pe in R)le.hasOwnProperty(pe)&&delete le[pe];return le.className=q,le.style=ae,le.onClick=this.handleClick,s.default.createElement(B,le)}}]),X})(s.default.PureComponent),U=function(){var X=this;this.scrollTo=function(te,q){F.scrollTo(te,n({},X.state,q))},this.handleClick=function(te){X.props.onClick&&X.props.onClick(te),te.stopPropagation&&te.stopPropagation(),te.preventDefault&&te.preventDefault(),X.scrollTo(X.props.to,X.props)},this.spyHandler=function(te,q){var ae=X.getScrollSpyContainer();if(!(E.default.isMounted()&&!E.default.isInitialized())){var le=X.props.horizontal,pe=X.props.to,ge=null,Ie=void 0,Ce=void 0;if(le){var Je=0,qe=0,ye=0;if(ae.getBoundingClientRect){var xe=ae.getBoundingClientRect();ye=xe.left}if(!ge||X.props.isDynamic){if(ge=F.get(pe),!ge)return;var De=ge.getBoundingClientRect();Je=De.left-ye+te,qe=Je+De.width}var Fe=te-X.props.offset;Ie=Fe>=Math.floor(Je)&&Fe<Math.floor(qe),Ce=Fe<Math.floor(Je)||Fe>=Math.floor(qe)}else{var be=0,ke=0,Ge=0;if(ae.getBoundingClientRect){var Xe=ae.getBoundingClientRect();Ge=Xe.top}if(!ge||X.props.isDynamic){if(ge=F.get(pe),!ge)return;var At=ge.getBoundingClientRect();be=At.top-Ge+q,ke=be+At.height}var yt=q-X.props.offset;Ie=yt>=Math.floor(be)&&yt<Math.floor(ke),Ce=yt<Math.floor(be)||yt>=Math.floor(ke)}var kt=F.getActiveLink();if(Ce){if(pe===kt&&F.setActiveLink(void 0),X.props.hashSpy&&E.default.getHash()===pe){var Nt=X.props.saveHashHistory,Ir=Nt===void 0?!1:Nt;E.default.changeHash("",Ir)}X.props.spy&&X.state.active&&(X.setState({active:!1}),X.props.onSetInactive&&X.props.onSetInactive(pe,ge))}if(Ie&&(kt!==pe||X.state.active===!1)){F.setActiveLink(pe);var yr=X.props.saveHashHistory,Wr=yr===void 0?!1:yr;X.props.hashSpy&&E.default.changeHash(pe,Wr),X.props.spy&&(X.setState({active:!0}),X.props.onSetActive&&X.props.onSetActive(pe,ge))}}}};return H.propTypes=R,H.defaultProps={offset:0},H}},81122(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=e(17128),r=s(n),a=e(29946);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()})}
711,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)},update:function(){return u.scrollSpyContainers.forEach(function(m){return u.scrollHandler(m)})}};d.default=u},7029(f,d,e){"use strict";Object.defineProperty(d,"__esModule",{value:!0});var n=Object.assign||function(v){for(var E=1;E<arguments.length;E++){var w=arguments[E];for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(v[T]=w[T])}return v},r=e(61367),a=m(r),s=e(77691),i=m(s),u=e(57183),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(E,w){g[E]=w},unregister:function(E){delete g[E]},get:function(E){return g[E]||document.getElementById(E)||document.getElementsByName(E)[0]||document.getElementsByClassName(E)[0]},setActiveLink:function(E){return h=E},getActiveLink:function(){return h},scrollTo:function(E,w){var T=this.get(E);if(!T){console.warn("target Element not found");return}w=n({},w,{absolute:!1});var C=w.containerId,O=w.container,R=void 0;C?R=document.getElementById(C):O&&O.nodeType?R=O:R=document,w.absolute=!0;var B=w.horizontal,M=a.default.scrollOffset(R,T,B)+(w.offset||0);if(!w.smooth){l.default.registered.begin&&l.default.registered.begin(E,T),R===document?w.horizontal?window.scrollTo(M,0):window.scrollTo(0,M):R.scrollTop=M,l.default.registered.end&&l.default.registered.end(E,T);return}i.default.animateTopScroll(M,w,E,T)}}},51166(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}}},61367(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,E=h?v.pathname+v.search+h:v.pathname+v.search;m?history.pushState(history.state,"",E):history.replaceState(history.state,"",E)},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(O){return O===l||O===document},v=s(m,h),E=v.offsetTop,w=v.offsetParent;if(w!==l)throw new Error("Seems containerElement is not an ancestor of the Element");return E}return m.offsetTop}if(m.offsetParent===l.offsetParent)return m.offsetTop-l.offsetTop;var T=function(O){return O===document};return s(m,T).offsetTop-s(l,T).offsetTop};d.default={updateHash:e,getHash:n,filterElementInContainer:r,scrollOffset:i}},94736(f,d,e){"use strict";e.d(d,{A:()=>T});var n=e(63398),r=e(76841),a=e(52316);function s(C,O){return C.classList?!!O&&C.classList.contains(O):(" "+(C.className.baseVal||C.className)+" ").indexOf(" "+O+" ")!==-1}function i(C,O){C.classList?C.classList.add(O):s(C,O)||(typeof C.className=="string"?C.className=C.className+" "+O:C.setAttribute("class",(C.className&&C.className.baseVal||"")+" "+O))}
vendor: 8,449 bytes, line 711
711function u(C,O){return C.replace(new RegExp("(^|\\s)"+O+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function l(C,O){C.classList?C.classList.remove(O):typeof C.className=="string"?C.className=u(C.className,O):C.setAttribute("class",u(C.className&&C.className.baseVal||"",O))}var m=e(9608),g=e(20034),h=e(72359),v=function(O,R){return O&&R&&R.split(" ").forEach(function(B){return i(O,B)})},E=function(O,R){return O&&R&&R.split(" ").forEach(function(B){return l(O,B)})},w=(function(C){(0,a.A)(O,C);function O(){for(var B,M=arguments.length,F=new Array(M),H=0;H<M;H++)F[H]=arguments[H];return B=C.call.apply(C,[this].concat(F))||this,B.appliedClasses={appear:{},enter:{},exit:{}},B.onEnter=function(U,W){var X=B.resolveArguments(U,W),te=X[0],q=X[1];B.removeClasses(te,"exit"),B.addClass(te,q?"appear":"enter","base"),B.props.onEnter&&B.props.onEnter(U,W)},B.onEntering=function(U,W){var X=B.resolveArguments(U,W),te=X[0],q=X[1],ae=q?"appear":"enter";B.addClass(te,ae,"active"),B.props.onEntering&&B.props.onEntering(U,W)},B.onEntered=function(U,W){var X=B.resolveArguments(U,W),te=X[0],q=X[1],ae=q?"appear":"enter";B.removeClasses(te,ae),B.addClass(te,ae,"done"),B.props.onEntered&&B.props.onEntered(U,W)},B.onExit=function(U){var W=B.resolveArguments(U),X=W[0];B.removeClasses(X,"appear"),B.removeClasses(X,"enter"),B.addClass(X,"exit","base"),B.props.onExit&&B.props.onExit(U)},B.onExiting=function(U){var W=B.resolveArguments(U),X=W[0];B.addClass(X,"exit","active"),B.props.onExiting&&B.props.onExiting(U)},B.onExited=function(U){var W=B.resolveArguments(U),X=W[0];B.removeClasses(X,"exit"),B.addClass(X,"exit","done"),B.props.onExited&&B.props.onExited(U)},B.resolveArguments=function(U,W){return B.props.nodeRef?[B.props.nodeRef.current,U]:[U,W]},B.getClassNames=function(U){var W=B.props.classNames,X=typeof W=="string",te=X&&W?W+"-":"",q=X?""+te+U:W[U],ae=X?q+"-active":W[U+"Active"],le=X?q+"-done":W[U+"Done"];return{baseClassName:q,activeClassName:ae,doneClassName:le}},B}var R=O.prototype;return R.addClass=function(M,F,H){var U=this.getClassNames(F)[H+"ClassName"],W=this.getClassNames("enter"),X=W.doneClassName;F==="appear"&&H==="done"&&X&&(U+=" "+X),H==="active"&&M&&(0,h.F)(M),U&&(this.appliedClasses[F][H]=U,v(M,U))},R.removeClasses=function(M,F){var H=this.appliedClasses[F],U=H.base,W=H.active,X=H.done;this.appliedClasses[F]={},U&&E(M,U),W&&E(M,W),X&&E(M,X)},R.render=function(){var M=this.props,F=M.classNames,H=(0,r.A)(M,["classNames"]);return m.createElement(g.Ay,(0,n.A)({},H,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},O})(m.Component);w.defaultProps={classNames:""},w.propTypes={};const T=w},20034(f,d,e){"use strict";e.d(d,{Ay:()=>C});var n=e(76841),r=e(52316),a=e(9608),s=e(58174);const i={disabled:!1};var u=e(3533),l=e(72359),m="unmounted",g="exited",h="entering",v="entered",E="exiting",w=(function(O){(0,r.A)(R,O);function R(M,F){var H;H=O.call(this,M,F)||this;var U=F,W=U&&!U.isMounting?M.enter:M.appear,X;return H.appearStatus=null,M.in?W?(X=g,H.appearStatus=h):X=v:M.unmountOnExit||M.mountOnEnter?X=m:X=g,H.state={status:X},H.nextCallback=null,H}R.getDerivedStateFromProps=function(F,H){var U=F.in;return U&&H.status===m?{status:g}:null};var B=R.prototype;return B.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},B.componentDidUpdate=function(F){var H=null;if(F!==this.props){var U=this.state.status;this.props.in?U!==h&&U!==v&&(H=h):(U===h||U===v)&&(H=E)}this.updateStatus(!1,H)},B.componentWillUnmount=function(){this.cancelNextCallback()},B.getTimeouts=function(){var F=this.props.timeout,H,U,W;return H=U=W=F,F!=null&&typeof F!="number"&&(H=F.exit,U=F.enter,W=F.appear!==void 0?F.appear:U),{exit:H,enter:U,appear:W}},B.updateStatus=function(F,H){if(F===void 0&&(F=!1),H!==null)if(this.cancelNextCallback(),H===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var U=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this);U&&(0,l.F)(U)}this.performEnter(F)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:m})},B.performEnter=function(F){var H=this,U=this.props.enter,W=this.context?this.context.isMounting:F,X=this.props.nodeRef?[W]:[s.findDOMNode(this),W],te=X[0],q=X[1],ae=this.getTimeouts(),le=W?ae.appear:ae.enter;if(!F&&!U||i.disabled){this.safeSetState({status:v},function(){H.props.onEntered(te)});return}this.props.onEnter(te,q),this.safeSetState({status:h},function(){H.props.onEntering(te,q),H.onTransitionEnd(le,function(){H.safeSetState({status:v},function(){H.props.onEntered(te,q)})})})},B.performExit=function(){var F=this,H=this.props.exit,U=this.getTimeouts(),W=this.props.nodeRef?void 0:s.findDOMNode(this);if(!H||i.disabled){this.safeSetState({status:g},function(){F.props.onExited(W)});return}this.props.onExit(W),this.safeSetState({status:E},function(){F.props.onExiting(W),F.onTransitionEnd(U.exit,function(){F.safeSetState({status:g},function(){F.props.onExited(W)})})})},B.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},B.safeSetState=function(F,H){H=this.setNextCallback(H),this.setState(F,H)},B.setNextCallback=function(F){var H=this,U=!0;return this.nextCallback=function(W){U&&(U=!1,H.nextCallback=null,F(W))},this.nextCallback.cancel=function(){U=!1},this.nextCallback},B.onTransitionEnd=function(F,H){this.setNextCallback(H);var U=this.props.nodeRef?this.props.nodeRef.current:s.findDOMNode(this),W=F==null&&!this.props.addEndListener;if(!U||W){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var X=this.props.nodeRef?[this.nextCallback]:[U,this.nextCallback],te=X[0],q=X[1];this.props.addEndListener(te,q)}F!=null&&setTimeout(this.nextCallback,F)},B.render=function(){var F=this.state.status;if(F===m)return null;var H=this.props,U=H.children,W=H.in,X=H.mountOnEnter,te=H.unmountOnExit,q=H.appear,ae=H.enter,le=H.exit,pe=H.timeout,ge=H.addEndListener,Ie=H.onEnter,Ce=H.onEntering,Je=H.onEntered,qe=H.onExit,ye=H.onExiting,xe=H.onExited,De=H.nodeRef,Fe=(0,n.A)(H,["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 U=="function"?U(F,Fe):a.cloneElement(a.Children.only(U),Fe))},R})(a.Component);w.contextType=u.A,w.propTypes={};function T(){}w.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:T,onEntering:T,onEntered:T,onExit:T,onExiting:T,onExited:T},w.UNMOUNTED=m,w.EXITED=g,w.ENTERING=h,w.ENTERED=v,w.EXITING=E;const C=w},4912(f,d,e){"use strict";e.d(d,{A:()=>C});var n=e(76841),r=e(63398);function a(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}var s=e(52316),i=e(9608),u=e(3533);function l(O,R){var B=function(H){return R&&(0,i.isValidElement)(H)?R(H):H},M=Object.create(null);return O&&i.Children.map(O,function(F){return F}).forEach(function(F){M[F.key]=B(F)}),M}function m(O,R){O=O||{},R=R||{};function B(q){return q in R?R[q]:O[q]}var M=Object.create(null),F=[];for(var H in O)H in R?F.length&&(M[H]=F,F=[]):F.push(H);var U,W={};for(var X in R){if(M[X])for(U=0;U<M[X].length;U++){var te=M[X][U];W[M[X][U]]=B(te)}W[X]=B(X)}for(U=0;U<F.length;U++)W[F[U]]=B(F[U]);return W}function g(O,R,B){return B[R]!=null?B[R]:O.props[R]}function h(O,R){return l(O.children,function(B){return(0,i.cloneElement)(B,{onExited:R.bind(null,B),in:!0,appear:g(B,"appear",O),enter:g(B,"enter",O),exit:g(B,"exit",O)})})}function v(O,R,B){var M=l(O.children),F=m(R,M);return Object.keys(F).forEach(function(H){var U=F[H];if((0,i.isValidElement)(U)){var W=H in R,X=H in M,te=R[H],q=(0,i.isValidElement)(te)&&!te.props.in;X&&(!W||q)?F[H]=(0,i.cloneElement)(U,{onExited:B.bind(null,U),in:!0,exit:g(U,"exit",O),enter:g(U,"enter",O)}):!X&&W&&!q?F[H]=(0,i.cloneElement)(U,{in:!1}):X&&W&&(0,i.isValidElement)(te)&&(F[H]=(0,i.cloneElement)(U,{onExited:B.bind(null,U),in:te.props.in,exit:g(U,"exit",O),enter:g(U,"enter",O)}))}}),F}var E=Object.values||function(O){return Object.keys(O).map(function(R){return O[R]})},w={component:"div",childFactory:function(R){return R}},T=(function(O){(0,s.A)(R,O);function R(M,F){var H;H=O.call(this,M,F)||this;var U=H.handleExited.bind(a(H));return H.state={contextValue:{isMounting:!0}
711,handleExited:U,firstRender:!0},H}var B=R.prototype;return B.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},B.componentWillUnmount=function(){this.mounted=!1},R.getDerivedStateFromProps=function(F,H){var U=H.children,W=H.handleExited,X=H.firstRender;return{children:X?h(F,W):v(F,U,W),firstRender:!1}},B.handleExited=function(F,H){var U=l(this.props.children);F.key in U||(F.props.onExited&&F.props.onExited(H),this.mounted&&this.setState(function(W){var X=(0,r.A)({},W.children);return delete X[F.key],{children:X}}))},B.render=function(){var F=this.props,H=F.component,U=F.childFactory,W=(0,n.A)(F,["component","childFactory"]),X=this.state.contextValue,te=E(this.state.children).map(U);return delete W.appear,delete W.enter,delete W.exit,H===null?i.createElement(u.A.Provider,{value:X},te):i.createElement(u.A.Provider,{value:X},i.createElement(H,W,te))},R})(i.Component);T.propTypes={},T.defaultProps=w;const C=T},3533(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(9608);const r=n.createContext(null)},72359(f,d,e){"use strict";e.d(d,{F:()=>n});var n=function(a){return a.scrollTop}},7148(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"},63302(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(9608),r=e(7148),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(T){var C=u.current;C&&!C.contains(T.target)&&g.current(T)},v=0,E=m;v<E.length;v++){var w=E[v];(0,r.on)(document,w,h)}return function(){for(var T=0,C=m;T<C.length;T++){var O=C[T];(0,r.AU)(document,O,h)}}},[m,u])};const i=s},28970(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(9608),r=function(s){(0,n.useEffect)(s,[])};const a=r},35672(f,d,e){"use strict";e.d(d,{A:()=>l});var n=e(9608),r=e(7148),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},86972(f,d,e){"use strict";e.d(d,{S:()=>r});var n=e(9608);function r(){var a=(0,n.useRef)(!0);return a.current?(a.current=!1,!0):a.current}},10282(f,d,e){"use strict";e.d(d,{A:()=>i});var n=e(9608),r=e(7148),a=n.useState,s=function(u){var l=a(!1),m=l[0],g=l[1],h=function(w){return function(T){(w||r.lQ)(T),g(!0)}},v=function(w){return function(T){(w||r.lQ)(T),g(!1)}};typeof u=="function"&&(u=u(m));var E=n.cloneElement(u,{onMouseEnter:h(u.props.onMouseEnter),onMouseLeave:v(u.props.onMouseLeave)});return[E,m]};const i=s},4563(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(9608),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},20568(f,d,e){"use strict";e.d(d,{A:()=>w});var n=e(9608),r=e(35672),a=e(7148),s=function(T){return typeof T=="function"?T:typeof T=="string"?function(C){return C.key===T}:T?function(){return!0}:function(){return!1}},i=function(T,C,O,R){C===void 0&&(C=a.lQ),O===void 0&&(O={}),R===void 0&&(R=[T]);var B=O.event,M=B===void 0?"keydown":B,F=O.target,H=O.options,U=(0,n.useMemo)(function(){var W=s(T),X=function(te){if(W(te))return C(te)};return X},R);(0,r.A)(M,U,F,H)};const u=i;var l=function(T){var C=(0,n.useState)([!1,null]),O=C[0],R=C[1];return u(T,function(B){return R([!0,B])},{event:"keydown"},[O]),u(T,function(B){return R([!1,B])},{event:"keyup"},[O]),O};const m=l;var g=e(86972),h=function(T,C){var O=(0,g.S)();(0,n.useEffect)(function(){if(!O)return T()},C)};const v=h;var E=function(T,C,O,R){R===void 0&&(R=m);var B=R(T),M=B[0],F=B[1];v(function(){!M&&O?O(F):M&&C&&C(F)},[M])};const w=E},94839(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(9608),r=function(s,i){(0,n.useEffect)(function(){return s&&s(),function(){i&&i()}},[])};const a=r},14361(f,d,e){"use strict";e.d(d,{A:()=>a});var n=e(28970),r=function(s){(0,n.A)(function(){s()})};const a=r},28019(f,d,e){"use strict";e.d(d,{A:()=>r});var n=e(9608);function r(a){var s=(0,n.useRef)();return(0,n.useEffect)(function(){s.current=a}),s.current}},4412(f,d,e){"use strict";e.d(d,{A:()=>s});var n=e(9608),r=e(28970),a=function(i){var u=(0,n.useRef)(i);u.current=i,(0,r.A)(function(){return function(){return u.current()}})};const s=a},89699(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},1463(f,d,e){"use strict";f.exports=e(89699)},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,E=0;E<v;E++)if(!m(g[E],h[E]))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 E=arguments.length,w=Array(E),T=0;T<E;T++)w[T]=arguments[T];var C=0,O=w.pop(),R=s(w),B=m.apply(void 0,[function(){return C++,O.apply(null,arguments)}].concat(h)),M=m(function(){for(var F=[],H=R.length,U=0;U<H;U++)F.push(R[U].apply(null,arguments));return B.apply(null,F)});return M.resultFunc=O,M.dependencies=R,M.recomputations=function(){return C},M.resetRecomputations=function(){return C=0},M}}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,E=Array(v),w=0;w<v;w++)E[w]=arguments[w];return E.reduce(function(T,C,O){return T[h[O]]=C,T},{})})}},86885(f,d,e){"use strict";const n=Symbol("SemVer ANY");class r{static get ANY(){return n}constructor(v,E){if(E=a(E),v instanceof r){if(v.loose===!!E.loose)return v;v=v.value}v=v.trim().split(/\s+/).join(" "),l("comparator",v,E),this.options=E,this.loose=!!E.loose,this.parse(v),this.semver===n?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(v){const E=this.options.loose?s[i.COMPARATORLOOSE]:s[i.COMPARATOR],w=v.match(E);if(!w)throw new TypeError(`Invalid comparator: ${v}`);this.operator=w[1]!==void 0?w[1]:"",this.operator==="="&&(this.operator=""),w[2]?this.semver=new m(w[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;
vendor: 7,484 bytes, line 719
719if(typeof v=="string")try{v=new m(v,this.options)}catch{return!1}return u(v,this.operator,this.semver,this.options)}intersects(v,E){if(!(v instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new g(v.value,E).test(this.value):v.operator===""?v.value===""?!0:new g(this.value,E).test(v.semver):(E=a(E),E.includePrerelease&&(this.value==="<0.0.0-0"||v.value==="<0.0.0-0")||!E.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,E)&&this.operator.startsWith(">")&&v.operator.startsWith("<")||u(this.semver,">",v.semver,E)&&this.operator.startsWith("<")&&v.operator.startsWith(">")))}}f.exports=r;const a=e(52622),{safeRe:s,t:i}=e(65649),u=e(82348),l=e(78857),m=e(2269),g=e(98732)},98732(f,d,e){"use strict";const n=/\s+/g;class r{constructor(Ce,Je){if(Je=i(Je),Ce instanceof r)return Ce.loose===!!Je.loose&&Ce.includePrerelease===!!Je.includePrerelease?Ce:new r(Ce.raw,Je);if(Ce instanceof u)return this.raw=Ce.value,this.set=[[Ce]],this.formatted=void 0,this;if(this.options=Je,this.loose=!!Je.loose,this.includePrerelease=!!Je.includePrerelease,this.raw=Ce.trim().replace(n," "),this.set=this.raw.split("||").map(qe=>this.parseRange(qe.trim())).filter(qe=>qe.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const qe=this.set[0];if(this.set=this.set.filter(ye=>!O(ye[0])),this.set.length===0)this.set=[qe];else if(this.set.length>1){for(const ye of this.set)if(ye.length===1&&R(ye[0])){this.set=[ye];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let Ce=0;Ce<this.set.length;Ce++){Ce>0&&(this.formatted+="||");const Je=this.set[Ce];for(let qe=0;qe<Je.length;qe++)qe>0&&(this.formatted+=" "),this.formatted+=Je[qe].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(Ce){const qe=((this.options.includePrerelease&&T)|(this.options.loose&&C))+":"+Ce,ye=s.get(qe);if(ye)return ye;const xe=this.options.loose,De=xe?g[h.HYPHENRANGELOOSE]:g[h.HYPHENRANGE];Ce=Ce.replace(De,pe(this.options.includePrerelease)),l("hyphen replace",Ce),Ce=Ce.replace(g[h.COMPARATORTRIM],v),l("comparator trim",Ce),Ce=Ce.replace(g[h.TILDETRIM],E),l("tilde trim",Ce),Ce=Ce.replace(g[h.CARETTRIM],w),l("caret trim",Ce);let Fe=Ce.split(" ").map(Xe=>M(Xe,this.options)).join(" ").split(/\s+/).map(Xe=>le(Xe,this.options));xe&&(Fe=Fe.filter(Xe=>(l("loose invalid filter",Xe,this.options),!!Xe.match(g[h.COMPARATORLOOSE])))),l("range list",Fe);const be=new Map,ke=Fe.map(Xe=>new u(Xe,this.options));for(const Xe of ke){if(O(Xe))return[Xe];be.set(Xe.value,Xe)}be.size>1&&be.has("")&&be.delete("");const Ge=[...be.values()];return s.set(qe,Ge),Ge}intersects(Ce,Je){if(!(Ce instanceof r))throw new TypeError("a Range is required");return this.set.some(qe=>B(qe,Je)&&Ce.set.some(ye=>B(ye,Je)&&qe.every(xe=>ye.every(De=>xe.intersects(De,Je)))))}test(Ce){if(!Ce)return!1;if(typeof Ce=="string")try{Ce=new m(Ce,this.options)}catch{return!1}for(let Je=0;Je<this.set.length;Je++)if(ge(this.set[Je],Ce,this.options))return!0;return!1}}f.exports=r;const a=e(13841),s=new a,i=e(52622),u=e(86885),l=e(78857),m=e(2269),{safeRe:g,t:h,comparatorTrimReplace:v,tildeTrimReplace:E,caretTrimReplace:w}=e(65649),{FLAG_INCLUDE_PRERELEASE:T,FLAG_LOOSE:C}=e(46143),O=Ie=>Ie.value==="<0.0.0-0",R=Ie=>Ie.value==="",B=(Ie,Ce)=>{let Je=!0;const qe=Ie.slice();let ye=qe.pop();for(;Je&&qe.length;)Je=qe.every(xe=>ye.intersects(xe,Ce)),ye=qe.pop();return Je},M=(Ie,Ce)=>(Ie=Ie.replace(g[h.BUILD],""),l("comp",Ie,Ce),Ie=W(Ie,Ce),l("caret",Ie),Ie=H(Ie,Ce),l("tildes",Ie),Ie=te(Ie,Ce),l("xrange",Ie),Ie=ae(Ie,Ce),l("stars",Ie),Ie),F=Ie=>!Ie||Ie.toLowerCase()==="x"||Ie==="*",H=(Ie,Ce)=>Ie.trim().split(/\s+/).map(Je=>U(Je,Ce)).join(" "),U=(Ie,Ce)=>{const Je=Ce.loose?g[h.TILDELOOSE]:g[h.TILDE];return Ie.replace(Je,(qe,ye,xe,De,Fe)=>{l("tilde",Ie,qe,ye,xe,De,Fe);let be;return F(ye)?be="":F(xe)?be=`>=${ye}.0.0 <${+ye+1}.0.0-0`:F(De)?be=`>=${ye}.${xe}.0 <${ye}.${+xe+1}.0-0`:Fe?(l("replaceTilde pr",Fe),be=`>=${ye}.${xe}.${De}-${Fe} <${ye}.${+xe+1}.0-0`):be=`>=${ye}.${xe}.${De} <${ye}.${+xe+1}.0-0`,l("tilde return",be),be})},W=(Ie,Ce)=>Ie.trim().split(/\s+/).map(Je=>X(Je,Ce)).join(" "),X=(Ie,Ce)=>{l("caret",Ie,Ce);const Je=Ce.loose?g[h.CARETLOOSE]:g[h.CARET],qe=Ce.includePrerelease?"-0":"";return Ie.replace(Je,(ye,xe,De,Fe,be)=>{l("caret",Ie,ye,xe,De,Fe,be);let ke;return F(xe)?ke="":F(De)?ke=`>=${xe}.0.0${qe} <${+xe+1}.0.0-0`:F(Fe)?xe==="0"?ke=`>=${xe}.${De}.0${qe} <${xe}.${+De+1}.0-0`:ke=`>=${xe}.${De}.0${qe} <${+xe+1}.0.0-0`:be?(l("replaceCaret pr",be),xe==="0"?De==="0"?ke=`>=${xe}.${De}.${Fe}-${be} <${xe}.${De}.${+Fe+1}-0`:ke=`>=${xe}.${De}.${Fe}-${be} <${xe}.${+De+1}.0-0`:ke=`>=${xe}.${De}.${Fe}-${be} <${+xe+1}.0.0-0`):(l("no pr"),xe==="0"?De==="0"?ke=`>=${xe}.${De}.${Fe}${qe} <${xe}.${De}.${+Fe+1}-0`:ke=`>=${xe}.${De}.${Fe}${qe} <${xe}.${+De+1}.0-0`:ke=`>=${xe}.${De}.${Fe} <${+xe+1}.0.0-0`),l("caret return",ke),ke})},te=(Ie,Ce)=>(l("replaceXRanges",Ie,Ce),Ie.split(/\s+/).map(Je=>q(Je,Ce)).join(" ")),q=(Ie,Ce)=>{Ie=Ie.trim();const Je=Ce.loose?g[h.XRANGELOOSE]:g[h.XRANGE];return Ie.replace(Je,(qe,ye,xe,De,Fe,be)=>{l("xRange",Ie,qe,ye,xe,De,Fe,be);const ke=F(xe),Ge=ke||F(De),Xe=Ge||F(Fe),At=Xe;return ye==="="&&At&&(ye=""),be=Ce.includePrerelease?"-0":"",ke?ye===">"||ye==="<"?qe="<0.0.0-0":qe="*":ye&&At?(Ge&&(De=0),Fe=0,ye===">"?(ye=">=",Ge?(xe=+xe+1,De=0,Fe=0):(De=+De+1,Fe=0)):ye==="<="&&(ye="<",Ge?xe=+xe+1:De=+De+1),ye==="<"&&(be="-0"),qe=`${ye+xe}.${De}.${Fe}${be}`):Ge?qe=`>=${xe}.0.0${be} <${+xe+1}.0.0-0`:Xe&&(qe=`>=${xe}.${De}.0${be} <${xe}.${+De+1}.0-0`),l("xRange return",qe),qe})},ae=(Ie,Ce)=>(l("replaceStars",Ie,Ce),Ie.trim().replace(g[h.STAR],"")),le=(Ie,Ce)=>(l("replaceGTE0",Ie,Ce),Ie.trim().replace(g[Ce.includePrerelease?h.GTE0PRE:h.GTE0],"")),pe=Ie=>(Ce,Je,qe,ye,xe,De,Fe,be,ke,Ge,Xe,At)=>(F(qe)?Je="":F(ye)?Je=`>=${qe}.0.0${Ie?"-0":""}`:F(xe)?Je=`>=${qe}.${ye}.0${Ie?"-0":""}`:De?Je=`>=${Je}`:Je=`>=${Je}${Ie?"-0":""}`,F(ke)?be="":F(Ge)?be=`<${+ke+1}.0.0-0`:F(Xe)?be=`<${ke}.${+Ge+1}.0-0`:At?be=`<=${ke}.${Ge}.${Xe}-${At}`:Ie?be=`<${ke}.${Ge}.${+Xe+1}-0`:be=`<=${be}`,`${Je} ${be}`.trim()),ge=(Ie,Ce,Je)=>{for(let qe=0;qe<Ie.length;qe++)if(!Ie[qe].test(Ce))return!1;if(Ce.prerelease.length&&!Je.includePrerelease){for(let qe=0;qe<Ie.length;qe++)if(l(Ie[qe].semver),Ie[qe].semver!==u.ANY&&Ie[qe].semver.prerelease.length>0){const ye=Ie[qe].semver;if(ye.major===Ce.major&&ye.minor===Ce.minor&&ye.patch===Ce.patch)return!0}return!1}return!0}},2269(f,d,e){"use strict";const n=e(78857),{MAX_LENGTH:r,MAX_SAFE_INTEGER:a}=e(46143),{safeRe:s,t:i}=e(65649),u=e(52622),{compareIdentifiers:l}=e(50886);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 E=h.trim().match(v.loose?s[i.LOOSE]:s[i.FULL]);if(!E)throw new TypeError(`Invalid Version: ${h}`);
vendor: 4,916 bytes, line 719
719if(this.raw=h,this.major=+E[1],this.minor=+E[2],this.patch=+E[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");E[4]?this.prerelease=E[4].split(".").map(w=>{if(/^[0-9]+$/.test(w)){const T=+w;if(T>=0&&T<a)return T}return w}):this.prerelease=[],this.build=E[5]?E[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 E=this.prerelease[v],w=h.prerelease[v];if(n("prerelease compare",v,E,w),E===void 0&&w===void 0)return 0;if(w===void 0)return 1;if(E===void 0)return-1;if(E===w)continue;return l(E,w)}while(++v)}compareBuild(h){h instanceof m||(h=new m(h,this.options));let v=0;do{const E=this.build[v],w=h.build[v];if(n("build compare",v,E,w),E===void 0&&w===void 0)return 0;if(w===void 0)return 1;if(E===void 0)return-1;if(E===w)continue;return l(E,w)}while(++v)}inc(h,v,E){if(h.startsWith("pre")){if(!v&&E===!1)throw new Error("invalid increment argument: identifier is empty");if(v){const w=`-${v}`.match(this.options.loose?s[i.PRERELEASELOOSE]:s[i.PRERELEASE]);if(!w||w[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,E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",v,E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",v,E),this.inc("pre",v,E);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",v,E),this.inc("pre",v,E);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 w=Number(E)?1:0;if(this.prerelease.length===0)this.prerelease=[w];else{let T=this.prerelease.length;for(;--T>=0;)typeof this.prerelease[T]=="number"&&(this.prerelease[T]++,T=-2);if(T===-1){if(v===this.prerelease.join(".")&&E===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(w)}}if(v){let T=[v,w];E===!1&&(T=[v]),l(this.prerelease[0],v)===0?isNaN(this.prerelease[1])&&(this.prerelease=T):this.prerelease=T}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},82348(f,d,e){"use strict";const n=e(56520),r=e(17428),a=e(94009),s=e(11562),i=e(82982),u=e(25791),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},97683(f,d,e){"use strict";const n=e(2269),r=(a,s,i)=>new n(a,i).compare(new n(s,i));f.exports=r},56520(f,d,e){"use strict";const n=e(97683),r=(a,s,i)=>n(a,s,i)===0;f.exports=r},94009(f,d,e){"use strict";const n=e(97683),r=(a,s,i)=>n(a,s,i)>0;f.exports=r},11562(f,d,e){"use strict";const n=e(97683),r=(a,s,i)=>n(a,s,i)>=0;f.exports=r},82982(f,d,e){"use strict";const n=e(97683),r=(a,s,i)=>n(a,s,i)<0;f.exports=r},25791(f,d,e){"use strict";const n=e(97683),r=(a,s,i)=>n(a,s,i)<=0;f.exports=r},17428(f,d,e){"use strict";const n=e(97683),r=(a,s,i)=>n(a,s,i)!==0;f.exports=r},26501(f,d,e){"use strict";const n=e(98732),r=(a,s,i)=>{try{s=new n(s,i)}catch{return!1}return s.test(a)};f.exports=r},46143(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}},78857(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},50886(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}},13841(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},52622(f){"use strict";const d=Object.freeze({loose:!0}),e=Object.freeze({}),n=r=>r?typeof r!="object"?d:r:e;f.exports=n},65649(f,d,e){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:a}=e(46143),s=e(78857);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-]",E=[["\\s",1],["\\d",a],[v,r]],w=C=>{for(const[O,R]of E)C=C.split(`${O}*`).join(`${O}{0,${R}}`).split(`${O}+`).join(`${O}{1,${R}}`);return C},T=(C,O,R)=>{const B=w(O),M=h++;s(C,M,O),g[C]=M,l[M]=O,m[M]=B,i[M]=new RegExp(O,R?"g":void 0),u[M]=new RegExp(B,R?"g":void 0)};T("NUMERICIDENTIFIER","0|[1-9]\\d*"),T("NUMERICIDENTIFIERLOOSE","\\d+"),T("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${v}*`),T("MAINVERSION",`(${l[g.NUMERICIDENTIFIER]})\\.(${l[g.NUMERICIDENTIFIER]})\\.(${l[g.NUMERICIDENTIFIER]})`),T("MAINVERSIONLOOSE",`(${l[g.NUMERICIDENTIFIERLOOSE]})\\.(${l[g.NUMERICIDENTIFIERLOOSE]})\\.(${l[g.NUMERICIDENTIFIERLOOSE]})`),T("PRERELEASEIDENTIFIER",`(?:${l[g.NONNUMERICIDENTIFIER]}|${l[g.NUMERICIDENTIFIER]})`),T("PRERELEASEIDENTIFIERLOOSE",`(?:${l[g.NONNUMERICIDENTIFIER]}|${l[g.NUMERICIDENTIFIERLOOSE]})`),T("PRERELEASE",`(?:-(${l[g.PRERELEASEIDENTIFIER]}(?:\\.${l[g.PRERELEASEIDENTIFIER]})*))`),T("PRERELEASELOOSE",`(?:-?(${l[g.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[g.PRERELEASEIDENTIFIERLOOSE]})*))`),T("BUILDIDENTIFIER",`${v}+`),T("BUILD",`(?:\\+(${l[g.BUILDIDENTIFIER]}(?:\\.${l[g.BUILDIDENTIFIER]})*))`),T("FULLPLAIN",`v?${l[g.MAINVERSION]}${l[g.PRERELEASE]}?${l[g.BUILD]}?`),T("FULL",`^${l[g.FULLPLAIN]}$`),T("LOOSEPLAIN",`[v=\\s]*${l[g.MAINVERSIONLOOSE]}${l[g.PRERELEASELOOSE]}?${l[g.BUILD]}?`),T("LOOSE",`^${l[g.LOOSEPLAIN]}$`),T("GTLT","((?:<|>)?=?)"),T("XRANGEIDENTIFIERLOOSE",`${l[g.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),T("XRANGEIDENTIFIER",`${l[g.NUMERICIDENTIFIER]}|x|X|\\*`),T("XRANGEPLAIN",`[v=\\s]*(${l[g.XRANGEIDENTIFIER]})(?:\\.(${l[g.XRANGEIDENTIFIER]})(?:\\.(${l[g.XRANGEIDENTIFIER]})(?:${l[g.PRERELEASE]})?${l[g.BUILD]}?)?)?`),T("XRANGEPLAINLOOSE",`[v=\\s]*(${l[g.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[g.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[g.XRANGEIDENTIFIERLOOSE]})(?:${l[g.PRERELEASELOOSE]})?${l[g.BUILD]}?)?)?`),T("XRANGE",`^${l[g.GTLT]}\\s*${l[g.XRANGEPLAIN]}$`),T("XRANGELOOSE",`^${l[g.GTLT]}\\s*${l[g.XRANGEPLAINLOOSE]}$`),T("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),T("COERCE",`${l[g.COERCEPLAIN]}(?:$|[^\\d])`),T("COERCEFULL",l[g.COERCEPLAIN]+`(?:${l[g.PRERELEASE]})?(?:${l[g.BUILD]})?(?:$|[^\\d])`),T("COERCERTL",l[g.COERCE],!0),T("COERCERTLFULL",l[g.COERCEFULL],!0),T("LONETILDE","(?:~>?)"),T("TILDETRIM",`(\\s*)${l[g.LONETILDE]}\\s+`,!0),d.tildeTrimReplace="$1~",T("TILDE",`^${l[g.LONETILDE]}${l[g.XRANGEPLAIN]}$`),T("TILDELOOSE",`^${l[g.LONETILDE]}${l[g.XRANGEPLAINLOOSE]}$`),T("LONECARET","(?:\\^)"),T("CARETTRIM",`(\\s*)${l[g.LONECARET]}\\s+`,!0),d.caretTrimReplace="$1^",T("CARET",`^${l[g.LONECARET]}${l[g.XRANGEPLAIN]}$`),T("CARETLOOSE",`^${l[g.LONECARET]}${l[g.XRANGEPLAINLOOSE]}$`),T("COMPARATORLOOSE",`^${l[g.GTLT]}\\s*(${l[g.LOOSEPLAIN]})$|^$`),T("COMPARATOR",`^${l[g.GTLT]}\\s*(${l[g.FULLPLAIN]})$|^$`),T("COMPARATORTRIM",`(\\s*)${l[g.GTLT]}\\s*(${l[g.LOOSEPLAIN]}|${l[g.XRANGEPLAIN]})`,!0),d.comparatorTrimReplace="$1$2$3",T("HYPHENRANGE",`^\\s*(${l[g.XRANGEPLAIN]})\\s+-\\s+(${l[g.XRANGEPLAIN]})\\s*$`),T("HYPHENRANGELOOSE",`^\\s*(${l[g.XRANGEPLAINLOOSE]}
719)\\s+-\\s+(${l[g.XRANGEPLAINLOOSE]})\\s*$`),T("STAR","(<|>)?=?\\s*\\*"),T("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),T("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,E;(E=v.next)!=null;v=E)if(E.key===g)return v.next=E.next,h||(E.next=m.next,m.next=E),E},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 E=g&&g.next,w=l(g,v);return w&&E&&E===w&&(g=void 0),!!w},get:function(v){return s(g,v)},has:function(v){return u(g,v)},set:function(v,E){g||(g={next:void 0}),i(g,v,E)}};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 E,w={assert:function(T){if(!w.has(T))throw new s("Side channel does not contain "+a(T))},delete:function(T){if(E){var C=g(E,T);return h(E)===0&&(E=void 0),C}return!1},get:function(T){if(E)return u(E,T)},has:function(T){return E?m(E,T):!1},set:function(T,C){E||(E=new i),l(E,T,C)}};return w}},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 E,w,T={assert:function(C){if(!T.has(C))throw new i("Side channel does not contain "+a(C))},delete:function(C){if(u&&C&&(typeof C=="object"||typeof C=="function")){if(E)return h(E,C)}else if(s&&w)return w.delete(C);return!1},get:function(C){return u&&C&&(typeof C=="object"||typeof C=="function")&&E?l(E,C):w&&w.get(C)},has:function(C){return u&&C&&(typeof C=="object"||typeof C=="function")&&E?g(E,C):!!w&&w.has(C)},set:function(C,O){u&&C&&(typeof C=="object"||typeof C=="function")?(E||(E=new u),m(E,C,O)):s&&(w||(w=s()),w.set(C,O))}};return T}: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: 5,280 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",E="model",w="name",T="type",C="vendor",O="version",R="architecture",B="console",M="mobile",F="tablet",H="smarttv",U="wearable",W="embedded",X=500,te="Amazon",q="Apple",ae="ASUS",le="BlackBerry",pe="Browser",ge="Chrome",Ie="Edge",Ce="Firefox",Je="Google",qe="Huawei",ye="LG",xe="Microsoft",De="Motorola",Fe="Opera",be="Samsung",ke="Sharp",Ge="Sony",Xe="Xiaomi",At="Zebra",yt="Facebook",kt="Chromium OS",Nt="Mac OS",Ir=" Browser",yr=function(Nr,un){var Xt={};for(var br in Nr)un[br]&&un[br].length%2===0?Xt[br]=un[br].concat(Nr[br]):Xt[br]=Nr[br];return Xt},Wr=function(Nr){for(var un={},Xt=0;Xt<Nr.length;Xt++)un[Nr[Xt].toUpperCase()]=Nr[Xt];return un},$r=function(Nr,un){return typeof Nr===h?sn(un).indexOf(sn(Nr))!==-1:!1},sn=function(Nr){return Nr.toLowerCase()},Hr=function(Nr){return typeof Nr===h?Nr.replace(/[^\d\.]/g,i).split(".")[0]:a},pt=function(Nr,un){if(typeof Nr===h)return Nr=Nr.replace(/^\s\s*/,i),typeof un===m?Nr:Nr.substring(0,X)},et=function(Nr,un){for(var Xt=0,br,$t,wt,Ar,Q,ut;Xt<un.length&&!Q;){var tr=un[Xt],rt=un[Xt+1];for(br=$t=0;br<tr.length&&!Q&&tr[br];)if(Q=tr[br++].exec(Nr),Q)for(wt=0;wt<rt.length;wt++)ut=Q[++$t],Ar=rt[wt],typeof Ar===g&&Ar.length>0?Ar.length===2?typeof Ar[1]==l?this[Ar[0]]=Ar[1].call(this,ut):this[Ar[0]]=Ar[1]:Ar.length===3?typeof Ar[1]===l&&!(Ar[1].exec&&Ar[1].test)?this[Ar[0]]=ut?Ar[1].call(this,ut,Ar[2]):a:this[Ar[0]]=ut?ut.replace(Ar[1],Ar[2]):a:Ar.length===4&&(this[Ar[0]]=ut?Ar[3].call(this,ut.replace(Ar[1],Ar[2])):a):this[Ar]=ut||a;Xt+=2}},wr=function(Nr,un){for(var Xt in un)if(typeof un[Xt]===g&&un[Xt].length>0){for(var br=0;br<un[Xt].length;br++)if($r(un[Xt][br],Nr))return Xt===u?a:Xt}else if($r(un[Xt],Nr))return Xt===u?a:Xt;return un.hasOwnProperty("*")?un["*"]:Nr},Dr={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Sr={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"},kr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[O,[w,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[O,[w,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[w,O],[/opios[\/ ]+([\w\.]+)/i],[O,[w,Fe+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[O,[w,Fe+" GX"]],[/\bopr\/([\w\.]+)/i],[O,[w,Fe]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[O,[w,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[O,[w,"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],[w,O],[/quark(?:pc)?\/([-\w\.]+)/i],[O,[w,"Quark"]],[/\bddg\/([\w\.]+)/i],[O,[w,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[O,[w,"UC"+pe]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[O,[w,"WeChat"]],[/konqueror\/([\w\.]+)/i],[O,[w,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[O,[w,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[O,[w,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[O,[w,"Smart Lenovo "+pe]],[/(avast|avg)\/([\w\.]+)/i],[[w,/(.+)/,"$1 Secure "+pe],O],[/\bfocus\/([\w\.]+)/i],[O,[w,Ce+" Focus"]],[/\bopt\/([\w\.]+)/i],[O,[w,Fe+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[O,[w,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[O,[w,"Dolphin"]],[/coast\/([\w\.]+)/i],[O,[w,Fe+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[O,[w,"MIUI"+Ir]],[/fxios\/([\w\.-]+)/i],[O,[w,Ce]],[/\bqihoobrowser\/?([\w\.]*)/i],[O,[w,"360"]],[/\b(qq)\/([\w\.]+)/i],[[w,/(.+)/,"$1Browser"],O],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[w,/(.+)/,"$1"+Ir],O],[/samsungbrowser\/([\w\.]+)/i],[O,[w,be+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[O,[w,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[w,"Sogou Mobile"],O],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[w,O],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[w],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[O,w],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[w,yt],O],[/(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],[w,O],[/\bgsa\/([\w\.]+) .*safari\//i],[O,[w,"GSA"]],[/musical_ly(?:.
vendor: 11,974 bytes, line 719
719+app_?version\/|_)([\w\.]+)/i],[O,[w,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[O,[w,ge+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[w,ge+" WebView"],O],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[O,[w,"Android "+pe]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[w,O],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[O,[w,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[O,w],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[w,[O,wr,Dr]],[/(webkit|khtml)\/([\w\.]+)/i],[w,O],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[w,"Netscape"],O],[/(wolvic|librewolf)\/([\w\.]+)/i],[w,O],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[O,[w,Ce+" 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],[w,[O,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[w,[O,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[R,"amd64"]],[/(ia32(?=;))/i],[[R,sn]],[/((?:i[346]|x)86)[;\)]/i],[[R,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[R,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[R,"armhf"]],[/windows (ce|mobile); ppc;/i],[[R,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[R,/ower/,i,sn]],[/(sun4\w)[;\)]/i],[[R,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[R,sn]]],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],[E,[C,be],[T,F]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[E,[C,be],[T,M]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[E,[C,q],[T,M]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[E,[C,q],[T,F]],[/(macintosh);/i],[E,[C,q]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[E,[C,ke],[T,M]],[/(?:honor)([-\w ]+)[;\)]/i],[E,[C,"Honor"],[T,M]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[E,[C,qe],[T,F]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[E,[C,qe],[T,M]],[/\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],[[E,/_/g," "],[C,Xe],[T,M]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[E,/_/g," "],[C,Xe],[T,F]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[E,[C,"OPPO"],[T,M]],[/\b(opd2\d{3}a?) bui/i],[E,[C,"OPPO"],[T,F]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[E,[C,"Vivo"],[T,M]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[E,[C,"Realme"],[T,M]],[/\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],[E,[C,De],[T,M]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[E,[C,De],[T,F]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[E,[C,ye],[T,F]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[E,[C,ye],[T,M]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[E,[C,"Lenovo"],[T,F]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[E,/_/g," "],[C,"Nokia"],[T,M]],[/(pixel c)\b/i],[E,[C,Je],[T,F]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[E,[C,Je],[T,M]],[/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],[E,[C,Ge],[T,M]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[E,"Xperia Tablet"],[C,Ge],[T,F]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[E,[C,"OnePlus"],[T,M]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[E,[C,te],[T,F]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[E,/(.+)/g,"Fire Phone $1"],[C,te],[T,M]],[/(playbook);[-\w\),; ]+(rim)/i],[E,C,[T,F]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[E,[C,le],[T,M]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[E,[C,ae],[T,F]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[E,[C,ae],[T,M]],[/(nexus 9)/i],[E,[C,"HTC"],[T,F]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[C,[E,/_/g," "],[T,M]],[/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],[E,[C,"TCL"],[T,F]],[/(itel) ((\w+))/i],[[C,sn],E,[T,wr,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[E,[C,"Acer"],[T,F]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[E,[C,"Meizu"],[T,M]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[E,[C,"Ulefone"],[T,M]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[E,[C,"Energizer"],[T,M]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[E,[C,"Cat"],[T,M]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[E,[C,"Smartfren"],[T,M]],[/droid.+; (a(?:015|06[35]|142p?))/i],[E,[C,"Nothing"],[T,M]],[/(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],[C,E,[T,M]],[/(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],[C,E,[T,F]],[/(surface duo)/i],[E,[C,xe],[T,F]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[E,[C,"Fairphone"],[T,M]],[/(u304aa)/i],[E,[C,"AT&T"],[T,M]],[/\bsie-(\w*)/i],[E,[C,"Siemens"],[T,M]],[/\b(rct\w+) b/i],[E,[C,"RCA"],[T,F]],[/\b(venue[\d ]{2,7}) b/i],[E,[C,"Dell"],[T,F]],[/\b(q(?:mv|ta)\w+) b/i],[E,[C,"Verizon"],[T,F]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[E,[C,"Barnes & Noble"],[T,F]],[/\b(tm\d{3}\w+) b/i],[E,[C,"NuVision"],[T,F]],[/\b(k88) b/i],[E,[C,"ZTE"],[T,F]],[/\b(nx\d{3}j) b/i],[E,[C,"ZTE"],[T,M]],[/\b(gen\d{3}) b.+49h/i],[E,[C,"Swiss"],[T,M]],[/\b(zur\d{3}) b/i],[E,[C,"Swiss"],[T,F]],[/\b((zeki)?tb.*\b) b/i],[E,[C,"Zeki"],[T,F]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[C,"Dragon Touch"],E,[T,F]],[/\b(ns-?\w{0,9}) b/i],[E,[C,"Insignia"],[T,F]],[/\b((nxa|next)-?\w{0,9}) b/i],[E,[C,"NextBook"],[T,F]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[C,"Voice"],E,[T,M]],[/\b(lvtel\-)?(v1[12]) b/i],[[C,"LvTel"],E,[T,M]],[/\b(ph-1) /i],[E,[C,"Essential"],[T,M]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[E,[C,"Envizen"],[T,F]],[/\b(trio[-\w\. ]+) b/i],[E,[C,"MachSpeed"],[T,F]],[/\btu_(1491) b/i],[E,[C,"Rotor"],[T,F]],[/(shield[\w ]+) b/i],[E,[C,"Nvidia"],[T,F]],[/(sprint) (\w+)/i],[C,E,[T,M]],[/(kin\.[onetw]{3})/i],[[E,/\./g," "],[C,xe],[T,M]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[E,[C,At],[T,F]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[E,[C,At],[T,M]],[/smart-tv.+(samsung)/i],[C,[T,H]],[/hbbtv.+maple;(\d+)/i],[[E,/^/,"SmartTV"],[C,be],[T,H]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[C,ye],[T,H]],[/(apple) ?tv/i],[C,[E,q+" TV"],[T,H]],[/crkey/i],[[E,ge+"cast"],[C,Je],[T,H]],[/droid.+aft(\w+)( bui|\))/i],[E,[C,te],[T,H]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[E,[C,ke],[T,H]],[/(bravia[\w ]+)( bui|\))/i],[E,[C,Ge],[T,H]],[/(mitv-\w{5}) bui/i],[E,[C,Xe],[T,H]],[/Hbbtv.*(technisat) (.*);/i],[C,E,[T,H]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[C,pt],[E,pt],[T,H]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[T,H]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[C,E,[T,B]],[/droid.+; (shield) bui/i],[E,[C,"Nvidia"],[T,B]],[/(playstation [345portablevi]+)/i],[E,[C,Ge],[T,B]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[E,[C,xe],[T,B]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[E,[C,be],[T,U]],[/((pebble))app/i],[C,E,[T,U]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[E,[C,q],[T,U]],[/droid.+; (glass) \d/i],[E,[C,Je],[T,U]],[/droid.+; (wt63?0{2,3})\)/i],[E,[C,At],[T,U]],[/droid.+; (glass) \d/i],[E,[C,Je],[T,U]],[/(pico) (4|neo3(?: link|pro)?)/i],[C,E,[T,U]],[/; (quest( \d| pro)?)/i],[E,[C,yt],[T,U]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[C,[T,W]],[/(aeobc)\b/i],[E,[C,te],[T,W]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[E,[T,M]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[E,[T,F]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[T,F]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[T,M]],[/(android[-\w\. ]{0,9});.+buil/i],[E,[C,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[O,[w,Ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[w,O],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[O,[w,"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],[w,O],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[O,w]],os:[[/microsoft (windows) (vista|xp)/i],[w,O],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[w,[O,wr,Sr]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[O,wr,Sr],[w,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[O,/_/g,"."],[w,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[w,Nt],[O,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[O,w],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[w,O],[/\(bb(10);/i],[O,[w,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[O,[w,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[O,[w,Ce+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[O,[w,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[O,[w,"watchOS"]],[/crkey\/([\d\.]+)/i],[O,[w,ge+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[w,kt],O],[/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],[w,O],[/(sunos) ?([\w\.\d]*)/i],[[w,"Solaris"],O],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[w,O]]}
719,qt=function(Nr,un){if(typeof Nr===g&&(un=Nr,Nr=a),!(this instanceof qt))return new qt(Nr,un).getResult();var Xt=typeof r!==m&&r.navigator?r.navigator:a,br=Nr||(Xt&&Xt.userAgent?Xt.userAgent:i),$t=Xt&&Xt.userAgentData?Xt.userAgentData:a,wt=un?yr(kr,un):kr,Ar=Xt&&Xt.userAgent==br;return this.getBrowser=function(){var Q={};return Q[w]=a,Q[O]=a,et.call(Q,br,wt.browser),Q[v]=Hr(Q[O]),Ar&&Xt&&Xt.brave&&typeof Xt.brave.isBrave==l&&(Q[w]="Brave"),Q},this.getCPU=function(){var Q={};return Q[R]=a,et.call(Q,br,wt.cpu),Q},this.getDevice=function(){var Q={};return Q[C]=a,Q[E]=a,Q[T]=a,et.call(Q,br,wt.device),Ar&&!Q[T]&&$t&&$t.mobile&&(Q[T]=M),Ar&&Q[E]=="Macintosh"&&Xt&&typeof Xt.standalone!==m&&Xt.maxTouchPoints&&Xt.maxTouchPoints>2&&(Q[E]="iPad",Q[T]=F),Q},this.getEngine=function(){var Q={};return Q[w]=a,Q[O]=a,et.call(Q,br,wt.engine),Q},this.getOS=function(){var Q={};return Q[w]=a,Q[O]=a,et.call(Q,br,wt.os),Ar&&!Q[w]&&$t&&$t.platform&&$t.platform!="Unknown"&&(Q[w]=$t.platform.replace(/chrome os/i,kt).replace(/macos/i,Nt)),Q},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(Q){return br=typeof Q===h&&Q.length>X?pt(Q,X):Q,this},this.setUA(br),this};qt.VERSION=s,qt.BROWSER=Wr([w,O,v]),qt.CPU=Wr([R]),qt.DEVICE=Wr([E,C,T,B,M,H,F,U,W]),qt.ENGINE=qt.OS=Wr([w,O]),typeof d!==m?(m!=="object"&&f.exports&&(d=f.exports=qt),d.UAParser=qt):l==="function"&&e.amdO?(n=(function(){return qt}).call(d,e,d,f),n!==a&&(f.exports=n)):typeof r!==m&&(r.UAParser=qt);var Sn=typeof r!==m&&(r.jQuery||r.Zepto);if(Sn&&!Sn.ua){var dr=new qt;Sn.ua=dr.getResult(),Sn.ua.get=function(){return dr.getUA()},Sn.ua.set=function(Nr){dr.setUA(Nr);var un=dr.getResult();for(var Xt in un)Sn.ua[Xt]=un[Xt]}}})(typeof window=="object"?window:this)},2573(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(9608);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,E,w){var T=i(null);if(T.current===null){var C={hasValue:!1,value:null};T.current=C}else C=T.current;T=l(function(){function R(U){if(!B){if(B=!0,M=U,U=E(U),w!==void 0&&C.hasValue){var W=C.value;if(w(W,U))return F=W}return F=U}if(W=F,a(M,U))return W;var X=E(U);return w!==void 0&&w(W,X)?(M=U,W):(M=U,F=X)}var B=!1,M,F,H=v===void 0?null:v;return[function(){return R(h())},H===null?void 0:function(){return R(H())}]},[h,v,E,w]);var O=s(g,T[0],T[1]);return u(function(){C.hasValue=!0,C.value=O},[O]),m(O),O}},53573(f,d,e){"use strict";f.exports=e(2573)},11376(f,d,e){"use strict";e.d(d,{A:()=>E});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 w=0;w<256;++w)l.push((w+256).toString(16).slice(1));
vendor: 4,434 bytes, line 727
727function m(w,T=0){return l[w[T+0]]+l[w[T+1]]+l[w[T+2]]+l[w[T+3]]+"-"+l[w[T+4]]+l[w[T+5]]+"-"+l[w[T+6]]+l[w[T+7]]+"-"+l[w[T+8]]+l[w[T+9]]+"-"+l[w[T+10]]+l[w[T+11]]+l[w[T+12]]+l[w[T+13]]+l[w[T+14]]+l[w[T+15]]}function g(w,T=0){const C=m(w,T);if(!u(C))throw TypeError("Stringified UUID is invalid");return C}const h=null;function v(w,T,C){if(r.randomUUID&&!T&&!w)return r.randomUUID();w=w||{};const O=w.random||(w.rng||i)();if(O[6]=O[6]&15|64,O[8]=O[8]&63|128,T){C=C||0;for(let R=0;R<16;++R)T[C+R]=O[R];return T}return m(O)}const E=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 q(){}return function(ae){if(arguments.length!==1)throw new Error("Object.create shim only accepts one parameter.");return q.prototype=ae,new q}})();function a(q,ae){this.name="ParsingError",this.code=q.code,this.message=ae||q.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(q){function ae(pe,ge,Ie,Ce){return(pe|0)*3600+(ge|0)*60+(Ie|0)+(Ce|0)/1e3}var le=q.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return le?le[3]?ae(le[1],le[2],le[3].replace(":",""),le[4]):le[1]>59?ae(le[1],le[2],0,le[4]):ae(0,le[1],le[2],le[4]):null}function i(){this.values=r(null)}i.prototype={set:function(q,ae){!this.get(q)&&ae!==""&&(this.values[q]=ae)},get:function(q,ae,le){return le?this.has(q)?this.values[q]:ae[le]:this.has(q)?this.values[q]:ae},has:function(q){return q in this.values},alt:function(q,ae,le){for(var pe=0;pe<le.length;++pe)if(ae===le[pe]){this.set(q,ae);break}},integer:function(q,ae){/^-?\d+$/.test(ae)&&this.set(q,parseInt(ae,10))},percent:function(q,ae){var le;return(le=ae.match(/^([\d]{1,3})(\.[\d]*)?%$/))&&(ae=parseFloat(ae),ae>=0&&ae<=100)?(this.set(q,ae),!0):!1}};function u(q,ae,le,pe){var ge=pe?q.split(pe):[q];for(var Ie in ge)if(typeof ge[Ie]=="string"){var Ce=ge[Ie].split(le);if(Ce.length===2){var Je=Ce[0].trim(),qe=Ce[1].trim();ae(Je,qe)}}}function l(q,ae,le){var pe=q;function ge(){var Je=s(q);if(Je===null)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+pe);return q=q.replace(/^[^\sa-zA-Z-]+/,""),Je}function Ie(Je,qe){var ye=new i;u(Je,function(xe,De){switch(xe){case"region":for(var Fe=le.length-1;Fe>=0;Fe--)if(le[Fe].id===De){ye.set(xe,le[Fe].region);break}break;case"vertical":ye.alt(xe,De,["rl","lr"]);break;case"line":var be=De.split(","),ke=be[0];ye.integer(xe,ke),ye.percent(xe,ke)&&ye.set("snapToLines",!1),ye.alt(xe,ke,["auto"]),be.length===2&&ye.alt("lineAlign",be[1],["start","center","end"]);break;case"position":be=De.split(","),ye.percent(xe,be[0]),be.length===2&&ye.alt("positionAlign",be[1],["start","center","end"]);break;case"size":ye.percent(xe,De);break;case"align":ye.alt(xe,De,["start","center","end","left","right"]);break}},/:/,/\s/),qe.region=ye.get("region",null),qe.vertical=ye.get("vertical","");try{qe.line=ye.get("line","auto")}catch{}qe.lineAlign=ye.get("lineAlign","start"),qe.snapToLines=ye.get("snapToLines",!0),qe.size=ye.get("size",100);try{qe.align=ye.get("align","center")}catch{qe.align=ye.get("align","middle")}try{qe.position=ye.get("position","auto")}catch{qe.position=ye.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},qe.align)}qe.positionAlign=ye.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},qe.align)}function Ce(){q=q.replace(/^\s+/,"")}if(Ce(),ae.startTime=ge(),Ce(),q.substr(0,3)!=="-->")throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+pe);q=q.substr(3),Ce(),ae.endTime=ge(),Ce(),Ie(q,ae)}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"},E={rt:"ruby"};function w(q,ae){function le(){if(!ae)return null;function ke(Xe){return ae=ae.substr(Xe.length),Xe}var Ge=ae.match(/^([^<]*)(<[^>
727]*>?)?/);return ke(Ge[1]?Ge[1]:Ge[2])}function pe(ke){return m.innerHTML=ke,ke=m.textContent,m.textContent="",ke}function ge(ke,Ge){return!E[Ge.localName]||E[Ge.localName]===ke.localName}function Ie(ke,Ge){var Xe=g[ke];if(!Xe)return null;var At=q.document.createElement(Xe),yt=v[ke];return yt&&Ge&&(At[yt]=Ge.trim()),At}for(var Ce=q.document.createElement("div"),Je=Ce,qe,ye=[];(qe=le())!==null;){if(qe[0]==="<"){if(qe[1]==="/"){ye.length&&ye[ye.length-1]===qe.substr(2).replace(">","")&&(ye.pop(),Je=Je.parentNode);continue}var xe=s(qe.substr(1,qe.length-2)),De;if(xe){De=q.document.createProcessingInstruction("timestamp",xe),Je.appendChild(De);continue}var Fe=qe.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!Fe||(De=Ie(Fe[1],Fe[3]),!De)||!ge(Je,De))continue;if(Fe[2]){var be=Fe[2].split(".");be.forEach(function(ke){var Ge=/^bg_/.test(ke),Xe=Ge?ke.slice(3):ke;if(h.hasOwnProperty(Xe)){var At=Ge?"background-color":"color",yt=h[Xe];De.style[At]=yt}}),De.className=be.join(" ")}ye.push(Fe[1]),Je.appendChild(De),Je=De;continue}Je.appendChild(q.document.createTextNode(pe(qe)))}return Ce}var T=[[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 C(q){for(var ae=0;ae<T.length;ae++){var le=T[ae];if(q>=le[0]&&q<=le[1])return!0}return!1}function O(q){var ae=[],le="",pe;if(!q||!q.childNodes)return"ltr";function ge(Je,qe){for(var ye=qe.childNodes.length-1;ye>=0;ye--)Je.push(qe.childNodes[ye])}function Ie(Je){if(!Je||!Je.length)return null;var qe=Je.pop(),ye=qe.textContent||qe.innerText;if(ye){var xe=ye.match(/^.*(\n|\r)/);return xe?(Je.length=0,xe[0]):ye}if(qe.tagName==="ruby")return Ie(Je);if(qe.childNodes)return ge(Je,qe),Ie(Je)}for(ge(ae,q);le=Ie(ae);)for(var Ce=0;Ce<le.length;Ce++)if(pe=le.charCodeAt(Ce),C(pe))return"rtl";return"ltr"}function R(q){if(typeof q.line=="number"&&(q.snapToLines||q.line>=0&&q.line<=100))return q.line;if(!q.track||!q.track.textTrackList||!q.track.textTrackList.mediaElement)return-1;for(var ae=q.track,le=ae.textTrackList,pe=0,ge=0;ge<le.length&&le[ge]!==ae;ge++)le[ge].mode==="showing"&&pe++;return++pe*-1}function B(){}B.prototype.applyStyles=function(q,ae){ae=ae||this.div;for(var le in q)q.hasOwnProperty(le)&&(ae.style[le]=q[le])},B.prototype.formatStyle=function(q,ae){return q===0?0:q+ae};function M(q,ae,le){B.call(this),this.cue=ae,this.cueDiv=w(q,ae.text);var pe={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:ae.vertical===""?"horizontal-tb":ae.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(pe,this.cueDiv),this.div=q.document.createElement("div"),pe={direction:O(this.cueDiv),writingMode:ae.vertical===""?"horizontal-tb":ae.vertical==="lr"?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:ae.align==="middle"?"center":ae.align,font:le.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(pe),this.div.appendChild(this.cueDiv);var ge=0;switch(ae.positionAlign){case"start":case"line-left":ge=ae.position;break;case"center":ge=ae.position-ae.size/2;break;case"end":case"line-right":ge=ae.position-ae.size;break}ae.vertical===""?this.applyStyles({left:this.formatStyle(ge,"%"),width:this.formatStyle(ae.size,"%")}):this.applyStyles({top:this.formatStyle(ge,"%"),height:this.formatStyle(ae.size,"%")}),this.move=function(Ie){this.applyStyles({top:this.formatStyle(Ie.top,"px"),bottom:this.formatStyle(Ie.bottom,"px"),left:this.formatStyle(Ie.left,"px"),right:this.formatStyle(Ie.right,"px"),height:this.formatStyle(Ie.height,"px"),width:this.formatStyle(Ie.width,"px")}
vendor: 10,592 bytes, lines 727-734
727)}}M.prototype=r(B.prototype),M.prototype.constructor=M;function F(q){var ae,le,pe,ge;if(q.div){le=q.div.offsetHeight,pe=q.div.offsetWidth,ge=q.div.offsetTop;var Ie=(Ie=q.div.childNodes)&&(Ie=Ie[0])&&Ie.getClientRects&&Ie.getClientRects();q=q.div.getBoundingClientRect(),ae=Ie?Math.max(Ie[0]&&Ie[0].height||0,q.height/Ie.length):0}this.left=q.left,this.right=q.right,this.top=q.top||ge,this.height=q.height||le,this.bottom=q.bottom||ge+(q.height||le),this.width=q.width||pe,this.lineHeight=ae!==void 0?ae:q.lineHeight}F.prototype.move=function(q,ae){switch(ae=ae!==void 0?ae:this.lineHeight,q){case"+x":this.left+=ae,this.right+=ae;break;case"-x":this.left-=ae,this.right-=ae;break;case"+y":this.top+=ae,this.bottom+=ae;break;case"-y":this.top-=ae,this.bottom-=ae;break}},F.prototype.overlaps=function(q){return this.left<q.right&&this.right>q.left&&this.top<q.bottom&&this.bottom>q.top},F.prototype.overlapsAny=function(q){for(var ae=0;ae<q.length;ae++)if(this.overlaps(q[ae]))return!0;return!1},F.prototype.within=function(q){return this.top>=q.top&&this.bottom<=q.bottom&&this.left>=q.left&&this.right<=q.right},F.prototype.overlapsOppositeAxis=function(q,ae){switch(ae){case"+x":return this.left<q.left;case"-x":return this.right>q.right;case"+y":return this.top<q.top;case"-y":return this.bottom>q.bottom}},F.prototype.intersectPercentage=function(q){var ae=Math.max(0,Math.min(this.right,q.right)-Math.max(this.left,q.left)),le=Math.max(0,Math.min(this.bottom,q.bottom)-Math.max(this.top,q.top)),pe=ae*le;return pe/(this.height*this.width)},F.prototype.toCSSCompatValues=function(q){return{top:this.top-q.top,bottom:q.bottom-this.bottom,left:this.left-q.left,right:q.right-this.right,height:this.height,width:this.width}},F.getSimpleBoxPosition=function(q){var ae=q.div?q.div.offsetHeight:q.tagName?q.offsetHeight:0,le=q.div?q.div.offsetWidth:q.tagName?q.offsetWidth:0,pe=q.div?q.div.offsetTop:q.tagName?q.offsetTop:0;q=q.div?q.div.getBoundingClientRect():q.tagName?q.getBoundingClientRect():q;var ge={left:q.left,right:q.right,top:q.top||pe,height:q.height||ae,bottom:q.bottom||pe+(q.height||ae),width:q.width||le};return ge};function H(q,ae,le,pe){function ge(Xe,At){for(var yt,kt=new F(Xe),Nt=1,Ir=0;Ir<At.length;Ir++){for(;Xe.overlapsOppositeAxis(le,At[Ir])||Xe.within(le)&&Xe.overlapsAny(pe);)Xe.move(At[Ir]);if(Xe.within(le))return Xe;var yr=Xe.intersectPercentage(le);Nt>yr&&(yt=new F(Xe),Nt=yr),Xe=new F(kt)}return yt||kt}var Ie=new F(ae),Ce=ae.cue,Je=R(Ce),qe=[];if(Ce.snapToLines){var ye;switch(Ce.vertical){case"":qe=["+y","-y"],ye="height";break;case"rl":qe=["+x","-x"],ye="width";break;case"lr":qe=["-x","+x"],ye="width";break}var xe=Ie.lineHeight,De=xe*Math.round(Je),Fe=le[ye]+xe,be=qe[0];Math.abs(De)>Fe&&(De=De<0?-1:1,De*=Math.ceil(Fe/xe)*xe),Je<0&&(De+=Ce.vertical===""?le.height:le.width,qe=qe.reverse()),Ie.move(be,De)}else{var ke=Ie.lineHeight/le.height*100;switch(Ce.lineAlign){case"center":Je-=ke/2;break;case"end":Je-=ke;break}switch(Ce.vertical){case"":ae.applyStyles({top:ae.formatStyle(Je,"%")});break;case"rl":ae.applyStyles({left:ae.formatStyle(Je,"%")});break;case"lr":ae.applyStyles({right:ae.formatStyle(Je,"%")});break}qe=["+y","-x","+x","-y"],Ie=new F(ae)}var Ge=ge(Ie,qe);ae.move(Ge.toCSSCompatValues(le))}function U(){}U.StringDecoder=function(){return{decode:function(q){if(!q)return"";if(typeof q!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(q))}}},U.convertCueToDOMTree=function(q,ae){return!q||!ae?null:w(q,ae)};var W=.05,X="sans-serif",te="1.5%";U.processCues=function(q,ae,le){if(!q||!ae||!le)return null;for(;le.firstChild;)le.removeChild(le.firstChild);var pe=q.document.createElement("div");pe.style.position="absolute",pe.style.left="0",pe.style.right="0",pe.style.top="0",pe.style.bottom="0",pe.style.margin=te,le.appendChild(pe);function ge(xe){for(var De=0;De<xe.length;De++)if(xe[De].hasBeenReset||!xe[De].displayState)return!0;return!1}if(!ge(ae)){for(var Ie=0;Ie<ae.length;Ie++)pe.appendChild(ae[Ie].displayState);return}var Ce=[],Je=F.getSimpleBoxPosition(pe),qe=Math.round(Je.height*W*100)/100,ye={font:qe+"px "+X};(function(){for(var xe,De,Fe=0;Fe<ae.length;Fe++)De=ae[Fe],xe=new M(q,De,ye),pe.appendChild(xe.div),H(q,xe,Je,Ce),De.displayState=xe.div,Ce.push(F.getSimpleBoxPosition(xe))})()},U.Parser=function(q,ae,le){le||(le=ae,ae={}),ae||(ae={}),this.window=q,this.vttjs=ae,this.state="INITIAL",this.buffer="",this.decoder=le||new TextDecoder("utf8"),this.regionList=[]},U.Parser.prototype={reportOrThrowError:function(q){if(q instanceof a)this.onparsingerror&&this.onparsingerror(q);else throw q},parse:function(q){var ae=this;q&&(ae.buffer+=ae.decoder.decode(q,{stream:!0}));function le(){for(var xe=ae.buffer,De=0;De<xe.length&&xe[De]!=="\r"&&xe[De]!==` 728`;)++De;var Fe=xe.substr(0,De);return xe[De]==="\r"&&++De,xe[De]===` 729`&&++De,ae.buffer=xe.substr(De),Fe}function pe(xe){var De=new i;if(u(xe,function(be,ke){switch(be){case"id":De.set(be,ke);break;case"width":De.percent(be,ke);break;case"lines":De.integer(be,ke);break;case"regionanchor":case"viewportanchor":var Ge=ke.split(",");if(Ge.length!==2)break;var Xe=new i;if(Xe.percent("x",Ge[0]),Xe.percent("y",Ge[1]),!Xe.has("x")||!Xe.has("y"))break;De.set(be+"X",Xe.get("x")),De.set(be+"Y",Xe.get("y"));break;case"scroll":De.alt(be,ke,["up"]);break}},/=/,/\s/),De.has("id")){var Fe=new(ae.vttjs.VTTRegion||ae.window.VTTRegion);Fe.width=De.get("width",100),Fe.lines=De.get("lines",3),Fe.regionAnchorX=De.get("regionanchorX",0),Fe.regionAnchorY=De.get("regionanchorY",100),Fe.viewportAnchorX=De.get("viewportanchorX",0),Fe.viewportAnchorY=De.get("viewportanchorY",100),Fe.scroll=De.get("scroll",""),ae.onregion&&ae.onregion(Fe),ae.regionList.push({id:De.get("id"),region:Fe})}}function ge(xe){var De=new i;u(xe,function(Fe,be){switch(Fe){case"MPEGT":De.integer(Fe+"S",be);break;case"LOCA":De.set(Fe+"L",s(be));break}},/[^\d]:/,/,/),ae.ontimestampmap&&ae.ontimestampmap({MPEGTS:De.get("MPEGTS"),LOCAL:De.get("LOCAL")})}function Ie(xe){xe.match(/X-TIMESTAMP-MAP/)?u(xe,function(De,Fe){De==="X-TIMESTAMP-MAP"&&ge(Fe)},/=/):u(xe,function(De,Fe){De==="Region"&&pe(Fe)},/:/)}try{var Ce;if(ae.state==="INITIAL"){if(!/\r\n|\n/.test(ae.buffer))return this;Ce=le();var Je=Ce.match(/^WEBVTT([ \t].*)?$/);if(!Je||!Je[0])throw new a(a.Errors.BadSignature);ae.state="HEADER"}for(var qe=!1;ae.buffer;){if(!/\r\n|\n/.test(ae.buffer))return this;switch(qe?qe=!1:Ce=le(),ae.state){case"HEADER":/:/.test(Ce)?Ie(Ce):Ce||(ae.state="ID");continue;case"NOTE":Ce||(ae.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(Ce)){ae.state="NOTE";break}if(!Ce)continue;ae.cue=new(ae.vttjs.VTTCue||ae.window.VTTCue)(0,0,"");try{ae.cue.align="center"}catch{ae.cue.align="middle"}if(ae.state="CUE",Ce.indexOf("-->")===-1){ae.cue.id=Ce;continue}case"CUE":try{l(Ce,ae.cue,ae.regionList)}catch(xe){ae.reportOrThrowError(xe),ae.cue=null,ae.state="BADCUE";continue}ae.state="CUETEXT";continue;case"CUETEXT":var ye=Ce.indexOf("-->")!==-1;if(!Ce||ye&&(qe=!0)){ae.oncue&&ae.oncue(ae.cue),ae.cue=null,ae.state="ID";continue}ae.cue.text&&(ae.cue.text+=` 730`),ae.cue.text+=Ce.replace(/\u2028/g,` 731`).replace(/u2029/g,` 732`);continue;case"BADCUE":Ce||(ae.state="ID");continue}}}catch(xe){ae.reportOrThrowError(xe),ae.state==="CUETEXT"&&ae.cue&&ae.oncue&&ae.oncue(ae.cue),ae.cue=null,ae.state=ae.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this},flush:function(){var q=this;try{if(q.buffer+=q.decoder.decode(),(q.cue||q.state==="HEADER")&&(q.buffer+=` 733 734`,q.parse()),q.state==="INITIAL")throw new a(a.Errors.BadSignature)}catch(ae){q.reportOrThrowError(ae)}return q.onflush&&q.onflush(),this}},f.exports=U},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,E=l,w=null,T="",C=!0,O="auto",R="start",B="auto",M="auto",F=100,H="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return m},set:function(U){m=""+U}},pauseOnExit:{enumerable:!0,get:function(){return g},set:function(U){g=!!U}},startTime:{enumerable:!0,get:function(){return h},set:function(U){if(typeof U!="number")throw new TypeError("Start time must be set to a number.");h=U,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return v},set:function(U){if(typeof U!="number")throw new TypeError("End time must be set to a number.");v=U,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return E},set:function(U){E=""+U,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return w},set:function(U){w=U,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return T},set:function(U){var W=r(U);if(W===!1)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");T=W,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return C},set:function(U){C=!!U,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return O},set:function(U){if(typeof U!="number"&&U!==d)throw new SyntaxError("Line: an invalid number or illegal string was specified.");O=U,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return R},set:function(U){var W=a(U);W?(R=W,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return B},set:function(U){if(U<0||U>100)throw new Error("Position must be between 0 and 100.");B=U,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return M},set:function(U){var W=a(U);W?(M=W,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return F},set:function(U){if(U<0||U>100)throw new Error("Size must be between 0 and 100.");F=U,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return H},set:function(U){var W=a(U);if(!W)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");H=W,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,673 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(Q,ut,tr){return Q.call.apply(Q.bind,arguments)}function a(Q,ut,tr){if(!Q)throw Error();if(2<arguments.length){var rt=Array.prototype.slice.call(arguments,2);return function(){var _t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(_t,rt),Q.apply(ut,_t)}}return function(){return Q.apply(ut,arguments)}}function s(Q,ut,tr){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(Q,ut){this.a=Q,this.o=ut||Q,this.c=this.o.document}var l=!!window.FontFace;function m(Q,ut,tr,rt){if(ut=Q.c.createElement(ut),tr)for(var _t in tr)tr.hasOwnProperty(_t)&&(_t=="style"?ut.style.cssText=tr[_t]:ut.setAttribute(_t,tr[_t]));return rt&&ut.appendChild(Q.c.createTextNode(rt)),ut}function g(Q,ut,tr){Q=Q.c.getElementsByTagName(ut)[0],Q||(Q=document.documentElement),Q.insertBefore(tr,Q.lastChild)}function h(Q){Q.parentNode&&Q.parentNode.removeChild(Q)}function v(Q,ut,tr){ut=ut||[],tr=tr||[];for(var rt=Q.className.split(/\s+/),_t=0;_t<ut.length;_t+=1){for(var Yr=!1,ln=0;ln<rt.length;ln+=1)if(ut[_t]===rt[ln]){Yr=!0;break}Yr||rt.push(ut[_t])}for(ut=[],_t=0;_t<rt.length;_t+=1){for(Yr=!1,ln=0;ln<tr.length;ln+=1)if(rt[_t]===tr[ln]){Yr=!0;break}Yr||ut.push(rt[_t])}Q.className=ut.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function E(Q,ut){for(var tr=Q.className.split(/\s+/),rt=0,_t=tr.length;rt<_t;rt++)if(tr[rt]==ut)return!0;return!1}function w(Q){return Q.o.location.hostname||Q.a.location.hostname}function T(Q,ut,tr){function rt(){cn&&_t&&Yr&&(cn(ln),cn=null)}ut=m(Q,"link",{rel:"stylesheet",href:ut,media:"all"});var _t=!1,Yr=!0,ln=null,cn=tr||null;l?(ut.onload=function(){_t=!0,rt()},ut.onerror=function(){_t=!0,ln=Error("Stylesheet failed to load"),rt()}):setTimeout(function(){_t=!0,rt()},0),g(Q,"head",ut)}function C(Q,ut,tr,rt){var _t=Q.c.getElementsByTagName("head")[0];if(_t){var Yr=m(Q,"script",{src:ut}),ln=!1;return Yr.onload=Yr.onreadystatechange=function(){ln||this.readyState&&this.readyState!="loaded"&&this.readyState!="complete"||(ln=!0,tr&&tr(null),Yr.onload=Yr.onreadystatechange=null,Yr.parentNode.tagName=="HEAD"&&_t.removeChild(Yr))},_t.appendChild(Yr),setTimeout(function(){ln||(ln=!0,tr&&tr(Error("Script load timeout")))},rt||5e3),Yr}return null}function O(){this.a=0,this.c=null}function R(Q){return Q.a++,function(){Q.a--,M(Q)}}function B(Q,ut){Q.c=ut,M(Q)}function M(Q){Q.a==0&&Q.c&&(Q.c(),Q.c=null)}function F(Q){this.a=Q||"-"}F.prototype.c=function(Q){for(var ut=[],tr=0;tr<arguments.length;tr++)ut.push(arguments[tr].replace(/[\W_]+/g,"").toLowerCase());return ut.join(this.a)};function H(Q,ut){this.c=Q,this.f=4,this.a="n";var tr=(ut||"n4").match(/^([nio])([1-9])$/i);tr&&(this.a=tr[1],this.f=parseInt(tr[2],10))}function U(Q){return te(Q)+" "+(Q.f+"00")+" 300px "+W(Q.c)}function W(Q){var ut=[];Q=Q.split(/,\s*/);for(var tr=0;tr<Q.length;tr++){var rt=Q[tr].replace(/['"]/g,"");rt.indexOf(" ")!=-1||/^\d/.test(rt)?ut.push("'"+rt+"'"):ut.push(rt)}return ut.join(",")}function X(Q){return Q.a+Q.f}function te(Q){var ut="normal";return Q.a==="o"?ut="oblique":Q.a==="i"&&(ut="italic"),ut}function q(Q){var ut=4,tr="n",rt=null;return Q&&((rt=Q.match(/(normal|oblique|italic)/i))&&rt[1]&&(tr=rt[1].substr(0,1).toLowerCase()),(rt=Q.match(/([1-9]00|normal|bold)/i))&&rt[1]&&(/bold/i.test(rt[1])?ut=7:/[1-9]00/.test(rt[1])&&(ut=parseInt(rt[1].substr(0,1),10)))),tr+ut}function ae(Q,ut){this.c=Q,this.f=Q.o.document.documentElement,this.h=ut,this.a=new F("-"),this.j=ut.events!==!1,this.g=ut.classes!==!1}function le(Q){Q.g&&v(Q.f,[Q.a.c("wf","loading")]),ge(Q,"loading")}
734function pe(Q){if(Q.g){var ut=E(Q.f,Q.a.c("wf","active")),tr=[],rt=[Q.a.c("wf","loading")];ut||tr.push(Q.a.c("wf","inactive")),v(Q.f,tr,rt)}ge(Q,"inactive")}function ge(Q,ut,tr){Q.j&&Q.h[ut]&&(tr?Q.h[ut](tr.c,X(tr)):Q.h[ut]())}function Ie(){this.c={}}function Ce(Q,ut,tr){var rt=[],_t;for(_t in ut)if(ut.hasOwnProperty(_t)){var Yr=Q.c[_t];Yr&&rt.push(Yr(ut[_t],tr))}return rt}function Je(Q,ut){this.c=Q,this.f=ut,this.a=m(this.c,"span",{"aria-hidden":"true"},this.f)}function qe(Q){g(Q.c,"body",Q.a)}function ye(Q){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:"+W(Q.c)+";"+("font-style:"+te(Q)+";font-weight:"+(Q.f+"00")+";")}function xe(Q,ut,tr,rt,_t,Yr){this.g=Q,this.j=ut,this.a=rt,this.c=tr,this.f=_t||3e3,this.h=Yr||void 0}xe.prototype.start=function(){var Q=this.c.o.document,ut=this,tr=i(),rt=new Promise(function(ln,cn){function gn(){i()-tr>=ut.f?cn():Q.fonts.load(U(ut.a),ut.h).then(function(wi){1<=wi.length?ln():setTimeout(gn,25)},function(){cn()})}gn()}),_t=null,Yr=new Promise(function(ln,cn){_t=setTimeout(cn,ut.f)});Promise.race([Yr,rt]).then(function(){_t&&(clearTimeout(_t),_t=null),ut.g(ut.a)},function(){ut.j(ut.a)})};function De(Q,ut,tr,rt,_t,Yr,ln){this.v=Q,this.B=ut,this.c=tr,this.a=rt,this.s=ln||"BESbswy",this.f={},this.w=_t||3e3,this.u=Yr||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),Q=new H(this.a.c+",serif",X(this.a)),Q=ye(Q),this.g.a.style.cssText=Q,Q=new H(this.a.c+",sans-serif",X(this.a)),Q=ye(Q),this.h.a.style.cssText=Q,Q=new H("serif",X(this.a)),Q=ye(Q),this.j.a.style.cssText=Q,Q=new H("sans-serif",X(this.a)),Q=ye(Q),this.m.a.style.cssText=Q,qe(this.g),qe(this.h),qe(this.j),qe(this.m)}var Fe={D:"serif",C:"sans-serif"},be=null;
734function ke(){if(be===null){var Q=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);be=!!Q&&(536>parseInt(Q[1],10)||parseInt(Q[1],10)===536&&11>=parseInt(Q[2],10))}return be}De.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=i(),Xe(this)};function Ge(Q,ut,tr){for(var rt in Fe)if(Fe.hasOwnProperty(rt)&&ut===Q.f[Fe[rt]]&&tr===Q.f[Fe[rt]])return!0;return!1}function Xe(Q){var ut=Q.g.a.offsetWidth,tr=Q.h.a.offsetWidth,rt;(rt=ut===Q.f.serif&&tr===Q.f["sans-serif"])||(rt=ke()&&Ge(Q,ut,tr)),rt?i()-Q.A>=Q.w?ke()&&Ge(Q,ut,tr)&&(Q.u===null||Q.u.hasOwnProperty(Q.a.c))?yt(Q,Q.v):yt(Q,Q.B):At(Q):yt(Q,Q.v)}function At(Q){setTimeout(s(function(){Xe(this)},Q),50)}function yt(Q,ut){setTimeout(s(function(){h(this.g.a),h(this.h.a),h(this.j.a),h(this.m.a),ut(this.a)},Q),0)}function kt(Q,ut,tr){this.c=Q,this.a=ut,this.f=0,this.m=this.j=!1,this.s=tr}var Nt=null;kt.prototype.g=function(Q){var ut=this.a;ut.g&&v(ut.f,[ut.a.c("wf",Q.c,X(Q).toString(),"active")],[ut.a.c("wf",Q.c,X(Q).toString(),"loading"),ut.a.c("wf",Q.c,X(Q).toString(),"inactive")]),ge(ut,"fontactive",Q),this.m=!0,Ir(this)},kt.prototype.h=function(Q){var ut=this.a;if(ut.g){var tr=E(ut.f,ut.a.c("wf",Q.c,X(Q).toString(),"active")),rt=[],_t=[ut.a.c("wf",Q.c,X(Q).toString(),"loading")];tr||rt.push(ut.a.c("wf",Q.c,X(Q).toString(),"inactive")),v(ut.f,rt,_t)}ge(ut,"fontinactive",Q),Ir(this)};function Ir(Q){--Q.f==0&&Q.j&&(Q.m?(Q=Q.a,Q.g&&v(Q.f,[Q.a.c("wf","active")],[Q.a.c("wf","loading"),Q.a.c("wf","inactive")]),ge(Q,"active")):pe(Q.a))}function yr(Q){this.j=Q,this.a=new Ie,this.h=0,this.f=this.g=!0}yr.prototype.load=function(Q){this.c=new u(this.j,Q.context||this.j),this.g=Q.events!==!1,this.f=Q.classes!==!1,$r(this,new ae(this.c,Q),Q)};function Wr(Q,ut,tr,rt,_t){var Yr=--Q.h==0;(Q.f||Q.g)&&setTimeout(function(){var ln=_t||null,cn=rt||null||{};if(tr.length===0&&Yr)pe(ut.a);else{ut.f+=tr.length,Yr&&(ut.j=Yr);var gn,wi=[];for(gn=0;gn<tr.length;gn++){var ki=tr[gn],Ur=cn[ki.c],Bi=ut.a,bs=ki;if(Bi.g&&v(Bi.f,[Bi.a.c("wf",bs.c,X(bs).toString(),"loading")]),ge(Bi,"fontloading",bs),Bi=null,Nt===null)if(window.FontFace){var bs=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent),Di=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);Nt=bs?42<parseInt(bs[1],10):!Di}else Nt=!1;Nt?Bi=new xe(s(ut.g,ut),s(ut.h,ut),ut.c,ki,ut.s,Ur):Bi=new De(s(ut.g,ut),s(ut.h,ut),ut.c,ki,ut.s,ln,Ur),wi.push(Bi)}for(gn=0;gn<wi.length;gn++)wi[gn].start()}},0)}function $r(Q,ut,tr){var _t=[],rt=tr.timeout;le(ut);var _t=Ce(Q.a,tr,Q.c),Yr=new kt(Q.c,ut,rt);for(Q.h=_t.length,ut=0,tr=_t.length;ut<tr;ut++)_t[ut].load(function(ln,cn,gn){Wr(Q,Yr,ln,cn,gn)})}function sn(Q,ut){this.c=Q,this.a=ut}sn.prototype.load=function(Q){function ut(){if(Yr["__mti_fntLst"+rt]){var ln=Yr["__mti_fntLst"+rt](),cn=[],gn;if(ln)for(var wi=0;wi<ln.length;wi++){var ki=ln[wi].fontfamily;ln[wi].fontStyle!=null&&ln[wi].fontWeight!=null?(gn=ln[wi].fontStyle+ln[wi].fontWeight,cn.push(new H(ki,gn))):cn.push(new H(ki))}Q(cn)}else setTimeout(function(){ut()},50)}var tr=this,rt=tr.a.projectId,_t=tr.a.version;if(rt){var Yr=tr.c.o;C(this.c,(tr.a.api||"https://fast.fonts.net/jsapi")+"/"+rt+".js"+(_t?"?v="+_t:""),function(ln){ln?Q([]):(Yr["__MonotypeConfiguration__"+rt]=function(){return tr.a},ut())}).id="__MonotypeAPIScript__"+rt}else Q([])};function Hr(Q,ut){this.c=Q,this.a=ut}Hr.prototype.load=function(Q){var ut,tr,rt=this.a.urls||[],_t=this.a.families||[],Yr=this.a.testStrings||{},ln=new O;for(ut=0,tr=rt.length;ut<tr;ut++)T(this.c,rt[ut],R(ln));var cn=[];for(ut=0,tr=_t.length;ut<tr;ut++)if(rt=_t[ut].split(":"),rt[1])for(var gn=rt[1].split(","),wi=0;wi<gn.length;wi+=1)cn.push(new H(rt[0],gn[wi]));else cn.push(new H(rt[0]));B(ln,function(){Q(cn,Yr)})};function pt(Q,ut){Q?this.c=Q:this.c=et,this.a=[],this.f=[],this.g=ut||""}var et="https://fonts.googleapis.com/css";function wr(Q,ut){for(var tr=ut.length,rt=0;rt<tr;rt++){var _t=ut[rt].split(":");_t.length==3&&Q.f.push(_t.pop());var Yr="";_t.length==2&&_t[1]!=""&&(Yr=":"),Q.a.push(_t.join(Yr))}}function Dr(Q){if(Q.a.length==0)throw Error("No fonts to load!");if(Q.c.indexOf("kit=")!=-1)return Q.c;for(var ut=Q.a.length,tr=[],rt=0;rt<ut;rt++)tr.push(Q.a[rt].replace(/ /g,"+"));return ut=Q.c+"?family="+tr.join("%7C"),0<Q.f.length&&(ut+="&subset="+Q.f.join(",")),0<Q.g.length&&(ut+="&text="+encodeURIComponent(Q.g)),ut}function Sr(Q){this.f=Q,this.a=[],this.c={}}var kr={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"},qt={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"},Sn={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 Nr(Q){for(var ut=Q.f.length,tr=0;tr<ut;tr++){var rt=Q.f[tr].split(":"),_t=rt[0].replace(/\+/g," "),Yr=["n4"];if(2<=rt.length){var ln,cn=rt[1];if(ln=[],cn)for(var cn=cn.split(","),gn=cn.length,wi=0;wi<gn;wi++){var ki;if(ki=cn[wi],ki.match(/^[\w-]+$/)){var Ur=dr.exec(ki.toLowerCase());if(Ur==null)ki="";else{if(ki=Ur[2],ki=ki==null||ki==""?"n":Sn[ki],Ur=Ur[1],Ur==null||Ur=="")Ur="4";else var Bi=qt[Ur],Ur=Bi||(isNaN(Ur)?"4":Ur.substr(0,1));ki=[ki,Ur].join("")}}else ki="";ki&&ln.push(ki)}0<ln.length&&(Yr=ln),rt.length==3&&(rt=rt[2],ln=[],rt=rt?rt.split(","):ln,0<rt.length&&(rt=kr[rt[0]])&&(Q.c[_t]=rt))}for(Q.c[_t]||(rt=kr[_t])&&(Q.c[_t]=rt),rt=0;rt<Yr.length;rt+=1)Q.a.push(new H(_t,Yr[rt]))}}function un(Q,ut){this.c=Q,this.a=ut}var Xt={Arimo:!0,Cousine:!0,Tinos:!0};un.prototype.load=function(Q){var ut=new O,tr=this.c,rt=new pt(this.a.api,this.a.text),_t=this.a.families;wr(rt,_t);var Yr=new Sr(_t);Nr(Yr),T(tr,Dr(rt),R(ut)),B(ut,function(){Q(Yr.a,Yr.c,Xt)})};function br(Q,ut){this.c=Q,this.a=ut}br.prototype.load=function(Q){var ut=this.a.id,tr=this.c.o;ut?C(this.c,(this.a.api||"https://use.typekit.net")+"/"+ut+".js",function(rt){if(rt)Q([]);else if(tr.Typekit&&tr.Typekit.config&&tr.Typekit.config.fn){rt=tr.Typekit.config.fn;for(var _t=[],Yr=0;Yr<rt.length;Yr+=2)for(var ln=rt[Yr],cn=rt[Yr+1],gn=0;gn<cn.length;gn++)_t.push(new H(ln,cn[gn]));try{tr.Typekit.load({events:!1,classes:!1,async:!0})}catch{}Q(_t)}},2e3):Q([])};function $t(Q,ut){this.c=Q,this.f=ut,this.a=[]}$t.prototype.load=function(Q){var ut=this.f.id,tr=this.c.o,rt=this;ut?(tr.__webfontfontdeckmodule__||(tr.__webfontfontdeckmodule__={}),tr.__webfontfontdeckmodule__[ut]=function(_t,Yr){for(var ln=0,cn=Yr.fonts.length;ln<cn;++ln){var gn=Yr.fonts[ln];rt.a.push(new H(gn.name,q("font-weight:"+gn.weight+";font-style:"+gn.style)))}Q(rt.a)},C(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+w(this.c)+"/"+ut+".js",function(_t){_t&&Q([])})):Q([])};var wt=new yr(window);wt.a.c.custom=function(Q,ut){return new Hr(ut,Q)},wt.a.c.fontdeck=function(Q,ut){return new $t(ut,Q)},wt.a.c.monotype=function(Q,ut){return new sn(ut,Q)},wt.a.c.typekit=function(Q,ut){return new br(ut,Q)},wt.a.c.google=function(Q,ut){return new un(ut,Q)};var Ar={load:s(wt.load,wt)};n=(function(){return Ar}).call(d,e,d,f),n!==void 0&&(f.exports=n)})()},43845(f){"use strict";/*! Axios v1.16.0 Copyright (c) 2026 Matt Zabriskie and contributors */function d(Le,Ye){return function(){return Le.apply(Ye,arguments)}}const{toString:e}=Object.prototype,{getPrototypeOf:n}
vendor: 4,424 bytes, line 734
734=Object,{iterator:r,toStringTag:a}=Symbol,s=(Le=>Ye=>{const ft=e.call(Ye);return Le[ft]||(Le[ft]=ft.slice(8,-1).toLowerCase())})(Object.create(null)),i=Le=>(Le=Le.toLowerCase(),Ye=>s(Ye)===Le),u=Le=>Ye=>typeof Ye===Le,{isArray:l}=Array,m=u("undefined");function g(Le){return Le!==null&&!m(Le)&&Le.constructor!==null&&!m(Le.constructor)&&w(Le.constructor.isBuffer)&&Le.constructor.isBuffer(Le)}const h=i("ArrayBuffer");function v(Le){let Ye;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?Ye=ArrayBuffer.isView(Le):Ye=Le&&Le.buffer&&h(Le.buffer),Ye}const E=u("string"),w=u("function"),T=u("number"),C=Le=>Le!==null&&typeof Le=="object",O=Le=>Le===!0||Le===!1,R=Le=>{if(s(Le)!=="object")return!1;const Ye=n(Le);return(Ye===null||Ye===Object.prototype||Object.getPrototypeOf(Ye)===null)&&!(a in Le)&&!(r in Le)},B=Le=>{if(!C(Le)||g(Le))return!1;try{return Object.keys(Le).length===0&&Object.getPrototypeOf(Le)===Object.prototype}catch{return!1}},M=i("Date"),F=i("File"),H=Le=>!!(Le&&typeof Le.uri<"u"),U=Le=>Le&&typeof Le.getParts<"u",W=i("Blob"),X=i("FileList"),te=Le=>C(Le)&&w(Le.pipe);function q(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const ae=q(),le=typeof ae.FormData<"u"?ae.FormData:void 0,pe=Le=>{if(!Le)return!1;if(le&&Le instanceof le)return!0;const Ye=n(Le);if(!Ye||Ye===Object.prototype||!w(Le.append))return!1;const ft=s(Le);return ft==="formdata"||ft==="object"&&w(Le.toString)&&Le.toString()==="[object FormData]"},ge=i("URLSearchParams"),[Ie,Ce,Je,qe]=["ReadableStream","Request","Response","Headers"].map(i),ye=Le=>Le.trim?Le.trim():Le.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xe(Le,Ye,{allOwnKeys:ft=!1}={}){if(Le===null||typeof Le>"u")return;let ht,Mt;if(typeof Le!="object"&&(Le=[Le]),l(Le))for(ht=0,Mt=Le.length;ht<Mt;ht++)Ye.call(null,Le[ht],ht,Le);else{if(g(Le))return;const Jt=ft?Object.getOwnPropertyNames(Le):Object.keys(Le),Er=Jt.length;let Lr;for(ht=0;ht<Er;ht++)Lr=Jt[ht],Ye.call(null,Le[Lr],Lr,Le)}}function De(Le,Ye){if(g(Le))return null;Ye=Ye.toLowerCase();const ft=Object.keys(Le);let ht=ft.length,Mt;for(;ht-- >0;)if(Mt=ft[ht],Ye===Mt.toLowerCase())return Mt;return null}const Fe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,be=Le=>!m(Le)&&Le!==Fe;function ke(...Le){const{caseless:Ye,skipUndefined:ft}=be(this)&&this||{},ht={},Mt=(Jt,Er)=>{if(Er==="__proto__"||Er==="constructor"||Er==="prototype")return;const Lr=Ye&&De(ht,Er)||Er,Mn=Hr(ht,Lr)?ht[Lr]:void 0;R(Mn)&&R(Jt)?ht[Lr]=ke(Mn,Jt):R(Jt)?ht[Lr]=ke({},Jt):l(Jt)?ht[Lr]=Jt.slice():(!ft||!m(Jt))&&(ht[Lr]=Jt)};for(let Jt=0,Er=Le.length;Jt<Er;Jt++)Le[Jt]&&xe(Le[Jt],Mt);return ht}const Ge=(Le,Ye,ft,{allOwnKeys:ht}={})=>(xe(Ye,(Mt,Jt)=>{ft&&w(Mt)?Object.defineProperty(Le,Jt,{__proto__:null,value:d(Mt,ft),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(Le,Jt,{__proto__:null,value:Mt,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:ht}),Le),Xe=Le=>(Le.charCodeAt(0)===65279&&(Le=Le.slice(1)),Le),At=(Le,Ye,ft,ht)=>{Le.prototype=Object.create(Ye.prototype,ht),Object.defineProperty(Le.prototype,"constructor",{__proto__:null,value:Le,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(Le,"super",{__proto__:null,value:Ye.prototype}),ft&&Object.assign(Le.prototype,ft)},yt=(Le,Ye,ft,ht)=>{let Mt,Jt,Er;const Lr={};if(Ye=Ye||{},Le==null)return Ye;do{for(Mt=Object.getOwnPropertyNames(Le),Jt=Mt.length;Jt-- >0;)Er=Mt[Jt],(!ht||ht(Er,Le,Ye))&&!Lr[Er]&&(Ye[Er]=Le[Er],Lr[Er]=!0);Le=ft!==!1&&n(Le)}while(Le&&(!ft||ft(Le,Ye))&&Le!==Object.prototype);return Ye},kt=(Le,Ye,ft)=>{Le=String(Le),(ft===void 0||ft>Le.length)&&(ft=Le.length),ft-=Ye.length;const ht=Le.indexOf(Ye,ft);return ht!==-1&&ht===ft},Nt=Le=>{if(!Le)return null;if(l(Le))return Le;let Ye=Le.length;if(!T(Ye))return null;const ft=new Array(Ye);for(;Ye-- >0;)ft[Ye]=Le[Ye];return ft},Ir=(Le=>Ye=>Le&&Ye instanceof Le)(typeof Uint8Array<"u"&&n(Uint8Array)),yr=(Le,Ye)=>{const ht=(Le&&Le[r]).call(Le);let Mt;for(;(Mt=ht.next())&&!Mt.done;){const Jt=Mt.value;Ye.call(Le,Jt[0],Jt[1])}},Wr=(Le,Ye)=>{let ft;const ht=[];for(;(ft=Le.exec(Ye))!==null;)ht.push(ft);return ht},$r=i("HTMLFormElement"),sn=Le=>Le.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ft,ht,Mt){return ht.toUpperCase()+Mt}),Hr=(({hasOwnProperty:Le})=>(Ye,ft)=>Le.call(Ye,ft))(Object.prototype),pt=i("RegExp"),et=(Le,Ye)=>
vendor: 4,873 bytes, lines 734-735
734{const ft=Object.getOwnPropertyDescriptors(Le),ht={};xe(ft,(Mt,Jt)=>{let Er;(Er=Ye(Mt,Jt,Le))!==!1&&(ht[Jt]=Er||Mt)}),Object.defineProperties(Le,ht)},wr=Le=>{et(Le,(Ye,ft)=>{if(w(Le)&&["arguments","caller","callee"].includes(ft))return!1;const ht=Le[ft];if(w(ht)){if(Ye.enumerable=!1,"writable"in Ye){Ye.writable=!1;return}Ye.set||(Ye.set=()=>{throw Error("Can not rewrite read-only method '"+ft+"'")})}})},Dr=(Le,Ye)=>{const ft={},ht=Mt=>{Mt.forEach(Jt=>{ft[Jt]=!0})};return l(Le)?ht(Le):ht(String(Le).split(Ye)),ft},Sr=()=>{},kr=(Le,Ye)=>Le!=null&&Number.isFinite(Le=+Le)?Le:Ye;function qt(Le){return!!(Le&&w(Le.append)&&Le[a]==="FormData"&&Le[r])}const Sn=Le=>{const Ye=new Array(10),ft=(ht,Mt)=>{if(C(ht)){if(Ye.indexOf(ht)>=0)return;if(g(ht))return ht;if(!("toJSON"in ht)){Ye[Mt]=ht;const Jt=l(ht)?[]:{};return xe(ht,(Er,Lr)=>{const Mn=ft(Er,Mt+1);!m(Mn)&&(Jt[Lr]=Mn)}),Ye[Mt]=void 0,Jt}}return ht};return ft(Le,0)},dr=i("AsyncFunction"),Nr=Le=>Le&&(C(Le)||w(Le))&&w(Le.then)&&w(Le.catch),un=((Le,Ye)=>Le?setImmediate:Ye?((ft,ht)=>(Fe.addEventListener("message",({source:Mt,data:Jt})=>{Mt===Fe&&Jt===ft&&ht.length&&ht.shift()()},!1),Mt=>{ht.push(Mt),Fe.postMessage(ft,"*")}))(`axios@${Math.random()}`,[]):ft=>setTimeout(ft))(typeof setImmediate=="function",w(Fe.postMessage)),Xt=typeof queueMicrotask<"u"?queueMicrotask.bind(Fe):typeof process<"u"&&process.nextTick||un;var $t={isArray:l,isArrayBuffer:h,isBuffer:g,isFormData:pe,isArrayBufferView:v,isString:E,isNumber:T,isBoolean:O,isObject:C,isPlainObject:R,isEmptyObject:B,isReadableStream:Ie,isRequest:Ce,isResponse:Je,isHeaders:qe,isUndefined:m,isDate:M,isFile:F,isReactNativeBlob:H,isReactNative:U,isBlob:W,isRegExp:pt,isFunction:w,isStream:te,isURLSearchParams:ge,isTypedArray:Ir,isFileList:X,forEach:xe,merge:ke,extend:Ge,trim:ye,stripBOM:Xe,inherits:At,toFlatObject:yt,kindOf:s,kindOfTest:i,endsWith:kt,toArray:Nt,forEachEntry:yr,matchAll:Wr,isHTMLForm:$r,hasOwnProperty:Hr,hasOwnProp:Hr,reduceDescriptors:et,freezeMethods:wr,toObjectSet:Dr,toCamelCase:sn,noop:Sr,toFiniteNumber:kr,findKey:De,global:Fe,isContextDefined:be,isSpecCompliantForm:qt,toJSONObject:Sn,isAsyncFn:dr,isThenable:Nr,setImmediate:un,asap:Xt,isIterable:Le=>Le!=null&&w(Le[r])};const wt=$t.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 Ar=Le=>{const Ye={};let ft,ht,Mt;return Le&&Le.split(` 735`).forEach(function(Er){Mt=Er.indexOf(":"),ft=Er.substring(0,Mt).trim().toLowerCase(),ht=Er.substring(Mt+1).trim(),!(!ft||Ye[ft]&&wt[ft])&&(ft==="set-cookie"?Ye[ft]?Ye[ft].push(ht):Ye[ft]=[ht]:Ye[ft]=Ye[ft]?Ye[ft]+", "+ht:ht)}),Ye};const Q=Symbol("internals"),ut=/[^\x09\x20-\x7E\x80-\xFF]/g;function tr(Le){let Ye=0,ft=Le.length;for(;Ye<ft;){const ht=Le.charCodeAt(Ye);if(ht!==9&&ht!==32)break;Ye+=1}for(;ft>Ye;){const ht=Le.charCodeAt(ft-1);if(ht!==9&&ht!==32)break;ft-=1}return Ye===0&&ft===Le.length?Le:Le.slice(Ye,ft)}function rt(Le){return Le&&String(Le).trim().toLowerCase()}function _t(Le){return tr(Le.replace(ut,""))}function Yr(Le){return Le===!1||Le==null?Le:$t.isArray(Le)?Le.map(Yr):_t(String(Le))}function ln(Le){const Ye=Object.create(null),ft=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let ht;for(;ht=ft.exec(Le);)Ye[ht[1]]=ht[2];return Ye}const cn=Le=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Le.trim());function gn(Le,Ye,ft,ht,Mt){if($t.isFunction(ht))return ht.call(this,Ye,ft);if(Mt&&(Ye=ft),!!$t.isString(Ye)){if($t.isString(ht))return Ye.indexOf(ht)!==-1;if($t.isRegExp(ht))return ht.test(Ye)}}function wi(Le){return Le.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Ye,ft,ht)=>ft.toUpperCase()+ht)}function ki(Le,Ye){const ft=$t.toCamelCase(" "+Ye);["get","set","has"].forEach(ht=>{Object.defineProperty(Le,ht+ft,{__proto__:null,value:function(Mt,Jt,Er){return this[ht].call(this,Ye,Mt,Jt,Er)},configurable:!0})})}class Ur{constructor(Ye){Ye&&this.set(Ye)}set(Ye,ft,ht){const Mt=this;function Jt(Lr,Mn,Pn){const kn=rt(Mn);if(!kn)throw new Error("header name must be a non-empty string");const Gi=$t.findKey(Mt,kn);(!Gi||Mt[Gi]===void 0||Pn===!0||Pn===void 0&&Mt[Gi]!==!1)&&(Mt[Gi||Mn]=Yr(Lr))}const Er=(Lr,Mn)=>$t.forEach(Lr,(Pn,kn)=>Jt(Pn,kn,Mn));if($t.isPlainObject(Ye)||Ye instanceof this.constructor)Er(Ye,ft);else if($t.isString(Ye)&&(Ye=Ye.trim())&&!cn(Ye))Er(Ar(Ye),ft);else if($t.isObject(Ye)&&$t.isIterable(Ye)){let Lr={},Mn,Pn;for(const kn of Ye){if(!$t.isArray(kn))throw TypeError("Object iterator must return a key-value pair");Lr[Pn=kn[0]]=(Mn=Lr[Pn])?$t.isArray(Mn)?[...Mn,kn[1]]:[Mn,kn[1]]:kn[1]}Er(Lr,ft)}else Ye!=null&&Jt(ft,Ye,ht);return this}get(Ye,ft){if(Ye=rt(Ye),Ye){const ht=$t.findKey(this,Ye);if(ht){const Mt=this[ht];if(!ft)return Mt;if(ft===!0)return ln(Mt);if($t.isFunction(ft))return ft.call(this,Mt,ht);
vendor: 5,139 bytes, lines 735-736
735if($t.isRegExp(ft))return ft.exec(Mt);throw new TypeError("parser must be boolean|regexp|function")}}}has(Ye,ft){if(Ye=rt(Ye),Ye){const ht=$t.findKey(this,Ye);return!!(ht&&this[ht]!==void 0&&(!ft||gn(this,this[ht],ht,ft)))}return!1}delete(Ye,ft){const ht=this;let Mt=!1;function Jt(Er){if(Er=rt(Er),Er){const Lr=$t.findKey(ht,Er);Lr&&(!ft||gn(ht,ht[Lr],Lr,ft))&&(delete ht[Lr],Mt=!0)}}return $t.isArray(Ye)?Ye.forEach(Jt):Jt(Ye),Mt}clear(Ye){const ft=Object.keys(this);let ht=ft.length,Mt=!1;for(;ht--;){const Jt=ft[ht];(!Ye||gn(this,this[Jt],Jt,Ye,!0))&&(delete this[Jt],Mt=!0)}return Mt}normalize(Ye){const ft=this,ht={};return $t.forEach(this,(Mt,Jt)=>{const Er=$t.findKey(ht,Jt);if(Er){ft[Er]=Yr(Mt),delete ft[Jt];return}const Lr=Ye?wi(Jt):String(Jt).trim();Lr!==Jt&&delete ft[Jt],ft[Lr]=Yr(Mt),ht[Lr]=!0}),this}concat(...Ye){return this.constructor.concat(this,...Ye)}toJSON(Ye){const ft=Object.create(null);return $t.forEach(this,(ht,Mt)=>{ht!=null&&ht!==!1&&(ft[Mt]=Ye&&$t.isArray(ht)?ht.join(", "):ht)}),ft}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([Ye,ft])=>Ye+": "+ft).join(` 736`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(Ye){return Ye instanceof this?Ye:new this(Ye)}static concat(Ye,...ft){const ht=new this(Ye);return ft.forEach(Mt=>ht.set(Mt)),ht}static accessor(Ye){const ht=(this[Q]=this[Q]={accessors:{}}).accessors,Mt=this.prototype;function Jt(Er){const Lr=rt(Er);ht[Lr]||(ki(Mt,Er),ht[Lr]=!0)}return $t.isArray(Ye)?Ye.forEach(Jt):Jt(Ye),this}}Ur.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$t.reduceDescriptors(Ur.prototype,({value:Le},Ye)=>{let ft=Ye[0].toUpperCase()+Ye.slice(1);return{get:()=>Le,set(ht){this[ft]=ht}}}),$t.freezeMethods(Ur);const Bi="[REDACTED ****]";function bs(Le){if($t.hasOwnProp(Le,"toJSON"))return!0;let Ye=Object.getPrototypeOf(Le);for(;Ye&&Ye!==Object.prototype;){if($t.hasOwnProp(Ye,"toJSON"))return!0;Ye=Object.getPrototypeOf(Ye)}return!1}function Di(Le,Ye){const ft=new Set(Ye.map(Jt=>String(Jt).toLowerCase())),ht=[],Mt=Jt=>{if(Jt===null||typeof Jt!="object"||$t.isBuffer(Jt))return Jt;if(ht.indexOf(Jt)!==-1)return;Jt instanceof Ur&&(Jt=Jt.toJSON()),ht.push(Jt);let Er;if($t.isArray(Jt))Er=[],Jt.forEach((Lr,Mn)=>{const Pn=Mt(Lr);$t.isUndefined(Pn)||(Er[Mn]=Pn)});else{if(!$t.isPlainObject(Jt)&&bs(Jt))return ht.pop(),Jt;Er=Object.create(null);for(const[Lr,Mn]of Object.entries(Jt)){const Pn=ft.has(Lr.toLowerCase())?Bi:Mt(Mn);$t.isUndefined(Pn)||(Er[Lr]=Pn)}}return ht.pop(),Er};return Mt(Le)}class on extends Error{static from(Ye,ft,ht,Mt,Jt,Er){const Lr=new on(Ye.message,ft||Ye.code,ht,Mt,Jt);return Lr.cause=Ye,Lr.name=Ye.name,Ye.status!=null&&Lr.status==null&&(Lr.status=Ye.status),Er&&Object.assign(Lr,Er),Lr}constructor(Ye,ft,ht,Mt,Jt){super(Ye),Object.defineProperty(this,"message",{__proto__:null,value:Ye,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,ft&&(this.code=ft),ht&&(this.config=ht),Mt&&(this.request=Mt),Jt&&(this.response=Jt,this.status=Jt.status)}toJSON(){const Ye=this.config,ft=Ye&&$t.hasOwnProp(Ye,"redact")?Ye.redact:void 0,ht=$t.isArray(ft)&&ft.length>0?Di(Ye,ft):$t.toJSONObject(Ye);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:ht,code:this.code,status:this.status}}}on.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",on.ERR_BAD_OPTION="ERR_BAD_OPTION",on.ECONNABORTED="ECONNABORTED",on.ETIMEDOUT="ETIMEDOUT",on.ECONNREFUSED="ECONNREFUSED",on.ERR_NETWORK="ERR_NETWORK",on.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",on.ERR_DEPRECATED="ERR_DEPRECATED",on.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",on.ERR_BAD_REQUEST="ERR_BAD_REQUEST",on.ERR_CANCELED="ERR_CANCELED",on.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",on.ERR_INVALID_URL="ERR_INVALID_URL",on.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var fi=null;function qi(Le){return $t.isPlainObject(Le)||$t.isArray(Le)}function ri(Le){return $t.endsWith(Le,"[]")?Le.slice(0,-2):Le}function Vi(Le,Ye,ft){return Le?Le.concat(Ye).map(function(Mt,Jt){return Mt=ri(Mt),!ft&&Jt?"["+Mt+"]":Mt}).join(ft?".":""):Ye}function si(Le){return $t.isArray(Le)&&!Le.some(qi)}const ks=$t.toFlatObject($t,{},null,function(Ye){return/^is[A-Z]/.test(Ye)});function cr(Le,Ye,ft){if(!$t.isObject(Le))throw new TypeError("target must be an object");Ye=Ye||new FormData,ft=$t.toFlatObject(ft,{metaTokens:!0,dots:!1,indexes:!1},!1,function(sr,Cr){return!$t.isUndefined(Cr[sr])});const ht=ft.metaTokens,Mt=ft.visitor||Gi,Jt=ft.dots,Er=ft.indexes,Lr=ft.Blob||typeof Blob<"u"&&Blob,Mn=ft.maxDepth===void 0?100:ft.maxDepth,Pn=Lr&&$t.isSpecCompliantForm(Ye);if(!$t.isFunction(Mt))throw new TypeError("visitor must be a function");function kn(Bt){if(Bt===null)return"";if($t.isDate(Bt))return Bt.toISOString();if($t.isBoolean(Bt))return Bt.toString();if(!Pn&&$t.isBlob(Bt))throw new on("Blob is not supported. Use a Buffer instead.");
vendor: 4,152 bytes, line 736
736return $t.isArrayBuffer(Bt)||$t.isTypedArray(Bt)?Pn&&typeof Blob=="function"?new Blob([Bt]):Buffer.from(Bt):Bt}function Gi(Bt,sr,Cr){let Fn=Bt;if($t.isReactNative(Ye)&&$t.isReactNativeBlob(Bt))return Ye.append(Vi(Cr,sr,Jt),kn(Bt)),!1;if(Bt&&!Cr&&typeof Bt=="object"){if($t.endsWith(sr,"{}"))sr=ht?sr:sr.slice(0,-2),Bt=JSON.stringify(Bt);else if($t.isArray(Bt)&&si(Bt)||($t.isFileList(Bt)||$t.endsWith(sr,"[]"))&&(Fn=$t.toArray(Bt)))return sr=ri(sr),Fn.forEach(function(Be,it){!($t.isUndefined(Be)||Be===null)&&Ye.append(Er===!0?Vi([sr],it,Jt):Er===null?sr:sr+"[]",kn(Be))}),!1}return qi(Bt)?!0:(Ye.append(Vi(Cr,sr,Jt),kn(Bt)),!1)}const os=[],Os=Object.assign(ks,{defaultVisitor:Gi,convertValue:kn,isVisitable:qi});function ir(Bt,sr,Cr=0){if(!$t.isUndefined(Bt)){if(Cr>Mn)throw new on("Object is too deeply nested ("+Cr+" levels). Max depth: "+Mn,on.ERR_FORM_DATA_DEPTH_EXCEEDED);if(os.indexOf(Bt)!==-1)throw Error("Circular reference detected in "+sr.join("."));os.push(Bt),$t.forEach(Bt,function(Pe,Be){(!($t.isUndefined(Pe)||Pe===null)&&Mt.call(Ye,Pe,$t.isString(Be)?Be.trim():Be,sr,Os))===!0&&ir(Pe,sr?sr.concat(Be):[Be],Cr+1)}),os.pop()}}if(!$t.isObject(Le))throw new TypeError("data must be an object");return ir(Le),Ye}function fe(Le){const Ye={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(Le).replace(/[!'()~]|%20/g,function(ht){return Ye[ht]})}function Re(Le,Ye){this._pairs=[],Le&&cr(Le,this,Ye)}const Qe=Re.prototype;Qe.append=function(Ye,ft){this._pairs.push([Ye,ft])},Qe.toString=function(Ye){const ft=Ye?function(ht){return Ye.call(this,ht,fe)}:fe;return this._pairs.map(function(Mt){return ft(Mt[0])+"="+ft(Mt[1])},"").join("&")};function mt(Le){return encodeURIComponent(Le).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function xt(Le,Ye,ft){if(!Ye)return Le;const ht=ft&&ft.encode||mt,Mt=$t.isFunction(ft)?{serialize:ft}:ft,Jt=Mt&&Mt.serialize;let Er;if(Jt?Er=Jt(Ye,Mt):Er=$t.isURLSearchParams(Ye)?Ye.toString():new Re(Ye,Mt).toString(ht),Er){const Lr=Le.indexOf("#");Lr!==-1&&(Le=Le.slice(0,Lr)),Le+=(Le.indexOf("?")===-1?"?":"&")+Er}return Le}class Mr{constructor(){this.handlers=[]}use(Ye,ft,ht){return this.handlers.push({fulfilled:Ye,rejected:ft,synchronous:ht?ht.synchronous:!1,runWhen:ht?ht.runWhen:null}),this.handlers.length-1}eject(Ye){this.handlers[Ye]&&(this.handlers[Ye]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(Ye){$t.forEach(this.handlers,function(ht){ht!==null&&Ye(ht)})}}var vn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Ut=typeof URLSearchParams<"u"?URLSearchParams:Re,Yn=typeof FormData<"u"?FormData:null,mi=typeof Blob<"u"?Blob:null,yn={isBrowser:!0,classes:{URLSearchParams:Ut,FormData:Yn,Blob:mi},protocols:["http","https","file","blob","url","data"]};const ji=typeof window<"u"&&typeof document<"u",Tn=typeof navigator=="object"&&navigator||void 0,Cs=ji&&(!Tn||["ReactNative","NativeScript","NS"].indexOf(Tn.product)<0),$i=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gs=ji&&window.location.href||"http://localhost";var vs=Object.freeze({__proto__:null,hasBrowserEnv:ji,hasStandardBrowserEnv:Cs,hasStandardBrowserWebWorkerEnv:$i,navigator:Tn,origin:gs}),Vt={...vs,...yn};function hr(Le,Ye){return cr(Le,new Vt.classes.URLSearchParams,{visitor:function(ft,ht,Mt,Jt){return Vt.isNode&&$t.isBuffer(ft)?(this.append(ht,ft.toString("base64")),!1):Jt.defaultVisitor.apply(this,arguments)},...Ye})}function rn(Le){return $t.matchAll(/\w+|\[(\w*)]/g,Le).map(Ye=>Ye[0]==="[]"?"":Ye[1]||Ye[0])}function zn(Le){const Ye={},ft=Object.keys(Le);let ht;const Mt=ft.length;let Jt;for(ht=0;ht<Mt;ht++)Jt=ft[ht],Ye[Jt]=Le[Jt];return Ye}function $n(Le){function Ye(ft,ht,Mt,Jt){let Er=ft[Jt++];if(Er==="__proto__")return!0;const Lr=Number.isFinite(+Er),Mn=Jt>=ft.length;return Er=!Er&&$t.isArray(Mt)?Mt.length:Er,Mn?($t.hasOwnProp(Mt,Er)?Mt[Er]=$t.isArray(Mt[Er])?Mt[Er].concat(ht):[Mt[Er],ht]:Mt[Er]=ht,!Lr):((!Mt[Er]||!$t.isObject(Mt[Er]))&&(Mt[Er]=[]),Ye(ft,ht,Mt[Er],Jt)&&$t.isArray(Mt[Er])&&(Mt[Er]=zn(Mt[Er])),!Lr)}
vendor: 19,209 bytes, lines 736-738
736if($t.isFormData(Le)&&$t.isFunction(Le.entries)){const ft={};return $t.forEachEntry(Le,(ht,Mt)=>{Ye(rn(ht),Mt,ft,0)}),ft}return null}const bn=(Le,Ye)=>Le!=null&&$t.hasOwnProp(Le,Ye)?Le[Ye]:void 0;function ni(Le,Ye,ft){if($t.isString(Le))try{return(Ye||JSON.parse)(Le),$t.trim(Le)}catch(ht){if(ht.name!=="SyntaxError")throw ht}return(ft||JSON.stringify)(Le)}const ai={transitional:vn,adapter:["xhr","http","fetch"],transformRequest:[function(Ye,ft){const ht=ft.getContentType()||"",Mt=ht.indexOf("application/json")>-1,Jt=$t.isObject(Ye);if(Jt&&$t.isHTMLForm(Ye)&&(Ye=new FormData(Ye)),$t.isFormData(Ye))return Mt?JSON.stringify($n(Ye)):Ye;if($t.isArrayBuffer(Ye)||$t.isBuffer(Ye)||$t.isStream(Ye)||$t.isFile(Ye)||$t.isBlob(Ye)||$t.isReadableStream(Ye))return Ye;if($t.isArrayBufferView(Ye))return Ye.buffer;if($t.isURLSearchParams(Ye))return ft.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Ye.toString();let Lr;if(Jt){const Mn=bn(this,"formSerializer");if(ht.indexOf("application/x-www-form-urlencoded")>-1)return hr(Ye,Mn).toString();if((Lr=$t.isFileList(Ye))||ht.indexOf("multipart/form-data")>-1){const Pn=bn(this,"env"),kn=Pn&&Pn.FormData;return cr(Lr?{"files[]":Ye}:Ye,kn&&new kn,Mn)}}return Jt||Mt?(ft.setContentType("application/json",!1),ni(Ye)):Ye}],transformResponse:[function(Ye){const ft=bn(this,"transitional")||ai.transitional,ht=ft&&ft.forcedJSONParsing,Mt=bn(this,"responseType"),Jt=Mt==="json";if($t.isResponse(Ye)||$t.isReadableStream(Ye))return Ye;if(Ye&&$t.isString(Ye)&&(ht&&!Mt||Jt)){const Lr=!(ft&&ft.silentJSONParsing)&&Jt;try{return JSON.parse(Ye,bn(this,"parseReviver"))}catch(Mn){if(Lr)throw Mn.name==="SyntaxError"?on.from(Mn,on.ERR_BAD_RESPONSE,this,null,bn(this,"response")):Mn}}return Ye}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vt.classes.FormData,Blob:Vt.classes.Blob},validateStatus:function(Ye){return Ye>=200&&Ye<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$t.forEach(["delete","get","head","post","put","patch","query"],Le=>{ai.headers[Le]={}});function yi(Le,Ye){const ft=this||ai,ht=Ye||ft,Mt=Ur.from(ht.headers);let Jt=ht.data;return $t.forEach(Le,function(Lr){Jt=Lr.call(ft,Jt,Mt.normalize(),Ye?Ye.status:void 0)}),Mt.normalize(),Jt}function es(Le){return!!(Le&&Le.__CANCEL__)}class Ei extends on{constructor(Ye,ft,ht){super(Ye??"canceled",on.ERR_CANCELED,ft,ht),this.name="CanceledError",this.__CANCEL__=!0}}function Hi(Le,Ye,ft){const ht=ft.config.validateStatus;!ft.status||!ht||ht(ft.status)?Le(ft):Ye(new on("Request failed with status code "+ft.status,ft.status>=400&&ft.status<500?on.ERR_BAD_REQUEST:on.ERR_BAD_RESPONSE,ft.config,ft.request,ft))}function zi(Le){const Ye=/^([-+\w]{1,25}):(?:\/\/)?/.exec(Le);return Ye&&Ye[1]||""}function us(Le,Ye){Le=Le||10;const ft=new Array(Le),ht=new Array(Le);let Mt=0,Jt=0,Er;return Ye=Ye!==void 0?Ye:1e3,function(Mn){const Pn=Date.now(),kn=ht[Jt];Er||(Er=Pn),ft[Mt]=Mn,ht[Mt]=Pn;let Gi=Jt,os=0;for(;Gi!==Mt;)os+=ft[Gi++],Gi=Gi%Le;if(Mt=(Mt+1)%Le,Mt===Jt&&(Jt=(Jt+1)%Le),Pn-Er<Ye)return;const Os=kn&&Pn-kn;return Os?Math.round(os*1e3/Os):void 0}}function Ss(Le,Ye){let ft=0,ht=1e3/Ye,Mt,Jt;const Er=(Pn,kn=Date.now())=>{ft=kn,Mt=null,Jt&&(clearTimeout(Jt),Jt=null),Le(...Pn)};return[(...Pn)=>{const kn=Date.now(),Gi=kn-ft;Gi>=ht?Er(Pn,kn):(Mt=Pn,Jt||(Jt=setTimeout(()=>{Jt=null,Er(Mt)},ht-Gi)))},()=>Mt&&Er(Mt)]}const as=(Le,Ye,ft=3)=>{let ht=0;const Mt=us(50,250);return Ss(Jt=>{const Er=Jt.loaded,Lr=Jt.lengthComputable?Jt.total:void 0,Mn=Lr!=null?Math.min(Er,Lr):Er,Pn=Math.max(0,Mn-ht),kn=Mt(Pn);ht=Math.max(ht,Mn);const Gi={loaded:Mn,total:Lr,progress:Lr?Mn/Lr:void 0,bytes:Pn,rate:kn||void 0,estimated:kn&&Lr?(Lr-Mn)/kn:void 0,event:Jt,lengthComputable:Lr!=null,[Ye?"download":"upload"]:!0};Le(Gi)},ft)},oi=(Le,Ye)=>{const ft=Le!=null;return[ht=>Ye[0]({lengthComputable:ft,total:Le,loaded:ht}),Ye[1]]},$s=Le=>(...Ye)=>$t.asap(()=>Le(...Ye));var Es=Vt.hasStandardBrowserEnv?((Le,Ye)=>ft=>(ft=new URL(ft,Vt.origin),Le.protocol===ft.protocol&&Le.host===ft.host&&(Ye||Le.port===ft.port)))(new URL(Vt.origin),Vt.navigator&&/(msie|trident)/i.test(Vt.navigator.userAgent)):()=>!0,ls=Vt.hasStandardBrowserEnv?{write(Le,Ye,ft,ht,Mt,Jt,Er){if(typeof document>"u")return;const Lr=[`${Le}=${encodeURIComponent(Ye)}`];$t.isNumber(ft)&&Lr.push(`expires=${new Date(ft).toUTCString()}`),$t.isString(ht)&&Lr.push(`path=${ht}`),$t.isString(Mt)&&Lr.push(`domain=${Mt}`),Jt===!0&&Lr.push("secure"),$t.isString(Er)&&Lr.push(`SameSite=${Er}`),document.cookie=Lr.join("; ")},read(Le){if(typeof document>"u")return null;const Ye=document.cookie.split(";");for(let ft=0;ft<Ye.length;ft++){const ht=Ye[ft].replace(/^\s+/,""),Mt=ht.indexOf("=");if(Mt!==-1&&ht.slice(0,Mt)===Le)return decodeURIComponent(ht.slice(Mt+1))}return null},remove(Le){this.write(Le,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ts(Le){return typeof Le!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Le)}function de(Le,Ye){return Ye?Le.replace(/\/?\/$/,"")+"/"+Ye.replace(/^\/+/,""):Le}function $e(Le,Ye,ft){let ht=!Ts(Ye);return Le&&(ht||ft===!1)?de(Le,Ye):Ye}const Pt=Le=>Le instanceof Ur?{...Le}:Le;function or(Le,Ye){Ye=Ye||{};const ft=Object.create(null);Object.defineProperty(ft,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function ht(Pn,kn,Gi,os){return $t.isPlainObject(Pn)&&$t.isPlainObject(kn)?$t.merge.call({caseless:os},Pn,kn):$t.isPlainObject(kn)?$t.merge({},kn):$t.isArray(kn)?kn.slice():kn}function Mt(Pn,kn,Gi,os){if($t.isUndefined(kn)){if(!$t.isUndefined(Pn))return ht(void 0,Pn,Gi,os)}else return ht(Pn,kn,Gi,os)}function Jt(Pn,kn){if(!$t.isUndefined(kn))return ht(void 0,kn)}function Er(Pn,kn){if($t.isUndefined(kn)){if(!$t.isUndefined(Pn))return ht(void 0,Pn)}else return ht(void 0,kn)}function Lr(Pn,kn,Gi){if($t.hasOwnProp(Ye,Gi))return ht(Pn,kn);if($t.hasOwnProp(Le,Gi))return ht(void 0,Pn)}const Mn={url:Jt,method:Jt,data:Jt,baseURL:Er,transformRequest:Er,transformResponse:Er,paramsSerializer:Er,timeout:Er,timeoutMessage:Er,withCredentials:Er,withXSRFToken:Er,adapter:Er,responseType:Er,xsrfCookieName:Er,xsrfHeaderName:Er,onUploadProgress:Er,onDownloadProgress:Er,decompress:Er,maxContentLength:Er,maxBodyLength:Er,beforeRedirect:Er,transport:Er,httpAgent:Er,httpsAgent:Er,cancelToken:Er,socketPath:Er,allowedSocketPaths:Er,responseEncoding:Er,validateStatus:Lr,headers:(Pn,kn,Gi)=>Mt(Pt(Pn),Pt(kn),Gi,!0)};return $t.forEach(Object.keys({...Le,...Ye}),function(kn){if(kn==="__proto__"||kn==="constructor"||kn==="prototype")return;const Gi=$t.hasOwnProp(Mn,kn)?Mn[kn]:Mt,os=$t.hasOwnProp(Le,kn)?Le[kn]:void 0,Os=$t.hasOwnProp(Ye,kn)?Ye[kn]:void 0,ir=Gi(os,Os,kn);$t.isUndefined(ir)&&Gi!==Lr||(ft[kn]=ir)}),ft}const tn=["content-type","content-length"];function Vn(Le,Ye,ft){if(ft!=="content-only"){Le.set(Ye);return}Object.entries(Ye).forEach(([ht,Mt])=>{tn.includes(ht.toLowerCase())&&Le.set(ht,Mt)})}const Ri=Le=>encodeURIComponent(Le).replace(/%([0-9A-F]{2})/gi,(Ye,ft)=>String.fromCharCode(parseInt(ft,16)));var ts=Le=>{const Ye=or({},Le),ft=os=>$t.hasOwnProp(Ye,os)?Ye[os]:void 0,ht=ft("data");let Mt=ft("withXSRFToken");const Jt=ft("xsrfHeaderName"),Er=ft("xsrfCookieName");let Lr=ft("headers");const Mn=ft("auth"),Pn=ft("baseURL"),kn=ft("allowAbsoluteUrls"),Gi=ft("url");if(Ye.headers=Lr=Ur.from(Lr),Ye.url=xt($e(Pn,Gi,kn),Le.params,Le.paramsSerializer),Mn&&Lr.set("Authorization","Basic "+btoa((Mn.username||"")+":"+(Mn.password?Ri(Mn.password):""))),$t.isFormData(ht)&&(Vt.hasStandardBrowserEnv||Vt.hasStandardBrowserWebWorkerEnv?Lr.setContentType(void 0):$t.isFunction(ht.getHeaders)&&Vn(Lr,ht.getHeaders(),ft("formDataHeaderPolicy"))),Vt.hasStandardBrowserEnv&&($t.isFunction(Mt)&&(Mt=Mt(Ye)),Mt===!0||Mt==null&&Es(Ye.url))){const Os=Jt&&Er&&ls.read(Er);Os&&Lr.set(Jt,Os)}return Ye},Li=typeof XMLHttpRequest<"u"&&function(Le){return new Promise(function(ft,ht){const Mt=ts(Le);let Jt=Mt.data;const Er=Ur.from(Mt.headers).normalize();let{responseType:Lr,onUploadProgress:Mn,onDownloadProgress:Pn}=Mt,kn,Gi,os,Os,ir;function Bt(){Os&&Os(),ir&&ir(),Mt.cancelToken&&Mt.cancelToken.unsubscribe(kn),Mt.signal&&Mt.signal.removeEventListener("abort",kn)}let sr=new XMLHttpRequest;sr.open(Mt.method.toUpperCase(),Mt.url,!0),sr.timeout=Mt.timeout;function Cr(){if(!sr)return;const Pe=Ur.from("getAllResponseHeaders"in sr&&sr.getAllResponseHeaders()),it={data:!Lr||Lr==="text"||Lr==="json"?sr.responseText:sr.response,status:sr.status,statusText:sr.statusText,headers:Pe,config:Le,request:sr};Hi(function(jt){ft(jt),Bt()},function(jt){ht(jt),Bt()},it),sr=null}"onloadend"in sr?sr.onloadend=Cr:sr.onreadystatechange=function(){!sr||sr.readyState!==4||sr.status===0&&!(sr.responseURL&&sr.responseURL.startsWith("file:"))||setTimeout(Cr)},sr.onabort=function(){sr&&(ht(new on("Request aborted",on.ECONNABORTED,Le,sr)),Bt(),sr=null)},sr.onerror=function(Be){const it=Be&&Be.message?Be.message:"Network Error",st=new on(it,on.ERR_NETWORK,Le,sr);st.event=Be||null,ht(st),Bt(),sr=null},sr.ontimeout=function(){let Be=Mt.timeout?"timeout of "+Mt.timeout+"ms exceeded":"timeout exceeded";const it=Mt.transitional||vn;Mt.timeoutErrorMessage&&(Be=Mt.timeoutErrorMessage),ht(new on(Be,it.clarifyTimeoutError?on.ETIMEDOUT:on.ECONNABORTED,Le,sr)),Bt(),sr=null},Jt===void 0&&Er.setContentType(null),"setRequestHeader"in sr&&$t.forEach(Er.toJSON(),function(Be,it){sr.setRequestHeader(it,Be)}),$t.isUndefined(Mt.withCredentials)||(sr.withCredentials=!!Mt.withCredentials),Lr&&Lr!=="json"&&(sr.responseType=Mt.responseType),Pn&&([os,ir]=as(Pn,!0),sr.addEventListener("progress",os)),Mn&&sr.upload&&([Gi,Os]=as(Mn),sr.upload.addEventListener("progress",Gi),sr.upload.addEventListener("loadend",Os)),(Mt.cancelToken||Mt.signal)&&(kn=Pe=>{sr&&(ht(!Pe||Pe.type?new Ei(null,Le,sr):Pe),sr.abort(),Bt(),sr=null)},Mt.cancelToken&&Mt.cancelToken.subscribe(kn),Mt.signal&&(Mt.signal.aborted?kn():Mt.signal.addEventListener("abort",kn)));const Fn=zi(Mt.url);if(Fn&&!Vt.protocols.includes(Fn)){ht(new on("Unsupported protocol "+Fn+":",on.ERR_BAD_REQUEST,Le));return}sr.send(Jt||null)})};const Ia=(Le,Ye)=>{const{length:ft}=Le=Le?Le.filter(Boolean):[];if(Ye||ft){let ht=new AbortController,Mt;const Jt=function(Pn){if(!Mt){Mt=!0,Lr();const kn=Pn instanceof Error?Pn:this.reason;ht.abort(kn instanceof on?kn:new Ei(kn instanceof Error?kn.message:kn))}};let Er=Ye&&setTimeout(()=>{Er=null,Jt(new on(`timeout of ${Ye}ms exceeded`,on.ETIMEDOUT))},Ye);const Lr=()=>{Le&&(Er&&clearTimeout(Er),Er=null,Le.forEach(Pn=>{Pn.unsubscribe?Pn.unsubscribe(Jt):Pn.removeEventListener("abort",Jt)}),Le=null)};Le.forEach(Pn=>Pn.addEventListener("abort",Jt));const{signal:Mn}=ht;return Mn.unsubscribe=()=>$t.asap(Lr),Mn}},Sa=function*(Le,Ye){let ft=Le.byteLength;if(ft<Ye){yield Le;return}let ht=0,Mt;for(;ht<ft;)Mt=ht+Ye,yield Le.slice(ht,Mt),ht=Mt},ha=async function*(Le,Ye){for await(const ft of Qa(Le))yield*Sa(ft,Ye)},Qa=async function*(Le){if(Le[Symbol.asyncIterator]){yield*Le;return}const Ye=Le.getReader();try{for(;;){const{done:ft,value:ht}=await Ye.read();if(ft)break;yield ht}}finally{await Ye.cancel()}},_s=(Le,Ye,ft,ht)=>{const Mt=ha(Le,Ye);let Jt=0,Er,Lr=Mn=>{Er||(Er=!0,ht&&ht(Mn))};return new ReadableStream({async pull(Mn){try{const{done:Pn,value:kn}=await Mt.next();if(Pn){Lr(),Mn.close();return}let Gi=kn.byteLength;if(ft){let os=Jt+=Gi;ft(os)}Mn.enqueue(new Uint8Array(kn))}catch(Pn){throw Lr(Pn),Pn}},cancel(Mn){return Lr(Mn),Mt.return()}},{highWaterMark:2})};function fr(Le){if(!Le||typeof Le!="string"||!Le.startsWith("data:"))return 0;const Ye=Le.indexOf(",");if(Ye<0)return 0;const ft=Le.slice(5,Ye),ht=Le.slice(Ye+1);if(/;base64/i.test(ft)){let Er=ht.length;const Lr=ht.length;for(let Os=0;Os<Lr;Os++)if(ht.charCodeAt(Os)===37&&Os+2<Lr){const ir=ht.charCodeAt(Os+1),Bt=ht.charCodeAt(Os+2);(ir>=48&&ir<=57||ir>=65&&ir<=70||ir>=97&&ir<=102)&&(Bt>=48&&Bt<=57||Bt>=65&&Bt<=70||Bt>=97&&Bt<=102)&&(Er-=2,Os+=2)}let Mn=0,Pn=Lr-1;const kn=Os=>Os>=2&&ht.charCodeAt(Os-2)===37&&ht.charCodeAt(Os-1)===51&&(ht.charCodeAt(Os)===68||ht.charCodeAt(Os)===100);Pn>=0&&(ht.charCodeAt(Pn)===61?(Mn++,Pn--):kn(Pn)&&(Mn++,Pn-=3)),Mn===1&&Pn>=0&&(ht.charCodeAt(Pn)===61||kn(Pn))&&Mn++;const os=Math.floor(Er/4)*3-(Mn||0);return os>0?os:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(ht,"utf8");let Jt=0;for(let Er=0,Lr=ht.length;Er<Lr;Er++){const Mn=ht.charCodeAt(Er);if(Mn<128)Jt+=1;else if(Mn<2048)Jt+=2;else if(Mn>=55296&&Mn<=56319&&Er+1<Lr){const Pn=ht.charCodeAt(Er+1);Pn>=56320&&Pn<=57343?(Jt+=4,Er++):Jt+=3}else Jt+=3}return Jt}const Aa="1.16.0",en=64*1024,{isFunction:pa}=$t,Pa=(Le,...Ye)=>{try{return!!Le(...Ye)}catch{return!1}},Xs=Le=>{const Ye=$t.global??globalThis,{ReadableStream:ft,TextEncoder:ht}=Ye;Le=$t.merge.call({skipUndefined:!0},{Request:Ye.Request,Response:Ye.Response},Le);const{fetch:Mt,Request:Jt,Response:Er}=Le,Lr=Mt?pa(Mt):typeof fetch=="function",Mn=pa(Jt),Pn=pa(Er);if(!Lr)return!1;const kn=Lr&&pa(ft),Gi=Lr&&(typeof ht=="function"?(Cr=>Fn=>Cr.encode(Fn))(new ht):async Cr=>new Uint8Array(await new Jt(Cr).arrayBuffer())),os=Mn&&kn&&Pa(()=>{let Cr=!1;const Fn=new Jt(Vt.origin,{body:new ft,method:"POST",get duplex(){return Cr=!0,"half"}}),Pe=Fn.headers.has("Content-Type");return Fn.body!=null&&Fn.body.cancel(),Cr&&!Pe}),Os=Pn&&kn&&Pa(()=>$t.isReadableStream(new Er("").body)),ir={stream:Os&&(Cr=>Cr.body)};Lr&&["text","arrayBuffer","blob","formData","stream"].forEach(Cr=>{!ir[Cr]&&(ir[Cr]=(Fn,Pe)=>{let Be=Fn&&Fn[Cr];if(Be)return Be.call(Fn);throw new on(`Response type '${Cr}' is not supported`,on.ERR_NOT_SUPPORT,Pe)})});const Bt=async Cr=>{if(Cr==null)return 0;if($t.isBlob(Cr))return Cr.size;if($t.isSpecCompliantForm(Cr))return(await new Jt(Vt.origin,{method:"POST",body:Cr}).arrayBuffer()).byteLength;if($t.isArrayBufferView(Cr)||$t.isArrayBuffer(Cr))return Cr.byteLength;if($t.isURLSearchParams(Cr)&&(Cr=Cr+""),$t.isString(Cr))return(await Gi(Cr)).byteLength},sr=async(Cr,Fn)=>{const Pe=$t.toFiniteNumber(Cr.getContentLength());return Pe??Bt(Fn)};return async Cr=>{let{url:Fn,method:Pe,data:Be,signal:it,cancelToken:st,timeout:jt,onDownloadProgress:Gt,onUploadProgress:ar,responseType:ur,headers:Un,withCredentials:An="same-origin",fetchOptions:jn,maxContentLength:Wi,maxBodyLength:Vs}=ts(Cr);const Pi=$t.isNumber(Wi)&&Wi>-1,ws=$t.isNumber(Vs)&&Vs>-1;let Ci=Mt||fetch;ur=ur?(ur+"").toLowerCase():"text";let ei=Ia([it,st&&st.toAbortSignal()],jt),hi=null;const Ps=ei&&ei.unsubscribe&&(()=>{ei.unsubscribe()});let Zi;try{if(Pi&&typeof Fn=="string"&&Fn.startsWith("data:")&&fr(Fn)>Wi)throw new on("maxContentLength size of "+Wi+" exceeded",on.ERR_BAD_RESPONSE,Cr,hi);if(ws&&Pe!=="get"&&Pe!=="head"){const la=await sr(Un,Be);if(typeof la=="number"&&isFinite(la)&&la>Vs)throw new on("Request body larger than maxBodyLength limit",on.ERR_BAD_REQUEST,Cr,hi)}if(ar&&os&&Pe!=="get"&&Pe!=="head"&&(Zi=await sr(Un,Be))!==0){let la=new Jt(Fn,{method:"POST",body:Be,duplex:"half"}),Fa;if($t.isFormData(Be)&&(Fa=la.headers.get("content-type"))&&Un.setContentType(Fa),la.body){const[V,$]=oi(Zi,as($s(ar)));Be=_s(la.body,en,V,$)}}$t.isString(An)||(An=An?"include":"omit");const Ti=Mn&&"credentials"in Jt.prototype;if($t.isFormData(Be)){const la=Un.getContentType();la&&/^multipart\/form-data/i.test(la)&&!/boundary=/i.test(la)&&Un.delete("content-type")}Un.set("User-Agent","axios/"+Aa,!1);const xs={...jn,signal:ei,method:Pe.toUpperCase(),headers:Un.normalize().toJSON(),body:Be,duplex:"half",credentials:Ti?An:void 0};hi=Mn&&new Jt(Fn,xs);let ma=await(Mn?Ci(hi,jn):Ci(Fn,xs));if(Pi){const la=$t.toFiniteNumber(ma.headers.get("content-length"));if(la!=null&&la>Wi)throw new on("maxContentLength size of "+Wi+" exceeded",on.ERR_BAD_RESPONSE,Cr,hi)}const Fo=Os&&(ur==="stream"||ur==="response");if(Os&&ma.body&&(Gt||Pi||Fo&&Ps)){const la={};["status","statusText","headers"].forEach(Oe=>{la[Oe]=ma[Oe]});const Fa=$t.toFiniteNumber(ma.headers.get("content-length")),[V,$]=Gt&&oi(Fa,as($s(Gt),!0))||[];let ne=0;const me=Oe=>{if(Pi&&(ne=Oe,ne>Wi))throw new on("maxContentLength size of "+Wi+" exceeded",on.ERR_BAD_RESPONSE,Cr,hi);V&&V(Oe)};ma=new Er(_s(ma.body,en,me,()=>{$&&$(),Ps&&Ps()}),la)}ur=ur||"text";let ho=await ir[$t.findKey(ir,ur)||"text"](ma,Cr);if(Pi&&!Os&&!Fo){let la;if(ho!=null&&(typeof ho.byteLength=="number"?la=ho.byteLength:typeof ho.size=="number"?la=ho.size:typeof ho=="string"&&(la=typeof ht=="function"?new ht().encode(ho).byteLength:ho.length)),typeof la=="number"&&la>Wi)throw new on("maxContentLength size of "+Wi+" exceeded",on.ERR_BAD_RESPONSE,Cr,hi)}return!Fo&&Ps&&Ps(),await new Promise((la,Fa)=>{Hi(la,Fa,{data:ho,headers:Ur.from(ma.headers),status:ma.status,statusText:ma.statusText,config:Cr,request:hi})})}catch(Ti){if(Ps&&Ps(),ei&&ei.aborted&&ei.reason instanceof on){const xs=ei.reason;throw xs.config=Cr,hi&&(xs.request=hi),Ti!==xs&&(xs.cause=Ti),xs}throw Ti&&Ti.name==="TypeError"&&/Load failed|fetch/i.test(Ti.message)?Object.assign(new on("Network Error",on.ERR_NETWORK,Cr,hi,Ti&&Ti.response),{cause:Ti.cause||Ti}):on.from(Ti,Ti&&Ti.code,Cr,hi,Ti&&Ti.response)}}},Hs=new Map,ao=Le=>{let Ye=Le&&Le.env||{};const{fetch:ft,Request:ht,Response:Mt}=Ye,Jt=[ht,Mt,ft];let Er=Jt.length,Lr=Er,Mn,Pn,kn=Hs;for(;Lr--;)Mn=Jt[Lr],Pn=kn.get(Mn),Pn===void 0&&kn.set(Mn,Pn=Lr?new Map:Xs(Ye)),kn=Pn;return Pn};ao();const Wa={http:fi,xhr:Li,fetch:{get:ao}};$t.forEach(Wa,(Le,Ye)=>{if(Le){try{Object.defineProperty(Le,"name",{__proto__:null,value:Ye})}catch{}Object.defineProperty(Le,"adapterName",{__proto__:null,value:Ye})}});const Co=Le=>`- ${Le}`,_o=Le=>$t.isFunction(Le)||Le===null||Le===!1;function Oo(Le,Ye){Le=$t.isArray(Le)?Le:[Le];const{length:ft}=Le;let ht,Mt;const Jt={};for(let Er=0;Er<ft;Er++){ht=Le[Er];let Lr;if(Mt=ht,!_o(ht)&&(Mt=Wa[(Lr=String(ht)).toLowerCase()],Mt===void 0))throw new on(`Unknown adapter '${Lr}'`);if(Mt&&($t.isFunction(Mt)||(Mt=Mt.get(Ye))))break;Jt[Lr||"#"+Er]=Mt}if(!Mt){const Er=Object.entries(Jt).map(([Mn,Pn])=>`adapter ${Mn} `+(Pn===!1?"is not supported by the environment":"is not available in the build"));let Lr=ft?Er.length>1?`since : 737`+Er.map(Co).join(` 738`):" "+Co(Er[0]):"as no adapter specified";throw new on("There is no suitable adapter to dispatch the request "+Lr,"ERR_NOT_SUPPORT")}return Mt}var Ks={getAdapter:Oo,adapters:Wa};function Mi(Le){if(Le.cancelToken&&Le.cancelToken.throwIfRequested(),Le.signal&&Le.signal.aborted)throw new Ei(null,Le)}function Me(Le){return Mi(Le),Le.headers=Ur.from(Le.headers),Le.data=yi.call(Le,Le.transformRequest),["post","put","patch"].indexOf(Le.method)!==-1&&Le.headers.setContentType("application/x-www-form-urlencoded",!1),Ks.getAdapter(Le.adapter||ai.adapter,Le)(Le).then(function(ht){Mi(Le),Le.response=ht;try{ht.data=yi.call(Le,Le.transformResponse,ht)}finally{delete Le.response}return ht.headers=Ur.from(ht.headers),ht},function(ht){if(!es(ht)&&(Mi(Le),ht&&ht.response)){Le.response=ht.response;try{ht.response.data=yi.call(Le,Le.transformResponse,ht.response)}finally{delete Le.response}ht.response.headers=Ur.from(ht.response.headers)}return Promise.reject(ht)})}const je={};["object","boolean","number","function","string","symbol"].forEach((Le,Ye)=>
vendor: 4,234 bytes, lines 738-742
738{je[Le]=function(ht){return typeof ht===Le||"a"+(Ye<1?"n ":" ")+Le}});const Ot={};je.transitional=function(Ye,ft,ht){function Mt(Jt,Er){return"[Axios v"+Aa+"] Transitional option '"+Jt+"'"+Er+(ht?". "+ht:"")}return(Jt,Er,Lr)=>{if(Ye===!1)throw new on(Mt(Er," has been removed"+(ft?" in "+ft:"")),on.ERR_DEPRECATED);return ft&&!Ot[Er]&&(Ot[Er]=!0,console.warn(Mt(Er," has been deprecated since v"+ft+" and will be removed in the near future"))),Ye?Ye(Jt,Er,Lr):!0}},je.spelling=function(Ye){return(ft,ht)=>(console.warn(`${ht} is likely a misspelling of ${Ye}`),!0)};function Wt(Le,Ye,ft){if(typeof Le!="object")throw new on("options must be an object",on.ERR_BAD_OPTION_VALUE);const ht=Object.keys(Le);let Mt=ht.length;for(;Mt-- >0;){const Jt=ht[Mt],Er=Object.prototype.hasOwnProperty.call(Ye,Jt)?Ye[Jt]:void 0;if(Er){const Lr=Le[Jt],Mn=Lr===void 0||Er(Lr,Jt,Le);if(Mn!==!0)throw new on("option "+Jt+" must be "+Mn,on.ERR_BAD_OPTION_VALUE);continue}if(ft!==!0)throw new on("Unknown option "+Jt,on.ERR_BAD_OPTION)}}var Br={assertOptions:Wt,validators:je};const Vr=Br.validators;class an{constructor(Ye){this.defaults=Ye||{},this.interceptors={request:new Mr,response:new Mr}}async request(Ye,ft){try{return await this._request(Ye,ft)}catch(ht){if(ht instanceof Error){let Mt={};Error.captureStackTrace?Error.captureStackTrace(Mt):Mt=new Error;const Jt=(()=>{if(!Mt.stack)return"";const Er=Mt.stack.indexOf(` 739`);return Er===-1?"":Mt.stack.slice(Er+1)})();try{if(!ht.stack)ht.stack=Jt;else if(Jt){const Er=Jt.indexOf(` 740`),Lr=Er===-1?-1:Jt.indexOf(` 741`,Er+1),Mn=Lr===-1?"":Jt.slice(Lr+1);String(ht.stack).endsWith(Mn)||(ht.stack+=` 742`+Jt)}}catch{}}throw ht}}_request(Ye,ft){typeof Ye=="string"?(ft=ft||{},ft.url=Ye):ft=Ye||{},ft=or(this.defaults,ft);const{transitional:ht,paramsSerializer:Mt,headers:Jt}=ft;ht!==void 0&&Br.assertOptions(ht,{silentJSONParsing:Vr.transitional(Vr.boolean),forcedJSONParsing:Vr.transitional(Vr.boolean),clarifyTimeoutError:Vr.transitional(Vr.boolean),legacyInterceptorReqResOrdering:Vr.transitional(Vr.boolean)},!1),Mt!=null&&($t.isFunction(Mt)?ft.paramsSerializer={serialize:Mt}:Br.assertOptions(Mt,{encode:Vr.function,serialize:Vr.function},!0)),ft.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?ft.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:ft.allowAbsoluteUrls=!0),Br.assertOptions(ft,{baseUrl:Vr.spelling("baseURL"),withXsrfToken:Vr.spelling("withXSRFToken")},!0),ft.method=(ft.method||this.defaults.method||"get").toLowerCase();let Er=Jt&&$t.merge(Jt.common,Jt[ft.method]);Jt&&$t.forEach(["delete","get","head","post","put","patch","query","common"],ir=>{delete Jt[ir]}),ft.headers=Ur.concat(Er,Jt);const Lr=[];let Mn=!0;this.interceptors.request.forEach(function(Bt){if(typeof Bt.runWhen=="function"&&Bt.runWhen(ft)===!1)return;Mn=Mn&&Bt.synchronous;const sr=ft.transitional||vn;sr&&sr.legacyInterceptorReqResOrdering?Lr.unshift(Bt.fulfilled,Bt.rejected):Lr.push(Bt.fulfilled,Bt.rejected)});const Pn=[];this.interceptors.response.forEach(function(Bt){Pn.push(Bt.fulfilled,Bt.rejected)});let kn,Gi=0,os;if(!Mn){const ir=[Me.bind(this),void 0];for(ir.unshift(...Lr),ir.push(...Pn),os=ir.length,kn=Promise.resolve(ft);Gi<os;)kn=kn.then(ir[Gi++],ir[Gi++]);return kn}os=Lr.length;let Os=ft;for(;Gi<os;){const ir=Lr[Gi++],Bt=Lr[Gi++];try{Os=ir(Os)}catch(sr){Bt.call(this,sr);break}}try{kn=Me.call(this,Os)}catch(ir){return Promise.reject(ir)}for(Gi=0,os=Pn.length;Gi<os;)kn=kn.then(Pn[Gi++],Pn[Gi++]);return kn}getUri(Ye){Ye=or(this.defaults,Ye);const ft=$e(Ye.baseURL,Ye.url,Ye.allowAbsoluteUrls);return xt(ft,Ye.params,Ye.paramsSerializer)}}$t.forEach(["delete","get","head","options"],function(Ye){an.prototype[Ye]=function(ft,ht){return this.request(or(ht||{},{method:Ye,url:ft,data:(ht||{}).data}))}}),$t.forEach(["post","put","patch","query"],function(Ye){function ft(ht){return function(Jt,Er,Lr){return this.request(or(Lr||{},{method:Ye,headers:ht?{"Content-Type":"multipart/form-data"}:{},url:Jt,data:Er}))}}an.prototype[Ye]=ft(),Ye!=="query"&&(an.prototype[Ye+"Form"]=ft(!0))});class ii{constructor(Ye){if(typeof Ye!="function")throw new TypeError("executor must be a function.");let ft;this.promise=new Promise(function(Jt){ft=Jt});const ht=this;this.promise.then(Mt=>
vendor: 1,141 bytes, line 742
742{if(!ht._listeners)return;let Jt=ht._listeners.length;for(;Jt-- >0;)ht._listeners[Jt](Mt);ht._listeners=null}),this.promise.then=Mt=>{let Jt;const Er=new Promise(Lr=>{ht.subscribe(Lr),Jt=Lr}).then(Mt);return Er.cancel=function(){ht.unsubscribe(Jt)},Er},Ye(function(Jt,Er,Lr){ht.reason||(ht.reason=new Ei(Jt,Er,Lr),ft(ht.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(Ye){if(this.reason){Ye(this.reason);return}this._listeners?this._listeners.push(Ye):this._listeners=[Ye]}unsubscribe(Ye){if(!this._listeners)return;const ft=this._listeners.indexOf(Ye);ft!==-1&&this._listeners.splice(ft,1)}toAbortSignal(){const Ye=new AbortController,ft=ht=>{Ye.abort(ht)};return this.subscribe(ft),Ye.signal.unsubscribe=()=>this.unsubscribe(ft),Ye.signal}static source(){let Ye;return{token:new ii(function(Mt){Ye=Mt}),cancel:Ye}}}function Yi(Le){return function(ft){return Le.apply(null,ft)}}function Ui(Le){return $t.isObject(Le)&&Le.isAxiosError===!0}const bi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
742alContent: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(bi).forEach(([Le,Ye])=>{bi[Ye]=Le});function Ws(Le){const Ye=new an(Le),ft=d(an.prototype.request,Ye);return $t.extend(ft,an.prototype,Ye,{allOwnKeys:!0}),$t.extend(ft,Ye,null,{allOwnKeys:!0}),ft.create=function(Mt){return Ws(or(Le,Mt))},ft}const ms=Ws(ai);ms.Axios=an,ms.CanceledError=Ei,ms.CancelToken=ii,ms.isCancel=es,ms.VERSION=Aa,ms.toFormData=cr,ms.AxiosError=on,ms.Cancel=ms.CanceledError,ms.all=function(Ye){return Promise.all(Ye)},ms.spread=Yi,ms.isAxiosError=Ui,ms.mergeConfig=or,ms.AxiosHeaders=Ur,ms.formToJSON=Le=>$n($t.isHTMLForm(Le)?new FormData(Le):Le),ms.getAdapter=Ks.getAdapter,ms.HttpStatusCode=bi,ms.default=ms,f.exports=ms},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";e(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")}
vendor: 25,804 bytes, line 742
742,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),E;if(i&&l!==l){for(;h>v;)if(E=g[v++],E!==E)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),E=r(v),w=s(E),T=n(g,h),C,O;w-- >0;)if(C=E[w],O=T(C,w,v),O)switch(u){case 0:return C;case 1:return w}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),E=a(n(s,h),i),w=v.length,T=E.length,C=0,O=0;C<w||O<T;)s[C+O]=C<w&&O<T?i(v[C],E[O])<=0?v[C++]:E[O++]:C<w?v[C++]:E[O++];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,E;return g===void 0?"Undefined":g===null?"Null":typeof(v=m(h=u(g),i))=="string"?v:l?a(h):(E=a(h))==="Object"&&r(h.callee)?"Arguments":E}},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),E=e(37415).fastKey,w=e(51105),T=w.set,C=w.getterFor;f.exports={getConstructor:function(O,R,B,M){var F=O(function(te,q){i(te,H),T(te,{type:R,index:n(null),first:null,last:null,size:0}),v||(te.size=0),u(q)||l(q,te[M],{that:te,AS_ENTRIES:B})}),H=F.prototype,U=C(R),W=function(te,q,ae){var le=U(te),pe=X(te,q),ge,Ie;return pe?pe.value=ae:(le.last=pe={index:Ie=E(q,!0),key:q,value:ae,previous:ge=le.last,next:null,removed:!1},le.first||(le.first=pe),ge&&(ge.next=pe),v?le.size++:te.size++,Ie!=="F"&&(le.index[Ie]=pe)),te},X=function(te,q){var ae=U(te),le=E(q),pe;if(le!=="F")return ae.index[le];for(pe=ae.first;pe;pe=pe.next)if(pe.key===q)return pe};return a(H,{clear:function(){for(var q=this,ae=U(q),le=ae.first;le;)le.removed=!0,le.previous&&(le.previous=le.previous.next=null),le=le.next;ae.first=ae.last=null,ae.index=n(null),v?ae.size=0:q.size=0},delete:function(te){var q=this,ae=U(q),le=X(q,te);if(le){var pe=le.next,ge=le.previous;delete ae.index[le.index],le.removed=!0,ge&&(ge.next=pe),pe&&(pe.previous=ge),ae.first===le&&(ae.first=pe),ae.last===le&&(ae.last=ge),v?ae.size--:q.size--}return!!le},forEach:function(q){for(var ae=U(this),le=s(q,arguments.length>1?arguments[1]:void 0),pe;pe=pe?pe.next:ae.first;)for(le(pe.value,pe.key,this);pe&&pe.removed;)pe=pe.previous},has:function(q){return!!X(this,q)}}),a(H,B?{get:function(q){var ae=X(this,q);return ae&&ae.value},set:function(q,ae){return W(this,q===0?0:q,ae)}}:{add:function(q){return W(this,q=q===0?0:q,q)}}),v&&r(H,"size",{configurable:!0,get:function(){return U(this).size}}),F},setStrong:function(O,R,B){var M=R+" Iterator",F=C(R),H=C(M);m(O,R,function(U,W){T(this,{type:M,target:U,state:F(U),kind:W,last:null})},function(){for(var U=H(this),W=U.kind,X=U.last;X&&X.removed;)X=X.previous;return!U.target||!(U.last=X=X?X.next:U.state.first)?(U.target=null,g(void 0,!0)):g(W==="keys"?X.key:W==="values"?X.value:[X.key,X.value],!1)},B?"entries":"values",!B,!0),h(R)}}},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),E=e(26819),w=e(72312),T=e(32915),C=e(92515);f.exports=function(O,R,B){var M=O.indexOf("Map")!==-1,F=O.indexOf("Weak")!==-1,H=M?"set":"add",U=r[O],W=U&&U.prototype,X=U,te={},q=function(Je){var qe=a(W[Je]);i(W,Je,Je==="add"?function(xe){return qe(this,xe===0?0:xe),this}:Je==="delete"?function(ye){return F&&!v(ye)?!1:qe(this,ye===0?0:ye)}:Je==="get"?function(xe){return F&&!v(xe)?void 0:qe(this,xe===0?0:xe)}:Je==="has"?function(xe){return F&&!v(xe)?!1:qe(this,xe===0?0:xe)}:function(xe,De){return qe(this,xe===0?0:xe,De),this})},ae=s(O,!g(U)||!(F||W.forEach&&!E(function(){new U().entries().next()})));if(ae)X=B.getConstructor(R,O,M,H),u.enable();else if(s(O,!0)){var le=new X,pe=le[H](F?{}:-0,1)!==le,ge=E(function(){le.has(1)}),Ie=w(function(Je){new U(Je)}),Ce=!F&&E(function(){for(var Je=new U,qe=5;qe--;)Je[H](qe,qe);return!Je.has(-0)});Ie||(X=R(function(Je,qe){m(Je,W);var ye=C(new U,Je,X);return h(qe)||l(qe,ye[H],{that:ye,AS_ENTRIES:M}),ye}),X.prototype=W,W.constructor=X),(ge||Ce)&&(q("delete"),q("has"),M&&q("get")),(Ce||pe)&&q(H),F&&W.clear&&delete W.clear}return te[O]=X,n({global:!0,constructor:!0,forced:X!==U},te),T(X,O),F||B.setStrong(X,O,M),X}},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 E=m[v];!n(i,E)&&!(l&&n(l,E))&&g(i,E,h(u,E))}}},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{}g?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(E){s(E,{transfer:[E]})};else if(i)try{u||(m=r("worker_threads"),m&&(u=m.MessageChannel)),u&&(g=new u,h=new i(2),v=function(E){g.port1.postMessage(null,[E])},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},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,E=m.stat,w,T,C,O,R,B;if(v?T=n:E?T=n[h]||i(h,{}):T=n[h]&&n[h].prototype,T)for(C in g){if(R=g[C],m.dontCallGetSet?(B=r(T,C),O=B&&B.value):O=T[C],w=l(v?C:h+(E?".":"#")+C,m.forced),!w&&O!==void 0){if(typeof R==typeof O)continue;u(R,O)}(m.sham||O&&O.sham)&&a(R,"sham",!0),s(T,C,R,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,E){this.set=v,this.size=g(E,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 E=+v.size;if(E!==E)throw new m(u);var w=s(E);if(w<0)throw new l(u);return new h(v,w)}},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),E=!1,w=h("meta"),T=0,C=function(H){u(H,w,{value:{objectID:"O"+T++,weakData:{}}})},O=function(H,U){if(!s(H))return typeof H=="symbol"?H:(typeof H=="string"?"S":"P")+H;if(!i(H,w)){if(!g(H))return"F";if(!U)return"E";C(H)}return H[w].objectID},R=function(H,U){if(!i(H,w)){if(!g(H))return!0;if(!U)return!1;C(H)}return H[w].weakData},B=function(H){return v&&E&&g(H)&&!i(H,w)&&C(H),H},M=function(){F.enable=function(){},E=!0;var H=l.f,U=r([].splice),W={};W[w]=1,H(W).length&&(l.f=function(X){for(var te=H(X),q=0,ae=te.length;q<ae;q++)if(te[q]===w){U(te,q,1);break}return te},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:m.f}))},F=f.exports={enable:M,fastKey:O,getWeakData:R,onFreeze:B};a[w]=!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,E,w,T,C=function(M){return T(M)?w(M):E(M,{})},O=function(M){return function(F){var H;if(!a(F)||(H=w(F)).type!==M)throw new h("Incompatible receiver, "+M+" required");return H}};if(n||u.state){var R=u.state||(u.state=new v);R.get=R.get,R.has=R.has,R.set=R.set,E=function(M,F){if(R.has(M))throw new h(g);return F.facade=M,R.set(M,F),F},w=function(M){return R.get(M)||{}},T=function(M){return R.has(M)}}else{var B=l("state");m[B]=!0,E=function(M,F){if(i(M,B))throw new h(g);return F.facade=M,s(M,B,F),F},w=function(M){return i(M,B)?M[B]:{}},T=function(M){return i(M,B)}}f.exports={set:E,get:w,has:T,enforce:C,getterFor:O}},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),E=function(C){if(!a(C))return!1;try{return m(l,[],C),!0}catch{return!1}},w=function(C){if(!a(C))return!1;switch(s(C)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!h(g,u(C))}catch{return!0}};w.sham=!0,f.exports=!m||r(function(){var T;return E(E.call)||!E(Object)||!E(function(){T=!0})||T})?w:E},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,E=function(T,C){this.stopped=T,this.result=C},w=E.prototype;f.exports=function(T,C,O){var R=O&&O.that,B=!!(O&&O.AS_ENTRIES),M=!!(O&&O.IS_RECORD),F=!!(O&&O.IS_ITERATOR),H=!!(O&&O.INTERRUPTED),U=n(C,R),W,X,te,q,ae,le,pe,ge=function(Je){var qe=W;return W=void 0,qe&&h(qe,"normal"),new E(!0,Je)},Ie=function(Je){return B?(a(Je),H?U(Je[0],Je[1],ge):U(Je[0],Je[1])):H?U(Je,ge):U(Je)};if(M)W=T.iterator;else if(F)W=T;else{if(X=g(T),!X)throw new v(s(T)+" is not iterable");if(i(X)){for(te=0,q=u(T);q>te;te++)if(ae=Ie(T[te]),ae&&l(w,ae))return ae;return new E(!1)}W=m(T,X)}for(le=M?T.next:W.next;!(pe=r(le,W)).done;){var Ce=pe.value;try{ae=Ie(Ce)}catch(Je){if(W)h(W,"throw",Je);else throw Je}if(typeof ae=="object"&&ae&&l(w,ae))return ae}return new E(!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),E=e(96559),w=e(26033),T=e(6525),C=s.PROPER,O=s.CONFIGURABLE,R=T.IteratorPrototype,B=T.BUGGY_SAFARI_ITERATORS,M=E("iterator"),F="keys",H="values",U="entries",W=function(){return this};f.exports=function(X,te,q,ae,le,pe,ge){u(q,te,ae);var Ie=function(Ge){if(Ge===le&&xe)return xe;if(!B&&Ge&&Ge in qe)return qe[Ge];switch(Ge){case F:return function(){return new q(this,Ge)};case H:return function(){return new q(this,Ge)};case U:return function(){return new q(this,Ge)}}return function(){return new q(this)}},Ce=te+" Iterator",Je=!1,qe=X.prototype,ye=qe[M]||qe["@@iterator"]||le&&qe[le],xe=!B&&ye||Ie(le),De=te==="Array"&&qe.entries||ye,Fe,be,ke;if(De&&(Fe=l(De.call(new X)),Fe!==Object.prototype&&Fe.next&&(!a&&l(Fe)!==R&&(m?m(Fe,R):i(Fe[M])||v(Fe,M,W)),g(Fe,Ce,!0,!0),a&&(w[Ce]=W))),C&&le===H&&ye&&ye.name!==H&&(!a&&O?h(qe,"name",H):(Je=!0,xe=function(){return r(ye,this)})),le)if(be={values:Ie(H),keys:pe?xe:Ie(F),entries:Ie(U)},ge)for(ke in be)(B||Je||!(ke in qe))&&v(qe,ke,be[ke]);else n({target:te,proto:!0,forced:B||Je},be);return(!a||ge)&&qe[M]!==xe&&v(qe,M,xe,{name:le}),w[te]=xe,be}},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,E,w;[].keys&&(w=[].keys(),"next"in w?(E=i(i(w)),E!==Object.prototype&&(v=E)):h=!0);var T=!a(v)||n(function(){var C={};return v[g].call(C)!==C});T?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,E=Object.defineProperty,w=n("".slice),T=n("".replace),C=n([].join),O=i&&!r(function(){return E(function(){},"length",{value:8}).length!==8}),R=String(String).split("String"),B=f.exports=function(M,F,H){w(v(F),0,7)==="Symbol("&&(F="["+T(v(F),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),H&&H.getter&&(F="get "+F),H&&H.setter&&(F="set "+F),(!s(M,"name")||u&&M.name!==F)&&(i?E(M,"name",{value:F,configurable:!0}):M.name=F),O&&H&&s(H,"arity")&&M.length!==H.arity&&E(M,"length",{value:H.arity});try{H&&s(H,"constructor")&&H.constructor?i&&E(M,"prototype",{writable:!1}):M.prototype&&(M.prototype=void 0)}catch{}var U=g(M);return s(U,"source")||(U.source=C(R,typeof F=="string"?F:"")),M};Function.prototype.toString=B(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,E=n.process,w=n.Promise,T=r("queueMicrotask"),C,O,R,B,M;if(!T){var F=new i,H=function(){var U,W;for(g&&(U=E.domain)&&U.exit();W=F.get();)try{W()}catch(X){throw F.head&&C(),X}U&&U.enter()};!u&&!g&&!m&&h&&v?(O=!0,R=v.createTextNode(""),new h(H).observe(R,{characterData:!0}),C=function(){R.data=O=!O}):!l&&w&&w.resolve?(B=w.resolve(void 0),B.constructor=w,M=a(B.then,B),C=function(){M(H)}):g?C=function(){E.nextTick(H)}:(s=a(s,n),C=function(){s(H)}),T=function(U){F.head||C(),F.add(U)}}f.exports=T},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",E=l("IE_PROTO"),w=function(){},T=function(M){return g+v+m+M+g+"/"+v+m},C=function(M){M.write(T("")),M.close();var F=M.parentWindow.Object;return M=null,F},O=function(){var M=u("iframe"),F="java"+v+":",H;return M.style.display="none",i.appendChild(M),M.src=String(F),H=M.contentWindow.document,H.open(),H.write(T("document.F=Object")),H.close(),H.F},R,B=function(){try{R=new ActiveXObject("htmlfile")}catch{}B=typeof document<"u"?document.domain&&R?C(R):O():C(R);for(var M=a.length;M--;)delete B[h][a[M]];return B()};s[E]=!0,f.exports=Object.create||function(F,H){var U;return F!==null?(w[h]=n(F),U=new w,w[h]=null,U[E]=F):U=B(),H===void 0?U:r.f(U,H)}},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),E=v.length,w=0,T;E>w;)a.f(m,T=v[w++],h[T]);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(w,T,C){if(s(w),T=i(T),s(C),typeof w=="function"&&T==="prototype"&&"value"in C&&v in C&&!C[v]){var O=m(w,T);O&&O[v]&&(w[T]=C.value,C={configurable:h in C?C[h]:O[h],enumerable:g in C?C[g]:O[g],writable:!1})}return l(w,T,C)}:l:function(w,T,C){if(s(w),T=i(T),s(C),r)try{return l(w,T,C)}catch{}if("get"in C||"set"in C)throw new u("Accessors not supported");return"value"in C&&(w[T]=C.value),w}},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,E){if(v=i(v),E=u(E),m)try{return g(v,E)}catch{}if(l(v,E))return s(!r(a.f,v,E),v[E])}},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=[],E;for(E in g)!r(i,E)&&r(g,E)&&u(v,E);for(;m.length>h;
vendor: 10,983 bytes, line 742
742)r(g,E=m[h++])&&(~s(v,E)||u(v,E));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"),E=!1,w=a(n.PromiseRejectionEvent),T=s("Promise",function(){var C=i(r),O=C!==String(r);if(!O&&g===66||m&&!(h.catch&&h.finally))return!0;if(!g||g<51||!/native code/.test(C)){var R=new r(function(F){F(1)}),B=function(F){F(function(){},function(){})},M=R.constructor={};if(M[v]=B,E=R.then(function(){})instanceof B,!E)return!0}return!O&&(l==="BROWSER"||l==="DENO")&&!w});f.exports={CONSTRUCTOR:T,REJECTION_EVENT:w,SUBCLASSING:E}},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(w,T){Object.defineProperty(u,w,{get:function(){return l+=T,!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 E=Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(u);return E!==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 E=n(this),w=i(v),T=a(E);return s(T)<=w.size?u(T,function(C){w.includes(C)&&g(T,C)}):l(w.getIterator(),function(C){m(T,C)&&g(T,C)}),T}},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 E=n(this),w=s(v),T=new l;return a(E)>w.size?u(w.getIterator(),function(C){g(E,C)&&m(T,C)}):i(E,function(C){w.includes(C)&&m(T,C)}),T}},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(w){if(v.includes(w))return!1},!0)!==!1;var E=v.getIterator();return u(E,function(w){if(r(h,w))return l(E.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(E){if(!r(g,E))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),E=s(h).getIterator(),w=a(v);return i(E,function(T){l(v,T)?m(w,T):u(w,T)}),w}},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),E=e(72829),w=n.setImmediate,T=n.clearImmediate,C=n.process,O=n.Dispatch,R=n.Function,B=n.MessageChannel,M=n.String,F=0,H={},U="onreadystatechange",W,X,te,q;u(function(){W=n.location});var ae=function(Ie){if(i(H,Ie)){var Ce=H[Ie];delete H[Ie],Ce()}},le=function(Ie){return function(){ae(Ie)}},pe=function(Ie){ae(Ie.data)},ge=function(Ie){n.postMessage(M(Ie),W.protocol+"//"+W.host)};(!w||!T)&&(w=function(Ce){h(arguments.length,1);var Je=s(Ce)?Ce:R(Ce),qe=m(arguments,1);return H[++F]=function(){r(Je,void 0,qe)},X(F),F},T=function(Ce){delete H[Ce]},E?X=function(Ie){C.nextTick(le(Ie))}:O&&O.now?X=function(Ie){O.now(le(Ie))}:B&&!v?(te=new B,q=te.port2,te.port1.onmessage=pe,X=a(q.postMessage,q)):n.addEventListener&&s(n.postMessage)&&!n.importScripts&&W&&W.protocol!=="file:"&&!u(ge)?(X=ge,n.addEventListener("message",pe,!1)):U in g("script")?X=function(Ie){l.appendChild(g("script"))[U]=function(){l.removeChild(this),ae(Ie)}}:X=function(Ie){setTimeout(le(Ie),0)}),f.exports={set:w,clear:T}},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),E;if(v){if(h===void 0&&(h="default"),E=n(v,g,h),!r(E)||a(E))return E;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,E=s.getterFor(h);f.exports=u(Array,"Array",function(T,C){v(this,{type:h,target:n(T),index:0,kind:C})},function(){var T=E(this),C=T.target,O=T.index++;if(!C||O>=C.length)return T.target=null,l(void 0,!0);switch(T.kind){case"keys":return l(O,!1);case"values":return l(C[O],!1)}return l([O,C[O]],!1)},"values");var w=a.Arguments=a.Array;
vendor: 17,002 bytes, line 742
742if(r("keys"),r("values"),r("entries"),!m&&g&&w.name!=="values")try{i(w,"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),E=e(92815),w=e(44411),T=e(65619),C=[],O=r(C.sort),R=r(C.push),B=m(function(){C.sort(void 0)}),M=m(function(){C.sort(null)}),F=h("sort"),H=!m(function(){if(w)return w<70;if(!(v&&v>3)){if(E)return!0;if(T)return T<603;var X="",te,q,ae,le;for(te=65;te<76;te++){switch(q=String.fromCharCode(te),te){case 66:case 69:case 70:case 72:ae=3;break;case 68:case 71:ae=4;break;default:ae=2}for(le=0;le<47;le++)C.push({k:q+le,v:ae})}for(C.sort(function(pe,ge){return ge.v-pe.v}),le=0;le<C.length;le++)q=C[le].k.charAt(0),X.charAt(X.length-1)!==q&&(X+=q);return X!=="DGBEFHACIJK"}}),U=B||!M||!F||!H,W=function(X){return function(te,q){if(q===void 0)return-1;if(te===void 0)return 1;if(X!==void 0)return+X(te,q)||0;var ae=l(te),le=l(q);return ae===le?0:ae>le?1:-1}};n({target:"Array",proto:!0,forced:U},{sort:function(te){te!==void 0&&a(te);var q=s(this);if(H)return te===void 0?O(q):O(q,te);var ae=[],le=i(q),pe,ge;for(ge=0;ge<le;ge++)ge in q&&R(ae,q[ge]);for(g(ae,W(te)),pe=i(ae),ge=0;ge<pe;)q[ge]=ae[ge++];for(;ge<le;)u(q,ge++);return q}})},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 E=s(this),w=i(m,E);return g(w,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(w,T){var C=u(this),O=s(C),R=i(w,O),B=arguments.length,M=0,F,H,U,W;for(B===0?F=H=0:B===1?(F=0,H=O-R):(F=B-2,H=v(h(l(T),0),O-R)),U=a(O+F-H),W=g(U);M<R;M++)m(W,M,C[M]);for(;M<R+F;M++)m(W,M,arguments[M-R+2]);for(;M<U;M++)m(W,M,C[M+H-F]);return W}}),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),E=r(v),w=a(g),T=w<0?E+w:w;if(T>=E||T<0)throw new l("Incorrect index");for(var C=new u(E),O=0;O<E;O++)i(C,O,O===T?h:v[O]);return C}})},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),E=v.resolve,w=v.reject,T=i(function(){var C=a(h.resolve),O=[],R=0,B=1;u(g,function(M){var F=R++,H=!1;B++,r(C,h,M).then(function(U){H||(H=!0,O[F]=U,--B||E(O))},w)}),--B||E(O)});return T.error&&w(T.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),E=e(28177),w=e(64678),T=e(17371),C=e(11905),O=e(37293).set,R=e(21631),B=e(52073),M=e(49555),F=e(22413),H=e(51105),U=e(99306),W=e(33608),X=e(16183),te="Promise",q=W.CONSTRUCTOR,ae=W.REJECTION_EVENT,le=W.SUBCLASSING,pe=H.getterFor(te),ge=H.set,Ie=U&&U.prototype,Ce=U,Je=Ie,qe=s.TypeError,ye=s.document,xe=s.process,De=X.f,Fe=De,be=!!(ye&&ye.createEvent&&s.dispatchEvent),ke="unhandledrejection",Ge="rejectionhandled",Xe=0,At=1,yt=2,kt=1,Nt=2,Ir,yr,Wr,$r,sn=function(dr){var Nr;return w(dr)&&E(Nr=dr.then)?Nr:!1},Hr=function(dr,Nr){var un=Nr.value,Xt=Nr.state===At,br=Xt?dr.ok:dr.fail,$t=dr.resolve,wt=dr.reject,Ar=dr.domain,Q,ut,tr;try{br?(Xt||(Nr.rejection===Nt&&Sr(Nr),Nr.rejection=kt),br===!0?Q=un:(Ar&&Ar.enter(),Q=br(un),Ar&&(Ar.exit(),tr=!0)),Q===dr.promise?wt(new qe("Promise-chain cycle")):(ut=sn(Q))?u(ut,Q,$t,wt):$t(Q)):wt(un)}catch(rt){Ar&&!tr&&Ar.exit(),wt(rt)}},pt=function(dr,Nr){dr.notified||(dr.notified=!0,R(function(){for(var un=dr.reactions,Xt;Xt=un.get();)Hr(Xt,dr);dr.notified=!1,Nr&&!dr.rejection&&wr(dr)}))},et=function(dr,Nr,un){var Xt,br;be?(Xt=ye.createEvent("Event"),Xt.promise=Nr,Xt.reason=un,Xt.initEvent(dr,!1,!0),s.dispatchEvent(Xt)):Xt={promise:Nr,reason:un},!ae&&(br=s["on"+dr])?br(Xt):dr===ke&&B("Unhandled promise rejection",un)},wr=function(dr){u(O,s,function(){var Nr=dr.facade,un=dr.value,Xt=Dr(dr),br;if(Xt&&(br=M(function(){a?xe.emit("unhandledRejection",un,Nr):et(ke,Nr,un)}),dr.rejection=a||Dr(dr)?Nt:kt,br.error))throw br.value})},Dr=function(dr){return dr.rejection!==kt&&!dr.parent},Sr=function(dr){u(O,s,function(){var Nr=dr.facade;a?xe.emit("rejectionHandled",Nr):et(Ge,Nr,dr.value)})},kr=function(dr,Nr,un){return function(Xt){dr(Nr,Xt,un)}},qt=function(dr,Nr,un){dr.done||(dr.done=!0,un&&(dr=un),dr.value=Nr,dr.state=yt,pt(dr,!0))},Sn=function(dr,Nr,un){if(!dr.done){dr.done=!0,un&&(dr=un);try{if(dr.facade===Nr)throw new qe("Promise can't be resolved itself");var Xt=sn(Nr);Xt?R(function(){var br={done:!1};try{u(Xt,Nr,kr(Sn,br,dr),kr(qt,br,dr))}catch($t){qt(br,$t,dr)}}):(dr.value=Nr,dr.state=At,pt(dr,!1))}catch(br){qt({done:!1},br,dr)}}};if(q&&(Ce=function(Nr){T(this,Je),v(Nr),u(Ir,this);var un=pe(this);try{Nr(kr(Sn,un),kr(qt,un))}catch(Xt){qt(un,Xt)}},Je=Ce.prototype,Ir=function(Nr){ge(this,{type:te,done:!1,notified:!1,parent:!1,reactions:new F,rejection:!1,state:Xe,value:null})},Ir.prototype=l(Je,"then",function(Nr,un){var Xt=pe(this),br=De(C(this,Ce));return Xt.parent=!0,br.ok=E(Nr)?Nr:!0,br.fail=E(un)&&un,br.domain=a?xe.domain:void 0,Xt.state===Xe?Xt.reactions.add(br):R(function(){Hr(br,Xt)}),br.promise}),yr=function(){var dr=new Ir,Nr=pe(dr);this.promise=dr,this.resolve=kr(Sn,Nr),this.reject=kr(qt,Nr)},X.f=De=function(dr){return dr===Ce||dr===Wr?new yr(dr):Fe(dr)},!r&&E(U)&&Ie!==Object.prototype)){$r=Ie.then,le||l(Ie,"then",function(Nr,un){var Xt=this;return new Ce(function(br,$t){u($r,Xt,br,$t)}).then(Nr,un)},{unsafe:!0});try{delete Ie.constructor}catch{}m&&m(Ie,Je)}n({global:!0,constructor:!0,wrap:!0,forced:q},{Promise:Ce}),Wr=i.Promise,g(Ce,te,!1,!0),h(te)},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),E=v.reject,w=i(function(){var T=a(h.resolve);u(g,function(C){r(T,h,C).then(v.resolve,E)})});return w.error&&E(w.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),E=e(15955),w=e(51228),T=e(2303),C=e(75446),O=e(31789),R=e(51105),B=e(77296),M=e(76983),F="DOMException",H="DATA_CLONE_ERR",U=r("Error"),W=r(F)||(function(){try{var kt=r("MessageChannel")||a("worker_threads").MessageChannel;new kt().port1.postMessage(new WeakMap)}catch(Nt){if(Nt.name===H&&Nt.code===25)return Nt.constructor}})(),X=W&&W.prototype,te=U.prototype,q=R.set,ae=R.getterFor(F),le="stack"in new U(F),pe=function(kt){return h(C,kt)&&C[kt].m?C[kt].c:0},ge=function(){v(this,Ie);var Nt=arguments.length,Ir=T(Nt<1?void 0:arguments[0]),yr=T(Nt<2?void 0:arguments[1],"Error"),Wr=pe(yr);if(q(this,{type:F,name:yr,message:Ir,code:Wr}),B||(this.name=yr,this.message=Ir,this.code=Wr),le){var $r=new U(Ir);$r.name=F,l(this,"stack",u(1,O($r.stack,1)))}},Ie=ge.prototype=i(te),Ce=function(kt){return{enumerable:!0,configurable:!0,get:kt}},Je=function(kt){return Ce(function(){return ae(this)[kt]})};B&&(g(Ie,"code",Je("code")),g(Ie,"message",Je("message")),g(Ie,"name",Je("name"))),l(Ie,"constructor",u(1,ge));var qe=s(function(){return!(new W instanceof U)}),ye=qe||s(function(){return te.toString!==w||String(new W(1,2))!=="2: 1"}),xe=qe||s(function(){return new W(1,"DataCloneError").code!==25}),De=qe||W[H]!==25||X[H]!==25,Fe=M?ye||xe||De:qe;n({global:!0,constructor:!0,forced:Fe},{DOMException:Fe?ge:W});var be=r(F),ke=be.prototype;ye&&(M||W===be)&&m(ke,"toString",w),xe&&B&&W===be&&g(ke,"code",Ce(function(){return pe(E(this).name)}));for(var Ge in C)if(h(C,Ge)){var Xe=C[Ge],At=Xe.s,yt=u(6,Xe.c);h(be,At)||l(be,At,yt),h(ke,At)||l(ke,At,yt)}},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),E=e(77296),w=e(76983),T="DOMException",C=a("Error"),O=a(T),R=function(){l(this,B);var ge=arguments.length,Ie=g(ge<1?void 0:arguments[0]),Ce=g(ge<2?void 0:arguments[1],"Error"),Je=new O(Ie,Ce),qe=new C(Ie);return qe.name=T,i(Je,"stack",s(1,v(qe.stack,1))),m(Je,this,R),Je},B=R.prototype=O.prototype,M="stack"in new C(T),F="stack"in new O(1,2),H=O&&E&&Object.getOwnPropertyDescriptor(r,T),U=!!H&&!(H.writable&&H.configurable),W=M&&!U&&!F;n({global:!0,constructor:!0,forced:w||W},{DOMException:W?R:O});var X=a(T),te=X.prototype;if(te.constructor!==X){w||i(te,"constructor",s(1,X));for(var q in h)if(u(h,q)){var ae=h[q],le=ae.s;u(X,le)||i(X,le,s(6,ae.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),E=e(36585),w=e(71472),T=e(15955),C=e(72663),O=e(98941),R=e(81452),B=e(14687),M=e(5970),F=e(92688),H=e(29646),U=e(34068),W=e(42297),X=e(45857),te=e(36759),q=e(38527),ae=e(6224),le=a.Object,pe=a.Array,ge=a.Date,Ie=a.Error,Ce=a.TypeError,Je=a.PerformanceMark,qe=s("DOMException"),ye=U.Map,xe=U.has,De=U.get,Fe=U.set,be=W.Set,ke=W.add,Ge=W.has,Xe=s("Object","keys"),At=i([].push),yt=i((!0).valueOf),kt=i(1.1.valueOf),Nt=i("".valueOf),Ir=i(ge.prototype.getTime),yr=l("structuredClone"),Wr="DataCloneError",$r="Transferring",sn=function(wt){return!u(function(){var Ar=new a.Set([7]),Q=wt(Ar),ut=wt(le(7));return Q===Ar||!Q.has(7)||!v(ut)||+ut!=7})&&wt},Hr=function(wt,Ar){return!u(function(){var Q=new Ar,ut=wt({a:Q,b:Q});return!(ut&&ut.a===ut.b&&ut.a instanceof Ar&&ut.a.stack===Q.stack)})},pt=function(wt){return!u(function(){var Ar=wt(new a.AggregateError([1],yr,{cause:3}));return Ar.name!=="AggregateError"||Ar.errors[0]!==1||Ar.message!==yr||Ar.cause!==3})},et=a.structuredClone,wr=n||!Hr(et,Ie)||!Hr(et,qe)||!pt(et),Dr=!et&&sn(function(wt){return new Je(yr,{detail:wt}).detail}),Sr=sn(et)||Dr,kr=function(wt){throw new qe("Uncloneable type: "+wt,Wr)},qt=function(wt,Ar){throw new qe((Ar||"Cloning")+" of "+wt+" cannot be properly polyfilled in this engine",Wr)},Sn=function(wt,Ar){return Sr||qt(Ar),Sr(wt)},dr=function(){var wt;try{wt=new a.DataTransfer}catch{try{wt=new a.ClipboardEvent("").clipboardData}catch{}}return wt&&wt.items&&wt.files?wt:null},Nr=function(wt,Ar,Q){if(xe(Ar,wt))return De(Ar,wt);var ut=Q||C(wt),tr,rt,_t,Yr,ln,cn;if(ut==="SharedArrayBuffer")Sr?tr=Sr(wt):tr=wt;else{var gn=a.DataView;!gn&&!m(wt.slice)&&qt("ArrayBuffer");try{if(m(wt.slice)&&!wt.resizable)tr=wt.slice(0);else for(rt=wt.byteLength,_t=("maxByteLength"in wt)?{maxByteLength:wt.maxByteLength}:void 0,tr=new ArrayBuffer(rt,_t),Yr=new gn(wt),ln=new gn(tr),cn=0;cn<rt;cn++)ln.setUint8(cn,Yr.getUint8(cn))}catch{throw new qe("ArrayBuffer is detached",Wr)}}return Fe(Ar,wt,tr),tr},un=function(wt,Ar,Q,ut,tr){var rt=a[Ar];return v(rt)||qt(Ar),new rt(Nr(wt.buffer,tr),Q,ut)},Xt=function(wt,Ar){if(E(wt)&&kr("Symbol"),!v(wt))return wt;if(Ar){if(xe(Ar,wt))return De(Ar,wt)}else Ar=new ye;var Q=C(wt),ut,tr,rt,_t,Yr,ln,cn,gn;switch(Q){case"Array":rt=pe(M(wt));break;case"Object":rt={};break;case"Map":rt=new ye;break;case"Set":rt=new be;break;case"RegExp":rt=new RegExp(wt.source,H(wt));break;case"Error":switch(tr=wt.name,tr){case"AggregateError":rt=new(s(tr))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":rt=new(s(tr));break;case"CompileError":case"LinkError":case"RuntimeError":rt=new(s("WebAssembly",tr));break;default:rt=new Ie}break;case"DOMException":rt=new qe(wt.message,wt.name);break;case"ArrayBuffer":case"SharedArrayBuffer":rt=Nr(wt,Ar,Q);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":ln=Q==="DataView"?wt.byteLength:wt.length,rt=un(wt,Q,wt.byteOffset,ln,Ar);break;case"DOMQuad":try{rt=new DOMQuad(Xt(wt.p1,Ar),Xt(wt.p2,Ar),Xt(wt.p3,Ar),Xt(wt.p4,Ar))}catch{rt=Sn(wt,Q)}break;case"File":if(Sr)try{rt=Sr(wt),C(rt)!==Q&&(rt=void 0)}catch{}if(!rt)try{rt=new File([wt],wt.name,wt)}catch{}rt||qt(Q);break;case"FileList":if(_t=dr(),_t){for(Yr=0,ln=M(wt);Yr<ln;Yr++)_t.items.add(Xt(wt[Yr],Ar));rt=_t.files}else rt=Sn(wt,Q);break;case"ImageData":try{rt=new ImageData(Xt(wt.data,Ar),wt.width,wt.height,{colorSpace:wt.colorSpace})}catch{rt=Sn(wt,Q)}break;default:if(Sr)rt=Sr(wt);else switch(Q){case"BigInt":rt=le(wt.valueOf());break;case"Boolean":rt=le(yt(wt));break;case"Number":rt=le(kt(wt));break;case"String":rt=le(Nt(wt));break;case"Date":rt=new ge(Ir(wt));break;
742case"Blob":try{rt=wt.slice(0,wt.size,wt.type)}catch{qt(Q)}break;case"DOMPoint":case"DOMPointReadOnly":ut=a[Q];try{rt=ut.fromPoint?ut.fromPoint(wt):new ut(wt.x,wt.y,wt.z,wt.w)}catch{qt(Q)}break;case"DOMRect":case"DOMRectReadOnly":ut=a[Q];try{rt=ut.fromRect?ut.fromRect(wt):new ut(wt.x,wt.y,wt.width,wt.height)}catch{qt(Q)}break;case"DOMMatrix":case"DOMMatrixReadOnly":ut=a[Q];try{rt=ut.fromMatrix?ut.fromMatrix(wt):new ut(wt)}catch{qt(Q)}break;case"AudioData":case"VideoFrame":m(wt.clone)||qt(Q);try{rt=wt.clone()}catch{kr(Q)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":qt(Q);default:kr(Q)}}switch(Fe(Ar,wt,rt),Q){case"Array":case"Object":for(cn=Xe(wt),Yr=0,ln=M(cn);Yr<ln;Yr++)gn=cn[Yr],R(rt,gn,Xt(wt[gn],Ar));break;case"Map":wt.forEach(function(wi,ki){Fe(rt,Xt(ki,Ar),Xt(wi,Ar))});break;case"Set":wt.forEach(function(wi){ke(rt,Xt(wi,Ar))});break;case"Error":B(rt,"message",Xt(wt.message,Ar)),O(wt,"cause")&&B(rt,"cause",Xt(wt.cause,Ar)),tr==="AggregateError"?rt.errors=Xt(wt.errors,Ar):tr==="SuppressedError"&&(rt.error=Xt(wt.error,Ar),rt.suppressed=Xt(wt.suppressed,Ar));case"DOMException":q&&B(rt,"stack",Xt(wt.stack,Ar))}return rt},br=function(wt,Ar){if(!v(wt))throw new Ce("Transfer option cannot be converted to a sequence");var Q=[];w(wt,function(ki){At(Q,T(ki))});for(var ut=0,tr=M(Q),rt=new be,_t,Yr,ln,cn,gn,wi;ut<tr;){if(_t=Q[ut++],Yr=C(_t),cn=void 0,Yr==="ArrayBuffer"?Ge(rt,_t):xe(Ar,_t))throw new qe("Duplicate transferable",Wr);if(Yr==="ArrayBuffer"){ke(rt,_t);continue}if(ae)cn=et(_t,{transfer:[_t]});else switch(Yr){case"ImageBitmap":ln=a.OffscreenCanvas,g(ln)||qt(Yr,$r);try{gn=new ln(_t.width,_t.height),wi=gn.getContext("bitmaprenderer"),wi.transferFromImageBitmap(_t),cn=gn.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!m(_t.clone)||!m(_t.close))&&qt(Yr,$r);try{cn=_t.clone(),_t.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":qt(Yr,$r)}if(cn===void 0)throw new qe("This object cannot be transferred: "+Yr,Wr);Fe(Ar,_t,cn)}return rt},$t=function(wt){X(wt,function(Ar){ae?et(Ar,{transfer:[Ar]}):m(Ar.transfer)?Ar.transfer():te?te(Ar):qt("ArrayBuffer",$r)})};r({global:!0,enumerable:!0,sham:!ae,forced:wr},{structuredClone:function(Ar){var Q=F(arguments.length,1)>1&&!h(arguments[1])?T(arguments[1]):void 0,ut=Q?Q.transfer:void 0,tr,rt;ut!==void 0&&(tr=new ye,rt=br(ut,tr));var _t=Xt(Ar,tr);return rt&&$t(rt),_t}})},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(E=>m(E))}function s(v){return v}function i(v){return v}function u(v){return v}function l(v){const E={};for(const w of Object.getOwnPropertyNames(v))E[w]=m(v[w]);for(const w of Object.getOwnPropertySymbols(v))E[w]=m(v[w]);return globalThis.Object.freeze(E)}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,E){const w=E!==void 0?{...E,...v}:v;switch(n.Q.InstanceMode){case"freeze":return m(w);case"clone":return(0,g.i)(w);default:return w}}},35783(f,d,e){"use strict";e.d(d,{i:()=>n});
742class n extends Error{constructor(a){super(a)}}},78542(f,d,e){"use strict";e.d(d,{$p:()=>B,Cz:()=>m,Df:()=>ge,Ef:()=>Ce,H1:()=>h,IP:()=>ke,Mx:()=>Je,OD:()=>ye,PN:()=>kt,QS:()=>g,R1:()=>Nt,TC:()=>i,X$:()=>u,Y6:()=>w,Yi:()=>pt,Yq:()=>F,ZD:()=>pe,ZV:()=>T,Zx:()=>E,__:()=>be,av:()=>qe,cQ:()=>v,cZ:()=>xe,fJ:()=>q,gP:()=>ae,gm:()=>Xe,h4:()=>l,hg:()=>O,in:()=>Fe,jo:()=>H,my:()=>Ir,nH:()=>Ge,n_:()=>yt,zZ:()=>le});var n,r,a=e(47531),s=e(82795);function i(et){return a.av(et)&&et[s.hi]==="Readonly"}function u(et){return a.av(et)&&et[s.tJ]==="Optional"}function l(et){return U(et,"Any")}function m(et){return U(et,"Argument")}function g(et){return U(et,"Array")}function h(et){return U(et,"AsyncIterator")}function v(et){return U(et,"BigInt")}function E(et){return U(et,"Boolean")}function w(et){return U(et,"Computed")}function T(et){return U(et,"Constructor")}function C(et){return U(et,"Date")}function O(et){return U(et,"Function")}function R(et){return U(et,"Import")}function B(et){return U(et,"Integer")}function M(et){return n.IsObject(et)}function F(et){return U(et,"Intersect")}function H(et){return U(et,"Iterator")}function U(et,wr){return a.av(et)&&s.b8 in et&&et[s.b8]===wr}function W(et){return ae(et)&&n.IsString(et.const)}function X(et){return ae(et)&&n.IsNumber(et.const)}function te(et){return ae(et)&&n.IsBoolean(et.const)}function q(et){return a.Zx(et)||a.Mx(et)||a.IP(et)}function ae(et){return U(et,"Literal")}function le(et){return U(et,"MappedKey")}function pe(et){return U(et,"MappedResult")}function ge(et){return U(et,"Never")}function Ie(et){return U(et,"Not")}function Ce(et){return U(et,"Null")}function Je(et){return U(et,"Number")}function qe(et){return U(et,"Object")}function ye(et){return U(et,"Promise")}function xe(et){return U(et,"Record")}function De(et){return n.IsObject(et)&&r in et&&et[r]==="Recursive"}function Fe(et){return U(et,"Ref")}function be(et){return U(et,"RegExp")}function ke(et){return U(et,"String")}function Ge(et){return U(et,"Symbol")}function Xe(et){return U(et,"TemplateLiteral")}function At(et){return U(et,"This")}function yt(et){return a.av(et)&&s.H7 in et}function kt(et){return U(et,"Tuple")}function Nt(et){return U(et,"Undefined")}function Ir(et){return U(et,"Union")}function yr(et){return U(et,"Uint8Array")}function Wr(et){return U(et,"Unknown")}function $r(et){return U(et,"Unsafe")}function sn(et){return U(et,"Void")}function Hr(et){return a.av(et)&&s.b8 in et&&a.IP(et[s.b8])}function pt(et){return l(et)||m(et)||g(et)||E(et)||v(et)||h(et)||w(et)||T(et)||C(et)||O(et)||B(et)||F(et)||H(et)||ae(et)||le(et)||pe(et)||ge(et)||Ie(et)||Ce(et)||Je(et)||qe(et)||ye(et)||xe(et)||Fe(et)||be(et)||ke(et)||Ge(et)||Xe(et)||At(et)||kt(et)||Nt(et)||Ir(et)||yr(et)||Wr(et)||$r(et)||sn(et)||Hr(et)}},16132(f,d,e){"use strict";e.d(d,{$p:()=>Ce,Df:()=>yt,Ef:()=>Nt,G4:()=>un,H1:()=>X,IP:()=>et,LV:()=>Fe,Mx:()=>Ir,OD:()=>Wr,PN:()=>qt,QS:()=>W,R1:()=>Sn,Wy:()=>be,X$:()=>F,XF:()=>pe,Yq:()=>qe,ZV:()=>le,Zs:()=>De,Zx:()=>q,__:()=>pt,av:()=>yr,cQ:()=>te,cZ:()=>$r,fr:()=>Xt,gK:()=>kt,gP:()=>ke,gm:()=>Dr,h4:()=>H,hg:()=>ge,jo:()=>ye,jw:()=>$t,my:()=>Nr,nH:()=>wr});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(Q){try{return new RegExp(Q),!0}catch{return!1}}function h(Q){if(!i.IP(Q))return!1;for(let ut=0;ut<Q.length;ut++){const tr=Q.charCodeAt(ut);if(tr>=7&&tr<=13||tr===27||tr===127)return!1}return!0}function v(Q){return T(Q)||Ar(Q)}function E(Q){return i.R1(Q)||i.cQ(Q)}function w(Q){return i.R1(Q)||i.Mx(Q)}function T(Q){return i.R1(Q)||i.Zx(Q)}function C(Q){return i.R1(Q)||i.IP(Q)}function O(Q){return i.R1(Q)||i.IP(Q)&&h(Q)&&g(Q)}function R(Q){return i.R1(Q)||i.IP(Q)&&h(Q)}function B(Q){return i.R1(Q)||Ar(Q)}function M(Q){return n.IsObject(Q)&&Q[r]==="Readonly"}function F(Q){return i.av(Q)&&Q[u.tJ]==="Optional"}function H(Q){return xe(Q,"Any")&&C(Q.$id)}function U(Q){return xe(Q,"Argument")&&i.Mx(Q.index)}function W(Q){return xe(Q,"Array")&&Q.type==="array"&&C(Q.$id)&&Ar(Q.items)&&w(Q.minItems)&&w(Q.maxItems)&&T(Q.uniqueItems)&&B(Q.contains)&&w(Q.minContains)&&w(Q.maxContains)}function X(Q){return xe(Q,"AsyncIterator")&&Q.type==="AsyncIterator"&&C(Q.$id)&&Ar(Q.items)}function te(Q){return xe(Q,"BigInt")&&Q.type==="bigint"&&C(Q.$id)&&E(Q.exclusiveMaximum)&&E(Q.exclusiveMinimum)&&E(Q.maximum)&&E(Q.minimum)&&E(Q.multipleOf)}function q(Q){return xe(Q,"Boolean")&&Q.type==="boolean"&&C(Q.$id)}function ae(Q){return xe(Q,"Computed")&&i.IP(Q.target)&&i.QS(Q.parameters)&&Q.parameters.every(ut=>Ar(ut))}function le(Q){return xe(Q,"Constructor")&&Q.type==="Constructor"&&C(Q.$id)&&i.QS(Q.parameters)&&Q.parameters.every(ut=>Ar(ut))&&Ar(Q.returns)}function pe(Q){return xe(Q,"Date")&&Q.type==="Date"&&C(Q.$id)&&w(Q.exclusiveMaximumTimestamp)&&w(Q.exclusiveMinimumTimestamp)&&w(Q.maximumTimestamp)&&w(Q.minimumTimestamp)&&w(Q.multipleOfTimestamp)}function ge(Q){return xe(Q,"Function")&&Q.type==="Function"&&C(Q.$id)&&i.QS(Q.parameters)&&Q.parameters.every(ut=>Ar(ut))&&Ar(Q.returns)}function Ie(Q){return xe(Q,"Import")&&n.HasPropertyKey(Q,"$defs")&&n.IsObject(Q.$defs)&&Je(Q.$defs)&&n.HasPropertyKey(Q,"$ref")&&n.IsString(Q.$ref)&&Q.$ref in Q.$defs}function Ce(Q){return xe(Q,"Integer")&&Q.type==="integer"&&C(Q.$id)&&w(Q.exclusiveMaximum)&&w(Q.exclusiveMinimum)&&w(Q.maximum)&&w(Q.minimum)&&w(Q.multipleOf)}function Je(Q){return i.av(Q)&&Object.entries(Q).every(([ut,tr])=>h(ut)&&Ar(tr))}function qe(Q){return xe(Q,"Intersect")&&!(i.IP(Q.type)&&Q.type!=="object")&&i.QS(Q.allOf)&&Q.allOf.every(ut=>
742Ar(ut)&&!kr(ut))&&C(Q.type)&&(T(Q.unevaluatedProperties)||B(Q.unevaluatedProperties))&&C(Q.$id)}function ye(Q){return xe(Q,"Iterator")&&Q.type==="Iterator"&&C(Q.$id)&&Ar(Q.items)}function xe(Q,ut){return i.av(Q)&&u.b8 in Q&&Q[u.b8]===ut}function De(Q){return ke(Q)&&i.IP(Q.const)}function Fe(Q){return ke(Q)&&i.Mx(Q.const)}function be(Q){return ke(Q)&&i.Zx(Q.const)}function ke(Q){return xe(Q,"Literal")&&C(Q.$id)&&Ge(Q.const)}function Ge(Q){return i.Zx(Q)||i.Mx(Q)||i.IP(Q)}function Xe(Q){return xe(Q,"MappedKey")&&i.QS(Q.keys)&&Q.keys.every(ut=>i.Mx(ut)||i.IP(ut))}function At(Q){return xe(Q,"MappedResult")&&Je(Q.properties)}function yt(Q){return xe(Q,"Never")&&i.av(Q.not)&&Object.getOwnPropertyNames(Q.not).length===0}function kt(Q){return xe(Q,"Not")&&Ar(Q.not)}function Nt(Q){return xe(Q,"Null")&&Q.type==="null"&&C(Q.$id)}function Ir(Q){return xe(Q,"Number")&&Q.type==="number"&&C(Q.$id)&&w(Q.exclusiveMaximum)&&w(Q.exclusiveMinimum)&&w(Q.maximum)&&w(Q.minimum)&&w(Q.multipleOf)}function yr(Q){return xe(Q,"Object")&&Q.type==="object"&&C(Q.$id)&&Je(Q.properties)&&v(Q.additionalProperties)&&w(Q.minProperties)&&w(Q.maxProperties)}function Wr(Q){return xe(Q,"Promise")&&Q.type==="Promise"&&C(Q.$id)&&Ar(Q.item)}function $r(Q){return xe(Q,"Record")&&Q.type==="object"&&C(Q.$id)&&v(Q.additionalProperties)&&i.av(Q.patternProperties)&&(ut=>{const tr=Object.getOwnPropertyNames(ut.patternProperties);return tr.length===1&&g(tr[0])&&i.av(ut.patternProperties)&&Ar(ut.patternProperties[tr[0]])})(Q)}function sn(Q){return n.IsObject(Q)&&a in Q&&Q[a]==="Recursive"}function Hr(Q){return xe(Q,"Ref")&&C(Q.$id)&&i.IP(Q.$ref)}function pt(Q){return xe(Q,"RegExp")&&C(Q.$id)&&i.IP(Q.source)&&i.IP(Q.flags)&&w(Q.maxLength)&&w(Q.minLength)}function et(Q){return xe(Q,"String")&&Q.type==="string"&&C(Q.$id)&&w(Q.minLength)&&w(Q.maxLength)&&O(Q.pattern)&&R(Q.format)}function wr(Q){return xe(Q,"Symbol")&&Q.type==="symbol"&&C(Q.$id)}function Dr(Q){return xe(Q,"TemplateLiteral")&&Q.type==="string"&&i.IP(Q.pattern)&&Q.pattern[0]==="^"&&Q.pattern[Q.pattern.length-1]==="$"}function Sr(Q){return xe(Q,"This")&&C(Q.$id)&&i.IP(Q.$ref)}function kr(Q){return i.av(Q)&&u.H7 in Q}function qt(Q){return xe(Q,"Tuple")&&Q.type==="array"&&C(Q.$id)&&i.Mx(Q.minItems)&&i.Mx(Q.maxItems)&&Q.minItems===Q.maxItems&&(i.R1(Q.items)&&i.R1(Q.additionalItems)&&Q.minItems===0||i.QS(Q.items)&&Q.items.every(ut=>Ar(ut)))}function Sn(Q){return xe(Q,"Undefined")&&Q.type==="undefined"&&C(Q.$id)}function dr(Q){return Nr(Q)&&Q.anyOf.every(ut=>De(ut)||Fe(ut))}function Nr(Q){return xe(Q,"Union")&&C(Q.$id)&&i.av(Q)&&i.QS(Q.anyOf)&&Q.anyOf.every(ut=>Ar(ut))}function un(Q){return xe(Q,"Uint8Array")&&Q.type==="Uint8Array"&&C(Q.$id)&&w(Q.minByteLength)&&w(Q.maxByteLength)}function Xt(Q){return xe(Q,"Unknown")&&C(Q.$id)}function br(Q){return xe(Q,"Unsafe")}function $t(Q){return xe(Q,"Void")&&Q.type==="void"&&C(Q.$id)}function wt(Q){return i.av(Q)&&u.b8 in Q&&i.IP(Q[u.b8])&&!m.includes(Q[u.b8])}function Ar(Q){return i.av(Q)&&(H(Q)||U(Q)||W(Q)||q(Q)||te(Q)||X(Q)||ae(Q)||le(Q)||pe(Q)||ge(Q)||Ce(Q)||qe(Q)||ye(Q)||ke(Q)||Xe(Q)||At(Q)||yt(Q)||kt(Q)||Nt(Q)||Ir(Q)||yr(Q)||Wr(Q)||$r(Q)||Hr(Q)||pt(Q)||et(Q)||wr(Q)||Dr(Q)||Sr(Q)||qt(Q)||Sn(Q)||Nr(Q)||un(Q)||Xt(Q)||br(Q)||$t(Q)||wt(Q))}},47531(f,d,e){"use strict";e.d(d,{Ef:()=>g,G4:()=>C,H1:()=>r,IP:()=>w,Mx:()=>h,QS:()=>a,R1:()=>O,XF:()=>u,Zx:()=>i,__:()=>E,av:()=>v,cQ:()=>s,hg:()=>l,jo:()=>m,nH:()=>T});function n(R,B){return B in R}function r(R){return v(R)&&!a(R)&&!C(R)&&Symbol.asyncIterator in R}function a(R){return Array.isArray(R)}function s(R){return typeof R=="bigint"}function i(R){return typeof R=="boolean"}function u(R){return R instanceof globalThis.Date}function l(R){return typeof R=="function"}function m(R){return v(R)&&!a(R)&&!C(R)&&Symbol.iterator in R}function g(R){return R===null}function h(R){return typeof R=="number"}function v(R){return typeof R=="object"&&R!==null}function E(R){return R instanceof globalThis.RegExp}function w(R){return typeof R=="string"}function T(R){return typeof R=="symbol"}function C(R){return R instanceof globalThis.Uint8Array}function O(R){return R===void 0}},31340(f,d,e){"use strict";e.d(d,{g:()=>h,n:()=>E});var n=e(19568),r=e(78542);function a(w){const T=[];for(const C of w)T.push(h(C));return T}function s(w){const T=a(w);return(0,n.lw)(T)}function i(w){const T=a(w);return(0,n.vC)(T)}function u(w){return w.map((T,C)=>C.toString())}function l(w){return["[number]"]}function m(w){return globalThis.Object.getOwnPropertyNames(w)}function g(w){return v?globalThis.Object.getOwnPropertyNames(w).map(C=>C[0]==="^"&&C[C.length-1]==="$"?C.slice(1,C.length-1):C):[]}function h(w){return(0,r.Yq)(w)?s(w.allOf):(0,r.my)(w)?i(w.anyOf):(0,r.PN)(w)?u(w.items??[]):(0,r.QS)(w)?l(w.items):(0,r.av)(w)?m(w.properties):(0,r.cZ)(w)?g(w.patternProperties):[]}let v=!1;function E(w){v=!0;const T=h(w);return v=!1,`^(${T.map(O=>`(${O})`).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(E=>
742n(v,E))}function a(h){return[...new Set(h)]}function s(h,v){return h.filter(E=>v.includes(E))}function i(h,v){return[...h,...v]}function u(h,v){return h.filter(E=>!v.includes(E))}function l(h,v){return h.reduce((E,w)=>s(E,w),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 E of h)v.push(...E);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:()=>pe,Ef:()=>q,G4:()=>E,H1:()=>n,IP:()=>Ie,Mx:()=>le,OD:()=>i,QS:()=>X,R1:()=>te,XF:()=>u,Zx:()=>ae,av:()=>W,cQ:()=>ge,hg:()=>Ce,jo:()=>r,nH:()=>Je});function n(ye){return W(ye)&&globalThis.Symbol.asyncIterator in ye}function r(ye){return W(ye)&&globalThis.Symbol.iterator in ye}function a(ye){return W(ye)&&(globalThis.Object.getPrototypeOf(ye)===Object.prototype||globalThis.Object.getPrototypeOf(ye)===null)}function s(ye){return W(ye)&&!X(ye)&&Ce(ye.constructor)&&ye.constructor.name!=="Object"}function i(ye){return ye instanceof globalThis.Promise}function u(ye){return ye instanceof Date&&globalThis.Number.isFinite(ye.getTime())}function l(ye){return ye instanceof globalThis.Map}function m(ye){return ye instanceof globalThis.Set}function g(ye){return ye instanceof globalThis.RegExp}function h(ye){return globalThis.ArrayBuffer.isView(ye)}function v(ye){return ye instanceof globalThis.Int8Array}function E(ye){return ye instanceof globalThis.Uint8Array}function w(ye){return ye instanceof globalThis.Uint8ClampedArray}function T(ye){return ye instanceof globalThis.Int16Array}function C(ye){return ye instanceof globalThis.Uint16Array}function O(ye){return ye instanceof globalThis.Int32Array}function R(ye){return ye instanceof globalThis.Uint32Array}function B(ye){return ye instanceof globalThis.Float32Array}function M(ye){return ye instanceof globalThis.Float64Array}function F(ye){return ye instanceof globalThis.BigInt64Array}function H(ye){return ye instanceof globalThis.BigUint64Array}function U(ye,xe){return xe in ye}function W(ye){return ye!==null&&typeof ye=="object"}function X(ye){return globalThis.Array.isArray(ye)&&!globalThis.ArrayBuffer.isView(ye)}function te(ye){return ye===void 0}function q(ye){return ye===null}function ae(ye){return typeof ye=="boolean"}function le(ye){return typeof ye=="number"}function pe(ye){return globalThis.Number.isInteger(ye)}function ge(ye){return typeof ye=="bigint"}function Ie(ye){return typeof ye=="string"}function Ce(ye){return typeof ye=="function"}function Je(ye){return typeof ye=="symbol"}function qe(ye){return ge(ye)||ae(ye)||q(ye)||le(ye)||Ie(ye)||Je(ye)||te(ye)}},4214(f,d,e){"use strict";e.d(d,{A:()=>g});var n=e(52997);class r{type;coordMeta;coordRange;range;constructor(E,w){if(typeof E=="object"&&(this.coordMeta=E),w&&(this.coordMeta=w,this.coordRange=w.range??w.refRange),typeof E=="string"){let T=E.trim().match(/^(?<type><[a-z]+>)(\[(?<min>-?[.\d]+),\s*(?<max>-?[.\d]+)\])?$/);if(!T)throw new TypeError(`Cannot parse ${E} as a type definition.`);this.type=T.groups.type;let{min:C,max:O}=T.groups;(C||O)&&(this.range=[+C,+O])}}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(E){if(this.type==="<angle>")return E;let w=this.computedRange,T=this.coordRange;return this.type==="<percentage>"&&(T??=this.percentageRange()),(0,n._b)(w,T,E)}serialize(E,w){let T=this.type==="<percentage>"?this.percentageRange(100):this.computedRange,C=this.unit;return E=(0,n._b)(this.coordRange,T,E),(0,n.g1)(E,{unit:C,precision:w})}toString(){let E=this.type;if(this.range){let[w="",T=""]=this.range;E+=`[${w},${T}]`}return E}percentageRange(E=1){let w;return this.coordMeta&&this.coordMeta.range||this.coordRange&&this.coordRange[0]>=0?w=[0,1]:w=[-1,1],[w[0]*E,w[1]*E]}static get(E,w){return(0,n.Qs)(E,this)?E:new this(E,w)}}const a=Symbol("instance");class s{type;name;
742spaceCoords;coords;id;alpha;constructor(E,w=E.space){E[a]=this,this.type="function",this.name="color",Object.assign(this,E),this.space=w,this.type!=="custom"&&(this.spaceCoords=Object.values(w.coords),this.coords||(this.coords=this.spaceCoords.map(T=>{let C=["<number>","<percentage>"];return T.type==="angle"&&C.push("<angle>"),C})),this.coords=this.coords.map((T,C)=>{let O=this.spaceCoords[C];return typeof T=="string"&&(T=T.trim().split(/\s*\|\s*/)),T.map(R=>r.get(R,O))}))}serializeCoords(E,w,T){return T=E.map((C,O)=>r.get(T?.[O]??this.coords[O][0],this.spaceCoords[O])),E.map((C,O)=>T[O].serialize(C,w))}coerceCoords(E,w){return Object.entries(this.space.coords).map(([T,C],O)=>{let R=E[O];if((0,n.$I)(R)||isNaN(R))return R;let B=w[O],M=this.coords[O].find(F=>F.type==B);if(!M){let F=C.name||T;throw new TypeError(`${B??R?.raw??R} not allowed for ${F} in ${this.name}()`)}return R=M.resolve(R),M.range&&(w[O]=M.toString()),R})}canSerialize(){return this.type==="function"||this.serialize}parse(E){return null}static get(E,...w){return!E||(0,n.Qs)(E,this)?E:E[a]?E[a]:new s(E,...w)}}var i=e(38693),u=e(17873),l=e(88878);const m=75e-6;class g{constructor(E){this.id=E.id,this.name=E.name,this.base=E.base?g.get(E.base):null,this.aliases=E.aliases,this.base&&(this.fromBase=E.fromBase,this.toBase=E.toBase);let w=E.coords??this.base.coords;for(let C in w)"name"in w[C]||(w[C].name=C);this.coords=w;let T=E.white??this.base.white??"D65";this.white=(0,i.ie)(T),this.formats=E.formats??{};for(let C in this.formats){let O=this.formats[C];O.type||="function",O.name||=C}this.formats.color?.id||(this.formats.color={...this.formats.color??{},id:E.cssId||this.id}),E.gamutSpace?this.gamutSpace=E.gamutSpace==="self"?this:g.get(E.gamutSpace):this.isPolar?this.gamutSpace=this.base:this.gamutSpace=this,this.gamutSpace.isUnbounded&&(this.inGamut=(C,O)=>!0),this.referred=E.referred,Object.defineProperty(this,"path",{value:h(this).reverse(),writable:!1,enumerable:!0,configurable:!0}),u.A.run("colorspace-init-end",this)}inGamut(E,{epsilon:w=m}={}){if(!this.equals(this.gamutSpace))return E=this.to(this.gamutSpace,E),this.gamutSpace.inGamut(E,{epsilon:w});let T=Object.values(this.coords);return E.every((C,O)=>{let R=T[O];if(R.type!=="angle"&&R.range){if((0,n.$I)(C))return!0;let[B,M]=R.range;return(B===void 0||C>=B-w)&&(M===void 0||C<=M+w)}return!0})}get isUnbounded(){return Object.values(this.coords).every(E=>!("range"in E))}get cssId(){return this.formats?.color?.id||this.id}get isPolar(){for(let E in this.coords)if(this.coords[E].type==="angle")return!0;return!1}getFormat(E){if(!E)return null;E==="default"?E=Object.values(this.formats)[0]:typeof E=="string"&&(E=this.formats[E]);let w=s.get(E,this);return w!==E&&E.name in this.formats&&(this.formats[E.name]=w),w}equals(E){return E?this===E||this.id===E||this.id===E.id:!1}to(E,w){if(arguments.length===1){const B=(0,l.A)(E);[E,w]=[B.space,B.coords]}if(E=g.get(E),this.equals(E))return w;w=w.map(B=>(0,n.$I)(B)?0:B);let T=this.path,C=E.path,O,R;for(let B=0;B<T.length&&T[B].equals(C[B]);B++)O=T[B],R=B;if(!O)throw new Error(`Cannot convert between color spaces ${this} and ${E}: no connection space was found`);for(let B=T.length-1;B>R;B--)w=T[B].toBase(w);for(let B=R+1;B<C.length;B++)w=C[B].fromBase(w);return w}from(E,w){if(arguments.length===1){const T=(0,l.A)(E);[E,w]=[T.space,T.coords]}return E=g.get(E),E.to(this,w)}toString(){return`${this.name} (${this.id})`}getMinCoords(){let E=[];for(let w in this.coords){let T=this.coords[w],C=T.range||T.refRange;E.push(C?.min??0)}return E}static registry={};static get all(){return[...new Set(Object.values(g.registry))]}static register(E,w){if(arguments.length===1&&(w=arguments[0],E=w.id),w=this.get(w),this.registry[E]&&this.registry[E]!==w)throw new Error(`Duplicate color space registration: '${E}'`);if(this.registry[E]=w,arguments.length===1&&w.aliases)for(let T of w.aliases)this.register(T,w);return w}static get(E,...w){if(!E||(0,n.Qs)(E,this))return E;if((0,n.NW)(E)==="string"){let C=g.registry[E.toLowerCase()];if(!C)throw new TypeError(`No color space found with id = "${E}"`);return C}if(w.length)return g.get(...w);throw new TypeError(`${E} is not a valid color space`)}static findFormat(E,w=g.all){if(!E)return null;typeof E=="string"&&(E={name:E});for(let T of w)for(let[C,O]of Object.entries(T.formats)){O.name??=C,O.type??="function";let R=(!E.name||O.name===E.name)&&(!E.type||O.type===E.type);if(E.id){let B=O.ids||[O.id],M=Array.isArray(E.id)?E.id:[E.id];R&&=M.some(F=>B.includes(F))}if(R){let B=s.get(O,T);return B!==O&&(T.formats[O.name]=B),B}}return null}
742static resolveCoord(E,w){let T=(0,n.NW)(E),C,O;if(T==="string"?E.includes(".")?[C,O]=E.split("."):[C,O]=[,E]:Array.isArray(E)?[C,O]=E:(C=E.space,O=E.coordId),C=g.get(C),C||(C=w),!C)throw new TypeError(`Cannot resolve coordinate reference ${E}: No color space specified and relative references are not allowed here`);if(T=(0,n.NW)(O),T==="number"||T==="string"&&O>=0){let M=Object.entries(C.coords)[O];if(M)return{space:C,id:M[0],index:O,...M[1]}}C=g.get(C);let R=O.toLowerCase(),B=0;for(let M in C.coords){let F=C.coords[M];if(M.toLowerCase()===R||F.name?.toLowerCase()===R)return{space:C,id:M,index:B,...F};B++}throw new TypeError(`No "${O}" coordinate found in ${C.name}. Its coordinates are: ${Object.keys(C.coords).join(", ")}`)}static DEFAULT_FORMAT={type:"functions",name:"color"}}function h(v){let E=[v];for(let w=v;w=w.base;)E.push(w);return E}},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:()=>Fe});var n={};e.r(n),e.d(n,{contrastAPCA:()=>H,contrastDeltaPhi:()=>De,contrastLstar:()=>ae,contrastMichelson:()=>U,contrastWCAG21:()=>i,contrastWeber:()=>X});var r=e(88878),a=e(52997),s=e(21307);function i(be,ke){be=(0,r.A)(be),ke=(0,r.A)(ke);let Ge=Math.max((0,s.J1)(be),0),Xe=Math.max((0,s.J1)(ke),0);return Xe>Ge&&([Ge,Xe]=[Xe,Ge]),(Ge+.05)/(Xe+.05)}var u=e(1400);const l=.56,m=.57,g=.62,h=.65,v=.022,E=1.414,w=.1,T=5e-4,C=1.14,O=.027,R=1.14,B=.027;function M(be){return be>=v?be:be+(v-be)**E}function F(be){let ke=be<0?-1:1,Ge=Math.abs(be);return ke*Math.pow(Ge,2.4)}function H(be,ke){ke=(0,r.A)(ke),be=(0,r.A)(be);let Ge,Xe,At,yt,kt,Nt;ke=(0,u.A)(ke,"srgb"),[yt,kt,Nt]=ke.coords.map(Hr=>(0,a.$I)(Hr)?0:Hr);let Ir=F(yt)*.2126729+F(kt)*.7151522+F(Nt)*.072175;be=(0,u.A)(be,"srgb"),[yt,kt,Nt]=be.coords.map(Hr=>(0,a.$I)(Hr)?0:Hr);let yr=F(yt)*.2126729+F(kt)*.7151522+F(Nt)*.072175,Wr=M(Ir),$r=M(yr),sn=$r>Wr;return Math.abs($r-Wr)<T?Xe=0:sn?(Ge=$r**l-Wr**m,Xe=Ge*C):(Ge=$r**h-Wr**g,Xe=Ge*R),Math.abs(Xe)<w?At=0:Xe>0?At=Xe-O:At=Xe+O,At*100}function U(be,ke){be=(0,r.A)(be),ke=(0,r.A)(ke);let Ge=Math.max((0,s.J1)(be),0),Xe=Math.max((0,s.J1)(ke),0);Xe>Ge&&([Ge,Xe]=[Xe,Ge]);let At=Ge+Xe;return At===0?0:(Ge-Xe)/At}const W=5e4;function X(be,ke){be=(0,r.A)(be),ke=(0,r.A)(ke);let Ge=Math.max((0,s.J1)(be),0),Xe=Math.max((0,s.J1)(ke),0);return Xe>Ge&&([Ge,Xe]=[Xe,Ge]),Xe===0?W:(Ge-Xe)/Xe}var te=e(38653),q=e(97412);function ae(be,ke){be=(0,r.A)(be),ke=(0,r.A)(ke);let Ge=(0,te.A)(be,[q.A,"l"]),Xe=(0,te.A)(ke,[q.A,"l"]);return Math.abs(Ge-Xe)}var le=e(4214),pe=e(38693),ge=e(4386);const Ie=216/24389,Ce=24/116,Je=24389/27;let qe=pe.FL.D65;const ye=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:qe,base:ge.A,fromBase(be){let Ge=be.map((Xe,At)=>Xe/qe[At]).map(Xe=>Xe>Ie?Math.cbrt(Xe):(Je*Xe+16)/116);return[116*Ge[1]-16,500*(Ge[0]-Ge[1]),200*(Ge[1]-Ge[2])]},toBase(be){let ke=[];return ke[1]=(be[0]+16)/116,ke[0]=be[1]/500+ke[1],ke[2]=ke[1]-be[2]/200,[ke[0]>Ce?Math.pow(ke[0],3):(116*ke[0]-16)/Je,be[0]>8?Math.pow((be[0]+16)/116,3):be[0]/Je,ke[2]>Ce?Math.pow(ke[2],3):(116*ke[2]-16)/Je].map((Xe,At)=>Xe*qe[At])},formats:{"lab-d65":{coords:["<number> | <percentage>","<number> | <percentage>","<number> | <percentage>"]}}}),xe=Math.pow(5,.5)*.5+.5;function De(be,ke){be=(0,r.A)(be),ke=(0,r.A)(ke);let Ge=(0,te.A)(be,[ye,"l"]),Xe=(0,te.A)(ke,[ye,"l"]),At=Math.abs(Math.pow(Ge,xe)-Math.pow(Xe,xe)),yt=Math.pow(At,1/xe)*Math.SQRT2-40;return yt<7.5?0:yt}function Fe(be,ke,Ge){(0,a.Kg)(Ge)&&(Ge={algorithm:Ge});let{algorithm:Xe,...At}=Ge||{};if(!Xe){let yt=Object.keys(n).map(kt=>kt.replace(/^contrast/,"")).join(", ");throw new TypeError(`contrast() function needs a contrast algorithm. Please specify one of: ${yt}`)}be=(0,r.A)(be),ke=(0,r.A)(ke);for(let yt in n)if("contrast"+Xe.toLowerCase()===yt.toLowerCase())return n[yt](be,ke,At);throw new TypeError(`Unknown contrast algorithm: ${Xe}`)}},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);
742function 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});class 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:()=>w});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),E=e(90053);function w(B,M,F,H={}){return[B,M]=[(0,i.A)(B),(0,i.A)(M)],(0,s.NW)(F)==="object"&&([F,H]=[.5,F]),C(B,M,H)(F??.5)}function T(B,M,F={}){let H;O(B)&&([H,F]=[B,M],[B,M]=H.rangeArgs.colors);let{maxDeltaE:U,deltaEMethod:W,steps:X=2,maxSteps:te=1e3,...q}=F;H||([B,M]=[n(B),n(M)],H=C(B,M,q));let ae=r(B,M),le=U>0?Math.max(X,Math.ceil(ae/U)+1):X,pe=[];if(te!==void 0&&(le=Math.min(le,te)),le===1)pe=[{p:.5,color:H(.5)}];else{let ge=1/(le-1);pe=Array.from({length:le},(Ie,Ce)=>{let Je=Ce*ge;return{p:Je,color:H(Je)}})}if(U>0){let ge=pe.reduce((Ie,Ce,Je)=>{if(Je===0)return 0;let qe=r(Ce.color,pe[Je-1].color,W);return Math.max(Ie,qe)},0);for(;ge>U;){ge=0;for(let Ie=1;Ie<pe.length&&pe.length<te;Ie++){let Ce=pe[Ie-1],Je=pe[Ie],qe=(Je.p+Ce.p)/2,ye=H(qe);ge=Math.max(ge,r(ye,Ce.color),r(ye,Je.color)),pe.splice(Ie,0,{p:qe,color:H(qe)}),Ie++}}}return pe=pe.map(ge=>ge.color),pe}function C(B,M,F={}){if(O(B)){let[q,ae]=[B,M];return C(...q.rangeArgs.colors,{...q.rangeArgs.options,...ae})}let{space:H,outputSpace:U,progression:W,premultiplied:X}=F;B=(0,i.A)(B),M=(0,i.A)(M),B=(0,u.A)(B),M=(0,u.A)(M);let te={colors:[B,M],options:F};if(H?H=a.A.get(H):H=a.A.registry[v.A.interpolationSpace]||B.space,U=U?a.A.get(U):H,B=(0,l.A)(B,H),M=(0,l.A)(M,H),B=(0,m.A)(B),M=(0,m.A)(M),H.coords.h&&H.coords.h.type==="angle"){let q=F.hue=F.hue||"shorter",ae=[H,"h"],[le,pe]=[(0,g.A)(B,ae),(0,g.A)(M,ae)];(0,s.$I)(le)&&!(0,s.$I)(pe)?le=pe:(0,s.$I)(pe)&&!(0,s.$I)(le)&&(pe=le),[le,pe]=E.A(q,[le,pe]),(0,h.A)(B,ae,le),(0,h.A)(M,ae,pe)}return X&&(B.coords=B.coords.map(q=>q*B.alpha),M.coords=M.coords.map(q=>q*M.alpha)),Object.assign(q=>{q=W?W(q):q;let ae=B.coords.map((ge,Ie)=>{let Ce=M.coords[Ie];return(0,s.GW)(ge,Ce,q)}),le=(0,s.GW)(B.alpha,M.alpha,q),pe={space:H,coords:ae,alpha:le};return X&&(pe.coords=pe.coords.map(ge=>ge/le)),U!==H&&(pe=(0,l.A)(pe,U)),pe},{rangeArgs:te})}function O(B){return(0,s.NW)(B)==="function"&&!!B.rangeArgs}v.A.interpolationSpace="lab";function R(B){B.defineFunction("mix",w,{returns:"color"}),B.defineFunction("range",C,{returns:"function<color>"}),B.defineFunction("steps",T,{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(T=>[T]):[[]],h=!0);let v=m[0].length,E=m[0].map((T,C)=>m.map(O=>O[C])),w=l.map(T=>E.map(C=>{let O=0;if(!Array.isArray(T)){for(let R of C)O+=T*R;return O}for(let R=0;R<T.length;R++)O+=T[R]*(C[R]||0);return O}));return u===1&&g&&(w=w[0]),v===1&&h?u===1&&g?w[0]:w.map(T=>T[0]):w}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 E={str:String(h)?.trim(),options:v};if(r.A.run("parse-start",E),E.color)return E.color;E.parsed=g(E.str);let w,T=E.options?E.options.parseMeta??E.options.meta:null;if(E.parsed){let C=E.parsed.name,O,R,B=E.parsed.args,M=B.map((U,W)=>E.parsed.argMeta[W]?.type);if(C==="color"){let U=B.shift();M.shift();let W=U.startsWith("--")?U.substring(2):`--${U}`,X=[U,W];if(O=a.A.findFormat({name:C,id:X,type:"function"}),!O){let te,q=U in a.A.registry?U:W;if(q in a.A.registry){let ae=a.A.registry[q].formats?.color?.id;ae&&(te=`Did you mean ${h.replace("color("+U,"color("+ae)}?`)}throw new TypeError(`Cannot parse ${E.str}. `+(te??"Missing a plugin?"))}R=O.space,O.id.startsWith("--")&&!U.startsWith("--")&&s.A.warn(`${R.name} is a non-standard space and not currently supported in the CSS spec. Use prefixed color(${O.id}) instead of color(${U}).`),U.startsWith("--")&&!O.id.startsWith("--")&&s.A.warn(`${R.name} is a standard space and supported in the CSS spec. Use color(${O.id}) instead of prefixed color(${U}).`)}else O=a.A.findFormat({name:C,type:"function"}
742),R=O.space;T&&Object.assign(T,{format:O,formatId:O.name,types:M,commas:E.parsed.commas});let F=1;E.parsed.lastAlpha&&(F=E.parsed.args.pop(),T&&(T.alphaType=M.pop()));let H=O.coords.length;if(B.length!==H)throw new TypeError(`Expected ${H} coordinates for ${R.id} in ${E.str}), got ${B.length}`);B=O.coerceCoords(B,M),w={spaceId:R.id,coords:B,alpha:F}}else e:for(let C of a.A.all)for(let O in C.formats){let R=C.formats[O];if(R.type!=="custom"||R.test&&!R.test(E.str))continue;let B=C.getFormat(R),M=B.parse(E.str);if(M){T&&Object.assign(T,{format:B,formatId:O}),w=M;break e}}if(!w)throw new TypeError(`Could not parse ${h} as a color. Missing a plugin?`);return w.alpha=(0,n.$I)(w.alpha)?w.alpha:w.alpha===void 0?1:(0,n.qE)(0,w.alpha,1),w}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={},E=h.match(l.unitValue)?.[0],w=v.raw=h;return E?(v.type=E==="%"?"<percentage>":"<angle>",v.unit=E,v.unitless=Number(w.slice(0,-E.length)),w=v.unitless*u[E]):l.number.test(w)?(w=Number(w),v.type="<number>"):w==="none"?w=null:w==="NaN"||w==="calc(NaN)"?(w=NaN,v.type="<number>"):v.type="<ident>",{value:w,meta:v}}function g(h){if(!h)return;h=h.trim();let v=h.match(l.function);if(v){let E=[],w=[],T=!1,C=v[1].toLowerCase(),O=v[2].replace(l.singleArgument,(R,B)=>{let{value:M,meta:F}=m(B);return(R.startsWith("/")||C!=="color"&&E.length===3)&&(T=!0),E.push(M),w.push(F),""});return{name:C,args:E,argMeta:w,lastAlpha:T,commas:O.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:E=a.A.precision,format:w,inGamut:T=!0,coords:C,alpha:O,commas:R}=v,B,M=(0,s.A)(h),F=w,H=M.parseMeta;H&&!w&&(H.format.canSerialize()&&(w=H.format,F=H.formatId),C??=H.types,O??=H.alphaType,R??=H.commas),F&&(w=M.space.getFormat(w)??r.A.findFormat(F)),w||(w=M.space.getFormat("default")??r.A.DEFAULT_FORMAT,F=w.name),w&&w.space&&w.space!==M.space&&(M=(0,i.A)(M,w.space));let U=M.coords.slice();if(T||=w.toGamut,T&&!(0,u.A)(M)&&(U=(0,l.A)((0,m.A)(M),T===!0?void 0:T).coords),w.type==="custom")if(w.serialize)B=w.serialize(U,M.alpha,v);else throw new TypeError(`format ${F} can only be used to parse colors, not for serialization`);else{let W=w.name||"color",X=w.serializeCoords(U,E,C);if(W==="color"){let pe=w.id||w.ids?.[0]||M.space.cssId||M.space.id;X.unshift(pe)}let te=M.alpha;O!==void 0&&typeof O!="object"&&(O=typeof O=="string"?{type:O}:{include:O});let q=O?.type??"<number>",ae=O?.include===!0||w.alpha===!0||O?.include!==!1&&w.alpha!==!1&&te<1,le="";if(R??=w.commas,ae){if(E!==null){let pe;q==="<percentage>"&&(pe="%",te*=100),te=n.g1(te,{precision:E,unit:pe})}le=`${R?",":" /"} ${te}`}B=`${W}(${X.join(R?", ":" ")}${le})`}return B}},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 E in v)l(m,E,v[E])}else if(typeof h=="function"&&(h=h((0,a.A)(m,g))),g==="alpha")m.alpha=h;else{let{space:v,index:E}=n.A.resolveCoord(g,m.space),w=(0,s.A)(m,v);w[E]=h,i(m,v,w)}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,E]=[null,0,(u+i)/2],w=i-u;if(w!==0){switch(v=E===0||E===1?0:(i-E)/Math.min(E,1-E),i){case l:h=(m-g)/w+(m<g?6:0);break;case m:h=(g-l)/w+2;break;case g:h=(l-m)/w+4}h=h*60}return v<0&&(h+=180,v=Math.abs(v)),h>=360&&(h-=360),[h,v*100,E*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 E=h.map((O,R)=>O/m[R]).map(O=>O>i?Math.cbrt(O):(l*O+16)/116),w=116*E[1]-16,T=500*(E[0]-E[1]),C=200*(E[1]-E[2]);return[w,T,C]},toBase(h){let[v,E,w]=h,T=[];return T[1]=(v+16)/116,T[0]=E/500+T[1],T[2]=T[1]-w/200,[T[0]>u?Math.pow(T[0],3):(116*T[0]-16)/l,h[0]>8?Math.pow((h[0]+16)/116,3):h[0]/l,T[2]>u?Math.pow(T[2],3):(116*T[2]-16)/l].map((O,R)=>O*m[R])},formats:{lab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}})},69792(f,d,e){"use strict";e.d(d,{A:()=>E});var n=e(4214),r=e(39478),a=e(38693),s=e(4386);class i extends n.A{constructor(T){T.coords||(T.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}
vendor: 6,976 bytes, line 742
742),T.base||(T.base=s.A),T.toXYZ_M&&T.fromXYZ_M&&(T.toBase??=C=>{let O=(0,r.R)(C,T.toXYZ_M);return this.white!==this.base.white&&(O=(0,a.Ay)(this.white,this.base.white,O)),O},T.fromBase??=C=>(C=(0,a.Ay)(this.base.white,this.white,C),(0,r.R)(C,T.fromXYZ_M))),T.referred??="display",super(T)}}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 E=new i({id:"srgb",name:"sRGB",base:m,fromBase:w=>w.map(T=>{let C=T<0?-1:1,O=T*C;return O>.0031308?C*(1.055*O**(1/2.4)-.055):12.92*T}),toBase:w=>w.map(T=>{let C=T<0?-1:1,O=T*C;return O<=.04045?T/12.92:C*((O+.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:w=>/^#(([a-f0-9]{2}){3,4}|[a-f0-9]{3,4})$/i.test(w),parse(w){w.length<=5&&(w=w.replace(/[a-f0-9]/gi,"$&$&"));let T=[];return w.replace(/[a-f0-9]{2}/gi,C=>{T.push(parseInt(C,16)/255)}),{spaceId:"srgb",coords:T.slice(0,3),alpha:T.slice(3)[0]}},serialize:(w,T,{collapse:C=!0,alpha:O}={})=>{(O!==!1&&T<1||O===!0)&&w.push(T),w=w.map(M=>Math.round(M*255));let R=C&&w.every(M=>M%17===0);return"#"+w.map(M=>R?(M/17).toString(16):M.toString(16).padStart(2,"0")).join("")}},keyword:{type:"custom",test:w=>/^[a-z]+$/i.test(w),parse(w){w=w.toLowerCase();let T={spaceId:"srgb",coords:null,alpha:1};if(w==="transparent"?(T.coords=g.black,T.alpha=0):T.coords=g[w],T.coords)return T}}}})},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);
742let 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:()=>$i});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(Vt){if(this.\u03B5===void 0){let ai=Object.values(this.base.coords)[1].refRange,yi=ai[1]-ai[0];this.\u03B5=yi/1e5}let[hr,rn,zn]=Vt,$n=Math.abs(rn)<this.\u03B5&&Math.abs(zn)<this.\u03B5,bn=$n?null:(0,i.h)(Math.atan2(zn,rn)*180/Math.PI),ni=$n?0:Math.sqrt(rn**2+zn**2);return[hr,ni,bn]},toBase(Vt){let[hr,rn,zn]=Vt,$n=null,bn=null;return(0,n.$I)(zn)||(rn=rn<0?0:rn,$n=rn*Math.cos(zn*Math.PI/180),bn=rn*Math.sin(zn*Math.PI/180)),[hr,$n,bn]},formats:{lch:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}});var l=e(88878);Object.defineProperty(w,"name",{value:"default",configurable:!0});const m=25**7,g=Math.PI,h=180/g,v=g/180;function E(Vt){const hr=Vt*Vt;return hr*hr*hr*Vt}function w(Vt,hr,{kL:rn=1,kC:zn=1,kH:$n=1}={}){[Vt,hr]=(0,l.A)([Vt,hr]);let[bn,ni,ai]=s.A.from(Vt),yi=u.from(s.A,[bn,ni,ai])[1],[es,Ei,Hi]=s.A.from(hr),zi=u.from(s.A,[es,Ei,Hi])[1];yi<0&&(yi=0),zi<0&&(zi=0);let us=(yi+zi)/2,Ss=E(us),as=.5*(1-Math.sqrt(Ss/(Ss+m))),oi=(1+as)*ni,$s=(1+as)*Ei,Es=Math.sqrt(oi**2+ai**2),ls=Math.sqrt($s**2+Hi**2),Ts=oi===0&&ai===0?0:Math.atan2(ai,oi),de=$s===0&&Hi===0?0:Math.atan2(Hi,$s);Ts<0&&(Ts+=2*g),de<0&&(de+=2*g),Ts*=h,de*=h;let $e=es-bn,Pt=ls-Es,or=de-Ts,tn=Ts+de,Vn=Math.abs(or),Ri;Es*ls===0?Ri=0:Vn<=180?Ri=or:or>180?Ri=or-360:or<-180?Ri=or+360:a.A.warn("the unthinkable has happened");let ts=2*Math.sqrt(ls*Es)*Math.sin(Ri*v/2),ss=(bn+es)/2,Li=(Es+ls)/2,Ia=E(Li),Sa;Es*ls===0?Sa=tn:Vn<=180?Sa=tn/2:tn<360?Sa=(tn+360)/2:Sa=(tn-360)/2;let ha=(ss-50)**2,Qa=1+.015*ha/Math.sqrt(20+ha),_s=1+.045*Li,fr=1;fr-=.17*Math.cos((Sa-30)*v),fr+=.24*Math.cos(2*Sa*v),fr+=.32*Math.cos((3*Sa+6)*v),fr-=.2*Math.cos((4*Sa-63)*v);let Aa=1+.015*Li*fr,en=30*Math.exp(-1*((Sa-275)/25)**2),pa=2*Math.sqrt(Ia/(Ia+m)),Pa=-1*Math.sin(2*en*v)*pa,Xs=($e/(rn*Qa))**2;return Xs+=(Pt/(zn*_s))**2,Xs+=(ts/($n*Aa))**2,Xs+=Pa*(Pt/(zn*_s))*(ts/($n*Aa)),Math.sqrt(Xs)}var T=e(39478),C=e(4386);const O=[[.819022437996703,.3619062600528904,-.1288737815209879],[.0329836539323885,.9292868615863434,.0361446663506424],[.0481771893596242,.2642395317527308,.6335478284694309]],R=[[1.2268798758459243,-.5578149944602171,.2813910456659647],[-.0405757452148008,1.112286803280317,-.0717110580655164],[-.0763729366746601,-.4214933324022432,1.5869240198367816]],B=[[.210454268309314,.7936177747023054,-.0040720430116193],[1.9779985324311684,-2.42859224204858,.450593709617411],[.0259040424655478,.7827717124575296,-.8086757549230774]],M=[[1,.3963377773761749,.2158037573099136],[1,-.1055613458156586,-.0638541728258133],[1,-.0894841775298119,-1.2914855480194092]],F=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:C.A,fromBase(Vt){let hr=(0,T.R)(Vt,O);return hr[0]=Math.cbrt(hr[0]),hr[1]=Math.cbrt(hr[1]),hr[2]=Math.cbrt(hr[2]),(0,T.R)(hr,B,hr)},toBase(Vt){let hr=(0,T.R)(Vt,M);return hr[0]=hr[0]**3,hr[1]=hr[1]**3,hr[2]=hr[2]**3,(0,T.R)(hr,R,hr)},formats:{oklab:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});Object.defineProperty(H,"name",{value:"default",configurable:!0});function H(Vt,hr){[Vt,hr]=(0,l.A)([Vt,hr]);let[rn,zn,$n]=F.from(Vt),[bn,ni,ai]=F.from(hr),yi=rn-bn,es=zn-ni,Ei=$n-ai;return Math.sqrt(yi**2+es**2+Ei**2)}var U=e(84110),W=e(1400),X=e(38653),te=e(77934),q=e(23512);function ae(Vt,hr,rn="lab"){rn=r.A.get(rn);let zn=rn.from(Vt),$n=rn.from(hr);return Math.sqrt(zn.reduce((bn,ni,ai)=>{let yi=$n[ai];return(0,n.$I)(ni)||(0,n.$I)(yi)?bn:bn+(yi-ni)**2},0))}function le(Vt,hr){return ae(Vt,hr,"lab")}Object.defineProperty(Ie,"name",{value:"default",configurable:!0});const ge=Math.PI/180;function Ie(Vt,hr,{l:rn=2,c:zn=1}={}){[Vt,hr]=(0,l.A)([Vt,hr]);
742let[$n,bn,ni]=s.A.from(Vt),[,ai,yi]=u.from(s.A,[$n,bn,ni]),[es,Ei,Hi]=s.A.from(hr),zi=u.from(s.A,[es,Ei,Hi])[1];ai<0&&(ai=0),zi<0&&(zi=0);let us=$n-es,Ss=ai-zi,as=bn-Ei,oi=ni-Hi,$s=as**2+oi**2-Ss**2,Es=.511;$n>=16&&(Es=.040975*$n/(1+.01765*$n));let ls=.0638*ai/(1+.0131*ai)+.638,Ts;(0,n.$I)(yi)&&(yi=0),yi>=164&&yi<=345?Ts=.56+Math.abs(.2*Math.cos((yi+168)*ge)):Ts=.36+Math.abs(.4*Math.cos((yi+35)*ge));let de=Math.pow(ai,4),$e=Math.sqrt(de/(de+1900)),Pt=ls*($e*Ts+1-$e),or=(us/(rn*Es))**2;return or+=(Ss/(zn*ls))**2,or+=$s/Pt**2,Math.sqrt(or)}const Ce=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:C.A,fromBase(Vt){return Vt.map(hr=>hr*Ce)},toBase(Vt){return Vt.map(hr=>hr/Ce)}}),qe=1.15,ye=.66,xe=2610/2**14,De=2**14/2610,Fe=3424/2**12,be=2413/2**7,ke=2392/2**7,Ge=1.7*2523/2**5,Xe=2**5/(1.7*2523),At=-.56,yt=16295499532821565e-27,kt=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Nt=[[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]],yr=[[1,.13860504327153927,.05804731615611883],[1,-.1386050432715393,-.058047316156118904],[1,-.09601924202631895,-.811891896056039]],Wr=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(Vt){let[hr,rn,zn]=Vt,$n=qe*hr-(qe-1)*zn,bn=ye*rn-(ye-1)*hr,ai=(0,T.R)([$n,bn,zn],kt).map(function(zi){let us=Fe+be*(0,n.kR)(zi/1e4,xe),Ss=1+ke*(0,n.kR)(zi/1e4,xe);return(0,n.kR)(us/Ss,Ge)}),[yi,es,Ei]=(0,T.R)(ai,Ir);return[(1+At)*yi/(1+At*yi)-yt,es,Ei]},toBase(Vt){let[hr,rn,zn]=Vt,$n=(hr+yt)/(1+At-At*(hr+yt)),ni=(0,T.R)([$n,rn,zn],yr).map(function(zi){let us=Fe-(0,n.kR)(zi,Xe),Ss=ke*(0,n.kR)(zi,Xe)-be;return 1e4*(0,n.kR)(us/Ss,De)}
742),[ai,yi,es]=(0,T.R)(ni,Nt),Ei=(ai+(qe-1)*es)/qe,Hi=(yi+(ye-1)*Ei)/ye;return[Ei,Hi,es]},formats:{jzazbz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}}),$r=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:Wr,fromBase:u.fromBase,toBase:u.toBase,formats:{jzczhz:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <angle>"]}}});Object.defineProperty(sn,"name",{value:"default",configurable:!0});function sn(Vt,hr){[Vt,hr]=(0,l.A)([Vt,hr]);let[rn,zn,$n]=$r.from(Vt),[bn,ni,ai]=$r.from(hr),yi=rn-bn,es=zn-ni;(0,n.$I)($n)&&(0,n.$I)(ai)?($n=0,ai=0):(0,n.$I)($n)?$n=ai:(0,n.$I)(ai)&&(ai=$n);let Ei=$n-ai,Hi=2*Math.sqrt(zn*ni)*Math.sin(Ei/2*(Math.PI/180));return Math.sqrt(yi**2+es**2+Hi**2)}const Hr=3424/4096,pt=2413/128,et=2392/128,wr=2610/16384,Dr=2523/32,Sr=16384/2610,kr=32/2523,qt=[[.3592832590121217,.6976051147779502,-.035891593232029],[-.1920808463704993,1.100476797037432,.0753748658519118],[.0070797844607479,.0748396662186362,.8433265453898765]],Sn=[[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]],Nr=[[2.0701522183894223,-1.3263473389671563,.2066510476294053],[.3647385209748072,.6805660249472273,-.0453045459220347],[-.0497472075358123,-.0492609666966131,1.1880659249923042]],un=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(Vt){let hr=(0,T.R)(Vt,qt);return Xt(hr)},toBase(Vt){let hr=br(Vt);return(0,T.R)(hr,Nr)},formats:{ictcp:{coords:["<percentage> | <number>","<number> | <percentage>","<number> | <percentage>"]}}});function Xt(Vt){let hr=Vt.map(function(rn){let zn=Hr+pt*(rn/1e4)**wr,$n=1+et*(rn/1e4)**wr;return(zn/$n)**Dr});return(0,T.R)(hr,Sn)}function br(Vt){return(0,T.R)(Vt,dr).map(function(zn){let $n=Math.max(zn**kr-Hr,0),bn=pt-et*zn**kr;return 1e4*($n/bn)**Sr})}Object.defineProperty($t,"name",{value:"default",configurable:!0});function $t(Vt,hr){[Vt,hr]=(0,l.A)([Vt,hr]);let[rn,zn,$n]=un.from(Vt),[bn,ni,ai]=un.from(hr);return 720*Math.sqrt((rn-bn)**2+.25*(zn-ni)**2+($n-ai)**2)}Object.defineProperty(wt,"name",{value:"default",configurable:!0});function wt(Vt,hr){[Vt,hr]=(0,l.A)([Vt,hr]);let rn=2,[zn,$n,bn]=F.from(Vt),[ni,ai,yi]=F.from(hr),es=zn-ni,Ei=rn*($n-ai),Hi=rn*(bn-yi);return Math.sqrt(es**2+Ei**2+Hi**2)}var Ar=e(38693);const Q=Ar.FL.D65,ut=.42,tr=1/ut,rt=2*Math.PI,_t=[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],Yr=[[1.8620678550872327,-1.0112546305316843,.14918677544445175],[.38752654323613717,.6214474419314753,-.008973985167612518],[-.015841498849333856,-.03412293802851557,1.0499644368778496]],ln=[[460,451,288],[460,-891,-261],[460,-220,-6300]],cn={dark:[.8,.525,.8],dim:[.9,.59,.9],average:[1,.69,1]},gn={h:[20.14,90,164.25,237.53,380.14],e:[.8,.7,1,1.2,.8],H:[0,100,200,300,400]},wi=180/Math.PI,ki=Math.PI/180;function Ur(Vt,hr){return Vt.map(zn=>{const $n=(0,n.kR)(hr*Math.abs(zn)*.01,ut);return 400*(0,n.pG)($n,zn)/($n+27.13)})}function Bi(Vt,hr){const rn=100/hr*27.13**tr;return Vt.map(zn=>{const $n=Math.abs(zn);return(0,n.pG)(rn*(0,n.kR)($n/(400-$n),tr),zn)})}function bs(Vt){let hr=(0,i.h)(Vt);hr<=gn.h[0]&&(hr+=360);const rn=(0,n.ah)(gn.h,hr)-1,[zn,$n]=gn.h.slice(rn,rn+2),[bn,ni]=gn.e.slice(rn,rn+2),ai=gn.H[rn],yi=(hr-zn)/bn;return ai+100*yi/(yi+($n-hr)/ni)}function Di(Vt){let hr=(Vt%400+400)%400;const rn=Math.floor(.01*hr);hr=hr%100;const[zn,$n]=gn.h.slice(rn,rn+2),[bn,ni]=gn.e.slice(rn,rn+2);return(0,i.h)((hr*(ni*zn-bn*$n)-100*zn*ni)/(hr*(ni-bn)-100*ni))}
742function on(Vt,hr,rn,zn,$n){const bn={};bn.discounting=$n,bn.refWhite=Vt,bn.surround=zn;const ni=Vt.map(oi=>oi*100);bn.la=hr,bn.yb=rn;const ai=ni[1],yi=(0,T.R)(ni,_t);let es=cn[bn.surround];const Ei=es[0];bn.c=es[1],bn.nc=es[2];const zi=(1/(5*bn.la+1))**4;bn.fl=zi*bn.la+.1*(1-zi)*(1-zi)*Math.cbrt(5*bn.la),bn.flRoot=bn.fl**.25,bn.n=bn.yb/ai,bn.z=1.48+Math.sqrt(bn.n),bn.nbb=.725*bn.n**-.2,bn.ncb=bn.nbb;const us=$n?1:Math.max(Math.min(Ei*(1-1/3.6*Math.exp((-bn.la-42)/92)),1),0);bn.dRgb=yi.map(oi=>(0,n.GW)(1,ai/oi,us)),bn.dRgbInv=bn.dRgb.map(oi=>1/oi);const Ss=yi.map((oi,$s)=>oi*bn.dRgb[$s]),as=Ur(Ss,bn.fl);return bn.aW=bn.nbb*(2*as[0]+as[1]+.05*as[2]),bn}const fi=on(Q,64/Math.PI*.2,20,"average",!1);function qi(Vt,hr){if(!(Vt.J!==void 0^Vt.Q!==void 0))throw new Error("Conversion requires one and only one: 'J' or 'Q'");if(!(Vt.C!==void 0^Vt.M!==void 0^Vt.s!==void 0))throw new Error("Conversion requires one and only one: 'C', 'M' or 's'");if(!(Vt.h!==void 0^Vt.H!==void 0))throw new Error("Conversion requires one and only one: 'h' or 'H'");if(Vt.J===0||Vt.Q===0)return[0,0,0];let rn=0;Vt.h!==void 0?rn=(0,i.h)(Vt.h)*ki:rn=Di(Vt.H)*ki;const zn=Math.cos(rn),$n=Math.sin(rn);let bn=0;Vt.J!==void 0?bn=(0,n.kR)(Vt.J,1/2)*.1:Vt.Q!==void 0&&(bn=.25*hr.c*Vt.Q/((hr.aW+4)*hr.flRoot));let ni=0;Vt.C!==void 0?ni=Vt.C/bn:Vt.M!==void 0?ni=Vt.M/hr.flRoot/bn:Vt.s!==void 0&&(ni=4e-4*Vt.s**2*(hr.aW+4)/hr.c);const ai=(0,n.kR)(ni*Math.pow(1.64-Math.pow(.29,hr.n),-.73),10/9),yi=.25*(Math.cos(rn+2)+3.8),es=hr.aW*(0,n.kR)(bn,2/hr.c/hr.z),Ei=5e4/13*hr.nc*hr.ncb*yi,Hi=es/hr.nbb,zi=23*(Hi+.305)*(0,n.Ed)(ai,23*Ei+ai*(11*zn+108*$n)),us=zi*zn,Ss=zi*$n,as=Bi((0,T.R)([Hi,us,Ss],ln).map(oi=>oi*1/1403),hr.fl);return(0,T.R)(as.map((oi,$s)=>oi*hr.dRgbInv[$s]),Yr).map(oi=>oi/100)}function ri(Vt,hr){const rn=Vt.map(ls=>ls*100),zn=Ur((0,T.R)(rn,_t).map((ls,Ts)=>ls*hr.dRgb[Ts]),hr.fl),$n=zn[0]+(-12*zn[1]+zn[2])/11,bn=(zn[0]+zn[1]-2*zn[2])/9,ni=(Math.atan2(bn,$n)%rt+rt)%rt,ai=.25*(Math.cos(ni+2)+3.8),yi=5e4/13*hr.nc*hr.ncb*(0,n.Ed)(ai*Math.sqrt($n**2+bn**2),zn[0]+zn[1]+1.05*zn[2]+.305),es=(0,n.kR)(yi,.9)*Math.pow(1.64-Math.pow(.29,hr.n),.73),Ei=hr.nbb*(2*zn[0]+zn[1]+.05*zn[2]),Hi=(0,n.kR)(Ei/hr.aW,.5*hr.c*hr.z),zi=100*(0,n.kR)(Hi,2),us=4/hr.c*Hi*(hr.aW+4)*hr.flRoot,Ss=es*Hi,as=Ss*hr.flRoot,oi=(0,i.h)(ni*wi),$s=bs(oi),Es=50*(0,n.kR)(hr.c*es/(hr.aW+4),1/2);return{J:zi,C:Ss,h:oi,s:Es,Q:us,M:as,H:$s}}const Vi=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:C.A,fromBase(Vt){this.\u03B5===void 0&&(this.\u03B5=Object.values(this.coords)[1].refRange[1]/1e5);const hr=ri(Vt,fi),rn=Math.abs(hr.M)<this.\u03B5;return[hr.J,rn?0:hr.M,rn?null:hr.h]},toBase(Vt){return qi({J:Vt[0],M:Vt[1],h:Vt[2]},fi)}}),si=Ar.FL.D65,ks=216/24389,cr=24389/27;function fe(Vt){return 116*(Vt>ks?Math.cbrt(Vt):(cr*Vt+16)/116)-16}function Re(Vt){return Vt>8?Math.pow((Vt+16)/116,3):Vt/cr}function Qe(Vt,hr){let[rn,zn,$n]=Vt,bn=[],ni=0;if($n===0)return[0,0,0];let ai=Re($n);$n>0?ni=.00379058511492914*$n**2+.608983189401032*$n+.9155088574762233:ni=9514440756550361e-21*$n**2+.08693057439788597*$n-21.928975842194614;const yi=2e-12,es=15;let Ei=0,Hi=1/0,zi=ni;for(;Ei<=es;){bn=qi({J:ni,C:zn,h:rn},hr);const us=Math.abs(bn[1]-ai);if(us<Hi){if(us<=yi)return bn;zi=ni,Hi=us}ni=ni-(bn[1]-ai)*ni/(2*bn[1]),Ei+=1}return qi({J:ni,C:zn,h:rn},hr)}function mt(Vt,hr){const rn=fe(Vt[1]);if(rn===0)return[0,0,0];const zn=ri(Vt,xt);return[(0,i.h)(zn.h),zn.C,rn]}const xt=on(si,200/Math.PI*Re(50),Re(50)*100,"average",!1),Mr=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:C.A,fromBase(Vt){this.\u03B5===void 0&&(this.\u03B5=Object.values(this.coords)[1].refRange[1]/1e5);let hr=mt(Vt,xt);return hr[1]<this.\u03B5&&(hr[1]=0,hr[0]=null),hr},toBase(Vt){return Qe(Vt,xt)},formats:{color:{id:"--hct",coords:["<number> | <angle>","<percentage> | <number>","<percentage> | <number>"]}}});Object.defineProperty(yn,"name",{value:"default",configurable:!0});const vn=180/Math.PI,Ut=Math.PI/180,Yn=[1,.007,.0228];function mi(Vt){Vt[1]<0&&(Vt=Mr.fromBase(Mr.toBase(Vt)));const hr=Math.log(Math.max(1+Yn[2]*Vt[1]*xt.flRoot,1))/Yn[2],rn=Vt[0]*Ut,zn=hr*Math.cos(rn),$n=hr*Math.sin(rn);return[Vt[2],zn,$n]}function yn(Vt,hr){[Vt,hr]=(0,l.A)([Vt,hr]);let[rn,zn,$n]=mi(Mr.from(Vt)),[bn,ni,ai]=mi(Mr.from(hr));return Math.sqrt((rn-bn)**2+(zn-ni)**2+($n-ai)**2)}const ji={deltaE76:le,deltaECMC:Ie,deltaE2000:w,deltaEJz:sn,deltaEITP:$t,deltaEOK:H,deltaEOK2:wt,deltaEHCT:yn};function Tn(Vt){const hr=Vt?Math.floor(Math.log10(Math.abs(Vt))):0;return Math.max(parseFloat(`1e${hr-2}`),1e-6)}const Cs={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}}};
742function $i(Vt,{method:hr=a.A.gamut_mapping,space:rn=void 0,deltaEMethod:zn="",jnd:$n=2,blackWhiteClamp:bn=void 0}={}){if(Vt=(0,l.A)(Vt),n.Kg(arguments[1])?rn=arguments[1]:rn||(rn=Vt.space),rn=r.A.get(rn),(0,U.A)(Vt,rn,{epsilon:0}))return Vt;let ni;if(hr==="css")ni=vs(Vt,{space:rn});else{if(hr!=="clip"&&!(0,U.A)(Vt,rn)){Object.prototype.hasOwnProperty.call(Cs,hr)&&({method:hr,jnd:$n,deltaEMethod:zn,blackWhiteClamp:bn}=Cs[hr]);let ai=w;if(zn!==""){for(let es in ji)if("deltae"+zn.toLowerCase()===es.toLowerCase()){ai=ji[es];break}}$n===0&&($n=1e-16);let yi=$i((0,W.A)(Vt,rn),{method:"clip",space:rn});if(ai(Vt,yi)>$n){if(bn&&Object.keys(bn).length===3){let Es=r.A.resolveCoord(bn.channel),ls=(0,X.A)((0,W.A)(Vt,Es.space),Es.id);if(n.$I(ls)&&(ls=0),ls>=bn.max)return(0,W.A)({space:"xyz-d65",coords:Ar.FL.D65},Vt.space);if(ls<=bn.min)return(0,W.A)({space:"xyz-d65",coords:[0,0,0]},Vt.space)}let es=r.A.resolveCoord(hr),Ei=es.space,Hi=es.id,zi=(0,W.A)(Vt,Ei);zi.coords.forEach((Es,ls)=>{n.$I(Es)&&(zi.coords[ls]=0)});let Ss=(es.range||es.refRange)[0],as=Tn($n),oi=Ss,$s=(0,X.A)(zi,Hi);for(;$s-oi>as;){let Es=(0,q.A)(zi);Es=$i(Es,{space:rn,method:"clip"}),ai(zi,Es)-$n<as?oi=(0,X.A)(zi,Hi):$s=(0,X.A)(zi,Hi),(0,te.A)(zi,Hi,(oi+$s)/2)}ni=(0,W.A)(zi,rn)}else ni=yi}else ni=(0,W.A)(Vt,rn);if(hr==="clip"||!(0,U.A)(ni,rn,{epsilon:0})){let ai=Object.values(rn.coords).map(yi=>yi.range||[]);ni.coords=ni.coords.map((yi,es)=>{let[Ei,Hi]=ai[es];return Ei!==void 0&&(yi=Math.max(Ei,yi)),Hi!==void 0&&(yi=Math.min(yi,Hi)),yi})}}return rn!==Vt.space&&(ni=(0,W.A)(ni,Vt.space)),Vt.coords=ni.coords,Vt}$i.returns="color";const gs={WHITE:{space:F,coords:[1,0,0],alpha:1},BLACK:{space:F,coords:[0,0,0],alpha:1}};function vs(Vt,{space:hr}={}){Vt=(0,l.A)(Vt),hr||(hr=Vt.space),hr=r.A.get(hr);const $n=r.A.get("oklch");if(hr.isUnbounded)return(0,W.A)(Vt,hr);const bn=(0,W.A)(Vt,$n);let ni=bn.coords[0];if(ni>=1){const Ss=(0,W.A)(gs.WHITE,hr);return Ss.alpha=Vt.alpha,(0,W.A)(Ss,hr)}if(ni<=0){const Ss=(0,W.A)(gs.BLACK,hr);return Ss.alpha=Vt.alpha,(0,W.A)(Ss,hr)}if((0,U.A)(bn,hr,{epsilon:0}))return(0,W.A)(bn,hr);function ai(Ss){const as=(0,W.A)(Ss,hr),oi=Object.values(hr.coords);return as.coords=as.coords.map(($s,Es)=>{if("range"in oi[Es]){const[ls,Ts]=oi[Es].range;return n.qE(ls,$s,Ts)}return $s}),as}let yi=0,es=bn.coords[1],Ei=!0,Hi=(0,q.A)(bn),zi=ai(Hi),us=H(zi,Hi);if(us<.02)return zi;for(;es-yi>1e-4;){const Ss=(yi+es)/2;if(Hi.coords[1]=Ss,Ei&&(0,U.A)(Hi,hr,{epsilon:0}))yi=Ss;else if(zi=ai(Hi),us=H(zi,Hi),us<.02){if(.02-us<1e-4)break;Ei=!1,yi=Ss}else es=Ss}return zi}},52997(f,d,e){"use strict";e.d(d,{$I:()=>s,Ed:()=>w,GW:()=>l,Kg:()=>n,NW:()=>r,QX:()=>u,Qs:()=>C,_b:()=>g,ah:()=>T,g1:()=>a,kR:()=>E,pG:()=>v,qE:()=>h});function n(O){return r(O)==="string"}function r(O){return(Object.prototype.toString.call(O).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function a(O,{precision:R=16,unit:B}){return s(O)?"none":(O=+u(O,R),O+(B??""))}function s(O){return O===null}function i(O){return s(O)?0:O}function u(O,R){if(O===0)return 0;let B=~~O,M=0;B&&R&&(M=~~Math.log10(Math.abs(B))+1);const F=10**(R-M);return Math.floor(O*F+.5)/F}function l(O,R,B){return isNaN(O)?R:isNaN(R)?O:O+(R-O)*B}function m(O,R,B){return(B-O)/(R-O)}function g(O,R,B){return!O||!R||O===R||O[0]===R[0]&&O[1]===R[1]||isNaN(B)||B===null?B:l(R[0],R[1],m(O[0],O[1],B))}function h(O,R,B){return Math.max(Math.min(B,R),O)}function v(O,R){return Math.sign(O)===Math.sign(R)?O:-O}function E(O,R){return v(Math.abs(O)**R,O)}function w(O,R){return R===0?0:O/R}function T(O,R,B=0,M=O.length){for(;B<M;){const F=B+M>>1;O[F]<R?B=F+1:M=F}return B}function C(O,R){if(O instanceof R)return!0;const B=R.name;for(;O;){const M=Object.getPrototypeOf(O),F=M?.constructor?.name;if(F===B)return!0;if(!F||F==="Object")return!1;O=M}return!1}},76572(f,d,e){"use strict";e.d(d,{Kq:()=>Ur,Ng:()=>wi,bN:()=>Hr,d4:()=>si,wA:()=>qi});var n=e(9608),r=e(53573),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"),E=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),O=null,R=null,B=v,M=T;function F(cr){return typeof cr=="string"||typeof cr=="function"||cr===u||cr===m||cr===l||cr===E||cr===w||cr===O||typeof cr=="object"&&cr!==null&&(cr.$$typeof===C||cr.$$typeof===T||cr.$$typeof===h||cr.$$typeof===g||cr.$$typeof===v||cr.$$typeof===R||cr.getModuleId!==void 0)}function H(cr){if(typeof cr=="object"&&cr!==null){const{$$typeof:fe}=cr;switch(fe){case s:switch(cr=cr.type,cr){case u:case m:case l:case E:case w:return cr;default:switch(cr=cr&&cr.$$typeof,cr){case h:case v:case C:case T:return cr;case g:return cr;default:return fe}}case i:return fe}}}function U(cr){return a?H(cr)===g:H(cr)===h}function W(cr){return H(cr)===T}function X(cr){typeof console<"u"&&typeof console.error=="function"&&console.error(cr);try{throw new Error(cr)}catch{}}function te(cr,fe){if(cr)(fe==="mapStateToProps"||fe==="mapDispatchToProps")&&(Object.prototype.hasOwnProperty.call(cr,"dependsOnOwnProps")||X(`The selector for ${fe} of connect did not specify a value for dependsOnOwnProps.`));else throw new Error(`Unexpected value for ${fe} in connect.`)}function q(cr,fe,Re){te(cr,"mapStateToProps"),te(fe,"mapDispatchToProps"),te(Re,"mergeProps")}function ae(cr,fe,Re,Qe,{areStatesEqual:mt,areOwnPropsEqual:xt,areStatePropsEqual:Mr}){let vn=!1,Ut,Yn,mi,yn,ji;function Tn(Vt,hr){return Ut=Vt,Yn=hr,mi=cr(Ut,Yn),yn=fe(Qe,Yn),ji=Re(mi,yn,Yn),vn=!0,ji}function Cs(){return mi=cr(Ut,Yn),fe.dependsOnOwnProps&&(yn=fe(Qe,Yn)),ji=Re(mi,yn,Yn),ji}function $i(){return cr.dependsOnOwnProps&&(mi=cr(Ut,Yn)),fe.dependsOnOwnProps&&(yn=fe(Qe,Yn)),ji=Re(mi,yn,Yn),ji}function gs(){const Vt=cr(Ut,Yn),hr=!Mr(Vt,mi);return mi=Vt,hr&&(ji=Re(mi,yn,Yn)),ji}function vs(Vt,hr){const rn=!xt(hr,Yn),zn=!mt(Vt,Ut,hr,Yn);return Ut=Vt,Yn=hr,rn&&zn?Cs():rn?$i():zn?gs():ji}return function(hr,rn){return vn?vs(hr,rn):Tn(hr,rn)}}
vendor: 4,850 bytes, line 742
742function le(cr,{initMapStateToProps:fe,initMapDispatchToProps:Re,initMergeProps:Qe,...mt}){const xt=fe(cr,mt),Mr=Re(cr,mt),vn=Qe(cr,mt);return ae(xt,Mr,vn,cr,mt)}function pe(cr,fe){const Re={};for(const Qe in cr){const mt=cr[Qe];typeof mt=="function"&&(Re[Qe]=(...xt)=>fe(mt(...xt)))}return Re}function ge(cr){if(typeof cr!="object"||cr===null)return!1;const fe=Object.getPrototypeOf(cr);if(fe===null)return!0;let Re=fe;for(;Object.getPrototypeOf(Re)!==null;)Re=Object.getPrototypeOf(Re);return fe===Re}function Ie(cr,fe,Re){ge(cr)||X(`${Re}() in ${fe} must return a plain object. Instead received ${cr}.`)}function Ce(cr){return function(Re){const Qe=cr(Re);function mt(){return Qe}return mt.dependsOnOwnProps=!1,mt}}function Je(cr){return cr.dependsOnOwnProps?!!cr.dependsOnOwnProps:cr.length!==1}function qe(cr,fe){return function(Qe,{displayName:mt}){const xt=function(vn,Ut){return xt.dependsOnOwnProps?xt.mapToProps(vn,Ut):xt.mapToProps(vn,void 0)};return xt.dependsOnOwnProps=!0,xt.mapToProps=function(vn,Ut){xt.mapToProps=cr,xt.dependsOnOwnProps=Je(cr);let Yn=xt(vn,Ut);return typeof Yn=="function"&&(xt.mapToProps=Yn,xt.dependsOnOwnProps=Je(Yn),Yn=xt(vn,Ut)),Yn},xt}}function ye(cr,fe){return(Re,Qe)=>{throw new Error(`Invalid value of type ${typeof cr} for ${fe} argument when connecting component ${Qe.wrappedComponentName}.`)}}function xe(cr){return cr&&typeof cr=="object"?Ce(fe=>pe(cr,fe)):cr?typeof cr=="function"?qe(cr,"mapDispatchToProps"):ye(cr,"mapDispatchToProps"):Ce(fe=>({dispatch:fe}))}function De(cr){return cr?typeof cr=="function"?qe(cr,"mapStateToProps"):ye(cr,"mapStateToProps"):Ce(()=>({}))}function Fe(cr,fe,Re){return{...Re,...cr,...fe}}function be(cr){return function(Re,{displayName:Qe,areMergedPropsEqual:mt}){let xt=!1,Mr;return function(Ut,Yn,mi){const yn=cr(Ut,Yn,mi);return xt?mt(yn,Mr)||(Mr=yn):(xt=!0,Mr=yn),Mr}}}function ke(cr){return cr?typeof cr=="function"?be(cr):ye(cr,"mergeProps"):()=>Fe}function Ge(cr){cr()}function Xe(){let cr=null,fe=null;return{clear(){cr=null,fe=null},notify(){Ge(()=>{let Re=cr;for(;Re;)Re.callback(),Re=Re.next})},get(){const Re=[];let Qe=cr;for(;Qe;)Re.push(Qe),Qe=Qe.next;return Re},subscribe(Re){let Qe=!0;const mt=fe={callback:Re,next:null,prev:fe};return mt.prev?mt.prev.next=mt:cr=mt,function(){!Qe||cr===null||(Qe=!1,mt.next?mt.next.prev=mt.prev:fe=mt.prev,mt.prev?mt.prev.next=mt.next:cr=mt.next)}}}}var At={notify(){},get:()=>[]};function yt(cr,fe){let Re,Qe=At,mt=0,xt=!1;function Mr($i){mi();const gs=Qe.subscribe($i);let vs=!1;return()=>{vs||(vs=!0,gs(),yn())}}function vn(){Qe.notify()}function Ut(){Cs.onStateChange&&Cs.onStateChange()}function Yn(){return xt}function mi(){mt++,Re||(Re=fe?fe.addNestedSub(Ut):cr.subscribe(Ut),Qe=Xe())}function yn(){mt--,Re&&mt===0&&(Re(),Re=void 0,Qe.clear(),Qe=At)}function ji(){xt||(xt=!0,mi())}function Tn(){xt&&(xt=!1,yn())}const Cs={addNestedSub:Mr,notifyNestedSubs:vn,handleChangeWrapper:Ut,isSubscribed:Yn,trySubscribe:ji,tryUnsubscribe:Tn,getListeners:()=>Qe};return Cs}var kt=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Nt=kt(),Ir=()=>typeof navigator<"u"&&navigator.product==="ReactNative",yr=Ir(),Wr=()=>Nt||yr?n.useLayoutEffect:n.useEffect,$r=Wr();function sn(cr,fe){return cr===fe?cr!==0||fe!==0||1/cr===1/fe:cr!==cr&&fe!==fe}function Hr(cr,fe){if(sn(cr,fe))return!0;if(typeof cr!="object"||cr===null||typeof fe!="object"||fe===null)return!1;const Re=Object.keys(cr),Qe=Object.keys(fe);if(Re.length!==Qe.length)return!1;for(let mt=0;mt<Re.length;mt++)if(!Object.prototype.hasOwnProperty.call(fe,Re[mt])||!sn(cr[Re[mt]],fe[Re[mt]]))return!1;return!0}var pt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},et={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},wr={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Dr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Sr={[B]:wr,[M]:Dr};function kr(cr){return W(cr)?Dr:Sr[cr.$$typeof]||pt}var qt=Object.defineProperty,Sn=Object.getOwnPropertyNames,dr=Object.getOwnPropertySymbols,Nr=Object.getOwnPropertyDescriptor,un=Object.getPrototypeOf,Xt=Object.prototype;function br(cr,fe){if(typeof fe!="string"){if(Xt){const xt=un(fe);xt&&xt!==Xt&&br(cr,xt)}let Re=Sn(fe);dr&&(Re=Re.concat(dr(fe)));const Qe=kr(cr),mt=kr(fe);for(let xt=0;xt<Re.length;++xt){const Mr=Re[xt];if(!et[Mr]&&!(mt&&mt[Mr])&&!(Qe&&Qe[Mr])){const vn=Nr(fe,Mr);try{qt(cr,Mr,vn)}catch{}}}}return cr}var $t=Symbol.for("react-redux-context"),wt=typeof globalThis<"u"?globalThis:{};function Ar(){if(!n.createContext)return{};const cr=wt[$t]??=new Map;let fe=cr.get(n.createContext);return fe||(fe=n.createContext(null),cr.set(n.createContext,fe)),fe}
742var Q=Ar(),ut=[null,null],tr=cr=>{try{return JSON.stringify(cr)}catch{return String(cr)}};function rt(cr,fe,Re){$r(()=>cr(...fe),Re)}function _t(cr,fe,Re,Qe,mt,xt){cr.current=Qe,Re.current=!1,mt.current&&(mt.current=null,xt())}function Yr(cr,fe,Re,Qe,mt,xt,Mr,vn,Ut,Yn,mi){if(!cr)return()=>{};let yn=!1,ji=null;const Tn=()=>{if(yn||!vn.current)return;const $i=fe.getState();let gs,vs;try{gs=Qe($i,mt.current)}catch(Vt){vs=Vt,ji=Vt}vs||(ji=null),gs===xt.current?Mr.current||Yn():(xt.current=gs,Ut.current=gs,Mr.current=!0,mi())};return Re.onStateChange=Tn,Re.trySubscribe(),Tn(),()=>{if(yn=!0,Re.tryUnsubscribe(),Re.onStateChange=null,ji)throw ji}}function ln(cr,fe){return cr===fe}var cn=!1;function gn(cr,fe,Re,{pure:Qe,areStatesEqual:mt=ln,areOwnPropsEqual:xt=Hr,areStatePropsEqual:Mr=Hr,areMergedPropsEqual:vn=Hr,forwardRef:Ut=!1,context:Yn=Q}={}){const mi=Yn,yn=De(cr),ji=xe(fe),Tn=ke(Re),Cs=!!cr;return gs=>{const vs=gs.displayName||gs.name||"Component",Vt=`Connect(${vs})`,hr={shouldHandleStateChanges:Cs,displayName:Vt,wrappedComponentName:vs,WrappedComponent:gs,initMapStateToProps:yn,initMapDispatchToProps:ji,initMergeProps:Tn,areStatesEqual:mt,areStatePropsEqual:Mr,areOwnPropsEqual:xt,areMergedPropsEqual:vn};function rn(bn){const[ni,ai,yi]=n.useMemo(()=>{const{reactReduxForwardedRef:Li,...Ia}=bn;return[bn.context,Li,Ia]},[bn]),es=n.useMemo(()=>{let Li=mi;return ni?.Consumer,Li},[ni,mi]),Ei=n.useContext(es),Hi=!!bn.store&&!!bn.store.getState&&!!bn.store.dispatch,zi=!!Ei&&!!Ei.store,us=Hi?bn.store:Ei.store,Ss=zi?Ei.getServerState:us.getState,as=n.useMemo(()=>le(us.dispatch,hr),[us]),[oi,$s]=n.useMemo(()=>{if(!Cs)return ut;const Li=yt(us,Hi?void 0:Ei.subscription),Ia=Li.notifyNestedSubs.bind(Li);return[Li,Ia]},[us,Hi,Ei]),Es=n.useMemo(()=>Hi?Ei:{...Ei,subscription:oi},[Hi,Ei,oi]),ls=n.useRef(void 0),Ts=n.useRef(yi),de=n.useRef(void 0),$e=n.useRef(!1),Pt=n.useRef(!1),or=n.useRef(void 0);$r(()=>(Pt.current=!0,()=>{Pt.current=!1}),[]);const tn=n.useMemo(()=>()=>de.current&&yi===Ts.current?de.current:as(us.getState(),yi),[us,yi]),Vn=n.useMemo(()=>Ia=>oi?Yr(Cs,us,oi,as,Ts,ls,$e,Pt,de,$s,Ia):()=>{},[oi]);rt(_t,[Ts,ls,$e,yi,de,$s]);let Ri;try{Ri=n.useSyncExternalStore(Vn,tn,Ss?()=>as(Ss(),yi):tn)}catch(Li){throw or.current&&(Li.message+=` 743The error may be correlated with this previous error: 744${or.current.stack} 745 746`),Li}$r(()=>{or.current=void 0,de.current=void 0,ls.current=Ri});const ts=n.useMemo(()=>n.createElement(gs,{...Ri,ref:ai}),[ai,gs,Ri]);return n.useMemo(()=>Cs?n.createElement(es.Provider,{value:Es},ts):ts,[es,ts,Es])}const $n=n.memo(rn);if($n.WrappedComponent=gs,$n.displayName=rn.displayName=Vt,Ut){const ni=n.forwardRef(function(yi,es){return n.createElement($n,{...yi,reactReduxForwardedRef:es})});return ni.displayName=Vt,ni.WrappedComponent=gs,br(ni,gs)}return br($n,gs)}}var wi=gn;function ki(cr){const{children:fe,context:Re,serverState:Qe,store:mt}=cr,xt=n.useMemo(()=>{const Ut=yt(mt);return{store:mt,subscription:Ut,getServerState:Qe?()=>Qe:void 0}},[mt,Qe]),Mr=n.useMemo(()=>mt.getState(),[mt]);$r(()=>{const{subscription:Ut}=xt;return Ut.onStateChange=Ut.notifyNestedSubs,Ut.trySubscribe(),Mr!==mt.getState()&&Ut.notifyNestedSubs(),()=>{Ut.tryUnsubscribe(),Ut.onStateChange=void 0}},[xt,Mr]);const vn=Re||Q;return n.createElement(vn.Provider,{value:xt},fe)}var Ur=ki;function Bi(cr=Q){return function(){return n.useContext(cr)}}var bs=Bi();function Di(cr=Q){const fe=cr===Q?bs:Bi(cr),Re=()=>{const{store:Qe}=fe();return Qe};return Object.assign(Re,{withTypes:()=>Re}),Re}var on=Di();function fi(cr=Q){const fe=cr===Q?on:Di(cr),Re=()=>fe().dispatch;return Object.assign(Re,{withTypes:()=>Re}),Re}var qi=fi(),ri=(cr,fe)=>cr===fe;function Vi(cr=Q){const fe=cr===Q?bs:Bi(cr),Re=(Qe,mt={})=>{const{equalityFn:xt=ri}=typeof mt=="function"?{equalityFn:mt}:mt,Mr=fe(),{store:vn,subscription:Ut,getServerState:Yn}=Mr,mi=n.useRef(!0),yn=n.useCallback({[Qe.name](Tn){return Qe(Tn)}}[Qe.name],[Qe]),ji=(0,r.useSyncExternalStoreWithSelector)(Ut.addNestedSub,vn.getState,Yn||vn.getState,yn,xt);return n.useDebugValue(ji),ji};return Object.assign(Re,{withTypes:()=>Re}),Re}var si=Vi(),ks=null},65842(f,d,e){"use strict";var n;e.d(d,{BV:()=>mn,C5:()=>oe,I9:()=>jd,N_:()=>$c,RQ:()=>Zi,Rr:()=>pe,Zp:()=>ma,g:()=>V,k2:()=>il,ok:()=>Wu,qh:()=>ot,zy:()=>hi});var r,a,s,i,u,l,m,g,h,v,E=e(9608);/** 747 * react-router v7.14.2 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 w=b=>{throw TypeError(b)},T=(b,_,L)=>_.has(b)||w("Cannot "+L),C=(b,_,L)=>(T(b,_,"read from private field"),L?L.call(b):_.get(b)),O=(b,_,L)=>_.has(b)?w("Cannot add the same private member more than once"):_ instanceof WeakSet?_.add(b):_.set(b,L),R=(b=>(b.Pop="POP",b.Push="PUSH",b.Replace="REPLACE",b))(R||{}),B="popstate";function M(b){return typeof b=="object"&&b!=null&&"pathname"in b&&"search"in b&&"hash"in b&&"state"in b&&"key"in b}function F(b={}){let{initialEntries:_=["/"],initialIndex:L,v5Compat:G=!1}=b,Y;Y=_.map((Ct,Lt)=>Ve(Ct,typeof Ct=="string"?null:Ct.state,Lt===0?"default":void 0,typeof Ct=="string"?void 0:Ct.unstable_mask));let se=Se(L??Y.length-1),ce="POP",he=null;function Se(Ct){return Math.min(Math.max(Ct,0),Y.length-1)}function Ae(){return Y[se]}
755function Ve(Ct,Lt=null,vr,zt){let Xr=ae(Y?Ae().pathname:"/",Ct,Lt,vr,zt);return X(Xr.pathname.charAt(0)==="/",`relative pathnames are not supported in memory history: ${JSON.stringify(Ct)}`),Xr}function at(Ct){return typeof Ct=="string"?Ct:le(Ct)}return{get index(){return se},get action(){return ce},get location(){return Ae()},createHref:at,createURL(Ct){return new URL(at(Ct),"http://localhost")},encodeLocation(Ct){let Lt=typeof Ct=="string"?pe(Ct):Ct;return{pathname:Lt.pathname||"",search:Lt.search||"",hash:Lt.hash||""}},push(Ct,Lt){ce="PUSH";let vr=M(Ct)?Ct:Ve(Ct,Lt);se+=1,Y.splice(se,Y.length,vr),G&&he&&he({action:ce,location:vr,delta:1})},replace(Ct,Lt){ce="REPLACE";let vr=M(Ct)?Ct:Ve(Ct,Lt);Y[se]=vr,G&&he&&he({action:ce,location:vr,delta:0})},go(Ct){ce="POP";let Lt=Se(se+Ct),vr=Y[Lt];se=Lt,he&&he({action:ce,location:vr,delta:Ct})},listen(Ct){return he=Ct,()=>{he=null}}}}function H(b={}){function _(G,Y){let se=Y.state?.masked,{pathname:ce,search:he,hash:Se}=se||G.location;return ae("",{pathname:ce,search:he,hash:Se},Y.state&&Y.state.usr||null,Y.state&&Y.state.key||"default",se?{pathname:G.location.pathname,search:G.location.search,hash:G.location.hash}:void 0)}function L(G,Y){return typeof Y=="string"?Y:le(Y)}return ge(_,L,null,b)}function U(b={}){function _(Y,se){let{pathname:ce="/",search:he="",hash:Se=""}=pe(Y.location.hash.substring(1));return!ce.startsWith("/")&&!ce.startsWith(".")&&(ce="/"+ce),ae("",{pathname:ce,search:he,hash:Se},se.state&&se.state.usr||null,se.state&&se.state.key||"default")}function L(Y,se){let ce=Y.document.querySelector("base"),he="";if(ce&&ce.getAttribute("href")){let Se=Y.location.href,Ae=Se.indexOf("#");he=Ae===-1?Se:Se.slice(0,Ae)}return he+"#"+(typeof se=="string"?se:le(se))}function G(Y,se){X(Y.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(se)})`)}return ge(_,L,G,b)}function W(b,_){if(b===!1||b===null||typeof b>"u")throw new Error(_)}function X(b,_){if(!b){typeof console<"u"&&console.warn(_);try{throw new Error(_)}catch{}}}function te(){return Math.random().toString(36).substring(2,10)}function q(b,_){return{usr:b.state,key:b.key,idx:_,masked:b.unstable_mask?{pathname:b.pathname,search:b.search,hash:b.hash}:void 0}}function ae(b,_,L=null,G,Y){return{pathname:typeof b=="string"?b:b.pathname,search:"",hash:"",...typeof _=="string"?pe(_):_,state:L,key:_&&_.key||G||te(),unstable_mask:Y}}function le({pathname:b="/",search:_="",hash:L=""}){return _&&_!=="?"&&(b+=_.charAt(0)==="?"?_:"?"+_),L&&L!=="#"&&(b+=L.charAt(0)==="#"?L:"#"+L),b}function pe(b){let _={};if(b){let L=b.indexOf("#");L>=0&&(_.hash=b.substring(L),b=b.substring(0,L));let G=b.indexOf("?");G>=0&&(_.search=b.substring(G),b=b.substring(0,G)),b&&(_.pathname=b)}return _}function ge(b,_,L,G={}){let{window:Y=document.defaultView,v5Compat:se=!1}=G,ce=Y.history,he="POP",Se=null,Ae=Ve();Ae==null&&(Ae=0,ce.replaceState({...ce.state,idx:Ae},""));function Ve(){return(ce.state||{idx:null}).idx}function at(){he="POP";let zt=Ve(),Xr=zt==null?null:zt-Ae;Ae=zt,Se&&Se({action:he,location:vr.location,delta:Xr})}function Tt(zt,Xr){he="PUSH";let qr=M(zt)?zt:ae(vr.location,zt,Xr);L&&L(qr,zt),Ae=Ve()+1;let Dn=q(qr,Ae),Nn=vr.createHref(qr.unstable_mask||qr);try{ce.pushState(Dn,"",Nn)}catch(Zn){if(Zn instanceof DOMException&&Zn.name==="DataCloneError")throw Zn;Y.location.assign(Nn)}se&&Se&&Se({action:he,location:vr.location,delta:1})}function Ct(zt,Xr){he="REPLACE";let qr=M(zt)?zt:ae(vr.location,zt,Xr);L&&L(qr,zt),Ae=Ve();let Dn=q(qr,Ae),Nn=vr.createHref(qr.unstable_mask||qr);ce.replaceState(Dn,"",Nn),se&&Se&&Se({action:he,location:vr.location,delta:0})}function Lt(zt){return Ie(zt)}let vr={get action(){return he},get location(){return b(Y,ce)},listen(zt){if(Se)throw new Error("A history only accepts one active listener");return Y.addEventListener(B,at),Se=zt,()=>{Y.removeEventListener(B,at),Se=null}},createHref(zt){return _(Y,zt)},createURL:Lt,encodeLocation(zt){let Xr=Lt(zt);return{pathname:Xr.pathname,search:Xr.search,hash:Xr.hash}},push:Tt,replace:Ct,go(zt){return ce.go(zt)}};return vr}function Ie(b,_=!1){let L="http://localhost";
755typeof window<"u"&&(L=window.location.origin!=="null"?window.location.origin:window.location.href),W(L,"No window.location.(origin|href) available to create URL");let G=typeof b=="string"?b:le(b);return G=G.replace(/ $/,"%20"),!_&&G.startsWith("//")&&(G=L+G),new URL(G,L)}function Ce(b){return{defaultValue:b}}var Je,qe=class{constructor(b){if(O(this,Je,new Map),b)for(let[_,L]of b)this.set(_,L)}get(b){if(C(this,Je).has(b))return C(this,Je).get(b);if(b.defaultValue!==void 0)return b.defaultValue;throw new Error("No value found for context")}set(b,_){C(this,Je).set(b,_)}};Je=new WeakMap;var ye=new Set(["lazy","caseSensitive","path","id","index","children"]);function xe(b){return ye.has(b)}var De=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function Fe(b){return De.has(b)}function be(b){return b.index===!0}function ke(b,_,L=[],G={},Y=!1){return b.map((se,ce)=>{let he=[...L,String(ce)],Se=typeof se.id=="string"?se.id:he.join("-");if(W(se.index!==!0||!se.children,"Cannot specify children on an index route"),W(Y||!G[Se],`Found a route id collision on i
755d "${Se}". Route id's must be globally unique within Data Router usages`),be(se)){let Ae={...se,id:Se};return G[Se]=Ge(Ae,_(Ae)),Ae}else{let Ae={...se,id:Se,children:void 0};return G[Se]=Ge(Ae,_(Ae)),se.children&&(Ae.children=ke(se.children,_,he,G,Y)),Ae}})}function Ge(b,_){return Object.assign(b,{..._,...typeof _.lazy=="object"&&_.lazy!=null?{lazy:{...b.lazy,..._.lazy}}:{}})}function Xe(b,_,L="/"){return At(b,_,L,!1)}function At(b,_,L,G){let Y=typeof _=="string"?pe(_):_,se=Nr(Y.pathname||"/",L);if(se==null)return null;let ce=kt(b);Ir(ce);let he=null;for(let Se=0;he==null&&Se<ce.length;++Se){let Ae=dr(se);he=Sr(ce[Se],Ae,G)}return he}function yt(b,_){let{route:L,pathname:G,params:Y}=b;return{id:L.id,pathname:G,params:Y,data:_[L.id],loaderData:_[L.id],handle:L.handle}}function kt(b,_=[],L=[],G="",Y=!1){let se=(ce,he,Se=Y,Ae)=>{let Ve={relativePath:Ae===void 0?ce.path||"":Ae,caseSensitive:ce.caseSensitive===!0,childrenIndex:he,route:ce};if(Ve.relativePath.startsWith("/")){if(!Ve.relativePath.startsWith(G)&&Se)return;W(Ve.relativePath.startsWith(G),`Absolute route path "${Ve.relativePath}" nested under path "${G}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),Ve.relativePath=Ve.relativePath.slice(G.length)}let at=_t([G,Ve.relativePath]),Tt=L.concat(Ve);ce.children&&ce.children.length>0&&(W(ce.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${at}".`),kt(ce.children,_,Tt,at,Se)),!(ce.path==null&&!ce.index)&&_.push({path:at,score:wr(at,ce.index),routesMeta:Tt})};return b.forEach((ce,he)=>{if(ce.path===""||!ce.path?.includes("?"))se(ce,he);else for(let Se of Nt(ce.path))se(ce,he,!0,Se)}),_}function Nt(b){let _=b.split("/");if(_.length===0)return[];let[L,...G]=_,Y=L.endsWith("?"),se=L.replace(/\?$/,"");if(G.length===0)return Y?[se,""]:[se];let ce=Nt(G.join("/")),he=[];return he.push(...ce.map(Se=>Se===""?se:[se,Se].join("/"))),Y&&he.push(...ce),he.map(Se=>b.startsWith("/")&&Se===""?"/":Se)}function Ir(b){b.sort((_,L)=>_.score!==L.score?L.score-_.score:Dr(_.routesMeta.map(G=>G.childrenIndex),L.routesMeta.map(G=>G.childrenIndex)))}var yr=/^:[\w-]+$/,Wr=3,$r=2,sn=1,Hr=10,pt=-2,et=b=>b==="*";function wr(b,_){let L=b.split("/"),G=L.length;return L.some(et)&&(G+=pt),_&&(G+=$r),L.filter(Y=>!et(Y)).reduce((Y,se)=>Y+(yr.test(se)?Wr:se===""?sn:Hr),G)}function Dr(b,_){return b.length===_.length&&b.slice(0,-1).every((G,Y)=>G===_[Y])?b[b.length-1]-_[_.length-1]:0}function Sr(b,_,L=!1){let{routesMeta:G}=b,Y={},se="/",ce=[];for(let he=0;he<G.length;++he){let Se=G[he],Ae=he===G.length-1,Ve=se==="/"?_:_.slice(se.length)||"/",at=qt({path:Se.relativePath,caseSensitive:Se.caseSensitive,end:Ae},Ve),Tt=Se.route;if(!at&&Ae&&L&&!G[G.length-1].route.index&&(at=qt({path:Se.relativePath,caseSensitive:Se.caseSensitive,end:!1},Ve)),!at)return null;
755Object.assign(Y,at.params),ce.push({params:Y,pathname:_t([se,at.pathname]),pathnameBase:ln(_t([se,at.pathnameBase])),route:Tt}),at.pathnameBase!=="/"&&(se=_t([se,at.pathnameBase]))}return ce}function kr(b,_={}){let L=b;L.endsWith("*")&&L!=="*"&&!L.endsWith("/*")&&(X(!1,`Route path "${L}" will be treated as if it were "${L.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${L.replace(/\*$/,"/*")}".`),L=L.replace(/\*$/,"/*"));const G=L.startsWith("/")?"/":"",Y=ce=>ce==null?"":typeof ce=="string"?ce:String(ce),se=L.split(/\/+/).map((ce,he,Se)=>{if(he===Se.length-1&&ce==="*")return Y(_["*"]);const Ve=ce.match(/^:([\w-]+)(\??)(.*)/);if(Ve){const[,at,Tt,Ct]=Ve;let Lt=_[at];return W(Tt==="?"||Lt!=null,`Missing ":${at}" param`),encodeURIComponent(Y(Lt))+Ct}return ce.replace(/\?$/g,"")}).filter(ce=>!!ce);return G+se.join("/")}function qt(b,_){typeof b=="string"&&(b={path:b,caseSensitive:!1,end:!0});let[L,G]=Sn(b.path,b.caseSensitive,b.end),Y=_.match(L);if(!Y)return null;let se=Y[0],ce=se.replace(/(.)\/+$/,"$1"),he=Y.slice(1);return{params:G.reduce((Ae,{paramName:Ve,isOptional:at},Tt)=>{if(Ve==="*"){let Lt=he[Tt]||"";ce=se.slice(0,se.length-Lt.length).replace(/(.)\/+$/,"$1")}const Ct=he[Tt];return at&&!Ct?Ae[Ve]=void 0:Ae[Ve]=(Ct||"").replace(/%2F/g,"/"),Ae},{}),pathname:se,pathnameBase:ce,pattern:b}}function Sn(b,_=!1,L=!0){X(b==="*"||!b.endsWith("*")||b.endsWith("/*"),`Route path "${b}" will be treated as if it were "${b.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${b.replace(/\*$/,"/*")}".`);let G=[],Y="^"+b.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(ce,he,Se,Ae,Ve)=>{if(G.push({paramName:he,isOptional:Se!=null}),Se){let at=Ve.charAt(Ae+ce.length);return at&&at!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return b.endsWith("*")?(G.push({paramName:"*"}),Y+=b==="*"||b==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):L?Y+="\\/*$":b!==""&&b!=="/"&&(Y+="(?:(?=\\/|$))"),[new RegExp(Y,_?void 0:"i"),G]}function dr(b){try{return b.split("/").map(_=>decodeURIComponent(_).replace(/\//g,"%2F")).join("/")}catch(_){return X(!1,`The URL path "${b}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${_}).`),b}}function Nr(b,_){if(_==="/")return b;if(!b.toLowerCase().startsWith(_.toLowerCase()))return null;let L=_.endsWith("/")?_.length-1:_.length,G=b.charAt(L);return G&&G!=="/"?null:b.slice(L)||"/"}function un({basename:b,pathname:_}){return _==="/"?b:_t([b,_])}var Xt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,br=b=>Xt.test(b);function $t(b,_="/"){let{pathname:L,search:G="",hash:Y=""}=typeof b=="string"?pe(b):b,se;return L?(L=rt(L),L.startsWith("/")?se=wt(L.substring(1),"/"):se=wt(L,_)):se=_,{pathname:se,search:cn(G),hash:gn(Y)}}function wt(b,_){let L=Yr(_).split("/");return b.split("/").forEach(Y=>{Y===".."?L.length>1&&L.pop():Y!=="."&&L.push(Y)}),L.length>1?L.join("/"):"/"}function Ar(b,_,L,G){return`Cannot include a '${b}' character in a manually specified \`to.${_}\` field [${JSON.stringify(G)}]. Please separate it out to the \`to.${L}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Q(b){return b.filter((_,L)=>L===0||_.route.path&&_.route.path.length>0)}function ut(b){let _=Q(b);return _.map((L,G)=>G===_.length-1?L.pathname:L.pathnameBase)}function tr(b,_,L,G=!1){let Y;typeof b=="string"?Y=pe(b):(Y={...b},W(!Y.pathname||!Y.pathname.includes("?"),Ar("?","pathname","search",Y)),W(!Y.pathname||!Y.pathname.includes("#"),Ar("#","pathname","hash",Y)),W(!Y.search||!Y.search.includes("#"),Ar("#","search","hash",Y)));let se=b===""||Y.pathname==="",ce=se?"/":Y.pathname,he;if(ce==null)he=L;else{let at=_.length-1;if(!G&&ce.startsWith("..")){let Tt=ce.split("/");for(;Tt[0]==="..";)Tt.shift(),at-=1;Y.pathname=Tt.join("/")}he=at>=0?_[at]:"/"}let Se=$t(Y,he),Ae=ce&&ce!=="/"&&ce.endsWith("/"),Ve=(se||ce===".")&&L.endsWith("/");return!Se.pathname.endsWith("/")&&(Ae||Ve)&&(Se.pathname+="/"),Se}var rt=b=>b.replace(/\/\/+/g,"/"),_t=b=>rt(b.join("/")),Yr=b=>b.replace(/\/+$/,""),ln=b=>Yr(b).replace(/^\/*/,"/"),cn=b=>
755!b||b==="?"?"":b.startsWith("?")?b:"?"+b,gn=b=>!b||b==="#"?"":b.startsWith("#")?b:"#"+b,wi=class{constructor(b,_){this.type="DataWithResponseInit",this.data=b,this.init=_||null}};function ki(b,_){return new wi(b,typeof _=="number"?{status:_}:_)}var Ur=(b,_=302)=>{let L=_;typeof L=="number"?L={status:L}:typeof L.status>"u"&&(L.status=302);let G=new Headers(L.headers);return G.set("Location",b),new Response(null,{...L,headers:G})},Bi=(b,_)=>{let L=Ur(b,_);return L.headers.set("X-Remix-Reload-Document","true"),L},bs=(b,_)=>{let L=Ur(b,_);return L.headers.set("X-Remix-Replace","true"),L},Di=class{constructor(b,_,L,G=!1){this.status=b,this.statusText=_||"",this.internal=G,L instanceof Error?(this.data=L.toString(),this.error=L):this.data=L}};function on(b){return b!=null&&typeof b.status=="number"&&typeof b.statusText=="string"&&typeof b.internal=="boolean"&&"data"in b}function fi(b){let _=b.map(L=>L.route.path).filter(Boolean);return _t(_)||"/"}var qi=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ri(b,_){let L=b;if(typeof L!="string"||!Xt.test(L))return{absoluteURL:void 0,isExternal:!1,to:L};let G=L,Y=!1;if(qi)try{let se=new URL(window.location.href),ce=L.startsWith("//")?new URL(se.protocol+L):new URL(L),he=Nr(ce.pathname,_);ce.origin===se.origin&&he!=null?L=he+ce.search+ce.hash:Y=!0}catch{X(!1,`<Link to="${L}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:G,isExternal:Y,to:L}}var Vi=Symbol("Uninstrumented");function si(b,_){let L={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};b.forEach(Y=>Y({id:_.id,index:_.index,path:_.path,instrument(se){let ce=Object.keys(L);for(let he of ce)se[he]&&L[he].push(se[he])}}));let G={};if(typeof _.lazy=="function"&&L.lazy.length>0){let Y=fe(L.lazy,_.lazy,()=>{});Y&&(G.lazy=Y)}if(typeof _.lazy=="object"){let Y=_.lazy;["middleware","loader","action"].forEach(se=>{let ce=Y[se],he=L[`lazy.${se}`];if(typeof ce=="function"&&he.length>0){let Se=fe(he,ce,()=>{});Se&&(G.lazy=Object.assign(G.lazy||{},{[se]:Se}))}})}return["loader","action"].forEach(Y=>{let se=_[Y];if(typeof se=="function"&&L[Y].length>0){let ce=se[Vi]??se,he=fe(L[Y],ce,(...Se)=>Qe(Se[0]));he&&(Y==="loader"&&ce.hydrate===!0&&(he.hydrate=!0),he[Vi]=ce,G[Y]=he)}}),_.middleware&&_.middleware.length>0&&L.middleware.length>0&&(G.middleware=_.middleware.map(Y=>{let se=Y[Vi]??Y,ce=fe(L.middleware,se,(...he)=>Qe(he[0]));return ce?(ce[Vi]=se,ce):Y})),G}function ks(b,_){let L={navigate:[],fetch:[]};if(_.forEach(G=>G({instrument(Y){let se=Object.keys(Y);for(let ce of se)Y[ce]&&L[ce].push(Y[ce])}})),L.navigate.length>0){let G=b.navigate[Vi]??b.navigate,Y=fe(L.navigate,G,(...se)=>{let[ce,he]=se;return{to:typeof ce=="number"||typeof ce=="string"?ce:ce?le(ce):".",...mt(b,he??{})}});Y&&(Y[Vi]=G,b.navigate=Y)}if(L.fetch.length>0){let G=b.fetch[Vi]??b.fetch,Y=fe(L.fetch,G,(...se)=>{let[ce,,he,Se]=se;return{href:he??".",fetcherKey:ce,...mt(b,Se??{})}});Y&&(Y[Vi]=G,b.fetch=Y)}return b}function cr(b,_){let L={request:[]};_.forEach(Y=>Y({instrument(se){let ce=Object.keys(se);for(let he of ce)se[he]&&L[he].push(se[he])}}));let G=b;return L.request.length>0&&(G=fe(L.request,b,(...Y)=>{let[se,ce]=Y;return{request:xt(se),context:ce!=null?Mr(ce):ce}})),G}function fe(b,_,L){return b.length===0?null:async(...G)=>{let Y=await Re(b,L(...G),()=>_(...G),b.length-1);if(Y.type==="error")throw Y.value;return Y.value}}async function Re(b,_,L,G){let Y=b[G],se;if(Y){let ce,he=async()=>(ce?console.error("You cannot call instrumented handlers more than once"):ce=Re(b,_,L,G-1),se=await ce,W(se,"Expected a result"),se.type==="error"&&se.value instanceof Error?{status:"error",error:se.value}:{status:"success",error:void 0});try{await Y(he,_)}catch(Se){console.error("An instrumentation function threw an error:",Se)}ce||await he(),await ce}else try{se={type:"success",value:await L()}}catch(ce){se={type:"error",value:ce}}return se||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function Qe(b){let{request:_,context:L,params:G,unstable_pattern:Y}=b;return{request:xt(_),params:{...G},unstable_pattern:Y,context:Mr(L)}}function mt(b,_){return{currentUrl:le(b.state.location),..."formMethod"in _?{formMethod:_.formMethod}:{},..."formEncType"in _?{formEncType:_.formEncType}:{},..."formData"in _?{formData:_.formData}:{},..."body"in _?{body:_.body}:{}}}function xt(b){return{method:b.method,url:b.url,headers:{get:(..._)=>b.headers.get(..._)}}}function Mr(b){if(Ut(b)){let _={...b};return Object.freeze(_),_}else return{get:_=>b.get(_)}}var vn=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ut(b){if(b===null||typeof b!="object")return!1;const _=Object.getPrototypeOf(b);return _===Object.prototype||_===null||Object.getOwnPropertyNames(_).sort().join("\0")===v
755n}var Yn=["POST","PUT","PATCH","DELETE"],mi=new Set(Yn),yn=["GET",...Yn],ji=new Set(yn),Tn=new Set([301,302,303,307,308]),Cs=new Set([307,308]),$i={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gs={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},vs={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Vt=b=>({hasErrorBoundary:!!b.hasErrorBoundary}),hr="remix-router-transitions",rn=Symbol("ResetLoaderData");function zn(b){const _=b.window?b.window:typeof window<"u"?window:void 0,L=typeof _<"u"&&typeof _.document<"u"&&typeof _.document.createElement<"u";W(b.routes.length>0,"You must provide a non-empty routes array to createRouter");let G=b.hydrationRouteProperties||[],Y=b.mapRouteProperties||Vt,se=Y;if(b.unstable_instrumentations){let lr=b.unstable_instrumentations;se=Kr=>({...Y(Kr),...si(lr.map(dn=>dn.route).filter(Boolean),Kr)})}let ce={},he=ke(b.routes,se,void 0,ce),Se,Ae=b.basename||"/";Ae.startsWith("/")||(Ae=`/${Ae}`);let Ve=b.dataStrategy||Vn,at={unstable_passThroughRequests:!1,...b.future},Tt=null,Ct=new Set,Lt=null,vr=null,zt=null,Xr=b.hydrationData!=null,qr=Xe(he,b.history.location,Ae),Dn=!1,Nn=null,Zn,nn;if(qr==null&&!b.patchRoutesOnNavigation){let lr=je(404,{pathname:b.history.location.pathname}),{matches:Kr,route:dn}=Me(he);Zn=!0,nn=!Zn,qr=Kr,Nn={[dn.id]:lr}}else if(qr&&!b.hydrationData&&Yc(qr,he,b.history.location.pathname).active&&(qr=null),qr)if(qr.some(lr=>lr.route.lazy))Zn=!1,nn=!Zn;else if(!qr.some(lr=>zi(lr.route)))Zn=!0,nn=!Zn;else{let lr=b.hydrationData?b.hydrationData.loaderData:null,Kr=b.hydrationData?b.hydrationData.errors:null,dn=qr;if(Kr){let ti=qr.findIndex(Oi=>Kr[Oi.route.id]!==void 0);dn=dn.slice(0,ti+1)}nn=!1,Zn=!0,dn.forEach(ti=>{let Oi=us(ti.route,lr,Kr);nn=nn||Oi.renderFallback,Zn=Zn&&!Oi.shouldLoad})}else{Zn=!1,nn=!Zn,qr=[];let lr=Yc(null,he,b.history.location.pathname);lr.active&&lr.matches&&(Dn=!0,qr=lr.matches)}let Gr,Qt={historyAction:b.history.action,location:b.history.location,matches:qr,initialized:Zn,renderFallback:nn,navigation:$i,restoreScrollPosition:b.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:b.hydrationData&&b.hydrationData.loaderData||{},actionData:b.hydrationData&&b.hydrationData.actionData||null,errors:b.hydrationData&&b.hydrationData.errors||Nn,fetchers:new Map,blockers:new Map},Kn="POP",Ds=null,Ai=!1,hs,ys=!1,As=new Map,rs=null,oa=!1,uo=!1,Uo=new Set,Ys=new Map,Do=0,vo=-1,cu=new Map,lo=new Set,io=new Map,Il=new Map,Su=new Set,Gl=new Map,wd,_d=null;function ud(){if(Tt=b.history.listen(({action:lr,location:Kr,delta:dn})=>{if(wd){wd(),wd=void 0;return}X(Gl.size===0||dn!=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 ti=Cf({currentLocation:Qt.location,nextLocation:Kr,historyAction:lr});if(ti&&dn!=null){let Oi=new Promise(ds=>{wd=ds});b.history.go(dn*-1),Qi(ti,{state:"blocked",location:Kr,proceed(){Qi(ti,{state:"proceeding",proceed:void 0,reset:void 0,location:Kr}),Oi.then(()=>b.history.go(dn))},reset(){let ds=new Map(Qt.blockers);ds.set(ti,vs),xu({blockers:ds})}}),Ds?.resolve(),Ds=null;return}return sc(lr,Kr)}),L){Os(_,As);let lr=()=>ir(_,As);_.addEventListener("pagehide",lr),rs=()=>_.removeEventListener("pagehide",lr)}return Qt.initialized||sc("POP",Qt.location,{initialHydration:!0}),Gr}function xf(){Tt&&Tt(),rs&&rs(),Ct.clear(),hs&&hs.abort(),Qt.fetchers.forEach((lr,Kr)=>Cd(Kr)),Qt.blockers.forEach((lr,Kr)=>Vf(Kr))}function Ef(lr){return Ct.add(lr),()=>Ct.delete(lr)}function xu(lr,Kr={}){lr.matches&&(lr.matches=lr.matches.map(Oi=>{let ds=ce[Oi.route.id],Ls=Oi.route;return Ls.element!==ds.element||Ls.errorElement!==ds.errorElement||Ls.hydrateFallbackElement!==ds.hydrateFallbackElement?{...Oi,route:ds}:Oi})),Qt={...Qt,...lr};let dn=[],ti=[];
755Qt.fetchers.forEach((Oi,ds)=>{Oi.state==="idle"&&(Su.has(ds)?dn.push(ds):ti.push(ds))}),Su.forEach(Oi=>{!Qt.fetchers.has(Oi)&&!Ys.has(Oi)&&dn.push(Oi)}),[...Ct].forEach(Oi=>Oi(Qt,{deletedFetchers:dn,newErrors:lr.errors??null,viewTransitionOpts:Kr.viewTransitionOpts,flushSync:Kr.flushSync===!0})),dn.forEach(Oi=>Cd(Oi)),ti.forEach(Oi=>Qt.fetchers.delete(Oi))}function Gc(lr,Kr,{flushSync:dn}={}){let ti=Qt.actionData!=null&&Qt.navigation.formMethod!=null&&Mt(Qt.navigation.formMethod)&&Qt.navigation.state==="loading"&&lr.state?._isRedirect!==!0,Oi;Kr.actionData?Object.keys(Kr.actionData).length>0?Oi=Kr.actionData:Oi=null:ti?Oi=Qt.actionData:Oi=null;let ds=Kr.loaderData?Oo(Qt.loaderData,Kr.loaderData,Kr.matches||[],Kr.errors):Qt.loaderData,Ls=Qt.blockers;Ls.size>0&&(Ls=new Map(Ls),Ls.forEach((xr,Ms)=>Ls.set(Ms,vs)));let is=oa?!1:$a(lr,Kr.matches||Qt.matches),Fs=Ai===!0||Qt.navigation.formMethod!=null&&Mt(Qt.navigation.formMethod)&&lr.state?._isRedirect!==!0;Se&&(he=Se,Se=void 0),oa||Kn==="POP"||(Kn==="PUSH"?b.history.push(lr,lr.state):Kn==="REPLACE"&&b.history.replace(lr,lr.state));let ps;if(Kn==="POP"){let xr=As.get(Qt.location.pathname);xr&&xr.has(lr.pathname)?ps={currentLocation:Qt.location,nextLocation:lr}:As.has(lr.pathname)&&(ps={currentLocation:lr,nextLocation:Qt.location})}else if(ys){let xr=As.get(Qt.location.pathname);xr?xr.add(lr.pathname):(xr=new Set([lr.pathname]),As.set(Qt.location.pathname,xr)),ps={currentLocation:Qt.location,nextLocation:lr}}xu({...Kr,actionData:Oi,loaderData:ds,historyAction:Kn,location:lr,initialized:!0,renderFallback:!1,navigation:$i,revalidation:"idle",restoreScrollPosition:is,preventScrollReset:Fs,blockers:Ls},{viewTransitionOpts:ps,flushSync:dn===!0}),Kn="POP",Ai=!1,ys=!1,oa=!1,uo=!1,Ds?.resolve(),Ds=null,_d?.resolve(),_d=null}async function af(lr,Kr){if(Ds?.resolve(),Ds=null,typeof lr=="number"){Ds||(Ds=Bt());let Ya=Ds.promise;return b.history.go(lr),Ya}let dn=es(Qt.location,Qt.matches,Ae,lr,Kr?.fromRouteId,Kr?.relative),{path:ti,submission:Oi,error:ds}=Ei(!1,dn,Kr),Ls;Kr?.unstable_mask&&(Ls={pathname:"",search:"",hash:"",...typeof Kr.unstable_mask=="str
755ing"?pe(Kr.unstable_mask):{...Qt.location.unstable_mask,...Kr.unstable_mask}});let is=Qt.location,Fs=ae(is,ti,Kr&&Kr.state,void 0,Ls);Fs={...Fs,...b.history.encodeLocation(Fs)};let ps=Kr&&Kr.replace!=null?Kr.replace:void 0,xr="PUSH";ps===!0?xr="REPLACE":ps===!1||Oi!=null&&Mt(Oi.formMethod)&&Oi.formAction===Qt.location.pathname+Qt.location.search&&(xr="REPLACE");let Ms=Kr&&"preventScrollReset"in Kr?Kr.preventScrollReset===!0:void 0,Ra=(Kr&&Kr.flushSync)===!0,ka=Cf({currentLocation:is,nextLocation:Fs,historyAction:xr});if(ka){Qi(ka,{state:"blocked",location:Fs,proceed(){Qi(ka,{state:"proceeding",proceed:void 0,reset:void 0,location:Fs}),af(lr,Kr)},reset(){let Ya=new Map(Qt.blockers);Ya.set(ka,vs),xu({blockers:Ya})}});return}await sc(xr,Fs,{submission:Oi,pendingError:ds,preventScrollReset:Ms,replace:Kr&&Kr.replace,enableViewTransition:Kr&&Kr.viewTransition,flushSync:Ra,callSiteDefaultShouldRevalidate:Kr&&Kr.unstable_defaultShouldRevalidate})}function Tf(){_d||(_d=Bt()),Eu(),xu({revalidation:"loading"});let lr=_d.promise;return Qt.navigation.state==="submitting"?lr:Qt.navigation.state==="idle"?(sc(Qt.historyAction,Qt.location,{startUninterruptedRevalidation:!0}),lr):(sc(Kn||Qt.historyAction,Qt.navigation.location,{overrideNavigation:Qt.navigation,enableViewTransition:ys===!0}),lr)}async function sc(lr,Kr,dn){hs&&hs.abort(),hs=null,Kn=lr,oa=(dn&&dn.startUninterruptedRevalidation)===!0,Of(Qt.location,Qt.matches),Ai=(dn&&dn.preventScrollReset)===!0,ys=(dn&&dn.enableViewTransition)===!0;let ti=Se||he,Oi=dn&&dn.overrideNavigation,ds=dn?.initialHydration&&Qt.matches&&Qt.matches.length>0&&!Dn?Qt.matches:Xe(ti,Kr,Ae),Ls=(dn&&dn.flushSync)===!0;if(ds&&Qt.initialized&&!uo&&Br(Qt.location,Kr)&&!(dn&&dn.submission&&Mt(dn.submission.formMethod))){Gc(Kr,{matches:ds},{flushSync:Ls});return}let is=Yc(ds,ti,Kr.pathname);if(is.active&&is.matches&&(ds=is.matches),!ds){let{error:Lo,notFoundMatches:Xa,route:wa}=Od(Kr.pathname);Gc(Kr,{matches:Xa,loaderData:{},errors:{[wa.id]:Lo}},{flushSync:Ls});return}hs=new AbortController;let Fs=Xs(b.history,Kr,hs.signal,dn&&dn.submission),ps=b.getContext?await b.getContext():new qe,xr;if(dn&&dn.pendingError)xr=[Mi(ds).route.id,{type:"error",error:dn.pendingError}];else if(dn&&dn.submission&&Mt(dn.submission.formMethod)){let Lo=await of(Fs,Kr,dn.submission,ds,ps,is.active,dn&&dn.initialHydration===!0,{replace:dn.replace,flushSync:Ls});if(Lo.shortCircuited)return;if(Lo.pendingActionResult){let[Xa,wa]=Lo.pendingActionResult;if(bi(wa)&&on(wa.error)&&wa.error.status===404){hs=null,Gc(Kr,{matches:Lo.matches,loaderData:{},errors:{[Xa]:wa.error}});return}}ds=Lo.matches||ds,xr=Lo.pendingActionResult,Oi=Mn(Kr,dn.submission),Ls=!1,is.active=!1,Fs=Xs(b.history,Fs.url,Fs.signal)}let{shortCircuited:Ms,matches:Ra,loaderData:ka,errors:Ya}=await uf(Fs,Kr,ds,ps,is.active,Oi,dn&&dn.submission,dn&&dn.fetcherSubmission,dn&&dn.replace,dn&&dn.initialHydration===!0,Ls,xr,dn&&dn.callSiteDefaultShouldRevalidate);Ms||(hs=null,Gc(Kr,{matches:Ra||ds,...Ks(xr),loaderData:ka,errors:Ya}))}async function of(lr,Kr,dn,ti,Oi,ds,Ls,is={}){Eu();let Fs=Pn(Kr,dn);if(xu({navigation:Fs},{flushSync:is.flushSync===!0}),ds){let Ms=await wc(ti,Kr.pathname,lr.signal);if(Ms.type==="aborted")return{shortCircuited:!0};if(Ms.type==="error"){if(Ms.partialMatches.length===0){let{matches:ka,route:Ya}=Me(he);return{matches:ka,pendingActionResult:[Ya.id,{type:"error",error:Ms.error}]}}let Ra=Mi(Ms.partialMatches).route.id;return{matches:Ms.partialMatches,pendingActionResult:[Ra,{type:"error",error:Ms.error}]}}else if(Ms.matches)ti=Ms.matches;else{let{notFoundMatches:Ra,error:ka,route:Ya}=Od(Kr.pathname);return{matches:Ra,pendingActionResult:[Ya.id,{type:"error",error:ka}]}}}let ps,xr=Er(ti,Kr);if(!xr.route.action&&!xr.route.lazy)ps={type:"error",error:je(405,{method:lr.method,pathname:Kr.pathname,routeId:xr.route.id})};else{let Ms=ha(se,ce,lr,Kr,ti,xr,Ls?[]:G,Oi),Ra=await Tc(lr,Kr,Ms,Oi,null);if(ps=Ra[xr.route.id],!ps){for(let ka of ti)if(Ra[ka.route.id]){ps=Ra[ka.route.id];break}}if(lr.signal.aborted)return{shortCircuited:!0}}if(Ws(ps)){let Ms;return is&&is.replace!=null?Ms=is.replace:Ms=Pa(ps.response.headers.get("Location"),new URL(lr.url),Ae,b.history)===Qt.location.pathname+Qt.location.search,await ld(lr,ps,!0,{submission:dn,replace:Ms}),{shortCircuited:!0}}if(bi(ps)){let Ms=Mi(ti,xr.route.id);return(is&&is.replace)!==!0&&(Kn="PUSH"),{matches:ti,pendingActionResult:[Ms.route.id,ps,xr.route.id]}}return{matches:ti,pendingActionResult:[xr.route.id,ps]}}async function uf(lr,Kr,dn,ti,Oi,ds,Ls,is,Fs,ps,xr,Ms,Ra){let ka=ds||Mn(Kr,Ls),Ya=Ls||is||Lr(ka),Lo=!oa&&!ps;if(Oi){if(Lo){let wu=Kc(Ms);xu({navigation:ka,...wu!==void 0?{actionData:wu}:{}},{flushSync:xr})}let Na=await wc(dn,Kr.pathname,lr.signal);if(Na.type==="aborted")return{shortCircuited:!0};if(Na.type==="error"){if(Na.partialMatches.length===0){let{matches:Jc,route:al}=Me(he);return{matches:Jc,loaderData:{},errors:{[al.id]:Na.error}}}let wu=Mi(Na.partialMatches).route.id;return{matches:Na.partialMatches,loaderData:{},errors:{[wu]:Na.error}}}else if(Na.matches)dn=Na.matches;else{let{error:wu,notFoundMatches:Jc,route:al}=Od(Kr.pathname);return{matches:Jc,loaderData:{},errors:{[al.id]:wu}}}}let Xa=Se||he,{dsMatches:wa,revalidatingFetchers:so}=Hi(lr,ti,se,ce,b.history,Qt,dn,Ya,Kr,ps?[]:G,ps===!0,uo,Uo,Su,io,lo,Xa,Ae,b.patchRoutesOnNavigation!=null,Ms,Ra);if(vo=++Do,!b.dataStrategy&&!wa.some(Na=>Na.shouldLoad)&&!wa.some(Na=>Na.route.middleware&&Na.route.middleware.length>0)&&so.length===0){let Na=Af();return Gc(Kr,{matches:dn,loaderData:{},errors:Ms&&bi(Ms[1])?{[Ms[0]]:Ms[1].error}:null,...Ks(Ms),...Na?{fetchers:new Map(Qt.fetchers)}:{}},{flushSync:xr}),{shortCircuited:!0}}if(Lo){let Na={};if(!Oi){Na.navigation=ka;let wu=Kc(Ms);wu!==void 0&&(Na.actionData=wu)}so.length>0&&(Na.fetchers=Ad(so)),xu(Na,{flushSync:xr})}
755so.forEach(Na=>{oc(Na.key),Na.controller&&Ys.set(Na.key,Na.controller)});let va=()=>so.forEach(Na=>oc(Na.key));hs&&hs.signal.addEventListener("abort",va);let{loaderResults:jo,fetcherResults:Xc}=await Hf(wa,so,lr,Kr,ti);if(lr.signal.aborted)return{shortCircuited:!0};hs&&hs.signal.removeEventListener("abort",va),so.forEach(Na=>Ys.delete(Na.key));let tu=Ot(jo);if(tu)return await ld(lr,tu.result,!0,{replace:Fs}),{shortCircuited:!0};if(tu=Ot(Xc),tu)return lo.add(tu.key),await ld(lr,tu.result,!0,{replace:Fs}),{shortCircuited:!0};let{loaderData:Pl,errors:Pd}=_o(Qt,dn,jo,Ms,so,Xc);ps&&Qt.errors&&(Pd={...Qt.errors,...Pd});let Rl=Af(),Qc=Wd(vo),Rd=Rl||Qc||so.length>0;return{matches:dn,loaderData:Pl,errors:Pd,...Rd?{fetchers:new Map(Qt.fetchers)}:{}}}function Kc(lr){if(lr&&!bi(lr[1]))return{[lr[0]]:lr[1].data};if(Qt.actionData)return Object.keys(Qt.actionData).length===0?null:Qt.actionData}function Ad(lr){return lr.forEach(Kr=>{let dn=Qt.fetchers.get(Kr.key),ti=kn(void 0,dn?dn.data:void 0);Qt.fetchers.set(Kr.key,ti)}),new Map(Qt.fetchers)}async function sl(lr,Kr,dn,ti){oc(lr);let Oi=(ti&&ti.flushSync)===!0,ds=Se||he,Ls=es(Qt.location,Qt.matches,Ae,dn,Kr,ti?.relative),is=Xe(ds,Ls,Ae),Fs=Yc(is,ds,Ls);if(Fs.active&&Fs.matches&&(is=Fs.matches),!is){ac(lr,Kr,je(404,{pathname:Ls}),{flushSync:Oi});return}let{path:ps,submission:xr,error:Ms}=Ei(!0,Ls,ti);if(Ms){ac(lr,Kr,Ms,{flushSync:Oi});return}let Ra=b.getContext?await b.getContext():new qe,ka=(ti&&ti.preventScrollReset)===!0;if(xr&&Mt(xr.formMethod)){await lf(lr,Kr,ps,is,Ra,Fs.active,Oi,ka,xr,ti&&ti.unstable_defaultShouldRevalidate);return}io.set(lr,{routeId:Kr,path:ps}),await wf(lr,Kr,ps,is,Ra,Fs.active,Oi,ka,xr)}async function lf(lr,Kr,dn,ti,Oi,ds,Ls,is,Fs,ps){Eu(),io.delete(lr);let xr=Qt.fetchers.get(lr);Tu(lr,Gi(Fs,xr),{flushSync:Ls});let Ms=new AbortController,Ra=Xs(b.history,dn,Ms.signal,Fs);if(ds){let Mo=await wc(ti,new URL(Ra.url).pathname,Ra.signal,lr);if(Mo.type==="aborted")return;if(Mo.type==="error"){ac(lr,Kr,Mo.error,{flushSync:Ls});return}else if(Mo.matches)ti=Mo.matches;else{ac(lr,Kr,je(404,{pathname:dn}),{flushSync:Ls});return}}let ka=Er(ti,dn);if(!ka.route.action&&!ka.route.lazy){let Mo=je(405,{method:Fs.formMethod,pathname:dn,routeId:Kr});ac(lr,Kr,Mo,{flushSync:Ls});return}Ys.set(lr,Ms);let Ya=Do,Lo=ha(se,ce,Ra,dn,ti,ka,G,Oi),Xa=await Tc(Ra,dn,Lo,Oi,lr),wa=Xa[ka.route.id];if(!wa){for(let Mo of Lo)if(Xa[Mo.route.id]){wa=Xa[Mo.route.id];break}}if(Ra.signal.aborted){Ys.get(lr)===Ms&&Ys.delete(lr);return}if(Su.has(lr)){if(Ws(wa)||bi(wa)){Tu(lr,os(void 0));return}}else{if(Ws(wa))if(Ys.delete(lr),vo>Ya){Tu(lr,os(void 0));return}else return lo.add(lr),Tu(lr,kn(Fs)),ld(Ra,wa,!1,{fetcherSubmission:Fs,preventScrollReset:is});if(bi(wa)){ac(lr,Kr,wa.error);return}}let so=Qt.navigation.location||Qt.location,va=Xs(b.history,so,Ms.signal),jo=Se||he,Xc=Qt.navigation.state!=="idle"?Xe(jo,Qt.navigation.location,Ae):Qt.matches;W(Xc,"Didn't find any matches after fetcher action");let tu=++Do;cu.set(lr,tu);let Pl=kn(Fs,wa.data);Qt.fetchers.set(lr,Pl);let{dsMatches:Pd,revalidatingFetchers:Rl}=Hi(va,Oi,se,ce,b.history,Qt,Xc,Fs,so,G,!1,uo,Uo,Su,io,lo,jo,Ae,b.patchRoutesOnNavigation!=null,[ka.route.id,wa],ps);Rl.filter(Mo=>Mo.key!==lr).forEach(Mo=>{let Ac=Mo.key,Vd=Qt.fetchers.get(Ac),If=kn(void 0,Vd?Vd.data:void 0);Qt.fetchers.set(Ac,If),oc(Ac),Mo.controller&&Ys.set(Ac,Mo.controller)}),xu({fetchers:new Map(Qt.fetchers)});let Qc=()=>Rl.forEach(Mo=>oc(Mo.key));Ms.signal.addEventListener("abort",Qc);let{loaderResults:Rd,fetcherResults:Na}=await Hf(Pd,Rl,va,so,Oi);if(Ms.signal.aborted)return;if(Ms.signal.removeEventListener("abort",Qc),cu.delete(lr),Ys.delete(lr),Rl.forEach(Mo=>Ys.delete(Mo.key)),Qt.fetchers.has(lr)){let Mo=os(wa.data);Qt.fetchers.set(lr,Mo)}let wu=Ot(Rd);if(wu)return ld(va,wu.result,!1,{preventScrollReset:is});if(wu=Ot(Na),wu)return lo.add(wu.key),ld(va,wu.result,!1,{preventScrollReset:is});let{loaderData:Jc,errors:al}=_o(Qt,Xc,Rd,void 0,Rl,Na);Wd(tu),Qt.navigation.state==="loading"&&tu>vo?(W(Kn,"Expected pending action"),hs&&hs.abort(),Gc(Qt.navigation.location,{matches:Xc,loaderData:Jc,errors:al,fetchers:new Map(Qt.fetchers)})):(xu({errors:al,loaderData:Oo(Qt.loaderData,Jc,Xc,al),fetchers:new Map(Qt.fetchers)}),uo=!1)}async function wf(lr,Kr,dn,ti,Oi,ds,Ls,is,Fs){let ps=Qt.fetchers.get(lr);Tu(lr,kn(Fs,ps?ps.data:void 0),{flushSync:Ls});let xr=new AbortController,Ms=Xs(b.history,dn,xr.signal);if(ds){let wa=await wc(ti,new URL(Ms.url).pathname,Ms.signal,lr);if(wa.type==="aborted")return;if(wa.type==="error"){ac(lr,Kr,wa.error,{flushSync:Ls});return}else if(wa.matches)ti=wa.matches;else{ac(lr,Kr,je(404,{pathname:dn}),{flushSync:Ls});return}}
755let Ra=Er(ti,dn);Ys.set(lr,xr);let ka=Do,Ya=ha(se,ce,Ms,dn,ti,Ra,G,Oi),Lo=await Tc(Ms,dn,Ya,Oi,lr),Xa=Lo[Ra.route.id];if(!Xa){for(let wa of ti)if(Lo[wa.route.id]){Xa=Lo[wa.route.id];break}}if(Ys.get(lr)===xr&&Ys.delete(lr),!Ms.signal.aborted){if(Su.has(lr)){Tu(lr,os(void 0));return}if(Ws(Xa))if(vo>ka){Tu(lr,os(void 0));return}else{lo.add(lr),await ld(Ms,Xa,!1,{preventScrollReset:is});return}if(bi(Xa)){ac(lr,Kr,Xa.error);return}Tu(lr,os(Xa.data))}}async function ld(lr,Kr,dn,{submission:ti,fetcherSubmission:Oi,preventScrollReset:ds,replace:Ls}={}){dn||(Ds?.resolve(),Ds=null),Kr.response.headers.has("X-Remix-Revalidate")&&(uo=!0);let is=Kr.response.headers.get("Location");W(is,"Expected a Location header on the redirect Response"),is=Pa(is,new URL(lr.url),Ae,b.history);let Fs=ae(Qt.location,is,{_isRedirect:!0});if(L){let Ya=!1;if(Kr.response.headers.has("X-Remix-Reload-Document"))Ya=!0;else if(br(is)){const Lo=Ie(is,!0);Ya=Lo.origin!==_.location.origin||Nr(Lo.pathname,Ae)==null}if(Ya){Ls?_.location.replace(is):_.location.assign(is);return}}hs=null;let ps=Ls===!0||Kr.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:xr,formAction:Ms,formEncType:Ra}=Qt.navigation;!ti&&!Oi&&xr&&Ms&&Ra&&(ti=Lr(Qt.navigation));let ka=ti||Oi;if(Cs.has(Kr.response.status)&&ka&&Mt(ka.formMethod))await sc(ps,Fs,{submission:{...ka,formAction:is},preventScrollReset:ds||Ai,enableViewTransition:dn?ys:void 0});else{let Ya=Mn(Fs,ti);await sc(ps,Fs,{overrideNavigation:Ya,fetcherSubmission:Oi,preventScrollReset:ds||Ai,enableViewTransition:dn?ys:void 0})}}async function Tc(lr,Kr,dn,ti,Oi){let ds,Ls={};try{ds=await Qa(Ve,lr,Kr,dn,Oi,ti,!1)}catch(is){return dn.filter(Fs=>Fs.shouldLoad).forEach(Fs=>{Ls[Fs.route.id]={type:"error",error:is}}),Ls}if(lr.signal.aborted)return Ls;if(!Mt(lr.method))for(let is of dn){if(ds[is.route.id]?.type==="error")break;!ds.hasOwnProperty(is.route.id)&&!Qt.loaderData.hasOwnProperty(is.route.id)&&(!Qt.errors||!Qt.errors.hasOwnProperty(is.route.id))&&is.shouldCallHandler()&&(ds[is.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${is.route.id}`)})}for(let[is,Fs]of Object.entries(ds))if(Ui(Fs)){let ps=Fs.result;Ls[is]={type:"redirect",response:en(ps,lr,is,dn,Ae)}}else Ls[is]=await Aa(Fs);return Ls}async function Hf(lr,Kr,dn,ti,Oi){let ds=Tc(dn,ti,lr,Oi,null),Ls=Promise.all(Kr.map(async ps=>{if(ps.matches&&ps.match&&ps.request&&ps.controller){let Ms=(await Tc(ps.request,ps.path,ps.matches,Oi,ps.key))[ps.match.route.id];return{[ps.key]:Ms}}else return Promise.resolve({[ps.key]:{type:"error",error:je(404,{pathname:ps.path})}})})),is=await ds,Fs=(await Ls).reduce((ps,xr)=>Object.assign(ps,xr),{});return{loaderResults:is,fetcherResults:Fs}}function Eu(){uo=!0,io.forEach((lr,Kr)=>{Ys.has(Kr)&&Uo.add(Kr),oc(Kr)})}function Tu(lr,Kr,dn={}){Qt.fetchers.set(lr,Kr),xu({fetchers:new Map(Qt.fetchers)},{flushSync:(dn&&dn.flushSync)===!0})}function ac(lr,Kr,dn,ti={}){let Oi=Mi(Qt.matches,Kr);Cd(lr),xu({errors:{[Oi.route.id]:dn},fetchers:new Map(Qt.fetchers)},{flushSync:(ti&&ti.flushSync)===!0})}function cf(lr){return Il.set(lr,(Il.get(lr)||0)+1),Su.has(lr)&&Su.delete(lr),Qt.fetchers.get(lr)||gs}function Wf(lr,Kr){oc(lr,Kr?.reason),Tu(lr,os(null))}function Cd(lr){let Kr=Qt.fetchers.get(lr);Ys.has(lr)&&!(Kr&&Kr.state==="loading"&&cu.has(lr))&&oc(lr),io.delete(lr),cu.delete(lr),lo.delete(lr),Su.delete(lr),Uo.delete(lr),Qt.fetchers.delete(lr)}function _f(lr){let Kr=(Il.get(lr)||0)-1;Kr<=0?(Il.delete(lr),Su.add(lr)):Il.set(lr,Kr),xu({fetchers:new Map(Qt.fetchers)})}function oc(lr,Kr){let dn=Ys.get(lr);dn&&(dn.abort(Kr),Ys.delete(lr))}function mh(lr){for(let Kr of lr){let dn=cf(Kr),ti=os(dn.data);Qt.fetchers.set(Kr,ti)}}function Af(){let lr=[],Kr=!1;for(let dn of lo){let ti=Qt.fetchers.get(dn);W(ti,`Expected fetcher: ${dn}`),ti.state==="loading"&&(lo.delete(dn),lr.push(dn),Kr=!0)}return mh(lr),Kr}function Wd(lr){let Kr=[];for(let[dn,ti]of cu)if(ti<lr){let Oi=Qt.fetchers.get(dn);W(Oi,`Expected fetcher: ${dn}`),Oi.state==="loading"&&(oc(dn),cu.delete(dn),Kr.push(dn))}return mh(Kr),Kr.length>0}function gh(lr,Kr){let dn=Qt.blockers.get(lr)||vs;return Gl.get(lr)!==Kr&&Gl.set(lr,Kr),dn}function Vf(lr){Qt.blockers.delete(lr),Gl.delete(lr)}function Qi(lr,Kr){let dn=Qt.blockers.get(lr)||vs;W(dn.state==="unblocked"&&Kr.state==="blocked"||dn.state==="blocked"&&Kr.state==="blocked"||dn.state==="blocked"&&Kr.state==="proceeding"||dn.state==="blocked"&&Kr.state==="unblocked"||dn.state==="proceeding"&&Kr.state==="unblocked",`Invalid blocker state transition: ${dn.state} -> ${Kr.state}`);let ti=new Map(Qt.blockers);ti.set(lr,Kr),xu({blockers:ti})}function Cf({currentLocation:lr,nextLocation:Kr,historyAction:dn}){if(Gl.size===0)return;Gl.size>1&&X(!1,"A router only supports one blocker at a time");let ti=Array.from(Gl.entries()),[Oi,ds]=ti[ti.length-1],Ls=Qt.blockers.get(Oi);if(!(Ls&&Ls.state==="proceeding")&&ds({currentLocation:lr,nextLocation:Kr,historyAction:dn}))return Oi}function Od(lr){let Kr=je(404,{pathname:lr}),dn=Se||he,{matches:ti,route:Oi}=Me(dn);return{notFoundMatches:ti,route:Oi,error:Kr}}
755function Id(lr,Kr,dn){if(Lt=lr,zt=Kr,vr=dn||null,!Xr&&Qt.navigation===$i){Xr=!0;let ti=$a(Qt.location,Qt.matches);ti!=null&&xu({restoreScrollPosition:ti})}return()=>{Lt=null,zt=null,vr=null}}function cd(lr,Kr){return vr&&vr(lr,Kr.map(ti=>yt(ti,Qt.loaderData)))||lr.key}function Of(lr,Kr){if(Lt&&zt){let dn=cd(lr,Kr);Lt[dn]=zt()}}function $a(lr,Kr){if(Lt){let dn=cd(lr,Kr),ti=Lt[dn];if(typeof ti=="number")return ti}return null}function Yc(lr,Kr,dn){if(b.patchRoutesOnNavigation)if(lr){if(Object.keys(lr[0].params).length>0)return{active:!0,matches:At(Kr,dn,Ae,!0)}}else return{active:!0,matches:At(Kr,dn,Ae,!0)||[]};return{active:!1,matches:null}}async function wc(lr,Kr,dn,ti){if(!b.patchRoutesOnNavigation)return{type:"success",matches:lr};let Oi=lr;for(;;){let ds=Se==null,Ls=Se||he,is=ce;try{await b.patchRoutesOnNavigation({signal:dn,path:Kr,matches:Oi,fetcherKey:ti,patch:(xr,Ms)=>{dn.aborted||$s(xr,Ms,Ls,is,se,!1)}})}catch(xr){return{type:"error",error:xr,partialMatches:Oi}}finally{ds&&!dn.aborted&&(he=[...he])}if(dn.aborted)return{type:"aborted"};let Fs=Xe(Ls,Kr,Ae),ps=null;if(Fs){if(Object.keys(Fs[0].params).length===0)return{type:"success",matches:Fs};if(ps=At(Ls,Kr,Ae,!0),!(ps&&Oi.length<ps.length&&_c(Oi,ps.slice(0,Oi.length))))return{type:"success",matches:Fs}}if(ps||(ps=At(Ls,Kr,Ae,!0)),!ps||_c(Oi,ps))return{type:"success",matches:null};Oi=ps}}function _c(lr,Kr){return lr.length===Kr.length&&lr.every((dn,ti)=>dn.route.id===Kr[ti].route.id)}function dd(lr){ce={},Se=ke(lr,se,void 0,ce)}function fd(lr,Kr,dn=!1){let ti=Se==null;$s(lr,Kr,Se||he,ce,se,dn),ti&&(he=[...he],xu({}))}return Gr={get basename(){return Ae},get future(){return at},get state(){return Qt},get routes(){return he},get window(){return _},initialize:ud,subscribe:Ef,enableScrollRestoration:Id,navigate:af,fetch:sl,revalidate:Tf,createHref:lr=>b.history.createHref(lr),encodeLocation:lr=>b.history.encodeLocation(lr),getFetcher:cf,resetFetcher:Wf,deleteFetcher:_f,dispose:xf,getBlocker:gh,deleteBlocker:Vf,patchRoutes:fd,_internalFetchControllers:Ys,_internalSetRoutes:dd,_internalSetStateDoNotUseOrYouWillBreakYourApp(lr){xu(lr)}},b.unstable_instrumentations&&(Gr=ks(Gr,b.unstable_instrumentations.map(lr=>lr.router).filter(Boolean))),Gr}function $n(b,_){W(b.length>0,"You must provide a non-empty routes array to createStaticHandler");let L={},G=(_?_.basename:null)||"/",Y=_?.mapRouteProperties||Vt,se=Y,ce={unstable_passThroughRequests:!1,..._?.future};if(_?.unstable_instrumentations){let Lt=_.unstable_instrumentations;se=vr=>({...Y(vr),...si(Lt.map(zt=>zt.route).filter(Boolean),vr)})}let he=ke(b,se,void 0,L);async function Se(Lt,{requestContext:vr,filterMatchesToLoad:zt,skipLoaderErrorBubbling:Xr,skipRevalidation:qr,dataStrategy:Dn,generateMiddlewareResponse:Nn,unstable_normalizePath:Zn}={}){let nn=Zn||yi,Gr=Lt.method,Qt=ae("",nn(Lt),null,"default"),Kn=Xe(he,Qt,G);if(vr=vr??new qe,!ht(Gr)&&Gr!=="HEAD"){let Ai=je(405,{method:Gr}),{matches:hs,route:ys}=Me(he),As={basename:G,location:Qt,matches:hs,loaderData:{},actionData:null,errors:{[ys.id]:Ai},statusCode:Ai.status,loaderHeaders:{},actionHeaders:{}};return Nn?Nn(()=>Promise.resolve(As)):As}else if(!Kn){let Ai=je(404,{pathname:Qt.pathname}),{matches:hs,route:ys}=Me(he),As={basename:G,location:Qt,matches:hs,loaderData:{},actionData:null,errors:{[ys.id]:Ai},statusCode:Ai.status,loaderHeaders:{},actionHeaders:{}};return Nn?Nn(()=>Promise.resolve(As)):As}if(Nn){W(vr instanceof qe,"When using middleware in `staticHandler.query()`, any provided `requestContext` must be an instance of `RouterContextProvider`");try{await or(Kn,L,se);let Ai,hs=await Ri({request:Lt,unstable_url:Hs(Lt,Qt),unstable_pattern:fi(Kn),matches:Kn,params:Kn[0].params,context:vr},async()=>await Nn(async(As,rs={})=>{let oa=await Ve(As,Qt,Kn,vr,Dn||null,Xr===!0,null,"filterMatchesToLoad"in rs?rs.filterMatchesToLoad??null:zt??null,qr===!0);return Le(oa)?oa:(Ai={location:Qt,basename:G,...oa},Ai)}),async(ys,As)=>{if(ft(ys))return ys;if(Le(ys))try{ys=new Di(ys.status,ys.statusText,await fr(ys))}catch(rs){ys=rs}if(ms(ys)&&(ys=an(ys)),Ai){As in Ai.loaderData&&(Ai.loaderData[As]=void 0);let rs=bn(he,Ai,ys,Xr?As:Mi(Kn,As).route.id);return Nn(()=>Promise.resolve(rs))}else{let rs=Xr?As:Mi(Kn,Kn.find(uo=>uo.route.id===As||uo.route.loader)?.route.id||As).route.id,oa={matches:Kn,location:Qt,basename:G,loaderData:{},actionData:null,errors:{[rs]:ys},statusCode:on(ys)?ys.status:500,actionHeaders:{},loaderHeaders:{}};return Nn(()=>Promise.resolve(oa))}});return W(Le(hs),"Expected a response in query()"),hs}catch(Ai){if(Le(Ai))return Ai;throw Ai}}let Ds=await Ve(Lt,Qt,Kn,vr,Dn||null,Xr===!0,null,zt||null,qr===!0);return Le(Ds)?Ds:{location:Qt,basename:G,...Ds}}async function Ae(Lt,{routeId:vr,requestContext:zt,dataStrategy:Xr,generateMiddlewareResponse:qr,unstable_normalizePath:Dn}={}){let Nn=Dn||yi,Zn=Lt.method,nn=ae("",Nn(Lt),null,"default"),Gr=Xe(he,nn,G);if(zt=zt??new qe,!ht(Zn)&&Zn!=="HEAD"&&Zn!=="OPTIONS")throw je(405,{method:Zn});if(!Gr)throw je(404,{pathname:nn.pathname});let Qt=vr?Gr.find(Ai=>Ai.route.id===vr):Er(Gr,nn);if(vr&&!Qt)throw je(403,{pathname:nn.pathname,routeId:vr});if(!Qt)throw je(404,{pathname:nn.pathname});if(qr)return W(zt instanceof qe,"When using middleware in `staticHandler.queryRoute()`, any provided `requestContext` must be an instance of `RouterContextProvider`"),await or(Gr,L,se),await Ri({request:Lt,unstable_url:Hs(Lt,nn),unstable_pattern:fi(Gr),matches:Gr,params:Gr[0].params,context:zt},async()=>await qr(async ys=>{let As=await Ve(ys,nn,Gr,zt,Xr||null,!1,Qt,null,!1),rs=Ds(As);return Le(rs)?rs:typeof rs=="string"?new Response(rs):Response.json(rs)}),hs=>{if(ms(hs))return Promise.resolve(Vr(hs));if(Le(hs))return Promise.resolve(hs);throw hs});let Kn=await Ve(Lt,nn,Gr,zt,Xr||null,!1,Qt,null,!1);return Ds(Kn);function Ds(Ai){if(Le(Ai))return Ai;let hs=Ai.errors?Object.values(Ai.errors)[0]:void 0;if(hs!==void 0)throw hs;if(Ai.actionData)return Object.values(Ai.actionData)[0];if(Ai.loaderData)return Object.values(Ai.loaderData)[0]}}async function Ve(Lt,vr,zt,Xr,qr,Dn,Nn,Zn,nn){W(Lt.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Mt(Lt.method))return await at(Lt,vr,zt,Nn||Er(zt,vr),Xr,qr,Dn,Nn!=null,Zn,nn);let Gr=await Tt(Lt,vr,zt,Xr,qr,Dn,Nn,Zn);return Le(Gr)?Gr:{...Gr,actionData:null,actionHeaders:{}}}catch(Gr){if(Yi(Gr)&&Le(Gr.result)){if(Gr.type==="error")throw Gr.result;return Gr.result}if(ft(Gr))return Gr;throw Gr}}async function at(Lt,vr,zt,Xr,qr,Dn,Nn,Zn,nn,Gr){let Qt;if(!Xr.route.action&&!Xr.route.lazy){let Ai=je(405,{method:Lt.method,pathname:new URL(Lt.url).pathname,routeId:Xr.route.id});if(Zn)throw Ai;Qt={type:"error",error:Ai}}else{let Ai=ha(se,L,Lt,vr,zt,Xr,[],qr);Qt=(await Ct(Lt,vr,Ai,Zn,qr,Dn))[Xr.route.id],Lt.signal.aborted&&ni(Lt,Zn)}if(Ws(Qt))throw new Response(null,{status:Qt.response.status,headers:{Location:Qt.response.headers.get("Location")}});if(Zn){if(bi(Qt))throw Qt.error;return{matches:[Xr],loaderData:{},actionData:{[Xr.route.id]:Qt.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{}}}if(Gr)if(bi(Qt)){let Ai=Nn?Xr:Mi(zt,Xr.route.id);return{statusCode:on(Qt.error)?Qt.error.status:Qt.statusCode!=null?Qt.statusCode:500,actionData:null,actionHeaders:{...Qt.headers?{[Xr.route.id]:Qt.headers}:{}},matches:zt,loaderData:{},errors:{[Ai.route.id]:Qt.error},loaderHeaders:{}}}else return{actionData:{[Xr.route.id]:Qt.data},actionHeaders:Qt.headers?{[Xr.route.id]:Qt.headers}:{},matches:zt,loaderData:{},errors:null,statusCode:Qt.statusCode||200,loaderHeaders:{}};
755let Kn=new Request(Lt.url,{headers:Lt.headers,redirect:Lt.redirect,signal:Lt.signal});if(bi(Qt)){let Ai=Nn?Xr:Mi(zt,Xr.route.id);return{...await Tt(Kn,vr,zt,qr,Dn,Nn,null,nn,[Ai.route.id,Qt]),statusCode:on(Qt.error)?Qt.error.status:Qt.statusCode!=null?Qt.statusCode:500,actionData:null,actionHeaders:{...Qt.headers?{[Xr.route.id]:Qt.headers}:{}}}}return{...await Tt(Kn,vr,zt,qr,Dn,Nn,null,nn),actionData:{[Xr.route.id]:Qt.data},...Qt.statusCode?{statusCode:Qt.statusCode}:{},actionHeaders:Qt.headers?{[Xr.route.id]:Qt.headers}:{}}}async function Tt(Lt,vr,zt,Xr,qr,Dn,Nn,Zn,nn){let Gr=Nn!=null;if(Gr&&!Nn?.route.loader&&!Nn?.route.lazy)throw je(400,{method:Lt.method,pathname:new URL(Lt.url).pathname,routeId:Nn?.route.id});let Qt;if(Nn)Qt=ha(se,L,Lt,vr,zt,Nn,[],Xr);else{let Ai=nn&&bi(nn[1])?zt.findIndex(ys=>ys.route.id===nn[0])-1:void 0,hs=fi(zt);Qt=zt.map((ys,As)=>Ai!=null&&As>Ai?Sa(se,L,Lt,vr,hs,ys,[],Xr,!1):Sa(se,L,Lt,vr,hs,ys,[],Xr,(ys.route.loader||ys.route.lazy)!=null&&(!Zn||Zn(ys))))}if(!qr&&!Qt.some(Ai=>Ai.shouldLoad))return{matches:zt,loaderData:{},errors:nn&&bi(nn[1])?{[nn[0]]:nn[1].error}:null,statusCode:200,loaderHeaders:{}};let Kn=await Ct(Lt,vr,Qt,Gr,Xr,qr);return Lt.signal.aborted&&ni(Lt,Gr),{...Co(zt,Kn,nn,!0,Dn),matches:zt}}async function Ct(Lt,vr,zt,Xr,qr,Dn){let Nn=await Qa(Dn||tn,Lt,vr,zt,null,qr,!0),Zn={};return await Promise.all(zt.map(async nn=>{if(!(nn.route.id in Nn))return;let Gr=Nn[nn.route.id];if(Ui(Gr)){let Qt=Gr.result;throw en(Qt,Lt,nn.route.id,zt,G)}if(Xr){if(Le(Gr.result))throw Gr;if(ms(Gr.result))throw Vr(Gr.result)}Zn[nn.route.id]=await Aa(Gr)})),Zn}return{dataRoutes:he,query:Se,queryRoute:Ae}}function bn(b,_,L,G){let Y=G||_._deepestRenderedBoundaryId||b[0].id;return{..._,statusCode:on(L)?L.status:500,errors:{[Y]:L}}}function ni(b,_){if(b.signal.reason!==void 0)throw b.signal.reason;let L=_?"queryRoute":"query";throw new Error(`${L}() call aborted without an \`AbortSignal.reason\`: ${b.method} ${b.url}`)}function ai(b){return b!=null&&("formData"in b&&b.formData!=null||"body"in b&&b.body!==void 0)}function yi(b){let _=new URL(b.url);return{pathname:_.pathname,search:_.search,hash:_.hash}}function es(b,_,L,G,Y,se){let ce,he;if(Y){ce=[];for(let Ae of _)if(ce.push(Ae),Ae.route.id===Y){he=Ae;break}}else ce=_,he=_[_.length-1];let Se=tr(G||".",ut(ce),Nr(b.pathname,L)||b.pathname,se==="path");if(G==null&&(Se.search=b.search,Se.hash=b.hash),(G==null||G===""||G===".")&&he){let Ae=Jt(Se.search);if(he.route.index&&!Ae)Se.search=Se.search?Se.search.replace(/^\?/,"?index&"):"?index";else if(!he.route.index&&Ae){let Ve=new URLSearchParams(Se.search),at=Ve.getAll("index");Ve.delete("index"),at.filter(Ct=>Ct).forEach(Ct=>Ve.append("index",Ct));let Tt=Ve.toString();Se.search=Tt?`?${Tt}`:""}}return L!=="/"&&(Se.pathname=un({basename:L,pathname:Se.pathname})),le(Se)}function Ei(b,_,L){if(!L||!ai(L))return{path:_};if(L.formMethod&&!ht(L.formMethod))return{path:_,error:je(405,{method:L.formMethod})};let G=()=>({path:_,error:je(400,{type:"invalid-body"})}),se=(L.formMethod||"get").toUpperCase(),ce=Wt(_);if(L.body!==void 0){if(L.formEncType==="text/plain"){if(!Mt(se))return G();let at=typeof L.body=="string"?L.body:L.body instanceof FormData||L.body instanceof URLSearchParams?Array.from(L.body.entries()).reduce((Tt,[Ct,Lt])=>`${Tt}${Ct}=${Lt} 756`,""):String(L.body);return{path:_,submission:{formMethod:se,formAction:ce,formEncType:L.formEncType,formData:void 0,json:void 0,text:at}}}else if(L.formEncType==="application/json"){if(!Mt(se))return G();try{let at=typeof L.body=="string"?JSON.parse(L.body):L.body;return{path:_,submission:{formMethod:se,formAction:ce,formEncType:L.formEncType,formData:void 0,json:at,text:void 0}}}catch{return G()}}}W(typeof FormData=="function","FormData is not available in this environment");let he,Se;if(L.formData)he=ao(L.formData),Se=L.formData;else if(L.body instanceof FormData)he=ao(L.body),Se=L.body;else if(L.body instanceof URLSearchParams)he=L.body,Se=Wa(he);else if(L.body==null)he=new URLSearchParams,Se=new FormData;else try{he=new URLSearchParams(L.body),Se=Wa(he)}catch{return G()}let Ae={formMethod:se,formAction:ce,formEncType:L&&L.formEncType||"application/x-www-form-urlencoded",formData:Se,json:void 0,text:void 0};if(Mt(Ae.formMethod))return{path:_,submission:Ae};let Ve=pe(_);return b&&Ve.search&&Jt(Ve.search)&&he.append("index",""),Ve.search=`?${he}`,{path:le(Ve),submission:Ae}}function Hi(b,_,L,G,Y,se,ce,he,Se,Ae,Ve,at,Tt,Ct,Lt,vr,zt,Xr,qr,Dn,Nn){let Zn=Dn?bi(Dn[1])?Dn[1].error:Dn[1].data:void 0,nn=Y.createURL(se.location),Gr=Y.createURL(Se),Qt;if(Ve&&se.errors){let rs=Object.keys(se.errors)[0];Qt=ce.findIndex(oa=>oa.route.id===rs)}else if(Dn&&bi(Dn[1])){let rs=Dn[0];Qt=ce.findIndex(oa=>oa.route.id===rs)-1}let Kn=Dn?Dn[1].statusCode:void 0,Ds=Kn&&Kn>
756=400,Ai={currentUrl:nn,currentParams:se.matches[0]?.params||{},nextUrl:Gr,nextParams:ce[0].params,...he,actionResult:Zn,actionStatus:Kn},hs=fi(ce),ys=ce.map((rs,oa)=>{let{route:uo}=rs,Uo=null;if(Qt!=null&&oa>Qt)Uo=!1;else if(uo.lazy)Uo=!0;else if(!zi(uo))Uo=!1;else if(Ve){let{shouldLoad:cu}=us(uo,se.loaderData,se.errors);Uo=cu}else Ss(se.loaderData,se.matches[oa],rs)&&(Uo=!0);if(Uo!==null)return Sa(L,G,b,Se,hs,rs,Ae,_,Uo);let Ys=!1;typeof Nn=="boolean"?Ys=Nn:Ds?Ys=!1:(at||nn.pathname+nn.search===Gr.pathname+Gr.search||nn.search!==Gr.search||as(se.matches[oa],rs))&&(Ys=!0);let Do={...Ai,defaultShouldRevalidate:Ys},vo=oi(rs,Do);return Sa(L,G,b,Se,hs,rs,Ae,_,vo,Do,Nn)}),As=[];return Lt.forEach((rs,oa)=>{if(Ve||!ce.some(io=>io.route.id===rs.routeId)||Ct.has(oa))return;let uo=se.fetchers.get(oa),Uo=uo&&uo.state!=="idle"&&uo.data===void 0,Ys=Xe(zt,rs.path,Xr);if(!Ys){if(qr&&Uo)return;As.push({key:oa,routeId:rs.routeId,path:rs.path,matches:null,match:null,request:null,controller:null});return}if(vr.has(oa))return;let Do=Er(Ys,rs.path),vo=new AbortController,cu=Xs(Y,rs.path,vo.signal),lo=null;if(Tt.has(oa))Tt.delete(oa),lo=ha(L,G,cu,rs.path,Ys,Do,Ae,_);else if(Uo)at&&(lo=ha(L,G,cu,rs.path,Ys,Do,Ae,_));else{let io;typeof Nn=="boolean"?io=Nn:Ds?io=!1:io=at;let Il={...Ai,defaultShouldRevalidate:io};oi(Do,Il)&&(lo=ha(L,G,cu,rs.path,Ys,Do,Ae,_,Il))}lo&&As.push({key:oa,routeId:rs.routeId,path:rs.path,matches:lo,match:Do,request:cu,controller:vo})}),{dsMatches:ys,revalidatingFetchers:As}}function zi(b){return b.loader!=null||b.middleware!=null&&b.middleware.length>0}function us(b,_,L){if(b.lazy)return{shouldLoad:!0,renderFallback:!0};if(!zi(b))return{shouldLoad:!1,renderFallback:!1};let G=_!=null&&b.id in _,Y=L!=null&&L[b.id]!==void 0;if(!G&&Y)return{shouldLoad:!1,renderFallback:!1};if(typeof b.loader=="function"&&b.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!G};let se=!G&&!Y;return{shouldLoad:se,renderFallback:se}}function Ss(b,_,L){let G=!_||L.route.id!==_.route.id,Y=!b.hasOwnProperty(L.route.id);return G||Y}function as(b,_){let L=b.route.path;return b.pathname!==_.pathname||L!=null&&L.endsWith("*")&&b.params["*"]!==_.params["*"]}function oi(b,_){if(b.route.shouldRevalidate){let L=b.route.shouldRevalidate(_);if(typeof L=="boolean")return L}return _.defaultShouldRevalidate}function $s(b,_,L,G,Y,se){let ce;if(b){let Ae=G[b];W(Ae,`No route found to patch children into: routeId = ${b}`),Ae.children||(Ae.children=[]),ce=Ae.children}else ce=L;let he=[],Se=[];if(_.forEach(Ae=>{let Ve=ce.find(at=>Es(Ae,at));Ve?Se.push({existingRoute:Ve,newRoute:Ae}):he.push(Ae)}),he.length>0){let Ae=ke(he,Y,[b||"_","patch",String(ce?.length||"0")],G);ce.push(...Ae)}if(se&&Se.length>0)for(let Ae=0;Ae<Se.length;Ae++){let{existingRoute:Ve,newRoute:at}=Se[Ae],Tt=Ve,[Ct]=ke([at],Y,[],{},!0);Object.assign(Tt,{element:Ct.element?Ct.element:Tt.element,errorElement:Ct.errorElement?Ct.errorElement:Tt.errorElement,hydrateFallbackElement:Ct.hydrateFallbackElement?Ct.hydrateFallbackElement:Tt.hydrateFallbackElement})}}function Es(b,_){return"id"in b&&"id"in _&&b.id===_.id?!0:b.index===_.index&&b.path===_.path&&b.caseSensitive===_.caseSensitive?(!b.children||b.children.length===0)&&(!_.children||_.children.length===0)?!0:b.children?.every((L,G)=>_.children?.some(Y=>Es(L,Y)))??!1:!1}var ls=new WeakMap,Ts=({key:b,route:_,manifest:L,mapRouteProperties:G})=>{let Y=L[_.id];if(W(Y,"No route found in manifest"),!Y.lazy||typeof Y.lazy!="object")return;let se=Y.lazy[b];if(!se)return;let ce=ls.get(Y);ce||(ce={},ls.set(Y,ce));let he=ce[b];if(he)return he;let Se=(async()=>{let Ae=xe(b),at=Y[b]!==void 0&&b!=="hasErrorBoundary";if(Ae)X(!Ae,"Route property "+b+" is not a supported lazy route property. This property will be ignored."),ce[b]=Promise.resolve();else if(at)X(!1,`Route "${Y.id}" has a static property "${b}" defined. The lazy property will be ignored.`);else{let Tt=await se();Tt!=null&&(Object.assign(Y,{[b]:Tt}),Object.assign(Y,G(Y)))}typeof Y.lazy=="object"&&(Y.lazy[b]=void 0,Object.values(Y.lazy).every(Tt=>Tt===void 0)&&(Y.lazy=void 0))})();return ce[b]=Se,Se},de=new WeakMap;function $e(b,_,L,G,Y){let se=L[b.id];if(W(se,"No route found in manifest"),!b.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof b.lazy=="function"){let Ve=de.get(se);if(Ve)return{lazyRoutePromise:Ve,lazyHandlerPromise:Ve};let at=(async()=>{W(typeof b.lazy=="function","No lazy route function found");let Tt=await b.lazy(),Ct={};for(let Lt in Tt){let vr=Tt[Lt];if(vr===void 0)continue;
756let zt=Fe(Lt),qr=se[Lt]!==void 0&&Lt!=="hasErrorBoundary";zt?X(!zt,"Route property "+Lt+" is not a supported property to be returned from a lazy route function. This property will be ignored."):qr?X(!qr,`Route "${se.id}" has a static property "${Lt}" defined but its lazy function is also returning a value for this property. The lazy route property "${Lt}" will be ignored.`):Ct[Lt]=vr}Object.assign(se,Ct),Object.assign(se,{...G(se),lazy:void 0})})();return de.set(se,at),at.catch(()=>{}),{lazyRoutePromise:at,lazyHandlerPromise:at}}let ce=Object.keys(b.lazy),he=[],Se;for(let Ve of ce){if(Y&&Y.includes(Ve))continue;let at=Ts({key:Ve,route:b,manifest:L,mapRouteProperties:G});at&&(he.push(at),Ve===_&&(Se=at))}let Ae=he.length>0?Promise.all(he).then(()=>{}):void 0;return Ae?.catch(()=>{}),Se?.catch(()=>{}),{lazyRoutePromise:Ae,lazyHandlerPromise:Se}}function Pt(b){return b!==void 0}function or(b,_,L){let G=b.map(({route:Y})=>{if(!(typeof Y.lazy!="object"||!Y.lazy.middleware))return Ts({key:"middleware",route:Y,manifest:_,mapRouteProperties:L})}).filter(Pt);return G.length>0?Promise.all(G):void 0}async function tn(b){let _=b.matches.filter(Y=>Y.shouldLoad),L={};return(await Promise.all(_.map(Y=>Y.resolve()))).forEach((Y,se)=>{L[_[se].route.id]=Y}),L}async function Vn(b){return b.matches.some(_=>_.route.middleware)?ts(b,()=>tn(b)):tn(b)}function Ri(b,_,L){return ss(b,_,G,Le,L);function G(Y){return ms(Y)?Vr(Y):Y}}function ts(b,_){return ss(b,_,G=>{if(ft(G))throw G;return G},ii,L);function L(G,Y,se){if(se)return Promise.resolve(Object.assign(se.value,{[Y]:{type:"error",result:G}}));{let{matches:ce}=b,he=Math.min(Math.max(ce.findIndex(Ae=>Ae.route.id===Y),0),Math.max(ce.findIndex(Ae=>Ae.shouldCallHandler()),0)),Se=Mi(ce,ce[he].route.id).route.id;return Promise.resolve({[Se]:{type:"error",result:G}})}}}async function ss(b,_,L,G,Y){let{matches:se,...ce}=b,he=se.flatMap(Ae=>Ae.route.middleware?Ae.route.middleware.map(Ve=>[Ae.route.id,Ve]):[]);return await Li(ce,he,_,L,G,Y)}async function Li(b,_,L,G,Y,se,ce=0){let{request:he}=b;if(he.signal.aborted)throw he.signal.reason??new Error(`Request aborted: ${he.method} ${he.url}`);let Se=_[ce];if(!Se)return await L();let[Ae,Ve]=Se,at,Tt=async()=>{if(at)throw new Error("You may only call `next()` once per middleware");try{return at={value:await Li(b,_,L,G,Y,se,ce+1)},at.value}catch(Ct){return at={value:await se(Ct,Ae,at)},at.value}};try{let Ct=await Ve(b,Tt),Lt=Ct!=null?G(Ct):void 0;return Y(Lt)?Lt:at?Lt??at.value:(at={value:await Tt()},at.value)}catch(Ct){return await se(Ct,Ae,at)}}function Ia(b,_,L,G,Y){let se=Ts({key:"middleware",route:G.route,manifest:_,mapRouteProperties:b}),ce=$e(G.route,Mt(L.method)?"action":"loader",_,b,Y);return{middleware:se,route:ce.lazyRoutePromise,handler:ce.lazyHandlerPromise}}function Sa(b,_,L,G,Y,se,ce,he,Se,Ae=null,Ve){let at=!1,Tt=Ia(b,_,L,se,ce);return{...se,_lazyPromises:Tt,shouldLoad:Se,shouldRevalidateArgs:Ae,shouldCallHandler(Ct){return at=!0,Ae?typeof Ve=="boolean"?oi(se,{...Ae,defaultShouldRevalidate:Ve}):typeof Ct=="boolean"?oi(se,{...Ae,defaultShouldRevalidate:Ct}):oi(se,Ae):Se},resolve(Ct){let{lazy:Lt,loader:vr,middleware:zt}=se.route,Xr=at||Se||Ct&&!Mt(L.method)&&(Lt||vr),qr=zt&&zt.length>0&&!vr&&!Lt;return Xr&&(Mt(L.method)||!qr)?_s({request:L,path:G,unstable_pattern:Y,match:se,lazyHandlerPromise:Tt?.handler,lazyRoutePromise:Tt?.route,handlerOverride:Ct,scopedContext:he}):Promise.resolve({type:"data",result:void 0})}}}function ha(b,_,L,G,Y,se,ce,he,Se=null){return Y.map(Ae=>Ae.route.id!==se.route.id?{...Ae,shouldLoad:!1,shouldRevalidateArgs:Se,shouldCallHandler:()=>!1,_lazyPromises:Ia(b,_,L,Ae,ce),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Sa(b,_,L,G,fi(Y),Ae,ce,he,!0,Se))}async function Qa(b,_,L,G,Y,se,ce){G.some(Ve=>Ve._lazyPromises?.middleware)&&await Promise.all(G.map(Ve=>Ve._lazyPromises?.middleware));let he={request:_,unstable_url:Hs(_,L),unstable_pattern:fi(G),params:G[0].params,context:se,matches:G},Ae=await b({...he,fetcherKey:Y,runClientMiddleware:ce?()=>{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`")}:Ve=>{let at=he;return ts(at,()=>Ve({...at,fetcherKey:Y,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(G.flatMap(Ve=>[Ve._lazyPromises?.handler,Ve._lazyPromises?.route]))}catch{}return Ae}async function _s({request:b,path:_,unstable_pattern:L,match:G,lazyHandlerPromise:Y,lazyRoutePromise:se,handlerOverride:ce,scopedContext:he}){let Se,Ae,Ve=Mt(b.method),at=Ve?"action":"loader",Tt=Ct=>{let Lt,vr=new Promise((qr,Dn)=>Lt=Dn);Ae=()=>Lt(),b.signal.addEventListener("abort",Ae);let zt=qr=>typeof Ct!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${at}" [routeId: ${G.route.id}]`)):Ct({request:b,unstable_url:Hs(b,_),unstable_pattern:L,params:G.params,context:he},...qr!==void 0?[qr]:[]),Xr=(async()=>{try{return{type:"data",result:await(ce?ce(Dn=>zt(Dn)):zt())}}catch(qr){return{type:"error",result:qr}}})();return Promise.race([Xr,vr])};try{let Ct=Ve?G.route.action:G.route.loader;
756if(Y||se)if(Ct){let Lt,[vr]=await Promise.all([Tt(Ct).catch(zt=>{Lt=zt}),Y,se]);if(Lt!==void 0)throw Lt;Se=vr}else{await Y;let Lt=Ve?G.route.action:G.route.loader;if(Lt)[Se]=await Promise.all([Tt(Lt),se]);else if(at==="action"){let vr=new URL(b.url),zt=vr.pathname+vr.search;throw je(405,{method:b.method,pathname:zt,routeId:G.route.id})}else return{type:"data",result:void 0}}else if(Ct)Se=await Tt(Ct);else{let Lt=new URL(b.url),vr=Lt.pathname+Lt.search;throw je(404,{pathname:vr})}}catch(Ct){return{type:"error",result:Ct}}finally{Ae&&b.signal.removeEventListener("abort",Ae)}return Se}async function fr(b){let _=b.headers.get("Content-Type");return _&&/\bapplication\/json\b/.test(_)?b.body==null?null:b.json():b.text()}async function Aa(b){let{result:_,type:L}=b;if(Le(_)){let G;try{G=await fr(_)}catch(Y){return{type:"error",error:Y}}return L==="error"?{type:"error",error:new Di(_.status,_.statusText,G),statusCode:_.status,headers:_.headers}:{type:"data",data:G,statusCode:_.status,headers:_.headers}}return L==="error"?ms(_)?_.data instanceof Error?{type:"error",error:_.data,statusCode:_.init?.status,headers:_.init?.headers?new Headers(_.init.headers):void 0}:{type:"error",error:an(_),statusCode:on(_)?_.status:void 0,headers:_.init?.headers?new Headers(_.init.headers):void 0}:{type:"error",error:_,statusCode:on(_)?_.status:void 0}:ms(_)?{type:"data",data:_.data,statusCode:_.init?.status,headers:_.init?.headers?new Headers(_.init.headers):void 0}:{type:"data",data:_}}function en(b,_,L,G,Y){let se=b.headers.get("Location");if(W(se,"Redirects returned/thrown from loaders/actions must have a Location header"),!br(se)){let ce=G.slice(0,G.findIndex(he=>he.route.id===L)+1);se=es(new URL(_.url),ce,Y,se),b.headers.set("Location",se)}return b}var pa=null;function Pa(b,_,L,G){if(br(b)){let Y=b,se=Y.startsWith("//")?new URL(_.protocol+Y):new URL(Y);if(pa.includes(se.protocol))throw new Error("Invalid redirect location");let ce=Nr(se.pathname,L)!=null;if(se.origin===_.origin&&ce)return rt(se.pathname)+se.search+se.hash}try{let Y=G.createURL(b);if(pa.includes(Y.protocol))throw new Error("Invalid redirect location")}catch{}return b}function Xs(b,_,L,G){let Y=b.createURL(Wt(_)).toString(),se={signal:L};if(G&&Mt(G.formMethod)){let{formMethod:ce,formEncType:he}=G;se.method=ce.toUpperCase(),he==="application/json"?(se.headers=new Headers({"Content-Type":he}),se.body=JSON.stringify(G.json)):he==="text/plain"?se.body=G.text:he==="application/x-www-form-urlencoded"&&G.formData?se.body=ao(G.formData):se.body=G.formData}return new Request(Y,se)}function Hs(b,_){let L=new URL(b.url),G=typeof _=="string"?pe(_):_;if(L.pathname=G.pathname||"/",G.search){let Y=new URLSearchParams(G.search),se=Y.getAll("index");Y.delete("index");for(let ce of se.filter(Boolean))Y.append("index",ce);L.search=Y.size?`?${Y.toString()}`:""}else L.search="";return L.hash=G.hash||"",L}function ao(b){let _=new URLSearchParams;for(let[L,G]of b.entries())_.append(L,typeof G=="string"?G:G.name);return _}function Wa(b){let _=new FormData;for(let[L,G]of b.entries())_.append(L,G);return _}function Co(b,_,L,G=!1,Y=!1){let se={},ce=null,he,Se=!1,Ae={},Ve=L&&bi(L[1])?L[1].error:void 0;return b.forEach(at=>{if(!(at.route.id in _))return;let Tt=at.route.id,Ct=_[Tt];if(W(!Ws(Ct),"Cannot handle redirect results in processLoaderData"),bi(Ct)){let Lt=Ct.error;if(Ve!==void 0&&(Lt=Ve,Ve=void 0),ce=ce||{},Y)ce[Tt]=Lt;else{let vr=Mi(b,Tt);ce[vr.route.id]==null&&(ce[vr.route.id]=Lt)}G||(se[Tt]=rn),Se||(Se=!0,he=on(Ct.error)?Ct.error.status:500),Ct.headers&&(Ae[Tt]=Ct.headers)}else se[Tt]=Ct.data,Ct.statusCode&&Ct.statusCode!==200&&!Se&&(he=Ct.statusCode),Ct.headers&&(Ae[Tt]=Ct.headers)}),Ve!==void 0&&L&&(ce={[L[0]]:Ve},L[2]&&(se[L[2]]=void 0)),{loaderData:se,errors:ce,statusCode:he||200,loaderHeaders:Ae}}function _o(b,_,L,G,Y,se){let{loaderData:ce,errors:he}=Co(_,L,G);return Y.filter(Se=>!Se.matches||Se.matches.some(Ae=>Ae.shouldLoad)).forEach(Se=>{let{key:Ae,match:Ve,controller:at}=Se;if(at&&at.signal.aborted)return;let Tt=se[Ae];if(W(Tt,"Did not find corresponding fetcher result"),bi(Tt)){let Ct=Mi(b.matches,Ve?.route.id);he&&he[Ct.route.id]||(he={...he,[Ct.route.id]:Tt.error}),b.fetchers.delete(Ae)}else if(Ws(Tt))W(!1,"Unhandled fetcher revalidation redirect");else{let Ct=os(Tt.data);b.fetchers.set(Ae,Ct)}}),{loaderData:ce,errors:he}}function Oo(b,_,L,G){let Y=Object.entries(_).filter(([,se])=>se!==rn).reduce((se,[ce,he])=>(se[ce]=he,se),{});for(let se of L){let ce=se.route.id;if(!_.hasOwnProperty(ce)&&b.hasOwnProperty(ce)&&se.route.loader&&(Y[ce]=b[ce]),G&&G.hasOwnProperty(ce))break}return Y}function Ks(b){return b?bi(b[1])?{actionData:{}}:{actionData:{[b[0]]:b[1].data}}:{}}function Mi(b,_){return(_?b.slice(0,b.findIndex(G=>G.route.id===_)+1):[...b]).reverse().find(G=>G.route.hasErrorBoundary===!0)||b[0]}function Me(b){let _=b.length===1?b[0]:b.find(L=>
756L.index||!L.path||L.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:_}],route:_}}function je(b,{pathname:_,routeId:L,method:G,type:Y,message:se}={}){let ce="Unknown Server Error",he="Unknown @remix-run/router error";return b===400?(ce="Bad Request",G&&_&&L?he=`You made a ${G} request to "${_}" but did not provide a \`loader\` for route "${L}", so there is no way to handle the request.`:Y==="invalid-body"&&(he="Unable to encode submission body")):b===403?(ce="Forbidden",he=`Route "${L}" does not match URL "${_}"`):b===404?(ce="Not Found",he=`No route matches URL "${_}"`):b===405&&(ce="Method Not Allowed",G&&_&&L?he=`You made a ${G.toUpperCase()} request to "${_}" but did not provide an \`action\` for route "${L}", so there is no way to handle the request.`:G&&(he=`Invalid request method "${G.toUpperCase()}"`)),new Di(b||500,ce,new Error(he),!0)}function Ot(b){let _=Object.entries(b);for(let L=_.length-1;L>=0;L--){let[G,Y]=_[L];if(Ws(Y))return{key:G,result:Y}}}function Wt(b){let _=typeof b=="string"?pe(b):b;return le({..._,hash:""})}function Br(b,_){return b.pathname!==_.pathname||b.search!==_.search?!1:b.hash===""?_.hash!=="":b.hash===_.hash?!0:_.hash!==""}function Vr(b){return Response.json(b.data,b.init??void 0)}function an(b){return new Di(b.init?.status??500,b.init?.statusText??"Internal Server Error",b.data)}function ii(b){return b!=null&&typeof b=="object"&&Object.entries(b).every(([_,L])=>typeof _=="string"&&Yi(L))}function Yi(b){return b!=null&&typeof b=="object"&&"type"in b&&"result"in b&&(b.type==="data"||b.type==="error")}function Ui(b){return Le(b.result)&&Tn.has(b.result.status)}function bi(b){return b.type==="error"}function Ws(b){return(b&&b.type)==="redirect"}function ms(b){return typeof b=="object"&&b!=null&&"type"in b&&"data"in b&&"init"in b&&b.type==="DataWithResponseInit"}function Le(b){return b!=null&&typeof b.status=="number"&&typeof b.statusText=="string"&&typeof b.headers=="object"&&typeof b.body<"u"}function Ye(b){return Tn.has(b)}function ft(b){return Le(b)&&Ye(b.status)&&b.headers.has("Location")}function ht(b){return ji.has(b.toUpperCase())}function Mt(b){return mi.has(b.toUpperCase())}function Jt(b){return new URLSearchParams(b).getAll("index").some(_=>_==="")}function Er(b,_){let L=typeof _=="string"?pe(_).search:_.search;if(b[b.length-1].route.index&&Jt(L||""))return b[b.length-1];let G=Q(b);return G[G.length-1]}function Lr(b){let{formMethod:_,formAction:L,formEncType:G,text:Y,formData:se,json:ce}=b;if(!(!_||!L||!G)){if(Y!=null)return{formMethod:_,formAction:L,formEncType:G,formData:void 0,json:void 0,text:Y};if(se!=null)return{formMethod:_,formAction:L,formEncType:G,formData:se,json:void 0,text:void 0};if(ce!==void 0)return{formMethod:_,formAction:L,formEncType:G,formData:void 0,json:ce,text:void 0}}}function Mn(b,_){return _?{state:"loading",location:b,formMethod:_.formMethod,formAction:_.formAction,formEncType:_.formEncType,formData:_.formData,json:_.json,text:_.text}:{state:"loading",location:b,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Pn(b,_){return{state:"submitting",location:b,formMethod:_.formMethod,formAction:_.formAction,formEncType:_.formEncType,formData:_.formData,json:_.json,text:_.text}}function kn(b,_){return b?{state:"loading",formMethod:b.formMethod,formAction:b.formAction,formEncType:b.formEncType,formData:b.formData,json:b.json,text:b.text,data:_}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:_}}function Gi(b,_){return{state:"submitting",formMethod:b.formMethod,formAction:b.formAction,formEncType:b.formEncType,formData:b.formData,json:b.json,text:b.text,data:_?_.data:void 0}}function os(b){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:b}}function Os(b,_){try{let L=b.sessionStorage.getItem(hr);if(L){let G=JSON.parse(L);for(let[Y,se]of Object.entries(G||{}))se&&Array.isArray(se)&&_.set(Y,new Set(se||[]))}}catch{}}function ir(b,_){if(_.size>0){let L={};for(let[G,Y]of _)L[G]=[...Y];try{b.sessionStorage.setItem(hr,JSON.stringify(L))}catch(G){X(!1,`Failed to save applied view transitions in sessionStorage (${G}).`)}}}function Bt(){let b,_,L=new Promise((G,Y)=>{b=async se=>{G(se);try{await L}catch{}},_=async se=>{Y(se);try{await L}catch{}}});return{promise:L,resolve:b,reject:_}}var sr=E.createContext(null);sr.displayName="DataRouter";var Cr=E.createContext(null);Cr.displayName="DataRouterState";var Fn=E.createContext(!1);function Pe(){return E.useContext(Fn)}var Be=E.createContext({isTransitioning:!1});Be.displayName="ViewTransition";var it=E.createContext(new Map);it.displayName="Fetchers";var st=E.createContext(null);st.displayName="Await";var jt=b=>r.createElement(st.Provider,b),Gt=E.createContext(null);Gt.displayName="Navigation";var ar=E.createContext(null);ar.displayName="Location";var ur=E.createContext({outlet:null,matches:[],isDataRoute:!1});ur.displayName="Route";var Un=E.createContext(null);Un.displayName="RouteError";var An=!0,jn="REACT_ROUTER_ERROR",Wi="REDIRECT",Vs="ROUTE_ERROR_RESPONSE";function Pi(b){if(b.startsWith(`${jn}:${Wi}:{`))try{let _=JSON.parse(b.slice(28));if(typeof _=="object"&&_&&typeof _.status=="number"&&typeof _.statusText=="string"&&typeof _.location=="str
756ing"&&typeof _.reloadDocument=="boolean"&&typeof _.replace=="boolean")return _}catch{}}function ws(b){if(b.startsWith(`${jn}:${Vs}:{`))try{let _=JSON.parse(b.slice(40));if(typeof _=="object"&&_&&typeof _.status=="number"&&typeof _.statusText=="string")return new Di(_.status,_.statusText,_.data)}catch{}}function Ci(b,{relative:_}={}){W(ei(),"useHref() may be used only in the context of a <Router> component.");let{basename:L,navigator:G}=E.useContext(Gt),{hash:Y,pathname:se,search:ce}=$(b,{relative:_}),he=se;return L!=="/"&&(he=se==="/"?L:_t([L,se])),G.createHref({pathname:he,search:ce,hash:Y})}function ei(){return E.useContext(ar)!=null}function hi(){return W(ei(),"useLocation() may be used only in the context of a <Router> component."),E.useContext(ar).location}function Ps(){return a.useContext(ar).navigationType}function Zi(b){W(ei(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:_}=hi();return E.useMemo(()=>qt(b,dr(_)),[_,b])}var Ti="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function xs(b){E.useContext(Gt).static||E.useLayoutEffect(b)}function ma(){let{isDataRoute:b}=E.useContext(ur);return b?hu():Fo()}function Fo(){W(ei(),"useNavigate() may be used only in the context of a <Router> component.");let b=E.useContext(sr),{basename:_,navigator:L}=E.useContext(Gt),{matches:G}=E.useContext(ur),{pathname:Y}=hi(),se=JSON.stringify(ut(G)),ce=E.useRef(!1);return xs(()=>{ce.current=!0}),E.useCallback((Se,Ae={})=>{if(X(ce.current,Ti),!ce.current)return;if(typeof Se=="number"){L.go(Se);return}let Ve=tr(Se,JSON.parse(se),Y,Ae.relative==="path");b==null&&_!=="/"&&(Ve.pathname=Ve.pathname==="/"?_:_t([_,Ve.pathname])),(Ae.replace?L.replace:L.push)(Ve,Ae.state,Ae)},[_,L,se,Y,b])}var ho=E.createContext(null);function la(){return a.useContext(ho)}function Fa(b){let _=a.useContext(ur).outlet;return a.useMemo(()=>_&&a.createElement(ho.Provider,{value:b},_),[_,b])}function V(){let{matches:b}=E.useContext(ur);return b[b.length-1]?.params??{}}function $(b,{relative:_}={}){let{matches:L}=E.useContext(ur),{pathname:G}=hi(),Y=JSON.stringify(ut(L));return E.useMemo(()=>tr(b,JSON.parse(Y),G,_==="path"),[b,Y,G,_])}function ne(b,_){return me(b,_)}function me(b,_,L){W(ei(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:G}=E.useContext(Gt),{matches:Y}=E.useContext(ur),se=Y[Y.length-1],ce=se?se.params:{},he=se?se.pathname:"/",Se=se?se.pathnameBase:"/",Ae=se&&se.route;if(An){let zt=Ae&&Ae.path||"";bo(he,!Ae||zt.endsWith("*")||zt.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${he}" (under <Route path="${zt}">) 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="${zt}"> to <Route path="${zt==="/"?"*":`${zt}/*`}">.`)}let Ve=hi(),at;if(_){let zt=typeof _=="string"?pe(_):_;W(Se==="/"||zt.pathname?.startsWith(Se),`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 "${Se}" but pathname "${zt.pathname}" was given in the \`location\` prop.`),at=zt}else at=Ve;let Tt=at.pathname||"/",Ct=Tt;if(Se!=="/"){let zt=Se.replace(/^\//,"").split("/");Ct="/"+Tt.replace(/^\//,"").split("/").slice(zt.length).join("/")}let Lt=Xe(b,{pathname:Ct});An&&(X(Ae||Lt!=null,`No routes matched location "${at.pathname}${at.search}${at.hash}" `),X(Lt==null||Lt[Lt.length-1].route.element!==void 0||Lt[Lt.length-1].route.Component!==void 0||Lt[Lt.length-1].route.lazy!==void 0,`Matched leaf route at location "${at.pathname}${at.search}${at.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 vr=Ft(Lt&&Lt.map(zt=>Object.assign({},zt,{params:Object.assign({},ce,zt.params),pathname:_t([Se,G.encodeLocation?G.encodeLocation(zt.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:zt.pathname]),pathnameBase:zt.pathnameBase==="/"?Se:_t([Se,G.encodeLocation?G.encodeLocation(zt.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:zt.pathnameBase])})),Y,L);return _&&vr?E.createElement(ar.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...at},navigationType:"POP"}},vr):vr}function Oe(){let b=ui(),_=on(b)?`${b.status} ${b.statusText}`:b instanceof Error?b.message:JSON.stringify(b),L=b instanceof Error?b.stack:null,G="rgba(200,200,200, 0.5)",Y={padding:"0.5rem",backgroundColor:G},se={padding:"2px 4px",backgroundColor:G},ce=null;return An&&(console.error("Error handled by React Router default ErrorBoundary:",b),ce=E.createElement(E.Fragment,null,E.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:se},"ErrorBoundary")," or"," ",E.createElement("code",{style:se},"errorElement")," prop on your route."))),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application
758Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},_),L?E.createElement("pre",{style:Y},L):null,ce)}var ze=E.createElement(Oe,null),nt=class extends E.Component{constructor(b){super(b),this.state={location:b.location,revalidation:b.revalidation,error:b.error}}static getDerivedStateFromError(b){return{error:b}}static getDerivedStateFromProps(b,_){return _.location!==b.location||_.revalidation!=="idle"&&b.revalidation==="idle"?{error:b.error,location:b.location,revalidation:b.revalidation}:{error:b.error!==void 0?b.error:_.error,location:_.location,revalidation:b.revalidation||_.revalidation}}componentDidCatch(b,_){this.props.onError?this.props.onError(b,_):console.error("React Router caught the following error during render",b)}render(){let b=this.state.error;if(this.context&&typeof b=="object"&&b&&"digest"in b&&typeof b.digest=="string"){const L=ws(b.digest);L&&(b=L)}let _=b!==void 0?E.createElement(ur.Provider,{value:this.props.routeContext},E.createElement(Un.Provider,{value:b,children:this.props.component})):this.props.children;return this.context?E.createElement(Dt,{error:b},_):_}};nt.contextType=Fn;var ct=new WeakMap;function Dt({children:b,error:_}){let{basename:L}=E.useContext(Gt);if(typeof _=="object"&&_&&"digest"in _&&typeof _.digest=="string"){let G=Pi(_.digest);if(G){let Y=ct.get(_);if(Y)throw Y;let se=ri(G.location,L);if(qi&&!ct.get(_))if(se.isExternal||G.reloadDocument)window.location.href=se.absoluteURL||se.to;else{const ce=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(se.to,{replace:G.replace}));throw ct.set(_,ce),ce}return E.createElement("meta",{httpEquiv:"refresh",content:`0;url=${se.absoluteURL||se.to}`})}}return b}function Zt({routeContext:b,match:_,children:L}){let G=E.useContext(sr);return G&&G.static&&G.staticContext&&(_.route.errorElement||_.route.ErrorBoundary)&&(G.staticContext._deepestRenderedBoundaryId=_.route.id),E.createElement(ur.Provider,{value:b},L)}function Ft(b,_=[],L){let G=L?.state;if(b==null){if(!G)return null;if(G.errors)b=G.matches;else if(_.length===0&&!G.initialized&&G.matches.length>0)b=G.matches;else return null}let Y=b,se=G?.errors;if(se!=null){let Ve=Y.findIndex(at=>at.route.id&&se?.[at.route.id]!==void 0);W(Ve>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(se).join(",")}`),Y=Y.slice(0,Math.min(Y.length,Ve+1))}let ce=!1,he=-1;if(L&&G){ce=G.renderFallback;for(let Ve=0;Ve<Y.length;Ve++){let at=Y[Ve];if((at.route.HydrateFallback||at.route.hydrateFallbackElement)&&(he=Ve),at.route.id){let{loaderData:Tt,errors:Ct}=G,Lt=at.route.loader&&!Tt.hasOwnProperty(at.route.id)&&(!Ct||Ct[at.route.id]===void 0);if(at.route.lazy||Lt){L.isStatic&&(ce=!0),he>=0?Y=Y.slice(0,he+1):Y=[Y[0]];break}}}}let Se=L?.onError,Ae=G&&Se?(Ve,at)=>{Se(Ve,{location:G.location,params:G.matches?.[0]?.params??{},unstable_pattern:fi(G.matches),errorInfo:at})}:void 0;return Y.reduceRight((Ve,at,Tt)=>{let Ct,Lt=!1,vr=null,zt=null;G&&(Ct=se&&at.route.id?se[at.route.id]:void 0,vr=at.route.errorElement||ze,ce&&(he<0&&Tt===0?(bo("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),Lt=!0,zt=null):he===Tt&&(Lt=!0,zt=at.route.hydrateFallbackElement||null)));let Xr=_.concat(Y.slice(0,Tt+1)),qr=()=>{let Dn;return Ct?Dn=vr:Lt?Dn=zt:at.route.Component?Dn=E.createElement(at.route.Component,null):at.route.element?Dn=at.route.element:Dn=Ve,E.createElement(Zt,{match:at,routeContext:{outlet:Ve,matches:Xr,isDataRoute:G!=null},children:Dn})};return G&&(at.route.ErrorBoundary||at.route.errorElement||Tt===0)?E.createElement(nt,{location:G.location,revalidation:G.revalidation,component:vr,error:Ct,children:qr(),routeContext:{outlet:null,matches:Xr,isDataRoute:!0},onError:Ae}):qr()},null)}function Rr(b){return`${b} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jr(b){let _=E.useContext(sr);return W(_,Rr(b)),_}function In(b){let _=E.useContext(Cr);return W(_,Rr(b)),_}function Rn(b){let _=E.useContext(ur);return W(_,Rr(b)),_}function Jn(b){let _=Rn(b),L=_.matches[_.matches.length-1];return W(L.route.id,`${b} can only be used on routes that contain a unique "id"`),L.route.id}function _i(){return Jn("useRouteId")}function qn(){return In("useNavigation").navigation}function Xi(){let b=Jr("useRevalidator"),_=In("useRevalidator"),L=a.useCallback(async()=>{await b.router.revalidate()},[b.router]);return a.useMemo(()=>({revalidate:L,state:_.revalidation}),[L,_.revalidation])}function cs(){let{matches:b,loaderData:_}=In("useMatches");return E.useMemo(()=>b.map(L=>yt(L,_)),[b,_])}function nr(){let b=In("useLoaderData"),_=Jn("useLoaderData");return b.loaderData[_]}function Fr(b){return In("useRouteLoaderData").loaderData[b]}function _r(){let b=In("useActionData"),_=Jn("useLoaderData");return b.actionData?b.actionData[_]:void 0}function ui(){let b=E.useContext(Un),_=In("useRouteError"),L=Jn("useRouteError");return b!==void 0?b:_.errors?.[L]}function Ni(){return a.useContext(st)?._data}function ci(){return a.useContext(st)?._error}var ra=0;function na(b){let{router:_,basename:L}=Jr("useBlocker"),G=In("useBlocker"),[Y,se]=a.useState(""),ce=a.useCallback(he=>{if(typeof b!="function")return!!b;if(L==="/")return b(he);let{currentLocation:Se,nextLocation:Ae,historyAction:Ve}=he;return b({currentLocation:{...Se,pathname:Nr(Se.pathname,L)||Se.pathname},nextLocation:{...Ae,pathname:Nr(Ae.pathname,L)||Ae.pathname},historyAction:Ve})},[L,b]);return a.useEffect(()=>{let he=String(++ra);return se(he),()=>_.deleteBlocker(he)},[_]),a.useEffect(()=>{Y!==""&&_.getBlocker(Y,ce)},[_,Y,ce]),Y&&G.blockers.has(Y)?G.blockers.get(Y):vs}function hu(){let{router:b}=Jr("useNavigate"),_=Jn("useNavigate"),L=E.useRef(!1);return xs(()=>{L.current=!0}),E.useCallback(async(Y,se={})=>{X(L.current,Ti),L.current&&(typeof Y=="number"?await b.navigate(Y):await b.navigate(Y,{fromRouteId:_,...se}))},[b,_])}var zo={};function bo(b,_,L){!_&&!zo[b]&&(zo[b]=!0,X(!1,L))}function $o(...b){const _=Jn("useRoute"),L=b[0]??_,G=In("useRoute"),Y=G.matches.find(({route:se})=>se.id===L);if(Y!==void 0)return{handle:Y.route.handle,loaderData:G.loaderData[L],actionData:G.actionData?.[L]}}var Yu={};function ua(b,_){!b&&!Yu[_]&&(Yu[_]=!0,console.warn(_))}var pu="useOptimistic",Mu=(n||(n=e.t(E,2)))[pu],Ea=()=>{};function Yl(b){return Mu?Mu(b):[b,Ea]}function ul(b){let _={hasErrorBoundary:b.hasErrorBoundary||b.ErrorBoundary!=null||b.errorElement!=null};return b.Component&&(An&&b.element&&X(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(_,{element:s.createElement(b.Component),Component:void 0})),b.HydrateFallback&&(An&&b.hydrateFallbackElement&&X(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(_,{hydrateFallbackElement:s.createElement(b.HydrateFallback),HydrateFallback:void 0})),b.ErrorBoundary&&(An&&b.errorElement&&X(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(_,{errorElement:s.createElement(b.ErrorBoundary),ErrorBoundary:void 0})),_}var Io=null;function Lc(b,_){return zn({basename:_?.basename,getContext:_?.getContext,future:_?.future,history:F({initialEntries:_?.initialEntries,initialIndex:_?.initialIndex}),hydrationData:_?.hydrationData,routes:b,hydrationRouteProperties:Io,mapRouteProperties:ul,dataStrategy:_?.dataStrategy,patchRoutesOnNavigation:_?.patchRoutesOnNavigation,unstable_instrumentations:_?.unstable_instrumentations}).initialize()}var Xl=class{constructor(){this.status="pending",this.promise=new Promise((b,_)=>{this.resolve=L=>{this.status==="pending"&&(this.status="resolved",b(L))},this.reject=L=>{this.status==="pending"&&(this.status="rejected",_(L))}})}};function Us({router:b,flushSync:_,onError:L,unstable_useTransitions:G}){G=Pe()||G;let[se,ce]=s.useState(b.state),[he,Se]=Yl(se),[Ae,Ve]=s.useState(),[at,Tt]=s.useState({isTransitioning:!1}),[Ct,Lt]=s.useState(),[vr,zt]=s.useState(),[Xr,qr]=s.useState(),Dn=s.useRef(new Map),Nn=s.useCallback((Kn,{deletedFetchers:Ds,newErrors:Ai,flushSync:hs,viewTransitionOpts:ys})=>
758{Ai&&L&&Object.values(Ai).forEach(rs=>L(rs,{location:Kn.location,params:Kn.matches[0]?.params??{},unstable_pattern:fi(Kn.matches)})),Kn.fetchers.forEach((rs,oa)=>{rs.data!==void 0&&Dn.current.set(oa,rs.data)}),Ds.forEach(rs=>Dn.current.delete(rs)),ua(hs===!1||_!=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 As=b.window!=null&&b.window.document!=null&&typeof b.window.document.startViewTransition=="function";if(ua(ys==null||As,"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."),!ys||!As){_&&hs?_(()=>ce(Kn)):G===!1?ce(Kn):s.startTransition(()=>{G===!0&&Se(rs=>su(rs,Kn)),ce(Kn)});return}if(_&&hs){_(()=>{vr&&(Ct?.resolve(),vr.skipTransition()),Tt({isTransitioning:!0,flushSync:!0,currentLocation:ys.currentLocation,nextLocation:ys.nextLocation})});let rs=b.window.document.startViewTransition(()=>{_(()=>ce(Kn))});rs.finished.finally(()=>{_(()=>{Lt(void 0),zt(void 0),Ve(void 0),Tt({isTransitioning:!1})})}),_(()=>zt(rs));return}vr?(Ct?.resolve(),vr.skipTransition(),qr({state:Kn,currentLocation:ys.currentLocation,nextLocation:ys.nextLocation})):(Ve(Kn),Tt({isTransitioning:!0,flushSync:!1,currentLocation:ys.currentLocation,nextLocation:ys.nextLocation}))},[b.window,_,vr,Ct,G,Se,L]);s.useLayoutEffect(()=>b.subscribe(Nn),[b,Nn]);let Zn=he.initialized;s.useLayoutEffect(()=>{!Zn&&b.state.initialized&&Nn(b.state,{deletedFetchers:[],flushSync:!1,newErrors:null})},[Zn,Nn,b.state]),s.useEffect(()=>{at.isTransitioning&&!at.flushSync&&Lt(new Xl)},[at]),s.useEffect(()=>{if(Ct&&Ae&&b.window){let Kn=Ae,Ds=Ct.promise,Ai=b.window.document.startViewTransition(async()=>{G===!1?ce(Kn):s.startTransition(()=>{G===!0&&Se(hs=>su(hs,Kn)),ce(Kn)}),await Ds});Ai.finished.finally(()=>{Lt(void 0),zt(void 0),Ve(void 0),Tt({isTransitioning:!1})}),zt(Ai)}},[Ae,Ct,b.window,G,Se]),s.useEffect(()=>{Ct&&Ae&&he.location.key===Ae.location.key&&Ct.resolve()},[Ct,vr,he.location,Ae]),s.useEffect(()=>{!at.isTransitioning&&Xr&&(Ve(Xr.state),Tt({isTransitioning:!0,flushSync:!1,currentLocation:Xr.currentLocation,nextLocation:Xr.nextLocation}),qr(void 0))},[at.isTransitioning,Xr]);let nn=s.useMemo(()=>({createHref:b.createHref,encodeLocation:b.encodeLocation,go:Kn=>b.navigate(Kn),push:(Kn,Ds,Ai)=>b.navigate(Kn,{state:Ds,preventScrollReset:Ai?.preventScrollReset}),replace:(Kn,Ds,Ai)=>b.navigate(Kn,{replace:!0,state:Ds,preventScrollReset:Ai?.preventScrollReset})}),[b]),Gr=b.basename||"/",Qt=s.useMemo(()=>({router:b,navigator:nn,static:!1,basename:Gr,onError:L}),[b,nn,Gr,L]);return s.createElement(s.Fragment,null,s.createElement(sr.Provider,{value:Qt},s.createElement(Cr.Provider,{value:he},s.createElement(it.Provider,{value:Dn.current},s.createElement(Be.Provider,{value:at},s.createElement(gt,{basename:Gr,location:he.location,navigationType:he.historyAction,navigator:nn,unstable_useTransitions:G},s.createElement(oo,{routes:b.routes,future:b.future,state:he,isStatic:!1,onError:L})))))),null)}function su(b,_){return{...b,navigation:_.navigation.state!=="idle"?_.navigation:b.navigation,revalidation:_.revalidation!=="idle"?_.revalidation:b.revalidation,actionData:_.navigation.state!=="submitting"?_.actionData:b.actionData,fetchers:_.fetchers}}var oo=E.memo(ku);function ku({routes:b,future:_,state:L,isStatic:G,onError:Y}){return me(b,void 0,{state:L,isStatic:G,onError:Y,future:_})}function Ml({basename:b,children:_,initialEntries:L,initialIndex:G,unstable_useTransitions:Y}){let se=s.useRef();se.current==null&&(se.current=F({initialEntries:L,initialIndex:G,v5Compat:!0}));let ce=se.current,[he,Se]=s.useState({action:ce.action,location:ce.location}),Ae=s.useCallback(Ve=>{Y===!1?Se(Ve):s.startTransition(()=>Se(Ve))},[Y]);return s.useLayoutEffect(()=>ce.listen(Ae),[ce,Ae]),s.createElement(gt,{basename:b,children:_,location:he.location,navigationType:he.action,navigator:ce,unstable_useTransitions:Y})}function oe({to:b,replace:_,state:L,relative:G}){W(ei(),"<Navigate> may be used only in the context of a <Router> component.");let{static:Y}=E.useContext(Gt);X(!Y,"<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:se}=E.useContext(ur),{pathname:ce}=hi(),he=ma(),Se=tr(b,ut(se),ce,G==="path"),Ae=JSON.stringify(Se);return E.useEffect(()=>{he(JSON.parse(Ae),{replace:_,state:L,relative:G})},[he,Ae,G,_,L]),null}function mr(b){return Fa(b.context)}function ot(b){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 gt({basename:b="/",children:_=null,location:L,navigationType:G="POP",navigator:Y,static:se=!1,unstable_useTransitions:ce}){W(!ei(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let he=b.replace(/^\/*/,"/"),Se=E.useMemo(()=>({basename:he,navigator:Y,static:se,unstable_useTransitions:ce,future:{}}),[he,Y,se,ce]);typeof L=="string"&&(L=pe(L));let{pathname:Ae="/",search:Ve="",hash:at="",state:Tt=null,key:Ct="default",unstable_mask:Lt}=L,vr=E.useMemo(()=>{let zt=Nr(Ae,he);return zt==null?null:{location:{pathname:zt,search:Ve,hash:at,state:Tt,key:Ct,unstable_mask:Lt},navigationType:G}},[he,Ae,Ve,at,Tt,Ct,G,Lt]);
758return X(vr!=null,`<Router basename="${he}"> is not able to match the URL "${Ae}${Ve}${at}" because it does not start with the basename, so the <Router> won't render anything.`),vr==null?null:E.createElement(Gt.Provider,{value:Se},E.createElement(ar.Provider,{children:_,value:vr}))}function mn({children:b,location:_}){return ne(fa(b),_)}function Gn({children:b,errorElement:_,resolve:L}){let G=s.useContext(sr),Y=s.useContext(Cr),se=s.useCallback((ce,he)=>{G&&G.onError&&Y&&G.onError(ce,{location:Y.location,params:Y.matches[0]?.params||{},unstable_pattern:fi(Y.matches),errorInfo:he})},[G,Y]);return s.createElement(fs,{resolve:L,errorElement:_,onError:se},s.createElement(Rs,null,b))}var fs=class extends E.Component{constructor(b){super(b),this.state={error:null}}static getDerivedStateFromError(b){return{error:b}}componentDidCatch(b,_){this.props.onError?this.props.onError(b,_):console.error("<Await> caught the following error during render",b,_)}render(){let{children:b,errorElement:_,resolve:L}=this.props,G=null,Y=0;if(!(L instanceof Promise))Y=1,G=Promise.resolve(),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_data",{get:()=>L});else if(this.state.error){Y=2;let se=this.state.error;G=Promise.reject().catch(()=>{}),Object.defineProperty(G,"_tracked",{get:()=>!0}),Object.defineProperty(G,"_error",{get:()=>se})}else L._tracked?(G=L,Y="_error"in G?2:"_data"in G?1:0):(Y=0,Object.defineProperty(L,"_tracked",{get:()=>!0}),G=L.then(se=>Object.defineProperty(L,"_data",{get:()=>se}),se=>{this.props.onError?.(se),Object.defineProperty(L,"_error",{get:()=>se})}));if(Y===2&&!_)throw G._error;if(Y===2)return E.createElement(st.Provider,{value:G,children:_});if(Y===1)return E.createElement(st.Provider,{value:G,children:b});throw G}};function Rs({children:b}){let _=Ni(),L=typeof b=="function"?b(_):b;return s.createElement(s.Fragment,null,L)}function fa(b,_=[]){let L=[];return E.Children.forEach(b,(G,Y)=>{if(!E.isValidElement(G))return;let se=[..._,Y];if(G.type===E.Fragment){L.push.apply(L,fa(G.props.children,se));return}W(G.type===ot,`[${typeof G.type=="string"?G.type:G.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),W(!G.props.index||!G.props.children,"An index route cannot have child routes.");let ce={id:G.props.id||se.join("-"),caseSensitive:G.props.caseSensitive,element:G.props.element,Component:G.props.Component,index:G.props.index,path:G.props.path,middleware:G.props.middleware,loader:G.props.loader,action:G.props.action,hydrateFallbackElement:G.props.hydrateFallbackElement,HydrateFallback:G.props.HydrateFallback,errorElement:G.props.errorElement,ErrorBoundary:G.props.ErrorBoundary,hasErrorBoundary:G.props.hasErrorBoundary===!0||G.props.ErrorBoundary!=null||G.props.errorElement!=null,shouldRevalidate:G.props.shouldRevalidate,handle:G.props.handle,lazy:G.props.lazy};G.props.children&&(ce.children=fa(G.props.children,se)),L.push(ce)}),L}var Ho=null;function po(b){return Ft(b)}function Ja(){return{params:V(),loaderData:nr(),actionData:_r(),matches:cs()}}function Xu({children:b}){const _=Ja();return s.cloneElement(b,_)}function Bo(b){return function(){const L=Ja();return s.createElement(b,L)}}function mu(){return{params:V(),loaderData:nr(),actionData:_r()}}function kl({children:b}){const _=mu();return s.cloneElement(b,_)}function Nu(b){return function(){const L=mu();return s.createElement(b,L)}}function au(){return{params:V(),loaderData:nr(),actionData:_r(),error:ui()}}function mo({children:b}){const _=au();return s.cloneElement(b,_)}function Po(b){return function(){const L=au();return s.createElement(b,L)}}var Is="get",ou="application/x-www-form-urlencoded";function Qu(b){return typeof HTMLElement<"u"&&b instanceof HTMLElement}function Nl(b){return Qu(b)&&b.tagName.toLowerCase()==="button"}function Fu(b){return Qu(b)&&b.tagName.toLowerCase()==="form"}function Bu(b){return Qu(b)&&b.tagName.toLowerCase()==="input"}function xl(b){return!!(b.metaKey||b.altKey||b.ctrlKey||b.shiftKey)}function Uu(b,_){return b.button===0&&(!_||_==="_self")&&!xl(b)}function go(b=""){return new URLSearchParams(typeof b=="string"||Array.isArray(b)||b instanceof URLSearchParams?b:Object.keys(b).reduce((_,L)=>{let G=b[L];return _.concat(Array.isArray(G)?G.map(Y=>[L,Y]):[[L,G]])},[]))}function ju(b,_){let L=go(b);return _&&_.forEach((G,Y)=>{L.has(Y)||_.getAll(Y).forEach(se=>{L.append(Y,se)})}),L}var Wo=null;function gu(){if(Wo===null)try{new FormData(document.createElement("form"),0),Wo=!1}catch{Wo=!0}return Wo}var pc=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function we(b){return b!=null&&!pc.has(b)?(X(!1,`"${b}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ou}"`),null):b}function Ze(b,_){let L,G,Y,se,ce;if(Fu(b)){let he=b.getAttribute("action");
758G=he?Nr(he,_):null,L=b.getAttribute("method")||Is,Y=we(b.getAttribute("enctype"))||ou,se=new FormData(b)}else if(Nl(b)||Bu(b)&&(b.type==="submit"||b.type==="image")){let he=b.form;if(he==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let Se=b.getAttribute("formaction")||he.getAttribute("action");if(G=Se?Nr(Se,_):null,L=b.getAttribute("formmethod")||he.getAttribute("method")||Is,Y=we(b.getAttribute("formenctype"))||we(he.getAttribute("enctype"))||ou,se=new FormData(he,b),!gu()){let{name:Ae,type:Ve,value:at}=b;if(Ve==="image"){let Tt=Ae?`${Ae}.`:"";se.append(`${Tt}x`,"0"),se.append(`${Tt}y`,"0")}else Ae&&se.append(Ae,at)}}else{if(Qu(b))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');L=Is,G=null,Y=ou,ce=b}return se&&Y==="text/plain"&&(ce=se,se=void 0),{action:G,method:L.toLowerCase(),encType:Y,formData:se,body:ce}}var lt=null,Rt=null,Kt=null,Or=null,hn=null,Ke=null,xi=null,vi="B",gi="D",Ii="E",js="M",Za="N",qa="P",Ca="R",Va="S",ca="Y",Ma="U",no="Z",_u=null,So=class{constructor(){this.promise=new Promise((b,_)=>{this.resolve=b,this.reject=_})}};function Ao(){const b=new TextDecoder;let _="";return new TransformStream({transform(L,G){const Y=b.decode(L,{stream:!0}),se=(_+Y).split(` 759`);_=se.pop()||"";for(const ce of se)G.enqueue(ce)},flush(L){_&&L.enqueue(_)}})}var Fl=1,zu=()=>Date.now(),Au=()=>new Promise(b=>setTimeout(b,0));async function Mc(b){const{indices:_}=this,L=_.get(b);if(L)return[L];if(b===void 0)return xi;if(b===null)return hn;if(Number.isNaN(b))return Rt;if(b===Number.POSITIVE_INFINITY)return Ke;if(b===Number.NEGATIVE_INFINITY)return Kt;if(b===0&&1/b<0)return Or;const G=this.index++;_.set(b,G);const Y=[[b,G]];return await $u.call(this,Y),G}async function $u(b){const{deferred:_,indices:L,plugins:G,postPlugins:Y}=this,se=this.stringified;let ce=zu();const he=Ae=>{const Ve=L.get(Ae);if(Ve)return[Ve];if(Ae===void 0)return xi;if(Ae===null)return hn;if(Number.isNaN(Ae))return Rt;if(Ae===Number.POSITIVE_INFINITY)return Ke;if(Ae===Number.NEGATIVE_INFINITY)return Kt;if(Ae===0&&1/Ae<0)return Or;const at=this.index++;return L.set(Ae,at),b.push([Ae,at]),at};let Se=0;for(;b.length>0;){const Ae=zu();++Se%6e3===0&&Ae-ce>=Fl&&(await Au(),ce=zu());const[Ve,at]=b.pop(),Tt=Lt=>Object.keys(Lt).map(vr=>`"_${he(vr)}":${he(Lt[vr])}`).join(",");let Ct=null;switch(typeof Ve){case"boolean":case"number":case"string":se[at]=JSON.stringify(Ve);break;case"bigint":se[at]=`["${vi}","${Ve}"]`;break;case"symbol":{const Lt=Symbol.keyFor(Ve);Lt?se[at]=`["${ca}",${JSON.stringify(Lt)}]`:Ct=new Error("Cannot encode symbol unless created with Symbol.for()");break}case"object":{if(!Ve){se[at]=`${hn}`;break}const Lt=Array.isArray(Ve);let vr=!1;if(!Lt&&G)for(const zt of G){const Xr=zt(Ve);if(Array.isArray(Xr)){vr=!0;const[qr,...Dn]=Xr;se[at]=`[${JSON.stringify(qr)}`,Dn.length>0&&(se[at]+=`,${Dn.map(Nn=>he(Nn)).join(",")}`),se[at]+="]";break}}if(!vr){let zt=Lt?"[":"{";if(Lt){for(let Xr=0;Xr<Ve.length;Xr++)zt+=(Xr?",":"")+(Xr in Ve?he(Ve[Xr]):lt);se[at]=`${zt}]`}else if(Ve instanceof Date){const Xr=Ve.getTime();se[at]=`["${gi}",${Number.isNaN(Xr)?JSON.stringify("invalid"):Xr}]`}else Ve instanceof URL?se[at]=`["${Ma}",${JSON.stringify(Ve.href)}]`:Ve instanceof RegExp?se[at]=`["${Ca}",${JSON.stringify(Ve.source)},${JSON.stringify(Ve.flags)}]`:Ve instanceof Set?Ve.size>0?se[at]=`["${Va}",${[...Ve].map(Xr=>he(Xr)).join(",")}]`:se[at]=`["${Va}"]`:Ve instanceof Map?Ve.size>0?se[at]=`["${js}",${[...Ve].flatMap(([Xr,qr])=>[he(Xr),he(qr)]).join(",")}]`:se[at]=`["${js}"]`:Ve instanceof Promise?(se[at]=`["${qa}",${at}]`,_[at]=Ve):Ve instanceof Error?(se[at]=`["${Ii}",${JSON.stringify(Ve.message)}`,Ve.name!=="Error"&&(se[at]+=`,${JSON.stringify(Ve.name)}`),se[at]+="]"):Object.getPrototypeOf(Ve)===null?se[at]=`["${Za}",{${Tt(Ve)}}]`:mc(Ve)?se[at]=`{${Tt(Ve)}}`:Ct=new Error("Cannot encode object with prototype")}break}default:{const Lt=Array.isArray(Ve);let vr=!1;if(!Lt&&G)for(const zt of G){const Xr=zt(Ve);if(Array.isArray(Xr)){vr=!0;const[qr,...Dn]=Xr;se[at]=`[${JSON.stringify(qr)}`,Dn.length>0&&(se[at]+=`,${Dn.map(Nn=>he(Nn)).join(",")}`),se[at]+="]";break}}vr||(Ct=new Error("Cannot encode function or unexpected type"))}}if(Ct){let Lt=!1;
759if(Y)for(const vr of Y){const zt=vr(Ve);if(Array.isArray(zt)){Lt=!0;const[Xr,...qr]=zt;se[at]=`[${JSON.stringify(Xr)}`,qr.length>0&&(se[at]+=`,${qr.map(Dn=>he(Dn)).join(",")}`),se[at]+="]";break}}if(!Lt)throw Ct}}}var Hu=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function mc(b){const _=Object.getPrototypeOf(b);return _===Object.prototype||_===null||Object.getOwnPropertyNames(_).sort().join("\0")===Hu}var kc=typeof window<"u"?window:typeof globalThis<"u"?globalThis:void 0;function rd(b){const{hydrated:_,values:L}=this;if(typeof b=="number")return uu.call(this,b);if(!Array.isArray(b)||!b.length)throw new SyntaxError;const G=L.length;for(const Y of b)L.push(Y);return _.length=L.length,uu.call(this,G)}function uu(b){const{hydrated:_,values:L,deferred:G,plugins:Y}=this;let se;const ce=[[b,Se=>{se=Se}]];let he=[];for(;ce.length>0;){const[Se,Ae]=ce.pop();switch(Se){case xi:Ae(void 0);continue;case hn:Ae(null);continue;case Rt:Ae(NaN);continue;case Ke:Ae(1/0);continue;case Kt:Ae(-1/0);continue;case Or:Ae(-0);continue}if(_[Se]){Ae(_[Se]);continue}const Ve=L[Se];if(!Ve||typeof Ve!="object"){_[Se]=Ve,Ae(Ve);continue}if(Array.isArray(Ve))if(typeof Ve[0]=="string"){const[at,Tt,Ct]=Ve;switch(at){case gi:Ae(_[Se]=new Date(Tt));continue;case Ma:Ae(_[Se]=new URL(Tt));continue;case vi:Ae(_[Se]=BigInt(Tt));continue;case Ca:Ae(_[Se]=new RegExp(Tt,Ct));continue;case ca:Ae(_[Se]=Symbol.for(Tt));continue;case Va:const Lt=new Set;_[Se]=Lt;for(let Nn=Ve.length-1;Nn>0;Nn--)ce.push([Ve[Nn],Zn=>{Lt.add(Zn)}]);Ae(Lt);continue;case js:const vr=new Map;_[Se]=vr;for(let Nn=Ve.length-2;Nn>0;Nn-=2){const Zn=[];ce.push([Ve[Nn+1],nn=>{Zn[1]=nn}]),ce.push([Ve[Nn],nn=>{Zn[0]=nn}]),he.push(()=>{vr.set(Zn[0],Zn[1])})}Ae(vr);continue;case Za:const zt=Object.create(null);_[Se]=zt;for(const Nn of Object.keys(Tt).reverse()){const Zn=[];ce.push([Tt[Nn],nn=>{Zn[1]=nn}]),ce.push([Number(Nn.slice(1)),nn=>{Zn[0]=nn}]),he.push(()=>{zt[Zn[0]]=Zn[1]})}Ae(zt);continue;case qa:if(_[Tt])Ae(_[Se]=_[Tt]);else{const Nn=new So;G[Tt]=Nn,Ae(_[Se]=Nn.promise)}continue;case Ii:const[,Xr,qr]=Ve;let Dn=qr&&kc&&_u.includes(qr)&&qr in kc&&typeof kc[qr]=="function"?new kc[qr](Xr):new Error(Xr);_[Se]=Dn,Ae(Dn);continue;case no:Ae(_[Se]=_[Tt]);continue;default:if(Array.isArray(Y)){const Nn=[],Zn=Ve.slice(1);for(let nn=0;nn<Zn.length;nn++){const Gr=Zn[nn];ce.push([Gr,Qt=>{Nn[nn]=Qt}])}he.push(()=>{for(const nn of Y){const Gr=nn(Ve[0],...Nn);if(Gr){Ae(_[Se]=Gr.value);return}}throw new SyntaxError});continue}throw new SyntaxError}}else{const at=[];_[Se]=at;for(let Tt=0;Tt<Ve.length;Tt++){const Ct=Ve[Tt];Ct!==lt&&ce.push([Ct,Lt=>{at[Tt]=Lt}])}Ae(at);continue}else{const at={};_[Se]=at;for(const Tt of Object.keys(Ve).reverse()){const Ct=[];ce.push([Ve[Tt],Lt=>{Ct[1]=Lt}]),ce.push([Number(Tt.slice(1)),Lt=>{Ct[0]=Lt}]),he.push(()=>{at[Ct[0]]=Ct[1]})}Ae(at);continue}}for(;he.length>0;)he.pop()();return se}async function Hn(b,_){const{plugins:L}=_??{},G=new So,Y=b.pipeThrough(Ao()).getReader(),se={values:[],hydrated:[],deferred:{},plugins:L},ce=await ll.call(se,Y);let he=G.promise;return ce.done?G.resolve():he=gc.call(se,Y).then(G.resolve).catch(Se=>{for(const Ae of Object.values(se.deferred))Ae.reject(Se);G.reject(Se)}),{done:he.then(()=>Y.closed),value:ce.value}}async function ll(b){const _=await b.read();if(!_.value)throw new SyntaxError;let L;try{L=JSON.parse(_.value)}catch{throw new SyntaxError}return{done:_.done,value:rd.call(this,L)}}async function gc(b){let _=await b.read();for(;!_.done;){if(!_.value)continue;const L=_.value;switch(L[0]){case qa:{const G=L.indexOf(":"),Y=Number(L.slice(1,G)),se=this.deferred[Y];if(!se)throw new Error(`Deferred ID ${Y} not found in stream`);const ce=L.slice(G+1);let he;try{he=JSON.parse(ce)}catch{throw new SyntaxError}const Se=rd.call(this,he);se.resolve(Se);break}case Ii:{const G=L.indexOf(":"),Y=Number(L.slice(1,G)),se=this.deferred[Y];if(!se)throw new Error(`Deferred ID ${Y} not found in stream`);const ce=L.slice(G+1);let he;try{he=JSON.parse(ce)}catch{throw new SyntaxError}const Se=rd.call(this,he);se.reject(Se);break}default:throw new SyntaxError}_=await b.read()}}function vu(b,_){const{onComplete:L,plugins:G,postPlugins:Y,signal:se}=_??{},ce={deferred:{},index:0,indices:new Map,stringified:[],plugins:G,postPlugins:Y,signal:se},he=new TextEncoder;let Se=0;return new ReadableStream({async start(Ve){const at=await Mc.call(ce,b);if(Array.isArray(at))throw new Error("This should never happen");at<0?Ve.enqueue(he.encode(`${at} 760`)):(Ve.enqueue(he.encode(`[${ce.stringified.join(",")}] 761`)),Se=ce.stringified.length-1);const Tt=new WeakSet;let Ct=Promise.resolve();if(Object.keys(ce.deferred).length){let Lt;const vr=new Promise((zt,Xr)=>{if(Lt=zt,se){const qr=()=>Xr(se.reason||new Error("Signal was aborted."));se.aborted?qr():se.addEventListener("abort",Dn=>{qr()})}});for(;Object.keys(ce.deferred).length>0;){for(const[zt,Xr]of Object.entries(ce.deferred))Tt.has(Xr)||Tt.add(ce.deferred[Number(zt)]=Promise.race([vr,Xr]).then(qr=>(Ct=Ct.then(async()=>{const Dn=await Mc.call(ce,qr);if(Array.isArray(Dn))Ve.enqueue(he.encode(`${qa}${zt}:[["${no}",${Dn[0]}]] 762`)),ce.index++,Se++;else if(Dn<0)Ve.enqueue(he.encode(`${qa}${zt}:${Dn} 763`));else{const Nn=ce.stringified.slice(Se+1).join(",");Ve.enqueue(he.encode(`${qa}${zt}:[${Nn}] 764`)),Se=ce.stringified.length-1}}),Ct),qr=>(Ct=Ct.then(async()=>{(!qr||typeof qr!="object"||!(qr instanceof Error))&&(qr=new Error("An unknown error occurred"));const Dn=await Mc.call(ce,qr);if(Array.isArray(Dn))Ve.enqueue(he.encode(`${Ii}${zt}:[["${no}",${Dn[0]}]] 765`)),ce.index++,Se++;else if(Dn<0)Ve.enqueue(he.encode(`${Ii}${zt}:${Dn} 766`));else{const Nn=ce.stringified.slice(Se+1).join(",");Ve.enqueue(he.encode(`${Ii}${zt}:[${Nn}] 767`)),Se=ce.stringified.length-1}}),Ct)).finally(()=>{delete ce.deferred[Number(zt)]}));await Promise.race(Object.values(ce.deferred))}Lt()}await Promise.all(Object.values(ce.deferred)),await Ct,Ve.close(),L?.()}})}async function Ta(b){let _={signal:b.signal};if(b.method!=="GET"){_.method=b.method;let L=b.headers.get("Content-Type");L&&/\bapplication\/json\b/.test(L)?(_.headers={"Content-Type":L},_.body=JSON.stringify(await b.json())):L&&/\btext\/plain\b/.test(L)?(_.headers={"Content-Type":L},_.body=await b.text()):L&&/\bapplication\/x-www-form-urlencoded\b/.test(L)?_.body=new URLSearchParams(await b.text()):_.body=await b.formData()}return _}var qo={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},Ba=/[&><\u2028\u2029]/g;function Yo(b){return b.replace(Ba,_=>qo[_])}function Vo(b,_){if(b===!1||b===null||typeof b>"u")throw new Error(_)}var vc=Symbol("SingleFetchRedirect"),Bl=class extends null{},yu=202,Nc=new Set([100,101,204,205]);function Ro({context:b,identifier:_,reader:L,textDecoder:G,nonce:Y}){if(!b.renderMeta||!b.renderMeta.didRenderScripts)return null;b.renderMeta.streamCache||(b.renderMeta.streamCache={});let{streamCache:se}=b.renderMeta,ce=se[_];
767if(ce||(ce=se[_]=L.read().then(Ve=>{se[_].result={done:Ve.done,value:G.decode(Ve.value,{stream:!0})}}).catch(Ve=>{se[_].error=Ve})),ce.error)throw ce.error;if(ce.result===void 0)throw ce;let{done:he,value:Se}=ce.result,Ae=Se?i.createElement("script",{nonce:Y,dangerouslySetInnerHTML:{__html:`window.__reactRouterContext.streamController.enqueue(${Yo(JSON.stringify(Se))});`}}):null;return he?i.createElement(i.Fragment,null,Ae,i.createElement("script",{nonce:Y,dangerouslySetInnerHTML:{__html:"window.__reactRouterContext.streamController.close();"}})):i.createElement(i.Fragment,null,Ae,i.createElement(i.Suspense,null,i.createElement(Ro,{context:b,identifier:_+1,reader:L,textDecoder:G,nonce:Y})))}function Cu(b,_,L,G,Y,se){let ce=Ou(b,he=>{let Se=_.routes[he.route.id];Vo(Se,"Route not found in manifest");let Ae=L[he.route.id];return{hasLoader:Se.hasLoader,hasClientLoader:Se.hasClientLoader,hasShouldRevalidate:!!Ae?.shouldRevalidate}},Zu,G,Y,se);return async he=>he.runClientMiddleware(ce)}function Ou(b,_,L,G,Y,se,ce=()=>!0){return async he=>{let{request:Se,matches:Ae,fetcherKey:Ve}=he,at=b();if(Se.method!=="GET")return Ul(he,L,Y,se);let Tt=Ae.some(Ct=>{let{hasLoader:Lt,hasClientLoader:vr}=_(Ct);return Ct.shouldCallHandler()&&Lt&&!vr});return!G&&!Tt?Ql(he,_,L,Y,se):Ve?cl(he,L,Y,se):nd(he,at,_,L,G,Y,se,ce)}}async function Ul(b,_,L,G){let Y=b.matches.find(he=>he.shouldCallHandler());Vo(Y,"No action match found");let se,ce=await Y.resolve(async he=>await he(async()=>{let{data:Ae,status:Ve}=await _(b,L,G,[Y.route.id]);return se=Ve,Iu(Ae,Y.route.id)}));return Le(ce.result)||on(ce.result)||ms(ce.result)?{[Y.route.id]:ce}:{[Y.route.id]:{type:ce.type,result:ki(ce.result,se)}}}async function Ql(b,_,L,G,Y){let se=b.matches.filter(he=>he.shouldCallHandler()),ce={};return await Promise.all(se.map(he=>he.resolve(async Se=>{try{let{hasClientLoader:Ae}=_(he),Ve=he.route.id,at=Ae?await Se(async()=>{let{data:Tt}=await L(b,G,Y,[Ve]);return Iu(Tt,Ve)}):await Se();ce[he.route.id]={type:"data",result:at}}catch(Ae){ce[he.route.id]={type:"error",result:Ae}}}))),ce}async function nd(b,_,L,G,Y,se,ce,he=()=>!0){let Se=new Set,Ae=!1,Ve=b.matches.map(()=>Ga()),at=Ga(),Tt={},Ct=Promise.all(b.matches.map(async(vr,zt)=>vr.resolve(async Xr=>{Ve[zt].resolve();let qr=vr.route.id,{hasLoader:Dn,hasClientLoader:Nn,hasShouldRevalidate:Zn}=L(vr),nn=!vr.shouldRevalidateArgs||vr.shouldRevalidateArgs.actionStatus==null||vr.shouldRevalidateArgs.actionStatus<400;if(!vr.shouldCallHandler(nn)){Ae||(Ae=vr.shouldRevalidateArgs!=null&&Dn&&Zn===!0);return}if(he(vr)&&Nn){Dn&&(Ae=!0);try{let Qt=await Xr(async()=>{let{data:Kn}=await G(b,se,ce,[qr]);return Iu(Kn,qr)});Tt[qr]={type:"data",result:Qt}}catch(Qt){Tt[qr]={type:"error",result:Qt}}return}Dn&&Se.add(qr);try{let Qt=await Xr(async()=>{let Kn=await at.promise;return Iu(Kn,qr)});Tt[qr]={type:"data",result:Qt}}catch(Qt){Tt[qr]={type:"error",result:Qt}}})));if(await Promise.all(Ve.map(vr=>vr.promise)),(!_.state.initialized&&_.state.navigation.state==="idle"||Se.size===0)&&!window.__reactRouterHdrActive)at.resolve({routes:{}});else{let vr=Y&&Ae&&Se.size>0?[...Se.keys()]:void 0;try{let zt=await G(b,se,ce,vr);at.resolve(zt.data)}catch(zt){at.reject(zt)}}return await Ct,await bu(at.promise,b.matches,Se,Tt),Tt}async function bu(b,_,L,G){try{let Y,se=await b;if("routes"in se){for(let ce of _)if(ce.route.id in se.routes){let he=se.routes[ce.route.id];if("error"in he){Y=he.error,G[ce.route.id]?.result==null&&(G[ce.route.id]={type:"error",result:Y});break}}}Y!==void 0&&Array.from(L.values()).forEach(ce=>{G[ce].result instanceof Bl&&(G[ce].result=Y)})}catch{}}async function cl(b,_,L,G){let Y=b.matches.find(he=>he.shouldCallHandler());Vo(Y,"No fetcher match found");let se=Y.route.id,ce=await Y.resolve(async he=>he(async()=>{let{data:Se}=await _(b,L,G,[se]);return Iu(Se,se)}));return{[Y.route.id]:ce}}function Ju(b){let _=b.searchParams.getAll("index");b.searchParams.delete("index");let L=[];for(let G of _)G&&L.push(G);for(let G of L)b.searchParams.append("index",G);return b}function Xo(b,_,L,G){let Y=typeof b=="string"?new URL(b,typeof window>"u"?"server://singlefetch/":window.location.origin):b;return L?Y.pathname.endsWith("/")?Y.pathname=`${Y.pathname}_.${G}`:Y.pathname=`${Y.pathname}.${G}`:Y.pathname==="/"?Y.pathname=`_root.${G}`:_&&Nr(Y.pathname,_)==="/"?Y.pathname=`${Yr(_)}/_root.${G}`:Y.pathname=`${Yr(Y.pathname)}.${G}`,Y}async function Zu(b,_,L,G){let{request:Y}=b,se=Xo(Y.url,_,L,"data");Y.method==="GET"&&(se=Ju(se),G&&se.searchParams.set("_routes",G.join(",")));let ce=await fetch(se,await Ta(Y));if(ce.status>=400&&!ce.headers.has("X-Remix-Response"))throw new Di(ce.status,ce.statusText,await ce.text());if(ce.status===204&&ce.headers.has("X-Remix-Redirect"))return{status:yu,data:{redirect:{redirect:ce.headers.get("X-Remix-Redirect"),status:Number(ce.headers.get("X-Remix-Status")||"302"),revalidate:ce.headers.get("X-Remix-Revalidate")==="true",reload:ce.headers.get("X-Remix-Reload-Document")==="true",replace:ce.headers.get("X-Remix-Replace")==="true"}}};if(Nc.has(ce.status)){let he={};return G&&Y.method!=="GET"&&(he[G[0]]={data:void 0}),{status:ce.status,data:{routes:he}}}Vo(ce.body,"No response body to decode");try{let he=await yc(ce.body,window),Se;if(Y.method==="GET"){let Ae=he.value;vc in Ae?Se={redirect:Ae[vc]}:Se={routes:Ae}}else{let Ae=he.value,Ve=G?.[0];Vo(Ve,"No routeId found for single fetch call decoding"),"redirect"in Ae?Se={redirect:Ae}:Se={routes:{[Ve]:Ae}}}return{status:ce.status,data:Se}}catch{throw new Error("Unable to decode turbo-stream response")}}function yc(b,_){return Hn(b,{plugins:[(L,...G)=>
767{if(L==="SanitizedError"){let[Y,se,ce]=G,he=Error;Y&&_u.includes(Y)&&Y in _&&typeof _[Y]=="function"&&(he=_[Y]);let Se=new he(se);return Se.stack=ce,{value:Se}}if(L==="ErrorResponse"){let[Y,se,ce]=G;return{value:new Di(se,ce,Y)}}if(L==="SingleFetchRedirect")return{value:{[vc]:G[0]}};if(L==="SingleFetchClassInstance")return{value:G[0]};if(L==="SingleFetchFallback")return{value:void 0}}]})}function Iu(b,_){if("redirect"in b){let{redirect:G,revalidate:Y,reload:se,replace:ce,status:he}=b.redirect;throw Ur(G,{status:he,headers:{...Y?{"X-Remix-Revalidate":"yes"}:null,...se?{"X-Remix-Reload-Document":"yes"}:null,...ce?{"X-Remix-Replace":"yes"}:null}})}let L=b.routes[_];if(L==null)throw new Bl(`No result found for routeId "${_}"`);if("error"in L)throw L.error;if("data"in L)return L.data;throw new Error(`Invalid response found for routeId "${_}"`)}function Ga(){let b,_,L=new Promise((G,Y)=>{b=async se=>{G(se);try{await L}catch{}},_=async se=>{Y(se);try{await L}catch{}}});return{promise:L,resolve:b,reject:_}}async function qu(b,_){if(b.id in _)return _[b.id];try{let L=await import(b.module);return _[b.id]=L,L}catch(L){return console.error(`Error loading route module \`${b.module}\`, reloading page...`),console.error(L),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function vd(b,_,L){let G=b.map(se=>{let ce=_[se.route.id],he=L.routes[se.route.id];return[he&&he.css?he.css.map(Se=>({rel:"stylesheet",href:Se})):[],ce?.links?.()||[]]}).flat(2),Y=El(b,L);return Bc(G,Y)}function wn(b){return b.css?b.css.map(_=>({rel:"stylesheet",href:_})):[]}async function Fc(b){if(!b.css)return;let _=wn(b);await Promise.all(_.map(Jl))}async function id(b,_){if(!b.css&&!_.links||!zl())return;let L=[];if(b.css&&L.push(...wn(b)),_.links&&L.push(..._.links()),L.length===0)return;let G=[];for(let Y of L)!Oa(Y)&&Y.rel==="stylesheet"&&G.push({...Y,rel:"preload",as:"style"});await Promise.all(G.map(Jl))}async function Jl(b){return new Promise(_=>{if(b.media&&!window.matchMedia(b.media).matches||document.querySelector(`link[rel="stylesheet"][href="${b.href}"]`))return _();let L=document.createElement("link");Object.assign(L,b);function G(){document.head.contains(L)&&document.head.removeChild(L)}L.onload=()=>{G(),_()},L.onerror=()=>{G(),_()},document.head.appendChild(L)})}function Oa(b){return b!=null&&typeof b.page=="string"}function Zl(b){return b==null?!1:b.href==null?b.rel==="preload"&&typeof b.imageSrcSet=="string"&&typeof b.imageSizes=="string":typeof b.rel=="string"&&typeof b.href=="string"}async function ql(b,_,L){let G=await Promise.all(b.map(async Y=>{let se=_.routes[Y.route.id];if(se){let ce=await qu(se,L);return ce.links?ce.links():[]}return[]}));return Bc(G.flat(1).filter(Zl).filter(Y=>Y.rel==="stylesheet"||Y.rel==="preload").map(Y=>Y.rel==="stylesheet"?{...Y,rel:"prefetch",as:"style"}:{...Y,rel:"prefetch"}))}function xo(b,_,L,G,Y,se){let ce=(Se,Ae)=>L[Ae]?Se.route.id!==L[Ae].route.id:!0,he=(Se,Ae)=>L[Ae].pathname!==Se.pathname||L[Ae].route.path?.endsWith("*")&&L[Ae].params["*"]!==Se.params["*"];return se==="assets"?_.filter((Se,Ae)=>ce(Se,Ae)||he(Se,Ae)):se==="data"?_.filter((Se,Ae)=>{let Ve=G.routes[Se.route.id];if(!Ve||!Ve.hasLoader)return!1;if(ce(Se,Ae)||he(Se,Ae))return!0;if(Se.route.shouldRevalidate){let at=Se.route.shouldRevalidate({currentUrl:new URL(Y.pathname+Y.search+Y.hash,window.origin),currentParams:L[0]?.params||{},nextUrl:new URL(b,window.origin),nextParams:Se.params,defaultShouldRevalidate:!0});if(typeof at=="boolean")return at}return!0}):[]}function El(b,_,{includeHydrateFallback:L}={}){return el(b.map(G=>{let Y=_.routes[G.route.id];if(!Y)return[];let se=[Y.module];return Y.clientActionModule&&(se=se.concat(Y.clientActionModule)),Y.clientLoaderModule&&(se=se.concat(Y.clientLoaderModule)),L&&Y.hydrateFallbackModule&&(se=se.concat(Y.hydrateFallbackModule)),Y.imports&&(se=se.concat(Y.imports)),se}).flat(1))}function el(b){return[...new Set(b)]}function jl(b){let _={},L=Object.keys(b).sort();for(let G of L)_[G]=b[G];return _}function Bc(b,_){let L=new Set,G=new Set(_);return b.reduce((Y,se)=>{if(_&&!Oa(se)&&se.as==="script"&&se.href&&G.has(se.href))return Y;
767let he=JSON.stringify(jl(se));return L.has(he)||(L.add(he),Y.push({key:he,link:se})),Y},[])}var sa;function zl(){if(sa!==void 0)return sa;let b=document.createElement("link");return sa=b.relList.supports("preload"),b=null,sa}function tl(){return g.createElement(Ua,{title:"Loading...",renderScripts:!0},An?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 bc(b){let _={};return Object.values(b).forEach(L=>{if(L){let G=L.parentId||"";_[G]||(_[G]=[]),_[G].push(L)}}),_}function dl(b,_,L){let G=ec(_),Y=_.HydrateFallback&&(!L||b.id==="root")?_.HydrateFallback:b.id==="root"?tl:void 0,se=_.ErrorBoundary?_.ErrorBoundary:b.id==="root"?()=>m.createElement(Sc,{error:ui()}):void 0;return b.id==="root"&&_.Layout?{...G?{element:m.createElement(_.Layout,null,m.createElement(G,null))}:{Component:G},...se?{errorElement:m.createElement(_.Layout,null,m.createElement(se,null))}:{ErrorBoundary:se},...Y?{hydrateFallbackElement:m.createElement(_.Layout,null,m.createElement(Y,null))}:{HydrateFallback:Y}}:{Component:G,ErrorBoundary:se,HydrateFallback:Y}}function $l(b,_,L,G,Y="",se=bc(b),ce=Promise.resolve({Component:()=>null})){return(se[Y]||[]).map(he=>{let Se=_[he.id];Vo(Se,"No `routeModule` available to create server routes");let Ae={...dl(he,Se,G),caseSensitive:he.caseSensitive,id:he.id,index:he.index,path:he.path,handle:Se.handle,lazy:G?()=>ce:void 0,loader:he.hasLoader||he.hasClientLoader?()=>null:void 0},Ve=$l(b,_,L,G,he.id,se,ce);return Ve.length>0&&(Ae.children=Ve),Ae})}function yd(b,_,L,G,Y,se){return hl(_,L,G,Y,se,"",bc(_),b)}function rl(b,_){if(b==="loader"&&!_.hasLoader||b==="action"&&!_.hasAction){let G=`You are trying to call ${b==="action"?"serverAction()":"serverLoader()"} on a route that does not have a server ${b} (routeId: "${_.id}")`;throw console.error(G),new Di(400,"Bad Request",new Error(G),!0)}}function fl(b,_){let L=b==="clientAction"?"a":"an",G=`Route "${_}" does not have ${L} ${b}, but you are trying to submit to it. To fix this, please add ${L} \`${b}\` function to the route`;throw console.error(G),new Di(405,"Method Not Allowed",new Error(G),!0)}function hl(b,_,L,G,Y,se="",ce=bc(b),he){return(ce[se]||[]).map(Se=>{let Ae=_[Se.id];function Ve(qr){return Vo(typeof qr=="function","No single fetch function available for route handler"),qr()}function at(qr){return Se.hasLoader?Ve(qr):Promise.resolve(null)}function Tt(qr){if(!Se.hasAction)throw fl("action",Se.id);return Ve(qr)}function Ct(qr){import(qr)}function Lt(qr){qr.clientActionModule&&Ct(qr.clientActionModule),qr.clientLoaderModule&&Ct(qr.clientLoaderModule)}async function vr(qr){let Dn=_[Se.id],Nn=Dn?id(Se,Dn):Promise.resolve();try{return qr()}finally{await Nn}}let zt={id:Se.id,index:Se.index,path:Se.path};if(Ae){Object.assign(zt,{...zt,...dl(Se,Ae,Y),middleware:Ae.clientMiddleware,handle:Ae.handle,shouldRevalidate:Uc(zt.path,Ae,Se,G,he)});let qr=L&&L.loaderData&&Se.id in L.loaderData,Dn=qr?L?.loaderData?.[Se.id]:void 0,Nn=L&&L.errors&&Se.id in L.errors,Zn=Nn?L?.errors?.[Se.id]:void 0,nn=he==null&&(Ae.clientLoader?.hydrate===!0||!Se.hasLoader);zt.loader=async({request:Gr,params:Qt,context:Kn,unstable_pattern:Ds,unstable_url:Ai},hs)=>{try{return await vr(async()=>(Vo(Ae,"No `routeModule` available for critical-route loader"),Ae.clientLoader?Ae.clientLoader({request:Gr,params:Qt,context:Kn,unstable_pattern:Ds,unstable_url:Ai,async serverLoader(){if
774(rl("loader",Se),nn){if(qr)return Dn;if(Nn)throw Zn}return at(hs)}}):at(hs)))}finally{nn=!1}},zt.loader.hydrate=da(Se.id,Ae.clientLoader,Se.hasLoader,Y),zt.action=({request:Gr,params:Qt,context:Kn,unstable_pattern:Ds,unstable_url:Ai},hs)=>vr(async()=>{if(Vo(Ae,"No `routeModule` available for critical-route action"),!Ae.clientAction){if(Y)throw fl("clientAction",Se.id);return Tt(hs)}return Ae.clientAction({request:Gr,params:Qt,context:Kn,unstable_pattern:Ds,unstable_url:Ai,async serverAction(){return rl("action",Se),Tt(hs)}})})}else{Se.hasClientLoader||(zt.loader=(Nn,Zn)=>vr(()=>at(Zn))),Se.hasClientAction||(zt.action=(Nn,Zn)=>vr(()=>{if(Y)throw fl("clientAction",Se.id);return Tt(Zn)}));let qr;async function Dn(){return qr?await qr:(qr=(async()=>{(Se.clientLoaderModule||Se.clientActionModule)&&await new Promise(Zn=>setTimeout(Zn,0));let Nn=Tl(Se,_);return Lt(Se),await Nn})(),await qr)}zt.lazy={loader:Se.hasClientLoader?async()=>{let{clientLoader:Nn}=Se.clientLoaderModule?await import(Se.clientLoaderModule):await Dn();return Vo(Nn,"No `clientLoader` export found"),(Zn,nn)=>Nn({...Zn,async serverLoader(){return rl("loader",Se),at(nn)}})}:void 0,action:Se.hasClientAction?async()=>{let Nn=Se.clientActionModule?import(Se.clientActionModule):Dn();Lt(Se);let{clientAction:Zn}=await Nn;return Vo(Zn,"No `clientAction` export found"),(nn,Gr)=>Zn({...nn,async serverAction(){return rl("action",Se),Tt(Gr)}})}:void 0,middleware:Se.hasClientMiddleware?async()=>{let{clientMiddleware:Nn}=Se.clientMiddlewareModule?await import(Se.clientMiddlewareModule):await Dn();return Vo(Nn,"No `clientMiddleware` export found"),Nn}:void 0,shouldRevalidate:async()=>{let Nn=await Dn();return Uc(zt.path,Nn,Se,G,he)},handle:async()=>(await Dn()).handle,Component:async()=>(await Dn()).Component,ErrorBoundary:Se.hasErrorBoundary?async()=>(await Dn()).ErrorBoundary:void 0}}let Xr=hl(b,_,L,G,Y,Se.id,ce,he);return Xr.length>0&&(zt.children=Xr),zt})}function Uc(b,_,L,G,Y){if(Y)return pl(L.id,_.shouldRevalidate,Y);if(!G&&L.hasLoader&&!L.hasClientLoader){let se=b?Sn(b)[1].map(he=>he.paramName):[];const ce=he=>se.some(Se=>he.currentParams[Se]!==he.nextParams[Se]);if(_.shouldRevalidate){let he=_.shouldRevalidate;return Se=>he({...Se,defaultShouldRevalidate:ce(Se)})}else return he=>ce(he)}return _.shouldRevalidate}function pl(b,_,L){let G=!1;return Y=>G?_?_(Y):Y.defaultShouldRevalidate:(G=!0,L.has(b))}async function Tl(b,_){let L=qu(b,_),G=Fc(b),Y=await L;return await Promise.all([G,id(b,Y)]),{Component:ec(Y),ErrorBoundary:Y.ErrorBoundary,clientMiddleware:Y.clientMiddleware,clientAction:Y.clientAction,clientLoader:Y.clientLoader,handle:Y.handle,links:Y.links,meta:Y.meta,shouldRevalidate:Y.shouldRevalidate}}function ec(b){if(b.default==null)return;if(!(typeof b.default=="object"&&Object.keys(b.default).length===0))return b.default}function da(b,_,L,G){return G&&b!=="root"||_!=null&&(_.hydrate===!0||L!==!0)}var N=new Set,re=1e3,Ee=new Set,Ue=7680;function dt(b,_){return b.mode==="lazy"&&_===!0}function gr({sri:b,..._},L){let G=new Set(L.state.matches.map(he=>he.route.id)),Y=L.state.location.pathname.split("/").filter(Boolean),se=["/"];for(Y.pop();Y.length>0;)se.push(`/${Y.join("/")}`),Y.pop();se.forEach(he=>{let Se=Xe(L.routes,he,L.basename);Se&&Se.forEach(Ae=>G.add(Ae.route.id))});let ce=[...G].reduce((he,Se)=>Object.assign(he,{[Se]:_.routes[Se]}),{});return{..._,routes:ce,sri:b?!0:void 0}}function _n(b,_,L,G,Y,se,ce){if(dt(Y,G))return async({path:he,patch:Se,signal:Ae,fetcherKey:Ve})=>{if(Ee.has(he))return;let{state:at}=b();await Eo([he],Ve?window.location.href:le(at.navigation.location||at.location),_,L,G,se,ce,Y.manifestPath,Se,Ae)}}function Ki(b,_,L,G,Y,se){l.useEffect(()=>{if(!dt(Y,G)||window.navigator?.connection?.saveData===!0)return;function ce(Ve){let at=Ve.tagName==="FORM"?Ve.getAttribute("action"):Ve.getAttribute("href");if(!at)return;let Tt=Ve.tagName==="A"?Ve.pathname:new URL(at,window.location.origin).pathname;Ee.has(Tt)||N.add(Tt)}async function he(){document.querySelectorAll("a[data-discover], form[data-discover]").forEach(ce);let Ve=Array.from(N.keys()).filter(at=>Ee.has(at)?(N.delete(at),!1):!0);if(Ve.length!==0)try{await Eo(Ve,null,_,L,G,se,b.basename,Y.manifestPath,b.patchRoutes)}catch(at){console.error("Failed to fetch manifest patches",at)}}let Se=wl(he,100);he();let Ae=new MutationObserver(()=>Se());return Ae.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["data-discover","href","action"]}),()=>Ae.disconnect()},[G,se,_,L,b,Y])}function Gs(b,_){let L=b||"/__manifest";return _==null?L:_t([_,L])}var aa="react-router-manifest-version";async function Eo(b,_,L,G,Y,se,ce,he,Se,Ae){const Ve=new URLSearchParams;
774Ve.set("paths",b.sort().join(",")),Ve.set("version",L.version);let at=new URL(Gs(he,ce),window.location.origin);if(at.search=Ve.toString(),at.toString().length>Ue){N.clear();return}let Tt;try{let zt=await fetch(at,{signal:Ae});if(zt.ok){if(zt.status===204&&zt.headers.has("X-Remix-Reload-Document")){if(!_){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(aa)===L.version){console.error("Unable to discover routes due to manifest version mismatch.");return}sessionStorage.setItem(aa,L.version)}catch{}window.location.href=_,console.warn("Detected manifest version mismatch, reloading..."),await new Promise(()=>{})}else if(zt.status>=400)throw new Error(await zt.text())}else throw new Error(`${zt.status} ${zt.statusText}`);try{sessionStorage.removeItem(aa)}catch{}Tt=await zt.json()}catch(zt){if(Ae?.aborted)return;throw zt}let Ct=new Set(Object.keys(L.routes)),Lt=Object.values(Tt).reduce((zt,Xr)=>(Xr&&!Ct.has(Xr.id)&&(zt[Xr.id]=Xr),zt),{});Object.assign(L.routes,Lt),b.forEach(zt=>Pu(zt,Ee));let vr=new Set;Object.values(Lt).forEach(zt=>{zt&&(!zt.parentId||!Lt[zt.parentId])&&vr.add(zt.parentId)}),vr.forEach(zt=>Se(zt||null,hl(Lt,G,null,Y,se,zt)))}function Pu(b,_){if(_.size>=re){let L=_.values().next().value;_.delete(L)}_.add(b)}function wl(b,_){let L;return(...G)=>{window.clearTimeout(L),L=window.setTimeout(()=>b(...G),_)}}function jc(){let b=E.useContext(sr);return Vo(b,"You must render this element inside a <DataRouterContext.Provider> element"),b}function Hl(){let b=E.useContext(Cr);return Vo(b,"You must render this element inside a <DataRouterStateContext.Provider> element"),b}var _l=E.createContext(void 0);_l.displayName="FrameworkContext";function nl(){let b=E.useContext(_l);return Vo(b,"You must render this element inside a <HydratedRouter> element"),b}function Wl(b,_){let L=E.useContext(_l),[G,Y]=E.useState(!1),[se,ce]=E.useState(!1),{onFocus:he,onBlur:Se,onMouseEnter:Ae,onMouseLeave:Ve,onTouchStart:at}=_,Tt=E.useRef(null);E.useEffect(()=>{if(b==="render"&&ce(!0),b==="viewport"){let vr=Xr=>{Xr.forEach(qr=>{ce(qr.isIntersecting)})},zt=new IntersectionObserver(vr,{threshold:.5});return Tt.current&&zt.observe(Tt.current),()=>{zt.disconnect()}}},[b]),E.useEffect(()=>{if(G){let vr=setTimeout(()=>{ce(!0)},100);return()=>{clearTimeout(vr)}}},[G]);let Ct=()=>{Y(!0)},Lt=()=>{Y(!1),ce(!1)};return L?b!=="intent"?[se,Tt,{}]:[se,Tt,{onFocus:Qo(he,Ct),onBlur:Qo(Se,Lt),onMouseEnter:Qo(Ae,Ct),onMouseLeave:Qo(Ve,Lt),onTouchStart:Qo(at,Ct)}]:[!1,Tt,{}]}function Qo(b,_){return L=>{b&&b(L),L.defaultPrevented||_(L)}}function Al(b,_,L){if(L&&!fn)return[b[0]];if(_){let G=b.findIndex(Y=>_[Y.route.id]!==void 0);return b.slice(0,G+1)}return b}var S="data-react-router-critical-css";function ml({nonce:b,crossOrigin:_}){let{isSpaMode:L,manifest:G,routeModules:Y,criticalCss:se}=nl(),{errors:ce,matches:he}=Hl(),Se=Al(he,ce,L),Ae=u.useMemo(()=>vd(Se,Y,G),[Se,Y,G]);return u.createElement(u.Fragment,null,typeof se=="string"?u.createElement("style",{[S]:"",nonce:b,dangerouslySetInnerHTML:{__html:se}}):null,typeof se=="object"?u.createElement("link",{[S]:"",rel:"stylesheet",href:se.href,nonce:b,crossOrigin:_}):null,Ae.map(({key:Ve,link:at})=>Oa(at)?u.createElement(Qs,{key:Ve,nonce:b,...at,crossOrigin:at.crossOrigin??_}):u.createElement("link",{key:Ve,nonce:b,...at,crossOrigin:at.crossOrigin??_})))}function Qs({page:b,..._}){let L=Pe(),{router:G}=jc(),Y=E.useMemo(()=>Xe(G.routes,b,G.basename),[G.routes,b,G.basename]);return Y?L?E.createElement(bd,{page:b,matches:Y,..._}):E.createElement(sd,{page:b,matches:Y,..._}):null}function Fi(b){let{manifest:_,routeModules:L}=nl(),[G,Y]=E.useState([]);return E.useEffect(()=>{let se=!1;return ql(b,_,L).then(ce=>{se||Y(ce)}),()=>{se=!0}},[b,_,L]),G}function bd({page:b,matches:_,...L}){let G=hi(),{future:Y}=nl(),{basename:se}=jc(),ce=E.useMemo(()=>{if(b===G.pathname+G.search+G.hash)return[];let he=Xo(b,se,Y.unstable_trailingSlashAwareDataRequests,"rsc"),Se=!1,Ae=[];for(let Ve of _)typeof Ve.route.shouldRevalidate=="function"?Se=!0:Ae.push(Ve.route.id);return Se&&Ae.length>0&&he.searchParams.set("_routes",Ae.join(",")),[he.pathname+he.search]},[se,Y.unstable_trailingSlashAwareDataRequests,b,G,_]);return E.createElement(E.Fragment,null,ce.map(he=>E.createElement("link",{key:he,rel:"prefetch",as:"fetch",href:he,...L})))}function sd({page:b,matches:_,...L}){let G=hi(),{future:Y,manifest:se,routeModules:ce}=nl(),{basename:he}=jc(),{loaderData:Se,matches:Ae}=Hl(),Ve=E.useMemo(()=>xo(b,_,Ae,se,G,"data"),[b,_,Ae,se,G]),at=E.useMemo(()=>xo(b,_,Ae,se,G,"assets"),[b,_,Ae,se,G]),Tt=E.useMemo(()=>
774{if(b===G.pathname+G.search+G.hash)return[];let vr=new Set,zt=!1;if(_.forEach(qr=>{let Dn=se.routes[qr.route.id];!Dn||!Dn.hasLoader||(!Ve.some(Nn=>Nn.route.id===qr.route.id)&&qr.route.id in Se&&ce[qr.route.id]?.shouldRevalidate||Dn.hasClientLoader?zt=!0:vr.add(qr.route.id))}),vr.size===0)return[];let Xr=Xo(b,he,Y.unstable_trailingSlashAwareDataRequests,"data");return zt&&vr.size>0&&Xr.searchParams.set("_routes",_.filter(qr=>vr.has(qr.route.id)).map(qr=>qr.route.id).join(",")),[Xr.pathname+Xr.search]},[he,Y.unstable_trailingSlashAwareDataRequests,Se,G,se,Ve,_,b,ce]),Ct=E.useMemo(()=>El(at,se),[at,se]),Lt=Fi(at);return E.createElement(E.Fragment,null,Tt.map(vr=>E.createElement("link",{key:vr,rel:"prefetch",as:"fetch",href:vr,...L})),Ct.map(vr=>E.createElement("link",{key:vr,rel:"modulepreload",href:vr,...L})),Lt.map(({key:vr,link:zt})=>E.createElement("link",{key:vr,nonce:L.nonce,...zt,crossOrigin:zt.crossOrigin??L.crossOrigin})))}function zc(){let{isSpaMode:b,routeModules:_}=nl(),{errors:L,matches:G,loaderData:Y}=Hl(),se=hi(),ce=Al(G,L,b),he=null;L&&(he=L[ce[ce.length-1].route.id]);let Se=[],Ae=null,Ve=[];for(let at=0;at<ce.length;at++){let Tt=ce[at],Ct=Tt.route.id,Lt=Y[Ct],vr=Tt.params,zt=_[Ct],Xr=[],qr={id:Ct,data:Lt,loaderData:Lt,meta:[],params:Tt.params,pathname:Tt.pathname,handle:Tt.route.handle,error:he};if(Ve[at]=qr,zt?.meta?Xr=typeof zt.meta=="function"?zt.meta({data:Lt,loaderData:Lt,params:vr,location:se,matches:Ve,error:he}):Array.isArray(zt.meta)?[...zt.meta]:zt.meta:Ae&&(Xr=[...Ae]),Xr=Xr||[],!Array.isArray(Xr))throw new Error("The route at "+Tt.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`);qr.meta=Xr,Ve[at]=qr,Se=[...Xr],Ae=Se}return u.createElement(u.Fragment,null,Se.flat().map(at=>{if(!at)return null;if("tagName"in at){let{tagName:Tt,...Ct}=at;if(!nf(Tt))return console.warn(`A meta object uses an invalid tagName: ${Tt}. Expected either 'link' or 'meta'`),null;let Lt=Tt;return u.createElement(Lt,{key:JSON.stringify(Ct),...Ct})}if("title"in at)return u.createElement("title",{key:"title"},String(at.title));if("charset"in at&&(at.charSet??(at.charSet=at.charset),delete at.charset),"charSet"in at&&at.charSet!=null)return typeof at.charSet=="string"?u.createElement("meta",{key:"charSet",charSet:at.charSet}):null;if("script:ld+json"in at)try{let Tt=JSON.stringify(at["script:ld+json"]);return u.createElement("script",{key:`script:ld+json:${Tt}`,type:"application/ld+json",dangerouslySetInnerHTML:{__html:Yo(Tt)}})}catch{return null}return u.createElement("meta",{key:JSON.stringify(at),...at})}))}function nf(b){return typeof b=="string"&&/^(meta|link)$/.test(b)}var fn=!1;function ga(){fn=!0}function eo(b){let{manifest:_,serverHandoffString:L,isSpaMode:G,renderMeta:Y,routeDiscovery:se,ssr:ce}=nl(),{router:he,static:Se,staticContext:Ae}=jc(),{matches:Ve}=Hl(),at=Pe(),Tt=dt(se,ce);Y&&(Y.didRenderScripts=!0);let Ct=Al(Ve,null,G);E.useEffect(()=>{ga()},[]);let Lt=E.useMemo(()=>{if(at)return null;let qr=Ae?`window.__reactRouterContext = ${L};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",Dn=Se?`${_.hmr?.runtime?`import ${JSON.stringify(_.hmr.runtime)};`:""}${Tt?"":`import ${JSON.stringify(_.url)}`}; 777${Ct.map((Nn,Zn)=>{let nn=`route${Zn}`,Gr=_.routes[Nn.route.id];Vo(Gr,`Route ${Nn.route.id} not found in manifest`);let{clientActionModule:Qt,clientLoaderModule:Kn,clientMiddlewareModule:Ds,hydrateFallbackModule:Ai,module:hs}=Gr,ys=[...Qt?[{module:Qt,varName:`${nn}_clientAction`}]:[],...Kn?[{module:Kn,varName:`${nn}_clientLoader`}]:[],...Ds?[{module:Ds,varName:`${nn}_clientMiddleware`}]:[],...Ai?[{module:Ai,varName:`${nn}_HydrateFallback`}]:[],{module:hs,varName:`${nn}_main`}];if(ys.length===1)return`import * as ${nn} from ${JSON.stringify(hs)};`;let As=ys.map(oa=>`import * as ${oa.varName} from "${oa.module}";`).join(` 778`),rs=`const ${nn} = {${ys.map(oa=>`...${oa.varName}`).join(",")}};`;return[As,rs].join(` 779`)}).join(` 780`)} 781 ${Tt?`window.__reactRouterManifest = ${JSON.stringify(gr(_,he),null,2)};`:""} 782 window.__reactRouterRouteModules = {${Ct.map((Nn,Zn)=>`${JSON.stringify(Nn.route.id)}:route${Zn}`).join(",")}}; 783 784import(${JSON.stringify(_.entry.module)});`:" ";return E.createElement(E.Fragment,null,E.createElement("script",{...b,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:qr},type:void 0}),E.createElement("script",{...b,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:Dn},type:"module",async:!0}))},[]),vr=fn||at?[]:Ka(_.entry.imports.concat(El(Ct,_,{includeHydrateFallback:!0}))),zt=typeof _.sri=="object"?_.sri:{};return ua(!at,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),fn||at?null:E.createElement(E.Fragment,null,typeof _.sri=="object"?E.createElement("script",{...b,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:zt})}}):null,Tt?null:E.createElement("link",{rel:"modulepreload",href:_.url,crossOrigin:b.crossOrigin,integrity:zt[_.url],suppressHydrationWarning:!0}),E.createElement("link",{rel:"modulepreload",href:_.entry.module,crossOrigin:b.crossOrigin,integrity:zt[_.entry.module],suppressHydrationWarning:!0}),vr.map(Xr=>E.createElement("link",{key:Xr,rel:"modulepreload",href:Xr,crossOrigin:b.crossOrigin,integrity:zt[Xr],suppressHydrationWarning:!0})),Lt)}function Ka(b){return[...new Set(b)]}function Zs(...b){return _=>{b.forEach(L=>{typeof L=="function"?L(_):L!=null&&(L.current=_)})}}
784var Cl=class extends E.Component{constructor(b){super(b),this.state={error:b.error||null,location:b.location}}static getDerivedStateFromError(b){return{error:b}}static getDerivedStateFromProps(b,_){return _.location!==b.location?{error:b.error||null,location:b.location}:{error:b.error||_.error,location:_.location}}render(){return this.state.error?E.createElement(Sc,{error:this.state.error,isOutsideRemixApp:!0}):this.props.children}};function Sc({error:b,isOutsideRemixApp:_}){console.error(b);let L=E.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(on(b))return E.createElement(Ua,{title:"Unhandled Thrown Response!"},E.createElement("h1",{style:{fontSize:"24px"}},b.status," ",b.statusText),An?L:null);let G;if(b instanceof Error)G=b;else{let Y=b==null?"Unknown Error":typeof b=="object"&&"toString"in b?b.toString():JSON.stringify(b);G=new Error(Y)}return E.createElement(Ua,{title:"Application Error!",isOutsideRemixApp:_},E.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),E.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},G.stack),L)}function Ua({title:b,renderScripts:_,isOutsideRemixApp:L,children:G}){let{routeModules:Y}=nl();return Y.root?.Layout&&!L?G:E.createElement("html",{lang:"en"},E.createElement("head",null,E.createElement("meta",{charSet:"utf-8"}),E.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),E.createElement("title",null,b)),E.createElement("body",null,E.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},G,_?E.createElement(eo,null):null)))}var Ru=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Ru&&(window.__reactRouterVersion="7.14.2")}catch{}function Ol(b,_){return zn({basename:_?.basename,getContext:_?.getContext,future:_?.future,history:H({window:_?.window}),hydrationData:_?.hydrationData||gl(),routes:b,mapRouteProperties:ul,hydrationRouteProperties:Io,dataStrategy:_?.dataStrategy,patchRoutesOnNavigation:_?.patchRoutesOnNavigation,window:_?.window,unstable_instrumentations:_?.unstable_instrumentations}).initialize()}function xc(b,_){return zn({basename:_?.basename,getContext:_?.getContext,future:_?.future,history:U({window:_?.window}),hydrationData:_?.hydrationData||gl(),routes:b,mapRouteProperties:ul,hydrationRouteProperties:Io,dataStrategy:_?.dataStrategy,patchRoutesOnNavigation:_?.patchRoutesOnNavigation,window:_?.window,unstable_instrumentations:_?.unstable_instrumentations}).initialize()}function gl(){let b=window?.__staticRouterHydrationData;return b&&b.errors&&(b={...b,errors:Sd(b.errors)}),b}function Sd(b){if(!b)return null;let _=Object.entries(b),L={};for(let[G,Y]of _)if(Y&&Y.__type==="RouteErrorResponse")L[G]=new Di(Y.status,Y.statusText,Y.data,Y.internal===!0);else if(Y&&Y.__type==="Error"){if(Y.__subType){let se=window[Y.__subType];if(typeof se=="function")try{let ce=new se(Y.message);ce.stack="",L[G]=ce}catch{}}if(L[G]==null){let se=new Error(Y.message);se.stack="",L[G]=se}}else L[G]=Y;return L}function tc({basename:b,children:_,unstable_useTransitions:L,window:G}){let Y=h.useRef();Y.current==null&&(Y.current=H({window:G,v5Compat:!0}));let se=Y.current,[ce,he]=h.useState({action:se.action,location:se.location}),Se=h.useCallback(Ae=>{L===!1?he(Ae):h.startTransition(()=>he(Ae))},[L]);return h.useLayoutEffect(()=>se.listen(Se),[se,Se]),h.createElement(gt,{basename:b,children:_,location:ce.location,navigationType:ce.action,navigator:se,unstable_useTransitions:L})}function jd({basename:b,children:_,unstable_useTransitions:L,window:G}){let Y=E.useRef();Y.current==null&&(Y.current=U({window:G,v5Compat:!0}));let se=Y.current,[ce,he]=E.useState({action:se.action,location:se.location}),Se=E.useCallback(Ae=>{L===!1?he(Ae):E.startTransition(()=>he(Ae))},[L]);return E.useLayoutEffect(()=>se.listen(Se),[se,Se]),E.createElement(gt,{basename:b,children:_,location:ce.location,navigationType:ce.action,navigator:se,unstable_useTransitions:L})}function zd({basename:b,children:_,history:L,unstable_useTransitions:G}){let[Y,se]=E.useState({action:L.action,location:L.location}),ce=E.useCallback(he=>{G===!1?se(he):E.startTransition(()=>se(he))},[G]);return E.useLayoutEffect(()=>L.listen(ce),[L,ce]),E.createElement(gt,{basename:b,children:_,location:Y.location,navigationType:Y.action,navigator:L,unstable_useTransitions:G})}zd.displayName="unstable_HistoryRouter";var vl=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,$c=E.forwardRef(function({onClick:_,discover:L="render",prefetch:G="none",relative:Y,reloadDocument:se,replace:ce,unstable_mask:he,state:Se,target:Ae,to:Ve,preventScrollReset:at,viewTransition:Tt,unstable_defaultShouldRevalidate:Ct,...Lt},vr){let{basename:zt,navigator:Xr,unstable_useTransitions:qr}=E.useContext(Gt),Dn=typeof Ve=="string"&&vl.test(Ve),Nn=ri(Ve,zt);Ve=Nn.to;let Zn=Ci(Ve,{relative:Y}),nn=hi(),Gr=null;if(he){let rs=tr(he,[],nn.unstable_mask?nn.unstable_mask.pathname:"/",!0);zt!=="/"&&(rs.pathname=rs.pathname==="/"?zt:_t([zt,rs.pathname])),Gr=Xr.createHref(rs)}let[Qt,Kn,Ds]=Wl(G,Lt),Ai=$d(Ve,{replace:ce,unstable_mask:he,state:Se,target:Ae,preventScrollReset:at,relative:Y,viewTransition:Tt,unstable_defaultShouldRevalidate:Ct,unstable_useTransitions:qr});function hs(rs){_&&_(rs),rs.defaultPrevented||Ai(rs)}let ys=!(Nn.isExternal||se),As=E.createElement("a",{...Lt,...Ds,href:(ys?Gr:void 0)||Nn.absoluteURL||Zn,onClick:ys?hs:_,ref:Zs(vr,Kn),target:Ae,"data-discover":!Dn&&L==="render"?"true":void 0});return Qt&&!Dn?E.createElement(E.Fragment,null,As,E.createElement(Qs,{page:Zn})):As});$c.displayName="Link";var il=E.forwardRef(function({"aria-current":_="page",caseSensitive:L=!1,className:G="",end:Y=!1,style:se,to:ce,viewTransition:he,children:Se,...Ae},Ve){let at=$(ce,{relative:Ae.relative}),Tt=hi(),Ct=E.useContext(Cr),{navigator:Lt,basename:vr}=E.useContext(Gt),zt=Ct!=null&&Ed(at)&&he===!0,Xr=Lt.encodeLocation?Lt.encodeLocation(at).pathname:at.pathname,qr=Tt.pathname,Dn=Ct&&Ct.navigation&&Ct.navigation.location?Ct.navigation.location.pathname:null;L||(qr=qr.toLowerCase(),Dn=Dn?Dn.toLowerCase():null,Xr=Xr.toLowerCase()),Dn&&vr&&(Dn=Nr(Dn,vr)||Dn);const Nn=Xr!=="/"&&Xr.endsWith("/")?Xr.length-1:Xr.length;let Zn=qr===Xr||!Y&&qr.startsWith(Xr)&&qr.charAt(Nn)==="/",nn=Dn!=null&&(Dn===Xr||!Y&&Dn.startsWith(Xr)&&Dn.charAt(Xr.length)==="/"),Gr={isActive:Zn,isPending:nn,isTransitioning:zt},Qt=Zn?_:void 0,Kn;
788typeof G=="function"?Kn=G(Gr):Kn=[G,Zn?"active":null,nn?"pending":null,zt?"transitioning":null].filter(Boolean).join(" ");let Ds=typeof se=="function"?se(Gr):se;return E.createElement($c,{...Ae,"aria-current":Qt,className:Kn,ref:Ve,style:Ds,to:ce,viewTransition:he},typeof Se=="function"?Se(Gr):Se)});il.displayName="NavLink";var eu=E.forwardRef(({discover:b="render",fetcherKey:_,navigate:L,reloadDocument:G,replace:Y,state:se,method:ce=Is,action:he,onSubmit:Se,relative:Ae,preventScrollReset:Ve,viewTransition:at,unstable_defaultShouldRevalidate:Tt,...Ct},Lt)=>{let{unstable_useTransitions:vr}=E.useContext(Gt),zt=Hc(),Xr=yl(he,{relative:Ae}),qr=ce.toLowerCase()==="get"?"get":"post",Dn=typeof he=="string"&&vl.test(he),Nn=Zn=>{if(Se&&Se(Zn),Zn.defaultPrevented)return;Zn.preventDefault();let nn=Zn.nativeEvent.submitter,Gr=nn?.getAttribute("formmethod")||ce,Qt=()=>zt(nn||Zn.currentTarget,{fetcherKey:_,method:Gr,navigate:L,replace:Y,state:se,relative:Ae,preventScrollReset:Ve,viewTransition:at,unstable_defaultShouldRevalidate:Tt});vr&&L!==!1?E.startTransition(()=>Qt()):Qt()};return E.createElement("form",{ref:Lt,method:qr,action:Xr,onSubmit:G?Se:Nn,...Ct,"data-discover":!Dn&&b==="render"?"true":void 0})});eu.displayName="Form";function to({getKey:b,storageKey:_,...L}){let G=E.useContext(_l),{basename:Y}=E.useContext(Gt),se=hi(),ce=cs();Sf({getKey:b,storageKey:_});let he=E.useMemo(()=>{if(!G||!b)return null;let Ae=Wc(se,ce,Y,b);return Ae!==se.key?Ae:null},[]);if(!G||G.isSpaMode)return null;let Se=((Ae,Ve)=>{if(!window.history.state||!window.history.state.key){let at=Math.random().toString(32).slice(2);window.history.replaceState({key:at},"")}try{let Tt=JSON.parse(sessionStorage.getItem(Ae)||"{}")[Ve||window.history.state.key];typeof Tt=="number"&&window.scrollTo(0,Tt)}catch(at){console.error(at),sessionStorage.removeItem(Ae)}}).toString();return E.createElement("script",{...L,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${Se})(${Yo(JSON.stringify(_||Jo))}, ${Yo(JSON.stringify(he))})`}})}to.displayName="ScrollRestoration";function ja(b){return`${b} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lu(b){let _=E.useContext(sr);return W(_,ja(b)),_}function rc(b){let _=E.useContext(Cr);return W(_,ja(b)),_}function $d(b,{target:_,replace:L,unstable_mask:G,state:Y,preventScrollReset:se,relative:ce,viewTransition:he,unstable_defaultShouldRevalidate:Se,unstable_useTransitions:Ae}={}){let Ve=ma(),at=hi(),Tt=$(b,{relative:ce});return E.useCallback(Ct=>{if(Uu(Ct,_)){Ct.preventDefault();let Lt=L!==void 0?L:le(at)===le(Tt),vr=()=>Ve(b,{replace:Lt,unstable_mask:G,state:Y,preventScrollReset:se,relative:ce,viewTransition:he,unstable_defaultShouldRevalidate:Se});Ae?E.startTransition(()=>vr()):vr()}},[at,Ve,Tt,L,G,Y,_,b,se,ce,he,Se,Ae])}function Wu(b){X(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 _=E.useRef(go(b)),L=E.useRef(!1),G=hi(),Y=E.useMemo(()=>ju(G.search,L.current?null:_.current),[G.search]),se=ma(),ce=E.useCallback((he,Se)=>{const Ae=go(typeof he=="function"?he(new URLSearchParams(Y)):he);L.current=!0,se("?"+Ae,Se)},[se,Y]);return[Y,ce]}var ad=0,Vl=()=>`__${String(++ad)}__`;function Hc(){let{router:b}=lu("useSubmit"),{basename:_}=E.useContext(Gt),L=_i(),G=b.fetch,Y=b.navigate;return E.useCallback(async(se,ce={})=>{let{action:he,method:Se,encType:Ae,formData:Ve,body:at}=Ze(se,_);if(ce.navigate===!1){let Tt=ce.fetcherKey||Vl();await G(Tt,L,ce.action||he,{unstable_defaultShouldRevalidate:ce.unstable_defaultShouldRevalidate,preventScrollReset:ce.preventScrollReset,formData:Ve,body:at,formMethod:ce.method||Se,formEncType:ce.encType||Ae,flushSync:ce.flushSync})}else await Y(ce.action||he,{unstable_defaultShouldRevalidate:ce.unstable_defaultShouldRevalidate,preventScrollReset:ce.preventScrollReset,formData:Ve,body:at,formMethod:ce.method||Se,formEncType:ce.encType||Ae,replace:ce.replace,state:ce.state,fromRouteId:L,flushSync:ce.flushSync,viewTransition:ce.viewTransition})},[G,Y,_,L])}function yl(b,{relative:_}={}){let{basename:L}=E.useContext(Gt),G=E.useContext(ur);W(G,"useFormAction must be used inside a RouteContext");let[Y]=G.matches.slice(-1),se={...$(b||".",{relative:_})},ce=hi();if(b==null){se.search=ce.search;
788let he=new URLSearchParams(se.search),Se=he.getAll("index");if(Se.some(Ve=>Ve==="")){he.delete("index"),Se.filter(at=>at).forEach(at=>he.append("index",at));let Ve=he.toString();se.search=Ve?`?${Ve}`:""}}return(!b||b===".")&&Y.route.index&&(se.search=se.search?se.search.replace(/^\?/,"?index&"):"?index"),L!=="/"&&(se.pathname=se.pathname==="/"?L:_t([L,se.pathname])),le(se)}function Hd({key:b}={}){let{router:_}=lu("useFetcher"),L=rc("useFetcher"),G=h.useContext(it),Y=h.useContext(ur),se=Y.matches[Y.matches.length-1]?.route.id;W(G,"useFetcher must be used inside a FetchersContext"),W(Y,"useFetcher must be used inside a RouteContext"),W(se!=null,'useFetcher can only be used on routes that contain a unique "id"');let ce=h.useId(),[he,Se]=h.useState(b||ce);b&&b!==he&&Se(b);let{deleteFetcher:Ae,getFetcher:Ve,resetFetcher:at,fetch:Tt}=_;h.useEffect(()=>(Ve(he),()=>Ae(he)),[Ae,Ve,he]);let Ct=h.useCallback(async(Zn,nn)=>{W(se,"No routeId available for fetcher.load()"),await Tt(he,se,Zn,nn)},[he,se,Tt]),Lt=Hc(),vr=h.useCallback(async(Zn,nn)=>{await Lt(Zn,{...nn,navigate:!1,fetcherKey:he})},[he,Lt]),zt=h.useCallback(Zn=>at(he,Zn),[at,he]),Xr=h.useMemo(()=>
788{let Zn=h.forwardRef((nn,Gr)=>h.createElement(eu,{...nn,navigate:!1,fetcherKey:he,ref:Gr}));return Zn.displayName="fetcher.Form",Zn},[he]),qr=L.fetchers.get(he)||gs,Dn=G.get(he);return h.useMemo(()=>({Form:Xr,submit:vr,load:Ct,reset:zt,...qr,data:Dn}),[Xr,vr,Ct,zt,qr,Dn])}function sf(){let b=rc("useFetchers");return Array.from(b.fetchers.entries()).map(([_,L])=>({...L,key:_}))}var Jo="react-router-scroll-positions",za={};function Wc(b,_,L,G){let Y=null;return G&&(L!=="/"?Y=G({...b,pathname:Nr(b.pathname,L)||b.pathname},_):Y=G(b,_)),Y==null&&(Y=b.key),Y}function Sf({getKey:b,storageKey:_}={}){let{router:L}=lu("useScrollRestoration"),{restoreScrollPosition:G,preventScrollReset:Y}=rc("useScrollRestoration"),{basename:se}=E.useContext(Gt),ce=hi(),he=cs(),Se=qn();E.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),bl(E.useCallback(()=>{if(Se.state==="idle"){let Ae=Wc(ce,he,se,b);za[Ae]=window.scrollY}try{sessionStorage.setItem(_||Jo,JSON.stringify(za))}catch(Ae){X(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${Ae}).`)}window.history.scrollRestoration="auto"},[Se.state,b,se,ce,he,_])),typeof document<"u"&&(E.useLayoutEffect(()=>{try{let Ae=sessionStorage.getItem(_||Jo);Ae&&(za=JSON.parse(Ae))}catch{}},[_]),E.useLayoutEffect(()=>{let Ae=L?.enableScrollRestoration(za,()=>window.scrollY,b?(Ve,at)=>Wc(Ve,at,se,b):void 0);return()=>Ae&&Ae()},[L,se,b]),E.useLayoutEffect(()=>{if(G!==!1){if(typeof G=="number"){window.scrollTo(0,G);return}try{if(ce.hash){let Ae=document.getElementById(decodeURIComponent(ce.hash.slice(1)));if(Ae){Ae.scrollIntoView();return}}}catch{X(!1,`"${ce.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}Y!==!0&&window.scrollTo(0,0)}},[ce,G,Y]))}function xd(b,_){let{capture:L}=_||{};h.useEffect(()=>{let G=L!=null?{capture:L}:void 0;return window.addEventListener("beforeunload",b,G),()=>{window.removeEventListener("beforeunload",b,G)}},[b,L])}function bl(b,_){let{capture:L}=_||{};E.useEffect(()=>{let G=L!=null?{capture:L}:void 0;return window.addEventListener("pagehide",b,G),()=>{window.removeEventListener("pagehide",b,G)}},[b,L])}function Ec({when:b,message:_}){let L=na(b);h.useEffect(()=>{L.state==="blocked"&&(window.confirm(_)?setTimeout(L.proceed,0):L.reset())},[L,_]),h.useEffect(()=>{L.state==="blocked"&&!b&&L.reset()},[L,b])}function Ed(b,{relative:_}={}){let L=E.useContext(Be);W(L!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:G}=lu("useViewTransitionState"),Y=$(b,{relative:_});if(!L.isTransitioning)return!1;let se=Nr(L.currentLocation.pathname,G)||L.currentLocation.pathname,ce=Nr(L.nextLocation.pathname,G)||L.nextLocation.pathname;return qt(Y.pathname,ce)!=null||qt(Y.pathname,se)!=null}function ph({basename:b,children:_,location:L="/"}){typeof L=="string"&&(L=pe(L));let G="POP",Y={pathname:L.pathname||"/",search:L.search||"",hash:L.hash||"",state:L.state!=null?L.state:null,key:L.key||"default",unstable_mask:void 0},se=nc();return v.createElement(gt,{basename:b,children:_,location:Y,navigationType:G,navigator:se,static:!0,unstable_useTransitions:!1})}function od({context:b,router:_,hydrate:L=!0,nonce:G}){W(_&&b,"You must provide `router` and `context` to <StaticRouterProvider>");let Y={router:_,navigator:nc(),static:!0,staticContext:b,basename:b.basename||"/"},se=new Map,ce="";if(L!==!1){let Se={loaderData:b.loaderData,actionData:b.actionData,errors:Vc(b.errors)};ce=`window.__staticRouterHydrationData = JSON.parse(${Yo(JSON.stringify(JSON.stringify(Se)))});`}let{state:he}=Y.router;return v.createElement(v.Fragment,null,v.createElement(sr.Provider,{value:Y},v.createElement(Cr.Provider,{value:he},v.createElement(it.Provider,{value:se},v.createElement(Be.Provider,{value:{isTransitioning:!1}},v.createElement(gt,{basename:Y.basename,location:he.location,navigationType:he.historyAction,navigator:Y.navigator,static:Y.static,unstable_useTransitions:!1},v.createElement(ku,{routes:_.routes,future:_.future,state:he,isStatic:!0})))))),ce?v.createElement("script",{suppressHydrationWarning:!0,nonce:G,dangerouslySetInnerHTML:{__html:ce}}):null)}function Vc(b){if(!b)return null;let _=Object.entries(b),L={};for(let[G,Y]of _)on(Y)?L[G]={...Y,__type:"RouteErrorResponse"}:Y instanceof Error?L[G]={message:Y.message,__type:"Error",...Y.name!=="Error"?{__subType:Y.name}:{}}:L[G]=Y;return L}function nc(){return{createHref:Da,encodeLocation:ic,push(b){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(b)})\` somewhere in your app.`)},replace(b){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(b)}, { replace: true })\` somewhere in your app.`)},go(b){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(${b})\` 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 Du(b,_){return $n(b,{..._,mapRouteProperties:ul})}function Td(b,_,L={}){let G={},Y=ke(b,ul,void 0,G),se=_.matches.map(he=>{let Se=G[he.route.id]||he.route;return{...he,route:Se}}),ce=he=>`You cannot use router.${he}() on the server because it is a stateless environment`;return{get basename(){return _.basename},get future(){return{v8_middleware:!1,unstable_passThroughRequests:!1,...L?.future}},get state(){return{historyAction:"POP",location:_.location,matches:se,loaderData:_.loaderData,actionData:_.actionData,errors:_.errors,initialized:!0,renderFallback:!1,navigation:$i,restoreScrollPosition:null,preventScrollReset:!1,revalidation:"idle",fetchers:new Map,blockers:new Map}},get routes(){return Y},get window(){},initialize(){throw ce("initialize")},subscribe(){throw ce("subscribe")},enableScrollRestoration(){throw ce("enableScrollRestoration")},navigate(){throw ce("navigate")},fetch(){throw ce("fetch")},revalidate(){throw ce("revalidate")},createHref:Da,encodeLocation:ic,getFetcher(){return gs},deleteFetcher(){throw ce("deleteFetcher")},resetFetcher(){throw ce("resetFetcher")},dispose(){throw ce("dispose")},getBlocker(){return vs},deleteBlocker(){throw ce("deleteBlocker")},patchRoutes(){throw ce("patchRoutes")},_internalFetchControllers:new Map,_internalSetRoutes(){throw ce("_internalSetRoutes")},_internalSetStateDoNotUseOrYouWillBreakYourApp(){throw ce("_internalSetStateDoNotUseOrYouWillBreakYourApp")}}}function Da(b){return typeof b=="string"?b:le(b)}function ic(b){let _=typeof b=="string"?b:le(b);_=_.replace(/ $/,"%20");let L=z.test(_)?new URL(_):new URL(_,"http://localhost");return{pathname:L.pathname,search:L.search,hash:L.hash}}var z=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i},18398(f,d,e){"use strict";e.d(d,{HY:()=>B,Tw:()=>U,Zz:()=>H,y$:()=>w});function n(X){return`Minified Redux error #${X}; visit https://redux.js.org/Errors?code=${X} 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(X){if(typeof X!="object"||X===null)return!1;let te=X;for(;Object.getPrototypeOf(te)!==null;)te=Object.getPrototypeOf(te);return Object.getPrototypeOf(X)===te||Object.getPrototypeOf(X)===null}function m(X){if(X===void 0)return"undefined";if(X===null)return"null";const te=typeof X;switch(te){case"boolean":case"string":case"number":case"symbol":case"function":return te}if(Array.isArray(X))return"array";if(v(X))return"date";if(h(X))return"error";
788const q=g(X);switch(q){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return q}return Object.prototype.toString.call(X).slice(8,-1).toLowerCase().replace(/\s/g,"")}function g(X){return typeof X.constructor=="function"?X.constructor.name:null}function h(X){return X instanceof Error||typeof X.message=="string"&&X.constructor&&typeof X.constructor.stackTraceLimit=="number"}function v(X){return X instanceof Date?!0:typeof X.toDateString=="function"&&typeof X.getDate=="function"&&typeof X.setDate=="function"}function E(X){return typeof X}function w(X,te,q){if(typeof X!="function")throw new Error(n(2));if(typeof te=="function"&&typeof q=="function"||typeof q=="function"&&typeof arguments[3]=="function")throw new Error(n(0));if(typeof te=="function"&&typeof q>"u"&&(q=te,te=void 0),typeof q<"u"){if(typeof q!="function")throw new Error(n(1));return q(w)(X,te)}let ae=X,le=te,pe=new Map,ge=pe,Ie=0,Ce=!1;function Je(){ge===pe&&(ge=new Map,pe.forEach((ke,Ge)=>{ge.set(Ge,ke)}))}function qe(){if(Ce)throw new Error(n(3));return le}function ye(ke){if(typeof ke!="function")throw new Error(n(4));if(Ce)throw new Error(n(5));let Ge=!0;Je();const Xe=Ie++;return ge.set(Xe,ke),function(){if(Ge){if(Ce)throw new Error(n(6));Ge=!1,Je(),ge.delete(Xe),pe=null}}}function xe(ke){if(!l(ke))throw new Error(n(7));if(typeof ke.type>"u")throw new Error(n(8));if(typeof ke.type!="string")throw new Error(n(17));if(Ce)throw new Error(n(9));try{Ce=!0,le=ae(le,ke)}finally{Ce=!1}return(pe=ge).forEach(Xe=>{Xe()}),ke}function De(ke){if(typeof ke!="function")throw new Error(n(10));ae=ke,xe({type:u.REPLACE})}function Fe(){const ke=ye;return{subscribe(Ge){if(typeof Ge!="object"||Ge===null)throw new Error(n(11));function Xe(){const yt=Ge;yt.next&&yt.next(qe())}return Xe(),{unsubscribe:ke(Xe)}},[a](){return this}}}return xe({type:u.INIT}),{dispatch:xe,subscribe:ye,getState:qe,replaceReducer:De,[a]:Fe}}function T(X,te,q){return w(X,te,q)}function C(X){typeof console<"u"&&typeof console.error=="function"&&console.error(X);try{throw new Error(X)}catch{}}function O(X,te,q,ae){const le=Object.keys(te),pe=q&&q.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(X))return`The ${pe} has unexpected type of "${E(X)}". Expected argument to be an object with the following keys: "${le.join('", "')}"`;const ge=Object.keys(X).filter(Ie=>!te.hasOwnProperty(Ie)&&!ae[Ie]);if(ge.forEach(Ie=>{ae[Ie]=!0}),!(q&&q.type===u.REPLACE)&&ge.length>0)return`Unexpected ${ge.length>1?"keys":"key"} "${ge.join('", "')}" found in ${pe}. Expected to find one of the known reducer keys instead: "${le.join('", "')}". Unexpected keys will be ignored.`}function R(X){Object.keys(X).forEach(te=>{const q=X[te];if(typeof q(void 0,{type:u.INIT})>"u")throw new Error(n(12));if(typeof q(void 0,{type:u.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(n(13))})}function B(X){const te=Object.keys(X),q={};for(let ge=0;ge<te.length;ge++){const Ie=te[ge];typeof X[Ie]=="function"&&(q[Ie]=X[Ie])}const ae=Object.keys(q);let le,pe;try{R(q)}catch(ge){pe=ge}return function(Ie={},Ce){if(pe)throw pe;let Je=!1;const qe={};for(let ye=0;ye<ae.length;ye++){const xe=ae[ye],De=q[xe],Fe=Ie[xe],be=De(Fe,Ce);if(typeof be>"u"){const ke=Ce&&Ce.type;throw new Error(n(14))}qe[xe]=be,Je=Je||be!==Fe}return Je=Je||ae.length!==Object.keys(Ie).length,Je?qe:Ie}}function M(X,te){return function(...q){return te(X.apply(this,q))}}function F(X,te){if(typeof X=="function")return M(X,te);if(typeof X!="object"||X===null)throw new Error(n(16));const q={};for(const ae in X){const le=X[ae];typeof le=="function"&&(q[ae]=M(le,te))}return q}function H(...X){return X.length===0?te=>te:X.length===1?X[0]:X.reduce((te,q)=>(...ae)=>te(q(...ae)))}function U(...X){return te=>(q,ae)=>{const le=te(q,ae);let pe=()=>{throw new Error(n(15))};const ge={getState:le.getState,dispatch:(Ce,...Je)=>pe(Ce,...Je)},Ie=X.map(Ce=>Ce(ge));return pe=H(...Ie)(le.dispatch),{...le,dispatch:pe}}}function W(X){return l(X)&&"type"in X&&typeof X.type=="string"}},71178(f,d,e){"use strict";e.d(d,{L:()=>f1});var n=e(1463),r=e(9608);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 A=i(p);if(A.length===0)return;const D=p.getChild("BigPlayButton"),ue=p.el()?.classList.contains("vjs-playing")?A[0]:D??A[0],Te=A[A.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"),A=c.el()?.querySelector(".vjs-playback-rate-value");if(y!=null&&A!=null){const K=c.el()?.querySelector("button"),ue=()=>{const Te=p!=null&&p!==""?p:t.localize("Playback Rate"),We=t.playbackRate();y.textContent=`${Te} ${We}x`,K?.removeAttribute("aria-describedby")};t.on("ratechange",ue),t.on("languagechange",ue),y.setAttribute("aria-atomic","true"),A.setAttribute("aria-hidden","true"),K?.removeAttribute("aria-describedby")}const D=c.el();if(D!=null){const K=ue=>{if(ue.key!=="Escape"||!D.contains(document.activeElement))return;D.querySelector("button")?.getAttribute("aria-expanded")==="true"&&c?.focus()};return document.addEventListener("keydown",K,!0),()=>{document.removeEventListener("keydown",K,!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 A=c.getChild("ControlBar")?.getChild("ProgressControl")?.getChild("SeekBar");if(A==null)return;const D=A.el();if(D==null)return;const K=c.localize("Progress Bar"),ue=t!=null&&t!==""?t:K,Te=o!=null&&o!==""?o:ue,We=p?ue:Te;D.setAttribute("aria-label",We)},[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=A=>{if(A.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 E({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 w({children:p,player:t}){const o=r.useRef(new Map);r.useEffect(()=>{if(t==null)return;const c=T(p),y=new Set(c.map(K=>K.src));for(const[K,ue]of o.current)y.has(K)||(t.removeRemoteTextTrack(ue),o.current.delete(K));const A=t.textTracks(),D=new Set;for(const K of Array.from(A))D.add(`${K?.label??""}|${K?.language??""}`);for(const K of c){const ue=`${K.label}|${K.language}`;if(!o.current.has(K.src)&&!D.has(ue)){const Te=t.addRemoteTextTrack({kind:K.kind,label:K.label,language:K.language,src:K.src,default:K.default},!1);
vendor: 22,662 bytes, lines 788-790
788o.current.set(K.src,Te);const We=Te;We?.track!=null&&(We.track.mode=K.default??!1?"showing":"disabled")}}},[p,t])}function T(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??"",A=o.props.srcLang??"";t.push({kind:c,label:y,language:A,src:o.props.src,default:o.props.default})}}),t}function C(p){return r.Children.map(p,t=>r.isValidElement(t)&&t.type==="track"?null:t)}var O=e(34980),R=e.n(O),B=e(24853),M=e.n(B),F=e(50013),H=e.n(F),U=e(35266),W=e.n(U);function X(){return X=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},X.apply(null,arguments)}var te="https://example.com",q=function(t,o){if(/^[a-z]+:/i.test(o))return o;/^data:/.test(t)&&(t=R().location&&R().location.href||"");var c=/^\/\//.test(t),y=!R().location&&!/\/\//i.test(t);t=new(R()).URL(t,R().location||te);var A=new URL(o,t);return y?A.href.slice(te.length):c?A.href.slice(A.protocol.length):A.href};const ae=q;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 A=this.listeners[c].indexOf(y);return this.listeners[c]=this.listeners[c].slice(0),this.listeners[c].splice(A,1),A>-1},t.trigger=function(c){var y=this.listeners[c];if(y)if(arguments.length===2)for(var A=y.length,D=0;D<A;++D)y[D].call(this,arguments[1]);else for(var K=Array.prototype.slice.call(arguments,1),ue=y.length,Te=0;Te<ue;++Te)y[Te].apply(this,K)},t.dispose=function(){this.listeners={}},t.pipe=function(c){this.on("data",function(y){c.push(y)})},p})(),pe=function(t){return R().atob?R().atob(t):Buffer.from(t,"base64").toString("binary")};function ge(p){for(var t=pe(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 Ie 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 Ce=" ",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},qe=function(){const o="(?:"+"[^=]*"+")=(?:"+'"[^"]*"|[^,]*'+")";return new RegExp("(?:^|,)("+o+")")},ye=function(p){const t={};if(!p)return t;const o=p.split(qe());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},xe=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 De 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((A,D)=>{const K=D(t);return K===t?A:A.concat([K])},[t]).forEach(A=>{for(let D=0;D<this.customParsers.length;D++)if(this.customParsers[D].call(this,A))return;if(A.indexOf("#EXT")!==0){this.trigger("data",{type:"comment",text:A.slice(1)});return}if(A=A.replace("\r",""),o=/^#EXTM3U/.exec(A),o){this.trigger("data",{type:"tag",tagType:"m3u"});return}if(o=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(A),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(A),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(A),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(A),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(A),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(A),o){c={type:"tag",tagType:"playlist-type"},o[1]&&(c.playlistType=o[1]),this.trigger("data",c);return}if(o=/^#EXT-X-BYTERANGE:(.*)?$/.exec(A),o){c=X(Je(o[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",c);return}if(o=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(A),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(A),o){if(c={type:"tag",tagType:"map"},o[1]){const D=ye(o[1]);D.URI&&(c.uri=D.URI),D.BYTERANGE&&(c.byterange=Je(D.BYTERANGE))}this.trigger("data",c);return}if(o=/^#EXT-X-STREAM-INF:(.*)$/.exec(A),o){c={type:"tag",tagType:"stream-inf"},o[1]&&(c.attributes=ye(o[1]),c.attributes.RESOLUTION&&(c.attributes.RESOLUTION=xe(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(A),o){c={type:"tag",tagType:"media"},o[1]&&(c.attributes=ye(o[1])),this.trigger("data",c);return}if(o=/^#EXT-X-ENDLIST/.exec(A),o){this.trigger("data",{type:"tag",tagType:"endlist"});return}if(o=/^#EXT-X-DISCONTINUITY/.exec(A),o){this.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(o=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(A),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(A),o){c={type:"tag",tagType:"key"},o[1]&&(c.attributes=ye(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(A),o){c={type:"tag",tagType:"start"},o[1]&&(c.attributes=ye(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(A),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(A),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(A),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(A),o&&o[1]){c={type:"tag",tagType:"skip"},c.attributes=ye(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(Ce)),this.trigger("data",c);return}if(o=/^#EXT-X-PART:(.*)$/.exec(A),o&&o[1]){c={type:"tag",tagType:"part"},c.attributes=ye(o[1]),["DURATION"].forEach(function(D){c.attributes.hasOwnProperty(D)&&(c.attributes[D]=parseFloat(c.attributes[D]))}),["INDEPENDENT","GAP"].forEach(function(D){c.attributes.hasOwnProperty(D)&&(c.attributes[D]=/YES/.test(c.attributes[D]))}),c.attributes.hasOwnProperty("BYTERANGE")&&(c.attributes.byterange=Je(c.attributes.BYTERANGE)),this.trigger("data",c);return}if(o=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(A),o&&o[1]){c={type:"tag",tagType:"server-control"},c.attributes=ye(o[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(D){c.attributes.hasOwnProperty(D)&&(c.attributes[D]=parseFloat(c.attributes[D]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(D){c.attributes.hasOwnProperty(D)&&(c.attributes[D]=/YES/.test(c.attributes[D]))}),this.trigger("data",c);return}if(o=/^#EXT-X-PART-INF:(.*)$/.exec(A),o&&o[1]){c={type:"tag",tagType:"part-inf"},c.attributes=ye(o[1]),["PART-TARGET"].forEach(function(D){c.attributes.hasOwnProperty(D)&&(c.attributes[D]=parseFloat(c.attributes[D]))}),this.trigger("data",c);return}if(o=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(A),o&&o[1]){c={type:"tag",tagType:"preload-hint"},c.attributes=ye(o[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(D){if(c.attributes.hasOwnProperty(D)){c.attributes[D]=parseInt(c.attributes[D],10);const K=D==="BYTERANGE-LENGTH"?"length":"offset";c.attributes.byterange=c.attributes.byterange||{},c.attributes.byterange[K]=c.attributes[D],delete c.attributes[D]}}),this.trigger("data",c);return}if(o=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(A),o&&o[1]){c={type:"tag",tagType:"rendition-report"},c.attributes=ye(o[1]),["LAST-MSN","LAST-PART"].forEach(function(D){c.attributes.hasOwnProperty(D)&&(c.attributes[D]=parseInt(c.attributes[D],10))}),this.trigger("data",c);return}if(o=/^#EXT-X-DATERANGE:(.*)$/.exec(A),o&&o[1]){c={type:"tag",tagType:"daterange"},c.attributes=ye(o[1]),["ID","CLASS"].forEach(function(K){c.attributes.hasOwnProperty(K)&&(c.attributes[K]=String(c.attributes[K]))}),["START-DATE","END-DATE"].forEach(function(K){c.attributes.hasOwnProperty(K)&&(c.attributes[K]=new Date(c.attributes[K]))}),["DURATION","PLANNED-DURATION"].forEach(function(K){c.attributes.hasOwnProperty(K)&&(c.attributes[K]=parseFloat(c.attributes[K]))}),["END-ON-NEXT"].forEach(function(K){c.attributes.hasOwnProperty(K)&&(c.attributes[K]=/YES/i.test(c.attributes[K]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(K){c.attributes.hasOwnProperty(K)&&(c.attributes[K]=c.attributes[K].toString(16))});const D=/^X-([A-Z]+-)+[A-Z]+$/;for(const K in c.attributes){if(!D.test(K))continue;const ue=/[0-9A-Fa-f]{6}/g.test(c.attributes[K]),Te=/^\d+(\.\d+)?$/.test(c.attributes[K]);c.attributes[K]=ue?c.attributes[K].toString(16):Te?parseFloat(c.attributes[K]):String(c.attributes[K])}this.trigger("data",c);return}if(o=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(A),o){this.trigger("data",{type:"tag",tagType:"independent-segments"});return}if(o=/^#EXT-X-I-FRAMES-ONLY/.exec(A),o){this.trigger("data",{type:"tag",tagType:"i-frames-only"});return}if(o=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(A),o){c={type:"tag",tagType:"content-steering"},c.attributes=ye(o[1]),this.trigger("data",c);return}if(o=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(A),o){c={type:"tag",tagType:"i-frame-playlist"},c.attributes=ye(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=xe(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(A),o){c={type:"tag",tagType:"define"},c.attributes=ye(o[1]),this.trigger("data",c);return}this.trigger("data",{type:"tag",data:A.slice(4)})})}addParser({expression:t,customType:o,dataParser:c,segment:y}){typeof c!="function"&&(c=A=>A),this.customParsers.push(A=>{if(t.exec(A))return this.trigger("data",{type:"custom",data:c(A),customType:o,segment:y}),!0})}addTagMapper({expression:t,map:o}){const c=y=>t.test(y)?o(y):y;this.tagMappers.push(c)}}const Fe=p=>p.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase()),be=function(p){const t={};return Object.keys(p).forEach(function(o){t[Fe(o)]=p[o]}),t},ke=function(p){const{serverControl:t,targetDuration:o,partTargetDuration:c}=p;if(!t)return;const y="#EXT-X-SERVER-CONTROL",A="holdBack",D="partHoldBack",K=o&&o*3,ue=c&&c*2;o&&!t.hasOwnProperty(A)&&(t[A]=K,this.trigger("info",{message:`${y} defaulting HOLD-BACK to targetDuration * 3 (${K}).`})),K&&t[A]<K&&(this.trigger("warn",{message:`${y} clamping HOLD-BACK (${t[A]}) to targetDuration * 3 (${K})`}),t[A]=K),c&&!t.hasOwnProperty(D)&&(t[D]=c*3,this.trigger("info",{message:`${y} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${t[D]}).`})),c&&t[D]<ue&&(this.trigger("warn",{message:`${y} clamping PART-HOLD-BACK (${t[D]}) to partTargetDuration * 2 (${ue}).`}),t[D]=ue)};class Ge extends le{constructor(t={}){super(),this.lineStream=new Ie,this.parseStream=new De,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={},A,D,K=!1;const ue=function(){},Te={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},We="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed";let vt=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let er=0,Tr=0;const zr={};this.on("end",()=>{y.uri||!y.parts&&!y.preloadHints||(!y.map&&A&&(y.map=A),!y.key&&D&&(y.key=D),!y.timeline&&typeof vt=="number"&&(y.timeline=vt),this.manifest.preloadSegment=y)}),this.parseStream.on("data",function(St){let En,xn;if(o.manifest.definitions){for(const pn in o.manifest.definitions)if(St.uri&&(St.uri=St.uri.replace(`{$${pn}}`,o.manifest.definitions[pn])),St.attributes)for(const Qr in St.attributes)typeof St.attributes[Qr]=="string"&&(St.attributes[Qr]=St.attributes[Qr].replace(`{$${pn}}`,o.manifest.definitions[pn]))}({tag(){({version(){St.version&&(this.manifest.version=St.version)},"allow-cache"(){this.manifest.allowCache=St.allowed,"allowed"in St||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){const pn={};"length"in St&&(y.byterange=pn,pn.length=St.length,"offset"in St||(St.offset=er)),"offset"in St&&(y.byterange=pn,pn.offset=St.offset),er=pn.offset+pn.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"})),St.title&&(y.title=St.title),St.duration>0&&(y.duration=St.duration),St.duration===0&&(y.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=c},key(){if(!St.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if(St.attributes.METHOD==="NONE"){D=null;return}if(!St.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if(St.attributes.KEYFORMAT==="com.apple.streamingkeydelivery"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:St.attributes};return}if(St.attributes.KEYFORMAT==="com.microsoft.playready"){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:St.attributes.URI};return}if(St.attributes.KEYFORMAT===We){if(["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(St.attributes.METHOD)===-1){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if(St.attributes.METHOD==="SAMPLE-AES-CENC"&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),St.attributes.URI.substring(0,23)!=="data:text/plain;base64,"){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(St.attributes.KEYID&&St.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:St.attributes.KEYFORMAT,keyId:St.attributes.KEYID.substring(2)},pssh:ge(St.attributes.URI.split(",")[1])};return}St.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),D={method:St.attributes.METHOD||"AES-128",uri:St.attributes.URI},typeof St.attributes.IV<"u"&&(D.iv=St.attributes.IV)},"media-sequence"(){if(!isFinite(St.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+St.number});return}this.manifest.mediaSequence=St.number},"discontinuity-sequence"(){if(!isFinite(St.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+St.number});return}this.manifest.discontinuitySequence=St.number,vt=St.number},"playlist-type"(){if(!/VOD|EVENT/.test(St.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+St.playlist});return}this.manifest.playlistType=St.playlistType},map(){A={},St.uri&&(A.uri=St.uri),St.byterange&&(A.byterange=St.byterange),D&&(A.key=D)},"stream-inf"(){if(this.manifest.playlists=c,this.manifest.mediaGroups=this.manifest.mediaGroups||Te,!St.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}y.attributes||(y.attributes={}),X(y.attributes,St.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||Te,!(St.attributes&&St.attributes.TYPE&&St.attributes["GROUP-ID"]&&St.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}const pn=this.manifest.mediaGroups[St.attributes.TYPE];pn[St.attributes["GROUP-ID"]]=pn[St.attributes["GROUP-ID"]]||{},En=pn[St.attributes["GROUP-ID"]],xn={default:/yes/i.test(St.attributes.DEFAULT)},xn.default?xn.autoselect=!0:xn.autoselect=/yes/i.test(St.attributes.AUTOSELECT),St.attributes.LANGUAGE&&(xn.language=St.attributes.LANGUAGE),St.attributes.URI&&(xn.uri=St.attributes.URI),St.attributes["INSTREAM-ID"]&&(xn.instreamId=St.attributes["INSTREAM-ID"]),St.attributes.CHARACTERISTICS&&(xn.characteristics=St.attributes.CHARACTERISTICS),St.attributes.FORCED&&(xn.forced=/yes/i.test(St.attributes.FORCED)),En[St.attributes.NAME]=xn},discontinuity(){vt+=1,y.discontinuity=!0,this.manifest.discontinuityStarts.push(c.length)},"program-date-time"(){typeof this.manifest.dateTimeString>"u"&&(this.manifest.dateTimeString=St.dateTimeString,this.manifest.dateTimeObject=St.dateTimeObject),y.dateTimeString=St.dateTimeString,y.dateTimeObject=St.dateTimeObject;const{lastProgramDateTime:pn}=this;this.lastProgramDateTime=new Date(St.dateTimeString).getTime(),pn===null&&this.manifest.segments.reduceRight((Qr,Ln)=>(Ln.programDateTime=Qr-Ln.duration*1e3,Ln.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(St.duration)||St.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+St.duration});return}this.manifest.targetDuration=St.duration,ke.call(this,this.manifest)},start(){if(!St.attributes||isNaN(St.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:St.attributes["TIME-OFFSET"],precise:St.attributes.PRECISE}},"cue-out"(){y.cueOut=St.data},"cue-out-cont"(){y.cueOutCont=St.data},"cue-in"(){y.cueIn=St.data},skip(){this.manifest.skip=be(St.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",St.attributes,["SKIPPED-SEGMENTS"])},part(){K=!0;const pn=this.manifest.segments.length,Qr=be(St.attributes);y.parts=y.parts||[],y.parts.push(Qr),Qr.byterange&&(Qr.byterange.hasOwnProperty("offset")||(Qr.byterange.offset=Tr),Tr=Qr.byterange.offset+Qr.byterange.length);const Ln=y.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${Ln} for segment #${pn}`,St.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((Cn,pi)=>{Cn.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${pi} lacks required attribute(s): LAST-PART`})})},"server-control"(){const pn=this.manifest.serverControl=be(St.attributes);pn.hasOwnProperty("canBlockReload")||(pn.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),ke.call(this,this.manifest),pn.canSkipDateranges&&!pn.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 pn=this.manifest.segments.length,Qr=be(St.attributes),Ln=Qr.type&&Qr.type==="PART";y.preloadHints=y.preloadHints||[],y.preloadHints.push(Qr),Qr.byterange&&(Qr.byterange.hasOwnProperty("offset")||(Qr.byterange.offset=Ln?Tr:0,Ln&&(Tr=Qr.byterange.offset+Qr.byterange.length)));const Cn=y.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${Cn} for segment #${pn}`,St.attributes,["TYPE","URI"]),!!Qr.type)for(let pi=0;pi<y.preloadHints.length-1;pi++){const Bn=y.preloadHints[pi];Bn.type&&Bn.type===Qr.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${Cn} for segment #${pn} has the same TYPE ${Qr.type} as preload hint #${pi}`})}},"rendition-report"(){const pn=be(St.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(pn);const Qr=this.manifest.renditionReports.length-1,Ln=["LAST-MSN","URI"];K&&Ln.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${Qr}`,St.attributes,Ln)},"part-inf"(){this.manifest.partInf=be(St.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",St.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),ke.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(be(St.attributes));const pn=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${pn}`,St.attributes,["ID","START-DATE"]);const Qr=this.manifest.dateRanges[pn];Qr.endDate&&Qr.startDate&&new Date(Qr.endDate)<new Date(Qr.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),Qr.duration&&Qr.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),Qr.plannedDuration&&Qr.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});const Ln=!!Qr.endOnNext;if(Ln&&!Qr.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT
790=YES attribute must have a CLASS attribute"}),Ln&&(Qr.duration||Qr.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),Qr.duration&&Qr.endDate){const pi=Qr.startDate.getTime()+Qr.duration*1e3;this.manifest.dateRanges[pn].endDate=new Date(pi)}if(!zr[Qr.id])zr[Qr.id]=Qr;else{for(const pi in zr[Qr.id])if(Qr[pi]&&JSON.stringify(zr[Qr.id][pi])!==JSON.stringify(Qr[pi])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const Cn=this.manifest.dateRanges.findIndex(pi=>pi.id===Qr.id);this.manifest.dateRanges[Cn]=X(this.manifest.dateRanges[Cn],Qr),zr[Qr.id]=X(zr[Qr.id],Qr),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=be(St.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",St.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const pn=(Qr,Ln)=>{if(Qr in this.manifest.definitions){this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${Qr}`});return}this.manifest.definitions[Qr]=Ln};if("QUERYPARAM"in St.attributes){if("NAME"in St.attributes||"IMPORT"in St.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}const Qr=this.params.get(St.attributes.QUERYPARAM);if(!Qr){this.trigger("error",{message:`EXT-X-DEFINE: No query param ${St.attributes.QUERYPARAM}`});return}pn(St.attributes.QUERYPARAM,decodeURIComponent(Qr));return}if("NAME"in St.attributes){if("IMPORT"in St.attributes){this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});return}if(!("VALUE"in St.attributes)||typeof St.attributes.VALUE!="string"){this.trigger("error",{message:`EXT-X-DEFINE: No value for ${St.attributes.NAME}`});return}pn(St.attributes.NAME,St.attributes.VALUE);return}if("IMPORT"in St.attributes){if(!this.mainDefinitions[St.attributes.IMPORT]){this.trigger("error",{message:`EXT-X-DEFINE: No value ${St.attributes.IMPORT} to import, or IMPORT used on main playlist`});return}pn(St.attributes.IMPORT,this.mainDefinitions[St.attributes.IMPORT]);return}this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:St.attributes,uri:St.uri,timeline:vt}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",St.attributes,["BANDWIDTH","URI"])}}[St.tagType]||ue).call(o)},uri(){y.uri=St.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),D&&(y.key=D),y.timeline=vt,A&&(y.map=A),Tr=0,this.lastProgramDateTime!==null&&(y.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=y.duration*1e3),y={}},comment(){},custom(){St.segment?(y.custom=y.custom||{},y.custom[St.customType]=St.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[St.customType]=St.data)}})[St.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(A){o.hasOwnProperty(A)||y.push(A)}),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 Xe={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^/},At=["video","audio","text"],yt=["Video","Audio","Text"],kt=function(t){return t&&t.replace(/avc1\.(\d+)\.(\d+)/i,function(o,c,y){var A=("00"+Number(c).toString(16)).slice(-2),D=("00"+Number(y).toString(16)).slice(-2);return"avc1."+A+"00"+D})},Nt=function(t){return t.map(kt)},Ir=function(t){return t.replace(/avc1\.(\d+)\.(\d+)/i,function(o){return Nt([o])[0]})},yr=function(t){t===void 0&&(t="");var o=t.split(","),c=[];return o.forEach(function(y){y=y.trim();var A;At.forEach(function(D){var K=Xe[D].exec(y.toLowerCase());if(!(!K||K.length<=1)){A=D;var ue=y.substring(0,K[1].length),Te=y.replace(ue,"");c.push({type:ue,details:Te,mediaType:D})}}),A||c.push({type:y,details:"",mediaType:"unknown"})}),c},Wr=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 A=c[y];if(A.default&&A.playlists)return yr(A.playlists[0].attributes.CODECS)}return null},$r=function(t){return t===void 0&&(t=""),Xe.video.test(t.trim().toLowerCase())},sn=function(t){return t===void 0&&(t=""),Xe.audio.test(t.trim().toLowerCase())},Hr=function(t){return t===void 0&&(t=""),Xe.text.test(t.trim().toLowerCase())},pt=function(t){if(!(!t||typeof t!="string")){var o=t.toLowerCase().split(",").map(function(A){return kt(A.trim())}),c="video";
vendor: 80,230 bytes, lines 791-801
791o.length===1&&sn(o[0])?c="audio":o.length===1&&Hr(o[0])&&(c="application");var y="mp4";return o.every(function(A){return Xe.mp4.test(A)})?y="mp4":o.every(function(A){return Xe.webm.test(A)})?y="webm":o.every(function(A){return Xe.ogg.test(A)})&&(y="ogg"),c+"/"+y+';codecs="'+t+'"'}},et=function(t,o){return t===void 0&&(t=""),o===void 0&&(o=!1),R().MediaSource&&R().MediaSource.isTypeSupported&&R().MediaSource.isTypeSupported(pt(t))||o&&R().ManagedMediaSource&&R().ManagedMediaSource.isTypeSupported&&R().ManagedMediaSource.isTypeSupported(pt(t))||!1},wr=function(t){return t===void 0&&(t=""),t.toLowerCase().split(",").every(function(o){o=o.trim();for(var c=0;c<yt.length;c++){var y=yt[c];if(Xe["muxer"+y].test(o))return!0}return!1})},Dr="mp4a.40.2",Sr="avc1.4d400d",kr=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,qt=/^application\/dash\+xml/i,Sn=function(t){return kr.test(t)?"hls":qt.test(t)?"dash":t==="application/vnd.videojs.vhs+json"?"vhs-json":null},dr=function(t,o){for(var c="";o--;)c+=t;return c},Nr=function(t){return t.toString(2).length},un=function(t){return Math.ceil(Nr(t)/8)},Xt=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},$t=function(t){return br(t)},wt=function(t){return t instanceof Uint8Array?t:(!Array.isArray(t)&&!$t(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))},Ar=function(t){t=wt(t);for(var o="",c=0;c<t.length;c++)o+=Xt(t[c].toString(16),2,"0");return o},Q=function(t){t=wt(t);for(var o="",c=0;c<t.length;c++)o+=Xt(t[c].toString(2),8,"0");return o},ut=R().BigInt||Number,tr=[ut("0x1"),ut("0x100"),ut("0x10000"),ut("0x1000000"),ut("0x100000000"),ut("0x10000000000"),ut("0x1000000000000"),ut("0x100000000000000"),ut("0x10000000000000000")],rt=(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"})(),_t=rt==="big",Yr=rt==="little",ln=function(t,o){var c=o===void 0?{}:o,y=c.signed,A=y===void 0?!1:y,D=c.le,K=D===void 0?!1:D;t=wt(t);var ue=K?"reduce":"reduceRight",Te=t[ue]?t[ue]:Array.prototype[ue],We=Te.call(t,function(er,Tr,zr){var St=K?zr:Math.abs(zr+1-t.length);return er+ut(Tr)*tr[St]},ut(0));if(A){var vt=tr[t.length]/ut(2)-ut(1);We=ut(We),We>vt&&(We-=vt,We-=vt,We-=ut(2))}return Number(We)},cn=function(t,o){var c=o===void 0?{}:o,y=c.le,A=y===void 0?!1:y;(typeof t!="bigint"&&typeof t!="number"||typeof t=="number"&&t!==t)&&(t=0),t=ut(t);for(var D=un(t),K=new Uint8Array(new ArrayBuffer(D)),ue=0;ue<D;ue++){var Te=A?ue:Math.abs(ue+1-K.length);K[Te]=Number(t/tr[ue]&ut(255)),t<0&&(K[Te]=Math.abs(~K[Te]),K[Te]-=ue===0?1:2)}return K},gn=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var o=String.fromCharCode.apply(null,wt(t));try{return decodeURIComponent(escape(o))}catch{}return o},wi=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},ki=function(){for(var t=arguments.length,o=new Array(t),c=0;c<t;c++)o[c]=arguments[c];if(o=o.filter(function(K){return K&&(K.byteLength||K.length)&&typeof K!="string"}),o.length<=1)return wt(o[0]);var y=o.reduce(function(K,ue,Te){return K+(ue.byteLength||ue.length)},0),A=new Uint8Array(y),D=0;return o.forEach(function(K){K=wt(K),A.set(K,D),D+=K.byteLength}),A},Ur=function(t,o,c){var y=c===void 0?{}:c,A=y.offset,D=A===void 0?0:A,K=y.mask,ue=K===void 0?[]:K;t=wt(t),o=wt(o);var Te=o.every?o.every:Array.prototype.every;return o.length&&t.length-D>=o.length&&Te.call(o,function(We,vt){var er=ue[vt]?ue[vt]&t[D+vt]:t[D+vt];return We===er})},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))},bs=function(t){return t.reverse?t.reverse():Array.prototype.reverse.call(t)},Di=function(t,o,c){o.forEach(function(y){for(var A in t.mediaGroups[y])for(var D in t.mediaGroups[y][A]){var K=t.mediaGroups[y][A][D];c(K,y,A,D)}})},on=e(26422);/*! @name mpd-parser @version 1.3.1 @license Apache-2.0 */var fi="1.3.1";const qi=p=>!!p&&typeof p=="object",ri=(...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]):qi(t[c])&&qi(o[c])?t[c]=ri(t[c],o[c]):t[c]=o[c]}),t),{}),Vi=p=>Object.keys(p).map(t=>p[t]),si=(p,t)=>{const o=[];for(let c=p;c<t;c++)o.push(c);return o},ks=p=>p.reduce((t,o)=>t.concat(o),[]),cr=p=>{if(!p.length)return[];const t=[];for(let o=0;o<p.length;o++)t.push(p[o]);return t},fe=(p,t)=>p.reduce((o,c,y)=>(c[t]&&o.push(y),o),[]),Re=(p,t)=>Vi(p.reduce((o,c)=>(c.forEach(y=>{o[t(y)]=y}),o),{}));var Qe={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 mt=({baseUrl:p="",source:t="",range:o="",indexRange:c=""})=>{const y={uri:t,resolvedUri:ae(p||"",t)};if(o||c){const D=(o||c).split("-");let K=R().BigInt?R().BigInt(D[0]):parseInt(D[0],10),ue=R().BigInt?R().BigInt(D[1]):parseInt(D[1],10);K<Number.MAX_SAFE_INTEGER&&typeof K=="bigint"&&(K=Number(K)),ue<Number.MAX_SAFE_INTEGER&&typeof ue=="bigint"&&(ue=Number(ue));let Te;typeof ue=="bigint"||typeof K=="bigint"?Te=R().BigInt(ue)-R().BigInt(K)+R().BigInt(1):Te=ue-K+1,typeof Te=="bigint"&&Te<Number.MAX_SAFE_INTEGER&&(Te=Number(Te)),y.byterange={length:Te,offset:K}}return y},xt=p=>{let t;return typeof p.offset=="bigint"||typeof p.length=="bigint"?t=R().BigInt(p.offset)+R().BigInt(p.length)-R().BigInt(1):t=p.offset+p.length-1,`${p.offset}-${t}`},Mr=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,A=Mr(p.endNumber),D=t/o;return typeof A=="number"?{start:0,end:A}:typeof y=="number"?{start:0,end:y/D}:{start:0,end:c/D}},dynamic(p){const{NOW:t,clientOffset:o,availabilityStartTime:c,timescale:y=1,duration:A,periodStart:D=0,minimumUpdatePeriod:K=0,timeShiftBufferDepth:ue=1/0}=p,Te=Mr(p.endNumber),We=(t+o)/1e3,vt=c+D,Tr=We+K-vt,zr=Math.ceil(Tr*y/A),St=Math.floor((We-vt-ue)*y/A),En=Math.floor((We-vt)*y/A);return{start:Math.max(0,St),end:typeof Te=="number"?Te:Math.min(zr,En)}}},Ut=p=>t=>{const{duration:o,timescale:c=1,periodStart:y,startNumber:A=1}=p;return{number:A+t,duration:o/c,timeline:y,time:t*o}},Yn=p=>{const{type:t,duration:o,timescale:c=1,periodDuration:y,sourceDuration:A}=p,{start:D,end:K}=vn[t](p),ue=si(D,K).map(Ut(p));if(t==="static"){const Te=ue.length-1,We=typeof y=="number"?y:A;ue[Te].duration=We-o/c*Te}return ue},mi=p=>{const{baseUrl:t,initialization:o={},sourceDuration:c,indexRange:y="",periodStart:A,presentationTime:D,number:K=0,duration:ue}=p;if(!t)throw new Error(Qe.NO_BASE_URL);const Te=mt({baseUrl:t,source:o.sourceURL,range:o.range}),We=mt({baseUrl:t,source:t,indexRange:y});if(We.map=Te,ue){const vt=Yn(p);vt.length&&(We.duration=vt[0].duration,We.timeline=vt[0].timeline)}else c&&(We.duration=c,We.timeline=A);return We.presentationTime=D||A,We.number=K,[We]},yn=(p,t,o)=>{const c=p.sidx.map?p.sidx.map:null,y=p.sidx.duration,A=p.timeline||0,D=p.sidx.byterange,K=D.offset+D.length,ue=t.timescale,Te=t.references.filter(En=>En.referenceType!==1),We=[],vt=p.endList?"static":"dynamic",er=p.sidx.timeline;let Tr=er,zr=p.mediaSequence||0,St;typeof t.firstOffset=="bigint"?St=R().BigInt(K)+t.firstOffset:St=K+t.firstOffset;for(let En=0;En<Te.length;En++){const xn=t.references[En],pn=xn.referencedSize,Qr=xn.subsegmentDuration;let Ln;typeof St=="bigint"?Ln=St+R().BigInt(pn)-R().BigInt(1):Ln=St+pn-1;const Cn=`${St}-${Ln}`,Bn=mi({baseUrl:o,timescale:ue,timeline:A,periodStart:er,presentationTime:Tr,number:zr,duration:Qr,sourceDuration:y,indexRange:Cn,type:vt})[0];c&&(Bn.map=c),We.push(Bn),typeof St=="bigint"?St+=R().BigInt(pn):St+=pn,Tr+=Qr/ue,zr++}return p.segments=We,p},ji=["AUDIO","SUBTITLES"],Tn=1/60,Cs=p=>Re(p,({timeline:t})=>t).sort((t,o)=>t.timeline>o.timeline?1:-1),$i=(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 Di(p,ji,(o,c,y,A)=>{t=t.concat(o.playlists||[])}),t},vs=({playlist:p,mediaSequence:t})=>{p.mediaSequence=t,p.segments.forEach((o,c)=>{o.number=p.mediaSequence+c})},Vt=({oldPlaylists:p,newPlaylists:t,timelineStarts:o})=>{t.forEach(c=>{c.discontinuitySequence=o.findIndex(function({timeline:ue}){return ue===c.timeline});const y=$i(p,c.attributes.NAME);if(!y||c.sidx)return;const A=c.segments[0],D=y.segments.findIndex(function(ue){return Math.abs(ue.presentationTime-A.presentationTime)<Tn});if(D===-1){vs({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[D].discontinuity&&!A.discontinuity&&(A.discontinuity=!0,c.discontinuityStarts.unshift(0),c.discontinuitySequence--),vs({playlist:c,mediaSequence:y.segments[D].number})})},hr=({oldManifest:p,newManifest:t})=>{const o=p.playlists.concat(gs(p)),c=t.playlists.concat(gs(t));return t.timelineStarts=Cs([p.timelineStarts,t.timelineStarts]),Vt({oldPlaylists:o,newPlaylists:c,timelineStarts:t.timelineStarts}),t},rn=p=>p&&p.uri+"-"+xt(p.byterange),zn=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=Vi(c.reduce((A,D)=>{const K=D.attributes.id+(D.attributes.lang||"");return A[K]?(D.segments&&(D.segments[0]&&(D.segments[0].discontinuity=!0),A[K].segments.push(...D.segments)),D.attributes.contentProtection&&(A[K].attributes.contentProtection=D.attributes.contentProtection)):(A[K]=D,A[K].attributes.timelineStarts=[]),A[K].attributes.timelineStarts.push({start:D.attributes.periodStart,timeline:D.attributes.periodStart}),A},{}));o=o.concat(y)}),o.map(c=>(c.discontinuityStarts=fe(c.segments||[],"discontinuity"),c))},$n=(p,t)=>{const o=rn(p.sidx),c=o&&t[o]&&t[o].sidx;return c&&yn(p,c,p.sidx.resolvedUri),p},bn=(p,t={})=>{if(!Object.keys(t).length)return p;for(const o in p)p[o]=$n(p[o],t);return p},ni=({attributes:p,segments:t,sidx:o,mediaSequence:c,discontinuitySequence:y,discontinuityStarts:A},D)=>{const K={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:A,timelineStarts:p.timelineStarts,mediaSequence:c,segments:t};return p.contentProtection&&(K.contentProtection=p.contentProtection),p.serviceLocation&&(K.attributes.serviceLocation=p.serviceLocation),o&&(K.sidx=o),D&&(K.attributes.AUDIO="audio",K.attributes.SUBTITLES="subs"),K},ai=({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 A={NAME:p.id,BANDWIDTH:p.bandwidth,"PROGRAM-ID":1};p.codecs&&(A.CODECS=p.codecs);const D={attributes:A,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&&(D.attributes.serviceLocation=p.serviceLocation),D},yi=(p,t={},o=!1)=>{let c;const y=p.reduce((A,D)=>{const K=D.attributes.role&&D.attributes.role.value||"",ue=D.attributes.lang||"";let Te=D.attributes.label||"main";if(ue&&!D.attributes.label){const vt=K?` (${K})`:"";Te=`${D.attributes.lang}${vt}`}A[Te]||(A[Te]={language:ue,autoselect:!0,default:K==="main",playlists:[],uri:""});const We=$n(ni(D,o),t);return A[Te].playlists.push(We),typeof c>"u"&&K==="main"&&(c=D,c.default=!0),A},{});if(!c){const A=Object.keys(y)[0];y[A].default=!0}return y},es=(p,t={})=>p.reduce((o,c)=>{const y=c.attributes.label||c.attributes.lang||"text",A=c.attributes.lang||"und";return o[y]||(o[y]={language:A,default:!1,autoselect:!1,playlists:[],uri:""}),o[y].playlists.push($n(ai(c),t)),o},{}),Ei=p=>p.reduce((t,o)=>(o&&o.forEach(c=>{const{channel:y,language:A}=c;t[A]={autoselect:!1,default:!1,instreamId:y,language:A},c.hasOwnProperty("aspectRatio")&&(t[A].aspectRatio=c.aspectRatio),c.hasOwnProperty("easyReader")&&(t[A].easyReader=c.easyReader),c.hasOwnProperty("3D")&&(t[A]["3D"]=c["3D"])}),t),{}),Hi=({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},zi=({attributes:p})=>p.mimeType==="video/mp4"||p.mimeType==="video/webm"||p.contentType==="video",us=({attributes:p})=>p.mimeType==="audio/mp4"||p.mimeType==="audio/webm"||p.contentType==="audio",Ss=({attributes:p})=>p.mimeType==="text/vtt"||p.contentType==="text",as=(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})})},oi=p=>p?Object.keys(p).reduce((t,o)=>{const c=p[o];return t.concat(c.playlists)},[]):[],$s=({dashPlaylists:p,locations:t,contentSteering:o,sidxMapping:c={},previousManifest:y,eventStream:A})=>{if(!p.length)return{};const{sourceDuration:D,type:K,suggestedPresentationDelay:ue,minimumUpdatePeriod:Te}=p[0].attributes,We=zn(p.filter(zi)).map(Hi),vt=zn(p.filter(us)),er=zn(p.filter(Ss)),Tr=p.map(Ln=>Ln.attributes.captionServices).filter(Boolean),zr={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:D,playlists:bn(We,c)};Te>=0&&(zr.minimumUpdatePeriod=Te*1e3),t&&(zr.locations=t),o&&(zr.contentSteering=o),K==="dynamic"&&(zr.suggestedPresentationDelay=ue),A&&A.length>0&&(zr.eventStream=A);const St=zr.playlists.length===0,En=vt.length?yi(vt,c,St):null,xn=er.length?es(er,c):null,pn=We.concat(oi(En),oi(xn)),Qr=pn.map(({timelineStarts:Ln})=>Ln);return zr.timelineStarts=Cs(Qr),as(pn,zr.timelineStarts),En&&(zr.mediaGroups.AUDIO.audio=En),xn&&(zr.mediaGroups.SUBTITLES.subs=xn),Tr.length&&(zr.mediaGroups["CLOSED-CAPTIONS"].cc=Ei(Tr)),y?hr({oldManifest:y,newManifest:zr}):zr},Es=(p,t,o)=>{const{NOW:c,clientOffset:y,availabilityStartTime:A,timescale:D=1,periodStart:K=0,minimumUpdatePeriod:ue=0}=p,Te=(c+y)/1e3,We=A+K,er=Te+ue-We;return Math.ceil((er*D-t)/o)},ls=(p,t)=>{const{type:o,minimumUpdatePeriod:c=0,media:y="",sourceDuration:A,timescale:D=1,startNumber:K=1,periodStart:ue}=p,Te=[];let We=-1;for(let vt=0;vt<t.length;vt++){const er=t[vt],Tr=er.d,zr=er.r||0,St=er.t||0;We<0&&(We=St),St&&St>We&&(We=St);let En;if(zr<0){const Qr=vt+1;Qr===t.length?o==="dynamic"&&c>0&&y.indexOf("$Number$")>0?En=Es(p,We,Tr):En=(A*D-We)/Tr:En=(t[Qr].t-We)/Tr}else En=zr+1;const xn=K+Te.length+En;let pn=K+Te.length;for(;pn<xn;)Te.push({number:pn,duration:Tr/D,time:We,timeline:ue}),We+=Tr,pn++}return Te},Ts=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,de=p=>(t,o,c,y)=>{if(t==="$$")return"$";if(typeof p[o]>"u")return t;const A=""+p[o];return o==="RepresentationID"||(c?y=parseInt(y,10):y=1,A.length>=y)?A:`${new Array(y-A.length+1).join("0")}${A}`},$e=(p,t)=>p.replace(Ts,de(t)),Pt=(p,t)=>!p.duration&&!t?[{number:p.startNumber||1,duration:p.sourceDuration,time:0,timeline:p.periodStart}]:p.duration?Yn(p):ls(p,t),or=(p,t)=>{const o={RepresentationID:p.id,Bandwidth:p.bandwidth||0},{initialization:c={sourceURL:"",range:""}}=p,y=mt({baseUrl:p.baseUrl,source:$e(c.sourceURL,o),range:c.range});return Pt(p,t).map(D=>{o.Number=D.number,o.Time=D.time;const K=$e(p.media||"",o),ue=p.timescale||1,Te=p.presentationTimeOffset||0,We=p.periodStart+(D.time-Te)/ue;return{uri:K,timeline:D.timeline,duration:D.duration,resolvedUri:ae(p.baseUrl||"",K),map:y,number:D.number,presentationTime:We}})},tn=(p,t)=>{const{baseUrl:o,initialization:c={}}=p,y=mt({baseUrl:o,source:c.sourceURL,range:c.range}),A=mt({baseUrl:o,source:t.media,range:t.mediaRange});return A.map=y,A},Vn=(p,t)=>{const{duration:o,segmentUrls:c=[],periodStart:y}=p;if(!o&&!t||o&&t)throw new Error(Qe.SEGMENT_TIME_UNSPECIFIED);const A=c.map(ue=>tn(p,ue));let D;return o&&(D=Yn(p)),t&&(D=ls(p,t)),D.map((ue,Te)=>{if(A[Te]){const We=A[Te],vt=p.timescale||1,er=p.presentationTimeOffset||0;return We.timeline=ue.timeline,We.duration=ue.duration,We.number=ue.number,We.presentationTime=y+(ue.time-er)/vt,We}}).filter(ue=>ue)},Ri=({attributes:p,segmentInfo:t})=>{let o,c;t.template?(c=or,o=ri(p,t.template)):t.base?(c=mi,o=ri(p,t.base)):t.list&&(c=Vn,o=ri(p,t.list));const y={attributes:p};if(!c)return y;const A=c(o,t.segmentTimeline);if(o.duration){const{duration:D,timescale:K=1}=o;o.duration=D/K}else A.length?o.duration=A.reduce((D,K)=>Math.max(D,Math.ceil(K.duration)),0):o.duration=0;return y.attributes=o,y.segments=A,t.base&&o.indexRange&&(y.sidx=A[0],y.segments=[]),y},ts=p=>p.map(Ri),ss=(p,t)=>cr(p.childNodes).filter(({tagName:o})=>o===t),Li=p=>p.textContent.trim(),Ia=p=>parseFloat(p.split("/").reduce((t,o)=>t/o)),Sa=p=>{const K=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(p);if(!K)return 0;const[ue,Te,We,vt,er,Tr]=K.slice(1);return parseFloat(ue||0)*31536e3+parseFloat(Te||0)*2592e3+parseFloat(We||0)*86400+parseFloat(vt||0)*3600+parseFloat(er||0)*60+parseFloat(Tr||0)},ha=p=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(p)&&(p+="Z"),Date.parse(p)),Qa={mediaPresentationDuration(p){return Sa(p)},availabilityStartTime(p){return ha(p)/1e3},minimumUpdatePeriod(p){return Sa(p)},suggestedPresentationDelay(p){return Sa(p)},type(p){return p},timeShiftBufferDepth(p){return Sa(p)},start(p){return Sa(p)},width(p){return parseInt(p,10)},height(p){return parseInt(p,10)},bandwidth(p){return parseInt(p,10)},frameRate(p){return Ia(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)?Sa(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}},_s=p=>p&&p.attributes?cr(p.attributes).reduce((t,o)=>{const c=Qa[o.name]||Qa.DEFAULT;return t[o.name]=c(o.value),t},{}):{},fr={"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"},Aa=(p,t)=>t.length?ks(p.map(function(o){return t.map(function(c){const y=Li(c),A=ae(o.baseUrl,y),D=ri(_s(c),{baseUrl:A});return A!==y&&!D.serviceLocation&&o.serviceLocation&&(D.serviceLocation=o.serviceLocation),D})})):p,en=p=>{const t=ss(p,"SegmentTemplate")[0],o=ss(p,"SegmentList")[0],c=o&&ss(o,"SegmentURL").map(vt=>ri({tag:"SegmentURL"},_s(vt))),y=ss(p,"SegmentBase")[0],A=o||t,D=A&&ss(A,"SegmentTimeline")[0],K=o||y||t,ue=K&&ss(K,"Initialization")[0],Te=t&&_s(t);Te&&ue?Te.initialization=ue&&_s(ue):Te&&Te.initialization&&(Te.initialization={sourceURL:Te.initialization});const We={template:Te,segmentTimeline:D&&ss(D,"S").map(vt=>_s(vt)),list:o&&ri(_s(o),{segmentUrls:c,initialization:_s(ue)}),base:y&&ri(_s(y),{initialization:_s(ue)})};return Object.keys(We).forEach(vt=>{We[vt]||delete We[vt]}),We},pa=(p,t,o)=>c=>{const y=ss(c,"BaseURL"),A=Aa(t,y),D=ri(p,_s(c)),K=en(c);return A.map(ue=>({segmentInfo:ri(o,K),attributes:ri(D,ue)}))},Pa=p=>p.reduce((t,o)=>{const c=_s(o);c.schemeIdUri&&(c.schemeIdUri=c.schemeIdUri.toLowerCase());const y=fr[c.schemeIdUri];if(y){t[y]={attributes:c};const A=ss(o,"cenc:pssh")[0];if(A){const D=Li(A);t[y].pssh=D&&ge(D)}}return t},{}),Xs=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,A=""]=o.split("=");c.channel=y,c.language=o,A.split(",").forEach(D=>{const[K,ue]=D.split(":");K==="lang"?c.language=ue:K==="er"?c.easyReader=Number(ue):K==="war"?c.aspectRatio=Number(ue):K==="3D"&&(c["3D"]=Number(ue))})}else c.language=o;return c.channel&&(c.channel="SERVICE"+c.channel),c})},Hs=p=>ks(ss(p.node,"EventStream").map(t=>{const o=_s(t),c=o.schemeIdUri;return ss(t,"Event").map(y=>{const A=_s(y),D=A.presentationTime||0,K=o.timescale||1,ue=A.duration||0,Te=D/K+p.attributes.start;return{schemeIdUri:c,value:o.value,id:A.id,start:Te,end:Te+ue/K,messageData:Li(y)||A.messageData,contentEncoding:o.contentEncoding,presentationTimeOffset:o.presentationTimeOffset||0}})})),ao=(p,t,o)=>c=>{const y=_s(c),A=Aa(t,ss(c,"BaseURL")),D=ss(c,"Role")[0],K={role:_s(D)};let ue=ri(p,y,K);const Te=ss(c,"Accessibility")[0],We=Xs(_s(Te));We&&(ue=ri(ue,{captionServices:We}));const vt=ss(c,"Label")[0];if(vt&&vt.childNodes.length){const En=vt.childNodes[0].nodeValue.trim();ue=ri(ue,{label:En})}const er=Pa(ss(c,"ContentProtection"));Object.keys(er).length&&(ue=ri(ue,{contentProtection:er}));const Tr=en(c),zr=ss(c,"Representation"),St=ri(o,Tr);return ks(zr.map(pa(ue,A,St)))},Wa=(p,t)=>(o,c)=>{const y=Aa(t,ss(o.node,"BaseURL")),A=ri(p,{periodStart:o.attributes.start});typeof o.attributes.duration=="number"&&(A.periodDuration=o.attributes.duration);const D=ss(o.node,"AdaptationSet"),K=en(o.node);return ks(D.map(ao(A,y,K)))},Co=(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=ri({serverURL:Li(p[0])},_s(p[0]));return o.queryBeforeStart=o.queryBeforeStart==="true",o},_o=({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,Oo=(p,t={})=>{const{manifestUri:o="",NOW:c=Date.now(),clientOffset:y=0,eventHandler:A=function(){}}=t,D=ss(p,"Period");if(!D.length)throw new Error(Qe.INVALID_NUMBER_OF_PERIOD);const K=ss(p,"Location"),ue=_s(p),Te=Aa([{baseUrl:o}],ss(p,"BaseURL")),We=ss(p,"ContentSteering");ue.type=ue.type||"static",ue.sourceDuration=ue.mediaPresentationDuration||0,ue.NOW=c,ue.clientOffset=y,K.length&&(ue.locations=K.map(Li));const vt=[];return D.forEach((er,Tr)=>{const zr=_s(er),St=vt[Tr-1];zr.start=_o({attributes:zr,priorPeriodAttributes:St?St.attributes:null,mpdType:ue.type}),vt.push({node:er,attributes:zr})}),{locations:ue.locations,contentSteeringInfo:Co(We,A),representationInfo:ks(vt.map(Wa(ue,Te))),eventStream:ks(vt.map(Hs))}},Ks=p=>{if(p==="")throw new Error(Qe.DASH_EMPTY_MANIFEST);const t=new on.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(Qe.DASH_INVALID_XML);return c},Mi=p=>{const t=ss(p,"UTCTiming")[0];if(!t)return null;const o=_s(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(Qe.UNSUPPORTED_UTC_TIMING_SCHEME)}return o},Me=null,je=(p,t={})=>{const o=Oo(Ks(p),t),c=ts(o.representationInfo);return $s({dashPlaylists:c,locations:o.locations,contentSteering:o.contentSteeringInfo,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest,eventStream:o.eventStream})},Ot=p=>Mi(Ks(p));var Wt=e(15388),Br=e.n(Wt),Vr=wt([73,68,51]),an=function(t,o){o===void 0&&(o=0),t=wt(t);var c=t[o+5],y=t[o+6]<<21|t[o+7]<<14|t[o+8]<<7|t[o+9],A=(c&16)>>4;return A?y+20:y+10},ii=function p(t,o){return o===void 0&&(o=0),t=wt(t),t.length-o<10||!Ur(t,Vr,{offset:o})?o:(o+=an(t,o),p(t,o))},Yi,Ui,bi,Ws=function(t){var o="",c=t[1]>>>3,y=t[1]&31,A=t[2]>>>7,D=(t[2]&64)>>6,K=(t[2]&32)>>5,ue=(t[2]&16)>>4,Te=(t[2]&8)>>3,We=(t[2]&4)>>2,vt=t[2]&3;o+=c+"."+Yi(y,2,"0"),A===0?o+="M":A===1&&(o+="H");var er;return c===2&&D?er=K?12:10:er=D?10:8,o+="."+Yi(er,2,"0"),o+="."+ue,o+="."+Te+We+vt,o},ms=function(t){var o=Ui(t[1]),c=Ui(t[2]&252),y=Ui(t[3]);return""+o+c+y},Le=function(t){var o="",c=t[1]>>6,y=t[1]&31,A=(t[1]&32)>>5,D=t.subarray(2,6),K=t.subarray(6,12),ue=t[12];c===1?o+="A":c===2?o+="B":c===3&&(o+="C"),o+=y+".";var Te=parseInt(bi(D).split("").reverse().join(""),2);Te>255&&(Te=parseInt(bi(D),2)),o+=Te.toString(16)+".",A===0?o+="L":o+="H",o+=ue;for(var We="",vt=0;vt<K.length;vt++){var er=K[vt];er&&(We&&(We+="."),We+=er.toString(16))}return We&&(o+="."+We),o},Ye=new Uint8Array([79,112,117,115,72,101,97,100]),ft=function(t){var o=new DataView(t.buffer,t.byteOffset,t.byteLength),c=o.getUint8(0),y=c!==0,A={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(A.channelMappingFamily>0&&t.length>10){A.streamCount=o.getUint8(11),A.twoChannelStreamCount=o.getUint8(12),A.channelMapping=[];for(var D=0;D<A.channels;D++)A.channelMapping.push(o.getUint8(13+D))}return A},ht=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(A,D){c.setUint8(12+D,A)})),new Uint8Array(c.buffer)},Mt,Jt,Er,Lr,Mn,Pn,kn,Gi,os,Os,ir=function(t){return typeof t=="string"?wi(t):t},Bt=function(t){return Array.isArray(t)?t.map(function(o){return ir(o)}):[ir(t)]},sr,Cr=function(t){t=wt(t);for(var o=[],c=0;t.length>c;){var y=t[c],A=0,D=0;D++;var K=t[D];for(D++;K&128;)A=(K&127)<<7,K=t[D],D++;A+=K&127;for(var ue=0;ue<sr.length;ue++){var Te=sr[ue],We=Te.id,vt=Te.parser;if(y===We){o.push(vt(t.subarray(D,D+A)));break}}c+=A+D}return o};sr=[{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=gn(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=Cr(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:Cr(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 Fn=function p(t,o,c){c===void 0&&(c=!1),o=Bt(o),t=wt(t);var y=[];if(!o.length)return y;for(var A=0;A<t.length;){var D=(t[A]<<24|t[A+1]<<16|t[A+2]<<8|t[A+3])>>>0,K=t.subarray(A+4,A+8);if(D===0)break;var ue=A+D;if(ue>t.length){if(c)break;ue=t.length}var Te=t.subarray(A+8,ue);Ur(K,o[0])&&(o.length===1?y.push(Te):y.push.apply(y,p(Te,o.slice(1),c))),A=ue}return y},Pe=function(t,o){if(o=ir(o),!o.length)return t.subarray(t.length);for(var c=0;c<t.length;){if(Mt(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,A=y>1?c+y:t.byteLength;return t.subarray(c+4,A)}c++}return t.subarray(t.length)},Be=function(t,o,c){o===void 0&&(o=4),c===void 0&&(c=function(ue){return Jt(ue)});var y=[];if(!t||!t.length)return y;for(var A=Jt(t.subarray(4,8)),D=8;A;D+=o,A--)y.push(c(t.subarray(D,D+o)));return y},it=function(t,o){for(var c=Be(Fn(t,["stss"])[0]),y=Be(Fn(t,["stco"])[0]),A=Be(Fn(t,["stts"])[0],8,function(ia){return{sampleCount:Jt(ia.subarray(0,4)),sampleDelta:Jt(ia.subarray(4,8))}}),D=Be(Fn(t,["stsc"])[0],12,function(ia){return{firstChunk:Jt(ia.subarray(0,4)),samplesPerChunk:Jt(ia.subarray(4,8)),sampleDescriptionIndex:Jt(ia.subarray(8,12))}}),K=Fn(t,["stsz"])[0],ue=Be(K&&K.length&&K.subarray(4)||null),Te=[],We=0;We<y.length;We++){for(var vt=void 0,er=0;er<D.length;er++){var Tr=D[er],zr=We+1>=Tr.firstChunk&&(er+1>=D.length||We+1<D[er+1].firstChunk);if(zr){vt=Tr.samplesPerChunk;break}}for(var St=y[We],En=0;En<vt;En++){var xn=ue[Te.length],pn=!c.length;c.length&&c.indexOf(Te.length+1)!==-1&&(pn=!0);for(var Qr={keyframe:pn,start:St,end:St+xn},Ln=0;Ln<A.length;Ln++){var Cn=A[Ln],pi=Cn.sampleCount,Bn=Cn.sampleDelta;if(Te.length<=pi){var Si=Te.length?Te[Te.length-1].timestamp:0;Qr.timestamp=Si+Bn/o*1e3,Qr.duration=Bn;break}}Te.push(Qr),St+=xn}}return Te},st=function(t,o){var c=Er(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=Pe(o,"avcC");c+="."+kn(y),t.info.avcC=y}else if(c==="hvc1"||c==="hev1")c+="."+Gi(Pe(o,"hvcC"));else if(c==="mp4a"||c==="mp4v"){var A=Pe(o,"esds"),D=Cr(A.subarray(4))[0],K=D&&D.descriptors.filter(function(pn){var Qr=pn.tag;return Qr===4})[0];K?(c+="."+Lr(K.oti),K.oti===64?c+="."+(K.descriptors[0].bytes[0]>>3).toString():K.oti===32?c+="."+K.descriptors[0].bytes[4].toString():K.oti===221&&(c="vorbis")):t.type==="audio"?c+=".40.2":c+=".20.9"}else if(c==="av01")c+="."+os(Pe(o,"av1C"));else if(c==="vp09"){var ue=Pe(o,"vpcC"),Te=ue[0],We=ue[1],vt=ue[2]>>4,er=(ue[2]&15)>>1,Tr=(ue[2]&15)>>3,zr=ue[3],St=ue[4],En=ue[5];c+="."+Mn(Te,2,"0"),c+="."+Mn(We,2,"0"),c+="."+Mn(vt,2,"0"),c+="."+Mn(er,2,"0"),c+="."+Mn(zr,2,"0"),c+="."+Mn(St,2,"0"),c+="."+Mn(En,2,"0"),c+="."+Mn(Tr,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 xn=Pe(o,"dOps");t.info.opus=Os(xn),t.info.codecDelay=65e5}else c=c.toLowerCase();t.codec=c},jt=function(t,o){o===void 0&&(o=!0),t=Pn(t);var c=Fn(t,["moov","trak"],!0),y=[];return c.forEach(function(A){var D={bytes:A},K=Fn(A,["mdia"])[0],ue=Fn(K,["hdlr"])[0],Te=Er(ue.subarray(8,12));Te==="soun"?D.type="audio":Te==="vide"?D.type="video":D.type=Te;var We=Fn(A,["tkhd"])[0];if(We){var vt=new DataView(We.buffer,We.byteOffset,We.byteLength),er=vt.getUint8(0);D.number=er===0?vt.getUint32(12):vt.getUint32(20)}var Tr=Fn(K,["mdhd"])[0];if(Tr){var zr=Tr[0],St=zr===0?12:20;D.timescale=(Tr[St]<<24|Tr[St+1]<<16|Tr[St+2]<<8|Tr[St+3])>>>0}for(var En=Fn(K,["minf","stbl"])[0],xn=Fn(En,["stsd"])[0],pn=Jt(xn.subarray(4,8)),Qr=8;pn--;){var Ln=Jt(xn.subarray(Qr,Qr+4)),Cn=xn.subarray(Qr+4,Qr+4+Ln);st(D,Cn),Qr+=4+Ln}o&&(D.frameTable=it(En,D.timescale)),y.push(D)}),y},Gt=function(t){var o=Fn(t,["moov","mvhd"],!0)[0];if(!(!o||!o.length)){var c={};return o[0]===1?(c.timestampScale=Jt(o.subarray(20,24)),c.duration=Jt(o.subarray(24,32))):(c.timestampScale=Jt(o.subarray(12,16)),c.duration=Jt(o.subarray(16,20))),c.bytes=o,c}},ar,ur,Un,An,jn,Wi,Vs,Pi={EBML:wt([26,69,223,163]),DocType:wt([66,130]),Segment:wt([24,83,128,103]),SegmentInfo:wt([21,73,169,102]),Tracks:wt([22,84,174,107]),Track:wt([174]),TrackNumber:wt([215]),DefaultDuration:wt([35,227,131]),TrackEntry:wt([174]),TrackType:wt([131]),FlagDefault:wt([136]),CodecID:wt([134]),CodecPrivate:wt([99,162]),VideoTrack:wt([224]),AudioTrack:wt([225]),Cluster:wt([31,67,182,117]),Timestamp:wt([231]),TimestampScale:wt([42,215,177]),BlockGroup:wt([160]),BlockDuration:wt([155]),Block:wt([161]),SimpleBlock:wt([163])},ws=[128,64,32,16,8,4,2,1],Ci=function(t){for(var o=1,c=0;c<ws.length&&!(t&ws[c]);c++)o++;return o},ei=function(t,o,c,y){c===void 0&&(c=!0),y===void 0&&(y=!1);var A=Ci(t[o]),D=t.subarray(o,o+A);return c&&(D=Array.prototype.slice.call(t,o,o+A),D[0]^=ws[A-1]),{length:A,value:ln(D,{signed:y}),bytes:D}},hi=function p(t){return typeof t=="string"?t.match(/.{1,2}/g).map(function(o){return p(o)}):typeof t=="number"?cn(t):t},Ps=function(t){return Array.isArray(t)?t.map(function(o){return hi(o)}):[hi(t)]},Zi=function p(t,o,c){if(c>=o.length)return o.length;var y=ei(o,c,!1);if(Ur(t.bytes,y.bytes))return c;var A=ei(o,c+y.length);return p(t,o,c+A.length+A.value+y.length)},Ti=function p(t,o){o=Ps(o),t=wt(t);var c=[];if(!o.length)return c;for(var y=0;y<t.length;){var A=ei(t,y,!1),D=ei(t,y+A.length),K=y+A.length+D.length;D.value===127&&(D.value=Zi(A,t,K),D.value!==t.length&&(D.value-=K));var ue=K+D.value>t.length?t.length:K+D.value,Te=t.subarray(K,ue);Ur(o[0],A.bytes)&&(o.length===1?c.push(Te):c=c.concat(p(Te,o.slice(1))));var We=A.length+D.length+Te.length;y+=We}return c},xs=function(t,o,c,y){var A;o==="group"&&(A=Ti(t,[Pi.BlockDuration])[0],A&&(A=ar(A),A=1/c*A*c/1e3),t=Ti(t,[Pi.Block])[0],o="block");var D=new DataView(t.buffer,t.byteOffset,t.byteLength),K=ei(t,0),ue=D.getInt16(K.length,!1),Te=t[K.length+2],We=t.subarray(K.length+3),vt=1/c*(y+ue)*c/1e3,er={duration:A,trackNumber:K.value,keyframe:o==="simple"&&Te>>7===1,invisible:(Te&8)>>3===1,lacing:(Te&6)>>1,discardable:o==="simple"&&(Te&1)===1,frames:[],pts:vt,dts:vt,timestamp:ue};if(!er.lacing)return er.frames.push(We),er;var Tr=We[0]+1,zr=[],St=1;if(er.lacing===2)for(var En=(We.length-St)/Tr,xn=0;xn<Tr;xn++)zr.push(En);if(er.lacing===1)for(var pn=0;pn<Tr-1;pn++){var Qr=0;do Qr+=We[St],St++;while(We[St-1]===255);zr.push(Qr)}if(er.lacing===3)for(var Ln=0,Cn=0;Cn<Tr-1;Cn++){var pi=Cn===0?ei(We,St):ei(We,St,!0,!0);Ln+=pi.value,zr.push(Ln),St+=pi.length}return zr.forEach(function(Bn){er.frames.push(We.subarray(St,St+Bn)),St+=Bn}),er},ma=function(t){for(var o=0,c={};o<t.length;){var y=t[o]&127,A=t[o+1],D=void 0;A===1?D=t[o+2]:D=t.subarray(o+2,o+2+A),y===1?c.profile=D:y===2?c.level=D:y===3?c.bitDepth=D:y===4?c.chromaSubsampling=D:c[y]=D,o+=2+A}return c},Fo=function(t){t=ur(t);var o=[],c=Ti(t,[Pi.Segment,Pi.Tracks,Pi.Track]);return c.length||(c=Ti(t,[Pi.Tracks,Pi.Track])),c.length||(c=Ti(t,[Pi.Track])),c.length?(c.forEach(function(y){var A=Ti(y,Pi.TrackType)[0];if(!(!A||!A.length)){if(A[0]===1)A="video";else if(A[0]===2)A="audio";else if(A[0]===17)A="subtitle";else return;var D={rawCodec:Un(Ti(y,[Pi.CodecID])[0]),type:A,codecPrivate:Ti(y,[Pi.CodecPrivate])[0],number:ar(Ti(y,[Pi.TrackNumber])[0]),defaultDuration:ar(Ti(y,[Pi.DefaultDuration])[0]),default:Ti(y,[Pi.FlagDefault])[0],rawData:y},K="";if(/V_MPEG4\/ISO\/AVC/.test(D.rawCodec))K="avc1."+jn(D.codecPrivate);else if(/V_MPEGH\/ISO\/HEVC/.test(D.rawCodec))K="hev1."+Wi(D.codecPrivate);else if(/V_MPEG4\/ISO\/ASP/.test(D.rawCodec))D.codecPrivate?K="mp4v.20."+D.codecPrivate[4].toString():K="mp4v.20.9";else if(/^V_THEORA/.test(D.rawCodec))K="theora";else if(/^V_VP8/.test(D.rawCodec))K="vp8";else if(/^V_VP9/.test(D.rawCodec))if(D.codecPrivate){var ue=ma(D.codecPrivate),Te=ue.profile,We=ue.level,vt=ue.bitDepth,er=ue.chromaSubsampling;K="vp09.",K+=An(Te,2,"0")+".",K+=An(We,2,"0")+".",K+=An(vt,2,"0")+".",K+=""+An(er,2,"0");var Tr=Ti(y,[224,[85,176],[85,177]])[0]||[],zr=Ti(y,[224,[85,176],[85,185]])[0]||[],St=Ti(y,[224,[85,176],[85,186]])[0]||[],En=Ti(y,[224,[85,176],[85,187]])[0]||[];(Tr.length||zr.length||St.length||En.length)&&(K+="."+An(En[0],2,"0"),K+="."+An(St[0],2,"0"),K+="."+An(Tr[0],2,"0"),K+="."+An(zr[0],2,"0"))}else K="vp9";else/^V_AV1/.test(D.rawCodec)?K="av01."+Vs(D.codecPrivate):/A_ALAC/.test(D.rawCodec)?K="alac":/A_MPEG\/L2/.test(D.rawCodec)?K="mp2":/A_MPEG\/L3/.test(D.rawCodec)?K="mp3":/^A_AAC/.test(D.rawCodec)?D.codecPrivate?K="mp4a.40."+(D.codecPrivate[0]>>>3).toString():K="mp4a.40.2":/^A_AC3/.test(D.rawCodec)?K="ac-3":/^A_PCM/.test(D.rawCodec)?K="pcm":/^A_MS\/ACM/.test(D.rawCodec)?K="speex":/^A_EAC3/.test(D.rawCodec)?K="ec-3":/^A_VORBIS/.test(D.rawCodec)?K="vorbis":/^A_FLAC/.test(D.rawCodec)?K="flac":/^A_OPUS/.test(D.rawCodec)&&(K="opus");D.codec=K,o.push(D)}}),o.sort(function(y,A){return y.number-A.number})):o},ho=function(t,o){var c=[],y=Ti(t,[Pi.Segment])[0],A=Ti(y,[Pi.SegmentInfo,Pi.TimestampScale])[0];A&&A.length?A=ar(A):A=1e6;var D=Ti(y,[Pi.Cluster]);return o||(o=Fo(y)),D.forEach(function(K,ue){var Te=Ti(K,[Pi.SimpleBlock]).map(function(Tr){return{type:"simple",data:Tr}}),We=Ti(K,[Pi.BlockGroup]).map(function(Tr){return{type:"group",data:Tr}}),vt=Ti(K,[Pi.Timestamp])[0]||0;vt&&vt.length&&(vt=ar(vt));var er=Te.concat(We).sort(function(Tr,zr){return Tr.data.byteOffset-zr.data.byteOffset});er.forEach(function(Tr,zr){var St=xs(Tr.data,Tr.type,A,vt);c.push(St)})}),{tracks:o,blocks:c}},la=wt([0,0,0,1]),Fa=wt([0,0,1]),V=wt([0,0,3]),$=function(t){for(var o=[],c=1;c<t.length-2;)Ur(t.subarray(c,c+3),V)&&(o.push(c+2),c++),c++;if(o.length===0)return t;var y=t.length-o.length,A=new Uint8Array(y),D=0;for(c=0;c<y;D++,c++)D===o[0]&&(D++,o.shift()),A[c]=t[D];return A},ne=function(t,o,c,y){y===void 0&&(y=1/0),t=wt(t),c=[].concat(c);for(var A=0,D,K=0;A<t.length&&(K<y||D);){var ue=void 0;if(Ur(t.subarray(A),la)?ue=4:Ur(t.subarray(A),Fa)&&(ue=3),!ue){A++;continue}if(K++,D)return $(t.subarray(D,A));var Te=void 0;o==="h264"?Te=t[A+ue]&31:o==="h265"&&(Te=t[A+ue]>>1&63),c.indexOf(Te)!==-1&&(D=A+ue),A+=ue+(o==="h264"?1:2)}return t.subarray(0,0)},me=function(t,o,c){return ne(t,"h264",o,c)},Oe=function(t,o,c){return ne(t,"h265",o,c)},ze={webm:wt([119,101,98,109]),matroska:wt([109,97,116,114,111,115,107,97]),flac:wt([102,76,97,67]),ogg:wt([79,103,103,83]),ac3:wt([11,119]),riff:wt([82,73,70,70]),avi:wt([65,86,73]),wav:wt([87,65,86,69]),"3gp":wt([102,116,121,112,51,103]),mp4:wt([102,116,121,112]),fmp4:wt([115,116,121,112]),mov:wt([102,116,121,112,113,116]),moov:wt([109,111,111,118]),moof:wt([109,111,111,102])},nt={aac:function(t){var o=ii(t);return Ur(t,[255,16],{offset:o,mask:[255,22]})},mp3:function(t){var o=ii(t);return Ur(t,[255,2],{offset:o,mask:[255,6]})},webm:function(t){var o=Ti(t,[Pi.EBML,Pi.DocType])[0];return Ur(o,ze.webm)},mkv:function(t){var o=Ti(t,[Pi.EBML,Pi.DocType])[0];return Ur(o,ze.matroska)},mp4:function(t){if(nt["3gp"](t)||nt.mov(t))return!1;if(Ur(t,ze.mp4,{offset:4})||Ur(t,ze.fmp4,{offset:4})||Ur(t,ze.moof,{offset:4})||Ur(t,ze.moov,{offset:4}))return!0},mov:function(t){return Ur(t,ze.mov,{offset:4})},"3gp":function(t){return Ur(t,ze["3gp"],{offset:4})},ac3:function(t){var o=ii(t);return Ur(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=ii(t);return Ur(t,ze.flac,{offset:o})},ogg:function(t){return Ur(t,ze.ogg)},avi:function(t){return Ur(t,ze.riff)&&Ur(t,ze.avi,{offset:8})},wav:function(t){return Ur(t,ze.riff)&&Ur(t,ze.wav,{offset:8})},h264:function(t){return me(t,7,3).length},h265:function(t){return Oe(t,[32,33],3).length}},ct=Object.keys(nt).filter(function(p){return p!=="ts"&&p!=="h264"&&p!=="h265"}).concat(["ts","h264","h265"]);ct.forEach(function(p){var t=nt[p];nt[p]=function(o){return t(wt(o))}});var Dt=nt,Zt=function(t){t=wt(t);for(var o=0;o<ct.length;o++){var c=ct[o];if(Dt[c](t))return c}return""},Ft=function(t){return Fn(t,["moof"]).length>0},Rr=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 Jr="8.23.7";const In={},Rn=function(p,t){return In[p]=In[p]||[],t&&(In[p]=In[p].concat(t)),In[p]},Jn=function(p,t){Rn(p,t)},_i=function(p,t){const o=Rn(p).indexOf(t);return o<=-1?!1:(In[p]=In[p].slice(),In[p].splice(o,1),!0)},qn=function(p,t){Rn(p,[].concat(t).map(o=>{const c=(...y)=>(_i(p,c),o(...y));return c}))},Xi={prefixed:!0},cs=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"]],nr=cs[0];let Fr;for(let p=0;p<cs.length;p++)if(cs[p][1]in M()){Fr=cs[p];break}if(Fr){for(let p=0;p<Fr.length;p++)Xi[nr[p]]=Fr[p];Xi.prefixed=Fr[0]!==nr[0]}let _r=[];const ui=(p,t,o)=>(c,y,A)=>{const D=t.levels[y],K=new RegExp(`^(${D})$`);let ue=p;if(c!=="log"&&A.unshift(c.toUpperCase()+":"),o&&(ue=`%c${p}`,A.unshift(o)),A.unshift(ue+":"),_r){_r.push([].concat(A));const We=_r.length-1e3;_r.splice(0,We>0?We:0)}if(!R().console)return;let Te=R().console[c];!Te&&c==="debug"&&(Te=R().console.info||R().console.log),!(!Te||!D||!K.test(c))&&Te[Array.isArray(A)?"apply":"call"](R().console,A)};function Ni(p,t=":",o=""){let c="info",y;function A(...D){y("log",c,D)}return y=ui(p,A,o),A.createLogger=(D,K,ue)=>{const Te=K!==void 0?K:t,We=ue!==void 0?ue:o,vt=`${p} ${Te} ${D}`;return Ni(vt,Te,We)},A.createNewLogger=(D,K,ue)=>Ni(D,K,ue),A.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:c},A.level=D=>{if(typeof D=="string"){if(!A.levels.hasOwnProperty(D))throw new Error(`"${D}" in not a valid log level`);c=D}return c},A.history=()=>_r?[].concat(_r):[],A.history.filter=D=>(_r||[]).filter(K=>new RegExp(`.*${D}.*`).test(K[0])),A.history.clear=()=>{_r&&(_r.length=0)},A.history.disable=()=>{_r!==null&&(_r.length=0,_r=null)},A.history.enable=()=>{_r===null&&(_r=[])},A.error=(...D)=>y("error",c,D),A.warn=(...D)=>y("warn",c,D),A.debug=(...D)=>y("debug",c,D),A}const ci=Ni("VIDEOJS"),ra=ci.createLogger,na=Object.prototype.toString,hu=function(p){return $o(p)?Object.keys(p):[]};function zo(p,t){hu(p).forEach(o=>t(p[o],o))}function bo(p,t,o=0){return hu(p).reduce((c,y)=>t(c,p[y],y),o)}function $o(p){return!!p&&typeof p=="object"}function Yu(p){return $o(p)&&na.call(p)==="[object Object]"&&p.constructor===Object}function ua(...p){const t={};return p.forEach(o=>{o&&zo(o,(c,y)=>{if(!Yu(c)){t[y]=c;return}Yu(t[y])||(t[y]={}),t[y]=ua(t[y],c)})}),t}function pu(p={}){const t=[];for(const o in p)if(p.hasOwnProperty(o)){const c=p[o];t.push(c)}return t}function Mu(p,t,o,c=!0){const y=D=>Object.defineProperty(p,t,{value:D,enumerable:!0,writable:!0}),A={configurable:!0,enumerable:!0,get(){const D=o();return y(D),D}};return c&&(A.set=y),Object.defineProperty(p,t,A)}var Ea=Object.freeze({__proto__:null,each:zo,reduce:bo,isObject:$o,isPlain:Yu,merge:ua,values:pu,defineLazyProperty:Mu});let Yl=!1,ul=null,Io=!1,Lc,Xl=!1,Us=!1,su=!1,oo=!1,ku=null,Ml=null;const oe=!!(R().cast&&R().cast.framework&&R().cast.framework.CastReceiverContext);let mr=null,ot=!1,gt=!1,mn=!1,Gn=!1,fs=!1,Rs=!1,fa=!1;const Ho=!!(Nu()&&("ontouchstart"in R()||R().navigator.maxTouchPoints||R().DocumentTouch&&R().document instanceof R().DocumentTouch)),po=R().navigator&&R().navigator.userAgentData;if(po&&po.platform&&po.brands&&(Io=po.platform==="Android",Us=!!po.brands.find(p=>p.brand==="Microsoft Edge"),su=!!po.brands.find(p=>p.brand==="Chromium"),oo=!Us&&su,ku=Ml=(po.brands.find(p=>p.brand==="Chromium")||{}).version||null,gt=po.platform==="Windows"),!su){const p=R().navigator&&R().navigator.userAgent||"";Yl=/iPod/i.test(p),ul=(function(){const t=p.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null})(),Io=/Android/i.test(p),Lc=(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),Us=/Edg/i.test(p),su=/Chrome/i.test(p)||/CriOS/i.test(p),oo=!Us&&su,ku=Ml=(function(){const t=p.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null})(),mr=(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})(),fs=/Tizen/i.test(p),Rs=/Web0S/i.test(p),fa=fs||Rs,ot=/Safari/i.test(p)&&!oo&&!Io&&!Us&&!fa,gt=/Windows/i.test(p),mn=/iPad/i.test(p)||ot&&Ho&&!/iPhone/i.test(p),Gn=/iPhone/i.test(p)&&!mn}const Ja=Gn||mn||Yl,Xu=(ot||Ja)&&!oo;var Bo=Object.freeze({__proto__:null,get IS_IPOD(){return Yl},get IOS_VERSION(){return ul},get IS_ANDROID(){return Io},get ANDROID_VERSION(){return Lc},get IS_FIREFOX(){return Xl},get IS_EDGE(){return Us},get IS_CHROMIUM(){return su},get IS_CHROME(){return oo},get CHROMIUM_VERSION(){return ku},get CHROME_VERSION(){return Ml},IS_CHROMECAST_RECEIVER:oe,get IE_VERSION(){return mr},get IS_SAFARI(){return ot},get IS_WINDOWS(){return gt},get IS_IPAD(){return mn},get IS_IPHONE(){return Gn},get IS_TIZEN(){return fs},get IS_WEBOS(){return Rs},get IS_SMART_TV(){return fa},TOUCH_ENABLED:Ho,IS_IOS:Ja,IS_ANY_SAFARI:Xu});function mu(p){return typeof p=="string"&&!!p.trim()}function kl(p){if(p.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function Nu(){return M()===R().document}function au(p){return $o(p)&&p.nodeType===1}function mo(){try{return R().parent!==R().self}catch{return!0}}function Po(p){return function(t,o){if(!mu(t))return M()[p](null);mu(o)&&(o=M().querySelector(o));const c=au(o)?o:M();return c[p]&&c[p](t)}}function Is(p="div",t={},o={},c){const y=M().createElement(p);return Object.getOwnPropertyNames(t).forEach(function(A){const D=t[A];A==="textContent"?ou(y,D):(y[A]!==D||A==="tabIndex")&&(y[A]=D)}),Object.getOwnPropertyNames(o).forEach(function(A){y.setAttribute(A,o[A])}),c&&Ke(y,c),y}function ou(p,t){return typeof p.textContent>"u"?p.innerText=t:p.textContent=t,p}function Qu(p,t){t.firstChild?t.insertBefore(p,t.firstChild):t.appendChild(p)}function Nl(p,t){return kl(t),p.classList.contains(t)}function Fu(p,...t){return p.classList.add(...t.reduce((o,c)=>o.concat(c.split(/\s+/)),[])),p}function Bu(p,...t){return p?(p.classList.remove(...t.reduce((o,c)=>o.concat(c.split(/\s+/)),[])),p):(ci.warn("removeClass was called with an element that doesn't exist"),null)}function xl(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 Uu(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 go(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 A=c[y].name;let D=c[y].value;o.includes(A)&&(D=D!==null),t[A]=D}}return t}function ju(p,t){return p.getAttribute(t)}function Wo(p,t,o){p.setAttribute(t,o)}function gu(p,t){p.removeAttribute(t)}function pc(){M().body.focus(),M().onselectstart=function(){return!1}}function we(){M().onselectstart=function(){return!0}}function Ze(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(js(p,"height"))),o.width||(o.width=parseFloat(js(p,"width"))),o}}function lt(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!==M()[Xi.fullscreenElement];)c+=p.offsetLeft,y+=p.offsetTop,p=p.offsetParent;return{left:c,top:y,width:t,height:o}}function Rt(p,t){const o={x:0,y:0};if(Ja){let We=p;for(;We&&We.nodeName.toLowerCase()!=="html";){const vt=js(We,"transform");if(/^matrix/.test(vt)){const er=vt.slice(7,-1).split(/,\s/).map(Number);o.x+=er[4],o.y+=er[5]}else if(/^matrix3d/.test(vt)){const er=vt.slice(9,-1).split(/,\s/).map(Number);o.x+=er[12],o.y+=er[13]}if(We.assignedSlot&&We.assignedSlot.parentElement&&R().WebKitCSSMatrix){const er=R().getComputedStyle(We.assignedSlot.parentElement).transform,Tr=new(R()).WebKitCSSMatrix(er);o.x+=Tr.m41,o.y+=Tr.m42}We=We.parentNode||We.host}}const c={},y=lt(t.target),A=lt(p),D=A.width,K=A.height;let ue=t.offsetY-(A.top-y.top),Te=t.offsetX-(A.left-y.left);return t.changedTouches&&(Te=t.changedTouches[0].pageX-A.left,ue=t.changedTouches[0].pageY+A.top,Ja&&(Te-=o.x,ue-=o.y)),c.y=1-Math.max(0,Math.min(1,ue/K)),c.x=Math.max(0,Math.min(1,Te/D)),c}function Kt(p){return $o(p)&&p.nodeType===3}function Or(p){for(;p.firstChild;)p.removeChild(p.firstChild);return p}function hn(p){return typeof p=="function"&&(p=p()),(Array.isArray(p)?p:[p]).map(t=>{if(typeof t=="function"&&(t=t()),au(t)||Kt(t))return t;if(typeof t=="string"&&/\S/.test(t))return M().createTextNode(t)}).filter(t=>t)}function Ke(p,t){return hn(t).forEach(o=>p.appendChild(o)),p}function xi(p,t){return Ke(Or(p),t)}function vi(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 gi=Po("querySelector"),Ii=Po("querySelectorAll");function js(p,t){if(!p||!t)return"";if(typeof R().getComputedStyle=="function"){let o;try{o=R().getComputedStyle(p)}catch{return""}return o?o.getPropertyValue(t)||o[t]:""}return""}function Za(p){[...M().styleSheets].forEach(t=>{try{const o=[...t.cssRules].map(y=>y.cssText).join(""),c=M().createElement("style");c.textContent=o,p.document.head.appendChild(c)}catch{const c=M().createElement("link");c.rel="stylesheet",c.type=t.type,c.media=t.media.mediaText,c.href=t.href,p.document.head.appendChild(c)}})}var qa=Object.freeze({__proto__:null,isReal:Nu,isEl:au,isInFrame:mo,createEl:Is,textContent:ou,prependTo:Qu,hasClass:Nl,addClass:Fu,removeClass:Bu,toggleClass:xl,setAttributes:Uu,getAttributes:go,getAttribute:ju,setAttribute:Wo,removeAttribute:gu,blockTextSelection:pc,unblockTextSelection:we,getBoundingClientRect:Ze,findPosition:lt,getPointerPosition:Rt,isTextNode:Kt,emptyEl:Or,normalizeContent:hn,appendContent:Ke,insertContent:xi,isSingleLeftClick:vi,$:gi,$$:Ii,computedStyle:js,copyStyleSheetsToWindow:Za});let Ca=!1,Va;const ca=function(){if(Va.options.autoSetup===!1)return;const p=Array.prototype.slice.call(M().getElementsByTagName("video")),t=Array.prototype.slice.call(M().getElementsByTagName("audio")),o=Array.prototype.slice.call(M().getElementsByTagName("video-js")),c=p.concat(t,o);if(c&&c.length>0)for(let y=0,A=c.length;y<A;y++){const D=c[y];if(D&&D.getAttribute)D.player===void 0&&D.getAttribute("data-setup")!==null&&Va(D);else{Ma(1);break}}else Ca||Ma(1)};function Ma(p,t){Nu()&&(t&&(Va=t),R().setTimeout(ca,p))}function no(){Ca=!0,R().removeEventListener("load",no)}Nu()&&(M().readyState==="complete"?no():R().addEventListener("load",no));const _u=function(p){const t=M().createElement("style");return t.className=p,t},So=function(p,t){p.styleSheet?p.styleSheet.cssText=t:p.textContent=t};var Ao=new WeakMap;let zu=3;function Au(){return zu++}function Mc(p,t){if(!Ao.has(p))return;const o=Ao.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&&Ao.delete(p)}function $u(p,t,o,c){o.forEach(function(y){p(t,y,c)})}function Hu(p){if(p.fixed_)return p;function t(){return!0}function o(){return!1}if(!p||!p.isPropagationStopped||!p.isImmediatePropagationStopped){const c=p||R().event;p={};const y=["layerX","layerY","keyLocation","path","webkitMovementX","webkitMovementY","mozPressure","mozInputSource"];for(const A in c)y.includes(A)||A==="returnValue"&&c.preventDefault||(p[A]=c[A]);if(p.target||(p.target=p.srcElement||M()),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 A=M().documentElement,D=M().body;p.pageX=p.clientX+(A&&A.scrollLeft||D&&D.scrollLeft||0)-(A&&A.clientLeft||D&&D.clientLeft||0),p.pageY=p.clientY+(A&&A.scrollTop||D&&D.scrollTop||0)-(A&&A.clientTop||D&&D.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 mc;const kc=function(){if(typeof mc!="boolean"){mc=!1;try{const p=Object.defineProperty({},"passive",{get(){mc=!0}});R().addEventListener("test",null,p),R().removeEventListener("test",null,p)}catch{}}return mc},rd=["touchstart","touchmove"];function uu(p,t,o){if(Array.isArray(t))return $u(uu,p,t,o);Ao.has(p)||Ao.set(p,{});const c=Ao.get(p);if(c.handlers||(c.handlers={}),c.handlers[t]||(c.handlers[t]=[]),o.guid||(o.guid=Au()),c.handlers[t].push(o),c.dispatcher||(c.disabled=!1,c.dispatcher=function(y,A){if(c.disabled)return;y=Hu(y);const D=c.handlers[y.type];if(D){const K=D.slice(0);for(let ue=0,Te=K.length;ue<Te&&!y.isImmediatePropagationStopped();ue++)try{K[ue].call(p,y,A)}catch(We){ci.error(We)}}}),c.handlers[t].length===1)if(p.addEventListener){let y=!1;kc()&&rd.indexOf(t)>-1&&(y={passive:!0}),p.addEventListener(t,c.dispatcher,y)}else p.attachEvent&&p.attachEvent("on"+t,c.dispatcher)}function Hn(p,t,o){if(!Ao.has(p))return;const c=Ao.get(p);if(!c.handlers)return;if(Array.isArray(t))return $u(Hn,p,t,o);const y=function(D,K){c.handlers[K]=[],Mc(D,K)};if(t===void 0){for(const D in c.handlers)Object.prototype.hasOwnProperty.call(c.handlers||{},D)&&y(p,D);return}const A=c.handlers[t];if(A){if(!o){y(p,t);return}if(o.guid)for(let D=0;D<A.length;D++)A[D].guid===o.guid&&A.splice(D--,1);Mc(p,t)}}function ll(p,t,o){const c=Ao.has(p)?Ao.get(p):{},y=p.parentNode||p.ownerDocument;if(typeof t=="string"?t={type:t,target:p}:t.target||(t.target=p),t=Hu(t),c.dispatcher&&c.dispatcher.call(p,t,o),y&&!t.isPropagationStopped()&&t.bubbles===!0)ll.call(null,y,t,o);else if(!y&&!t.defaultPrevented&&t.target&&t.target[t.type]){Ao.has(t.target)||Ao.set(t.target,{});const A=Ao.get(t.target);t.target[t.type]&&(A.disabled=!0,typeof t.target[t.type]=="function"&&t.target[t.type](),A.disabled=!1)}return!t.defaultPrevented}function gc(p,t,o){if(Array.isArray(t))return $u(gc,p,t,o);const c=function(){Hn(p,t,c),o.apply(this,arguments)};c.guid=o.guid=o.guid||Au(),uu(p,t,c)}function vu(p,t,o){const c=function(){Hn(p,t,c),o.apply(this,arguments)};c.guid=o.guid=o.guid||Au(),uu(p,t,c)}var Ta=Object.freeze({__proto__:null,fixEvent:Hu,on:uu,off:Hn,trigger:ll,one:gc,any:vu});const qo=30,Ba=function(p,t,o){t.guid||(t.guid=Au());const c=t.bind(p);return c.guid=o?o+"_"+t.guid:t.guid,c},Yo=function(p,t){let o=R().performance.now();return function(...y){const A=R().performance.now();A-o>=t&&(p(...y),o=A)}},Vo=function(p,t,o,c=R()){let y;const A=()=>{c.clearTimeout(y),y=null},D=function(){const K=this,ue=arguments;let Te=function(){y=null,Te=null,o||p.apply(K,ue)};!y&&o&&p.apply(K,ue),c.clearTimeout(y),y=c.setTimeout(Te,t)};return D.cancel=A,D};var vc=Object.freeze({__proto__:null,UPDATE_REFRESH_INTERVAL:qo,bind_:Ba,throttle:Yo,debounce:Vo});let Bl;class yu{on(t,o){const c=this.addEventListener;this.addEventListener=()=>{},uu(this,t,o),this.addEventListener=c}off(t,o){Hn(this,t,o)}one(t,o){const c=this.addEventListener;this.addEventListener=()=>{},gc(this,t,o),this.addEventListener=c}any(t,o){const c=this.addEventListener;this.addEventListener=()=>{},vu(this,t,o),this.addEventListener=c}trigger(t){const o=t.type||t;typeof t=="string"&&(t={type:o}),t=Hu(t),this.allowedEvents_[o]&&this["on"+o]&&this["on"+o](t),ll(this,t)}queueTrigger(t){Bl||(Bl=new Map);const o=t.type||t;let c=Bl.get(this);c||(c=new Map,Bl.set(this,c));const y=c.get(o);c.delete(o),R().clearTimeout(y);const A=R().setTimeout(()=>{c.delete(o),c.size===0&&(c=null,Bl.delete(this)),this.trigger(t)},0);c.set(o,A)}}yu.prototype.allowedEvents_={},yu.prototype.addEventListener=yu.prototype.on,yu.prototype.removeEventListener=yu.prototype.off,yu.prototype.dispatchEvent=yu.prototype.trigger;const Nc=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,Ro=p=>p instanceof yu||!!p.eventBusEl_&&["on","one","off","trigger"].every(t=>typeof p[t]=="function"),Cu=(p,t)=>{Ro(p)?t():(p.eventedCallbacks||(p.eventedCallbacks=[]),p.eventedCallbacks.push(t))},Ou=p=>typeof p=="string"&&/\S/.test(p)||Array.isArray(p)&&!!p.length,Ul=(p,t,o)=>{if(!p||!p.nodeName&&!Ro(p))throw new Error(`Invalid target for ${Nc(t)}#${o}; must be a DOM node or evented object.`)},Ql=(p,t,o)=>{if(!Ou(p))throw new Error(`Invalid event type for ${Nc(t)}#${o}; must be a non-empty string or array.`)},nd=(p,t,o)=>{if(typeof p!="function")throw new Error(`Invalid listener for ${Nc(t)}#${o}; must be a function.`)},bu=(p,t,o)=>{const c=t.length<3||t[0]===p||t[0]===p.eventBusEl_;let y,A,D;return c?(y=p.eventBusEl_,t.length>=3&&t.shift(),[A,D]=t):(y=t[0],A=t[1],D=t[2]),Ul(y,p,o),Ql(A,p,o),nd(D,p,o),D=Ba(p,D),{isTargetingSelf:c,target:y,type:A,listener:D}},cl=(p,t,o,c)=>{Ul(p,p,t),p.nodeName?Ta[t](p,o,c):p[t](o,c)},Ju={on(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=bu(this,p,"on");if(cl(o,"on",c,y),!t){const A=()=>this.off(o,c,y);A.guid=y.guid;const D=()=>this.off("dispose",A);D.guid=y.guid,cl(this,"on","dispose",A),cl(o,"on","dispose",D)}},one(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=bu(this,p,"one");if(t)cl(o,"one",c,y);else{const A=(...D)=>{this.off(o,c,A),y.apply(null,D)};A.guid=y.guid,cl(o,"one",c,A)}},any(...p){const{isTargetingSelf:t,target:o,type:c,listener:y}=bu(this,p,"any");if(t)cl(o,"any",c,y);else{const A=(...D)=>{this.off(o,c,A),y.apply(null,D)};A.guid=y.guid,cl(o,"any",c,A)}},off(p,t,o){if(!p||Ou(p))Hn(this.eventBusEl_,p,t);else{const c=p,y=t;Ul(c,this,"off"),Ql(y,this,"off"),nd(o,this,"off"),o=Ba(this,o),this.off("dispose",o),c.nodeName?(Hn(c,y,o),Hn(c,"dispose",o)):Ro(c)&&(c.off(y,o),c.off("dispose",o))}},trigger(p,t){Ul(this.eventBusEl_,this,"trigger");const o=p&&typeof p!="string"?p.type:p;if(!Ou(o))throw new Error(`Invalid event type for ${Nc(this)}#trigger; must be a non-empty string or object with a type key that has a non-empty value.`);return ll(this.eventBusEl_,p,t)}};function Xo(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_=Is("span",{className:"vjs-event-bus"});return Object.assign(p,Ju),p.eventedCallbacks&&p.eventedCallbacks.forEach(c=>{c()}),p.on("dispose",()=>{p.off(),[p,p.el_,p.eventBusEl_].forEach(function(c){c&&Ao.has(c)&&Ao.delete(c)}),R().setTimeout(()=>{p.eventBusEl_=null},0)}),p}const Zu={state:{},setState(p){typeof p=="function"&&(p=p());let t;return zo(p,(o,c)=>{this.state[c]!==o&&(t=t||{},t[c]={from:this.state[c],to:o}),this.state[c]=o}),t&&Ro(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function yc(p,t){return Object.assign(p,Zu),p.state=Object.assign({},p.state,t),typeof p.handleStateChanged=="function"&&Ro(p)&&p.on("statechanged",p.handleStateChanged),p}const Iu=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toLowerCase())},Ga=function(p){return typeof p!="string"?p:p.replace(/./,t=>t.toUpperCase())},qu=function(p,t){return Ga(p)===Ga(t)};var vd=Object.freeze({__proto__:null,toLowerCase:Iu,toTitleCase:Ga,titleCaseEquals:qu});class wn{constructor(t,o,c){if(!t&&this.play?this.player_=t=this:this.player_=t,this.isDisposed_=!1,this.parentComponent_=null,this.options_=ua({},this.options_),o=this.options_=ua(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_${Au()}`}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&&(Xo(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),yc(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_=ua(this.options_,t),this.options_):this.options_}el(){return this.el_}createEl(t,o,c){return Is(t,o,c)}localize(t,o,c=t){const y=this.player_.language&&this.player_.language(),A=this.player_.languages&&this.player_.languages(),D=A&&A[y],K=y&&y.split("-")[0],ue=A&&A[K];let Te=c;return D&&D[t]?Te=D[t]:ue&&ue[t]&&(Te=ue[t]),o&&(Te=Te.replace(/\{(\d+)\}/g,function(We,vt){const er=o[vt-1];let Tr=er;return typeof er>"u"&&(Tr=We),Tr})),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=Is("span",{className:"vjs-icon-placeholder vjs-svg-icon"},{"aria-hidden":"true"}),A=M().createElementNS(c,"svg");A.setAttributeNS(null,"viewBox","0 0 512 512");const D=M().createElementNS(c,"use");return A.appendChild(D),D.setAttributeNS(null,"href",`#vjs-icon-${t}`),y.appendChild(A),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,A;if(typeof t=="string"){A=Ga(t);const D=o.componentClass||A;o.name=A;const K=wn.getComponent(D);if(!K)throw new Error(`Component ${D} does not exist`);if(typeof K!="function")return null;y=new K(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),A=A||y.name&&Ga(y.name()),A&&(this.childNameIndex_[A]=y,this.childNameIndex_[Iu(A)]=y),typeof y.el=="function"&&y.el()){let D=null;this.children_[c+1]&&(this.children_[c+1].el_?D=this.children_[c+1].el_:au(this.children_[c+1])&&(D=this.children_[c+1])),this.contentEl().insertBefore(y.el(),D)}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_[Ga(t.name())]=null,this.childNameIndex_[Iu(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=D=>{const K=D.name;let ue=D.opts;if(o[K]!==void 0&&(ue=o[K]),ue===!1)return;ue===!0&&(ue={}),ue.playerOptions=this.options_.playerOptions;const Te=this.addChild(K,ue);Te&&(this[K]=Te)};let y;const A=wn.getComponent("Tech");Array.isArray(t)?y=t:y=Object.keys(t),y.concat(Object.keys(this.options_).filter(function(D){return!y.some(function(K){return typeof K=="string"?D===K:D===K.name})})).map(D=>{let K,ue;return typeof D=="string"?(K=D,ue=t[K]||this.options_[K]||{}):(K=D.name,ue=D),{name:K,opts:ue}}).filter(D=>{const K=wn.getComponent(D.opts.componentClass||Ga(D.name));return K&&!A.isTech(K)}).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 gi(t,o||this.contentEl())}$$(t,o){return Ii(t,o||this.contentEl())}hasClass(t){return Nl(this.el_,t)}addClass(...t){Fu(this.el_,...t)}removeClass(...t){Bu(this.el_,...t)}toggleClass(t,o){xl(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 ju(this.el_,t)}setAttribute(t,o){Wo(this.el_,t,o)}removeAttribute(t){gu(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],A=y.indexOf("px");return parseInt(A!==-1?y.slice(0,A):this.el_["offset"+Ga(t)],10)}currentDimension(t){let o=0;if(t!=="width"&&t!=="height")throw new Error("currentDimension only accepts width or height value");if(o=js(this.el_,t),o=parseFloat(o),o===0||isNaN(o)){const c=`offset${Ga(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 A;this.on("touchstart",function(K){K.touches.length===1&&(o={pageX:K.touches[0].pageX,pageY:K.touches[0].pageY},t=R().performance.now(),A=!0)}),this.on("touchmove",function(K){if(K.touches.length>1)A=!1;else if(o){const ue=K.touches[0].pageX-o.pageX,Te=K.touches[0].pageY-o.pageY;Math.sqrt(ue*ue+Te*Te)>c&&(A=!1)}});const D=function(){A=!1};this.on("touchleave",D),this.on("touchcancel",D),this.on("touchend",function(K){o=null,A===!0&&R().performance.now()-t<y&&(K.preventDefault(),this.trigger("tap"))})}enableTouchActivity(){if(!this.player()||!this.player().reportUserActivity)return;const t=Ba(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=Ba(this,t),this.clearTimersOnDispose_(),c=R().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),R().clearTimeout(t)),t}setInterval(t,o){t=Ba(this,t),this.clearTimersOnDispose_();const c=R().setInterval(t,o);return this.setIntervalIds_.add(c),c}clearInterval(t){return this.setIntervalIds_.has(t)&&(this.setIntervalIds_.delete(t),R().clearInterval(t)),t}requestAnimationFrame(t){this.clearTimersOnDispose_();var o;return t=Ba(this,t),o=R().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=Ba(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),R().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(A){const D=R().getComputedStyle(A,null),K=D.getPropertyValue("visibility");return D.getPropertyValue("display")!=="none"&&!["hidden","collapse"].includes(K)}function c(A){return!(!o(A.parentElement)||!o(A)||A.style.opacity==="0"||R().getComputedStyle(A).height==="0px"||R().getComputedStyle(A).width==="0px")}function y(A){if(A.offsetWidth+A.offsetHeight+A.getBoundingClientRect().height+A.getBoundingClientRect().width===0)return!1;const D={x:A.getBoundingClientRect().left+A.offsetWidth/2,y:A.getBoundingClientRect().top+A.offsetHeight/2};if(D.x<0||D.x>(M().documentElement.clientWidth||R().innerWidth)||D.y<0||D.y>(M().documentElement.clientHeight||R().innerHeight))return!1;let K=M().elementFromPoint(D.x,D.y);for(;K;){if(K===A)return!0;if(K.parentNode)K=K.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=wn.getComponent("Tech"),y=c&&c.isTech(o),A=wn===o||wn.prototype.isPrototypeOf(o.prototype);if(y||!A){let K;throw y?K="techs must be registered using Tech.registerTech()":K="must be a Component subclass",new Error(`Illegal component, "${t}"; ${K}.`)}t=Ga(t),wn.components_||(wn.components_={});const D=wn.getComponent("Player");if(t==="Player"&&D&&D.players){const K=D.players,ue=Object.keys(K);if(K&&ue.length>0){for(let Te=0;Te<ue.length;Te++)if(K[ue[Te]]!==null)throw new Error("Can not register Player component after player has been created.")}}return wn.components_[t]=o,wn.components_[Iu(t)]=o,o}static getComponent(t){if(!(!t||!wn.components_))return wn.components_[t]}}wn.registerComponent("Component",wn);function Fc(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 id(p,t,o,c){return Fc(p,c,o.length-1),o[c][t]}function Jl(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:id.bind(null,"start",0,p),end:id.bind(null,"end",1,p)},R().Symbol&&R().Symbol.iterator&&(t[R().Symbol.iterator]=()=>(p||[]).values()),t}function Oa(p,t){return Array.isArray(p)?Jl(p):p===void 0||t===void 0?Jl():Jl([[p,t]])}const Zl=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 A=Math.floor(t/60%60),D=Math.floor(t/3600);return(isNaN(p)||p===1/0)&&(y=c=o="-"),y=y>0||D>0?y+":":"",c=((y||A>=10)&&c<10?"0"+c:c)+":",o=o<10?"0"+o:o,y+c+o};let ql=Zl;function xo(p){ql=p}function El(){ql=Zl}function el(p,t=p){return ql(p,t)}var jl=Object.freeze({__proto__:null,createTimeRanges:Oa,createTimeRange:Oa,setFormatTime:xo,resetFormatTime:El,formatTime:el});function Bc(p,t){let o=0,c,y;if(!t)return 0;(!p||!p.length)&&(p=Oa(0,0));for(let A=0;A<p.length;A++)c=p.start(A),y=p.end(A),y>t&&(y=t),o+=y-c;return o/t}function sa(p){if(p instanceof sa)return p;typeof p=="number"?this.code=p:typeof p=="string"?this.message=p:$o(p)&&(typeof p.code=="number"&&(this.code=p.code),Object.assign(this,p)),this.message||(this.message=sa.defaultMessages[this.code]||"")}sa.prototype.code=0,sa.prototype.message="",sa.prototype.status=null,sa.prototype.metadata=null,sa.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],sa.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."},sa.MEDIA_ERR_CUSTOM=0,sa.prototype.MEDIA_ERR_CUSTOM=0,sa.MEDIA_ERR_ABORTED=1,sa.prototype.MEDIA_ERR_ABORTED=1,sa.MEDIA_ERR_NETWORK=2,sa.prototype.MEDIA_ERR_NETWORK=2,sa.MEDIA_ERR_DECODE=3,sa.prototype.MEDIA_ERR_DECODE=3,sa.MEDIA_ERR_SRC_NOT_SUPPORTED=4,sa.prototype.MEDIA_ERR_SRC_NOT_SUPPORTED=4,sa.MEDIA_ERR_ENCRYPTED=5,sa.prototype.MEDIA_ERR_ENCRYPTED=5;function zl(p){return p!=null&&typeof p.then=="function"}function tl(p){zl(p)&&p.then(null,t=>{})}const bc=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 yd={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 A=bc(y.track);return y.src&&(A.src=y.src),A}).concat(Array.prototype.filter.call(p.textTracks(),function(y){return o.indexOf(y)===-1}).map(bc))},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:bc};const rl="vjs-modal-dialog";class fl extends wn{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_=Is("div",{className:`${rl}-content`},{role:"document"}),this.descEl_=Is("p",{className:`${rl}-description vjs-control-text`,id:this.el().getAttribute("aria-describedby")}),ou(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`${rl} 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(),xi(o,t),this.trigger("modalfill"),y?c.insertBefore(o,y):c.appendChild(o);const A=this.getChild("closeButton");A&&c.appendChild(A.el_),this.trigger("aftermodalfill")}empty(){this.trigger("beforemodalempty"),Or(this.contentEl()),this.trigger("modalempty")}content(t){return typeof t<"u"&&(this.content_=t),this.content_}conditionalFocus_(){const t=M().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 A=0;A<o.length;A++)if(c===o[A]){y=A;break}M().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 R().HTMLAnchorElement||o instanceof R().HTMLAreaElement)&&o.hasAttribute("href")||(o instanceof R().HTMLInputElement||o instanceof R().HTMLSelectElement||o instanceof R().HTMLTextAreaElement||o instanceof R().HTMLButtonElement)&&!o.hasAttribute("disabled")||o instanceof R().HTMLIFrameElement||o instanceof R().HTMLObjectElement||o instanceof R().HTMLEmbedElement||o.hasAttribute("tabindex")&&o.getAttribute("tabindex")!==-1||o.hasAttribute("contenteditable"))}}
vendor: 4,350 bytes, line 801
801fl.prototype.options_={pauseOnOpen:!0,temporary:!0},wn.registerComponent("ModalDialog",fl);class hl extends yu{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})},Ro(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 A=this[c];if(A.id===t){o=A;break}}return o}}hl.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"};for(const p in hl.prototype.allowedEvents_)hl.prototype["on"+p]=null;const Uc=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 pl extends hl{constructor(t=[]){for(let o=t.length-1;o>=0;o--)if(t[o].enabled){Uc(t,t[o]);break}super(t),this.changing_=!1}addTrack(t){t.enabled&&Uc(this,t),super.addTrack(t),t.addEventListener&&(t.enabledChange_=()=>{this.changing_||(this.changing_=!0,Uc(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 Tl=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 ec extends hl{constructor(t=[]){for(let o=t.length-1;o>=0;o--)if(t[o].selected){Tl(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&&Tl(this,t),super.addTrack(t),t.addEventListener&&(t.selectedChange_=()=>{this.changing_||(this.changing_=!0,Tl(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 da extends hl{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 N{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 A=function(D){""+D in this||Object.defineProperty(this,""+
vendor: 5,909 bytes, line 801
801D,{get(){return this.cues_[D]}})};if(o<y)for(c=o;c<y;c++)A.call(this,c)}getCueById(t){let o=null;for(let c=0,y=this.length;c<y;c++){const A=this[c];if(A.id===t){o=A;break}}return o}}const Ee={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ue={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},dt={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},gr={disabled:"disabled",hidden:"hidden",showing:"showing"};class _n extends yu{constructor(t={}){super();const o={id:t.id||"vjs_track_"+Au(),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 Ki=function(p){return new URL(p,M().baseURI)},Gs=function(p){return new URL(p,M().baseURI).href},aa=function(p){if(typeof p=="string"){const o=p.split("?")[0].replace(/\/+$/,"").match(/\.([^.\/]+)$/);return o?o[1].toLowerCase():""}return""},Eo=function(p,t=R().location){return Ki(p).origin!==t.origin};var Pu=Object.freeze({__proto__:null,parseUrl:Ki,getAbsoluteURL:Gs,getFileExtension:aa,isCrossOrigin:Eo});const wl=function(p,t){const o=new(R()).WebVTT.Parser(R(),R().vttjs,R().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&&(R().console&&R().console.groupCollapsed&&R().console.groupCollapsed(`Text Track parsing errors for ${t.src}`),c.forEach(y=>ci.error(y)),R().console&&R().console.groupEnd&&R().console.groupEnd()),o.flush()},jc=function(p,t){const o={uri:p},c=Eo(p);c&&(o.cors=c);const y=t.tech_.crossOrigin()==="use-credentials";y&&(o.withCredentials=y),H()(o,Ba(this,function(A,D,K){if(A)return ci.error(A,D);t.loaded_=!0,typeof R().WebVTT!="function"?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],ue=>{if(ue.type==="vttjserror"){ci.error(`vttjs failed to load, stopping trying to process ${t.src}`);return}return wl(K,t)}):wl(K,t)}))};class Hl extends _n{constructor(t={}){if(!t.tech)throw new Error("A tech was not provided.");const o=ua(t,{kind:dt[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 A=new re(this.cues_),D=new re(this.activeCues_);let K=!1;this.timeupdateHandler=Ba(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,K&&(this.trigger("cuechange"),K=!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&&jc(this.src,this),this.stopTracking(),c!=="disabled"&&this.startTracking(),this.trigger("modechange"))}},cues:{get(){return this.loaded_?A:null},set(){}},activeCues:{get(){if(!this.loaded_)return null;if(this.cues.length===0)return D;const Te=this.tech_.currentTime(),We=[];for(let vt=0,er=this.cues.length;vt<er;vt++){const Tr=this.cues[vt];Tr.startTime<=Te&&Tr.endTime>=Te&&We.push(Tr)}if(K=!1,We.length!==this.activeCues_.length)K=!0;else for(let vt=0;vt<We.length;vt++)this.activeCues_.indexOf(We[vt])===-1&&(K=!0);return this.activeCues_=We,D.setCues_(this.activeCues_),D},set(){}}}),o.src?(this.src=o.src,this.preload_||(this.loaded_=!0),(this.preload_||o.kind!=="subtitles"&&o.kind!=="captions")&&jc(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(R()).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 yd.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}}}}Hl.prototype.allowedEvents_={cuechange:"cuechange"};class _l extends _n{constructor(t={}){const o=ua(t,{kind:Ue[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 nl extends _n{constructor(t={}){const o=ua(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 Wl extends yu{constructor(t={}){super();let o;const c=new Hl(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=Wl.NONE,c.addEventListener("loadeddata",()=>{o=Wl.LOADED,this.trigger({type:"load",target:this})})}}Wl.prototype.allowedEvents_={load:"load"},Wl.NONE=0,Wl.LOADING=1,Wl.LOADED=2,Wl.ERROR=3;
vendor: 4,387 bytes, line 801
801const Qo={audio:{ListClass:pl,TrackClass:_l,capitalName:"Audio"},video:{ListClass:ec,TrackClass:nl,capitalName:"Video"},text:{ListClass:da,TrackClass:Hl,capitalName:"Text"}};Object.keys(Qo).forEach(function(p){Qo[p].getterName=`${p}Tracks`,Qo[p].privateName=`${p}Tracks_`});const Al={remoteText:{ListClass:da,TrackClass:Hl,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:N,TrackClass:Wl,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},S=Object.assign({},Qo,Al);Al.names=Object.keys(Al),Qo.names=Object.keys(Qo),S.names=[].concat(Al.names).concat(Qo.names);function ml(p,t,o,c,y={}){const A=p.textTracks();y.kind=t,o&&(y.label=o),c&&(y.language=c),y.tech=p;const D=new S.text.TrackClass(y);return A.addTrack(D),D}class Qs extends wn{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}),S.names.forEach(c=>{const y=S[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 S.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(Ba(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 Oa(0,0)}bufferedPercent(){return Bc(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(Qo.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 A=c[y];o==="text"&&this.removeRemoteTextTrack(A),c.removeTrack(A)}})}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 sa(t),this.trigger("error")),this.error_}played(){return this.hasStarted_?Oa(0,0):Oa()}play(){}setScrubbing(t){}scrubbing(){}setCurrentTime(t){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}
vendor: 4,639 bytes, line 801
801initTrackListeners(){Qo.names.forEach(t=>{const o=Qo[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(!R().WebVTT)if(M().body.contains(this.el())){if(!this.options_["vtt.js"]&&Yu(W())&&Object.keys(W()).length>0){this.trigger("vttjsloaded");return}const t=M().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}),R().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)}emulateTextTracks(){const t=this.textTracks(),o=this.remoteTextTracks(),c=K=>t.addTrack(K.track),y=K=>t.removeTrack(K.track);o.on("addtrack",c),o.on("removetrack",y),this.addWebVttScript_();const A=()=>this.trigger("texttrackchange"),D=()=>{A();for(let K=0;K<t.length;K++){const ue=t[K];ue.removeEventListener("cuechange",A),ue.mode==="showing"&&ue.addEventListener("cuechange",A)}};D(),t.addEventListener("change",D),t.addEventListener("addtrack",D),t.addEventListener("removetrack",D),this.on("dispose",function(){o.off("addtrack",c),o.off("removetrack",y),t.removeEventListener("change",D),t.removeEventListener("addtrack",D),t.removeEventListener("removetrack",D);for(let K=0;K<t.length;K++)t[K].removeEventListener("cuechange",A)})}addTextTrack(t,o,c){if(!t)throw new Error("TextTrack kind is required but was not provided");return ml(this,t,o,c)}createRemoteTextTrack(t){const o=ua(t,{tech:this});return new Al.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=Au();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 Qs.canPlayType(t.type)}static isTech(t){return t.prototype instanceof Qs||t instanceof Qs||t===Qs}static registerTech(t,o){if(Qs.techs_||(Qs.techs_={}),!Qs.isTech(o))throw new Error(`Tech ${t} must be a Tech`);if(!Qs.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!Qs.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=Ga(t),Qs.techs_[t]=o,Qs.techs_[Iu(t)]=o,t!=="Tech"&&Qs.defaultTechOrder_.push(t),o}static getTech(t){if(t){if(Qs.techs_&&Qs.techs_[t])return Qs.techs_[t];if(t=Ga(t),R()&&R().videojs&&R().videojs[t])return ci.warn(`The ${t} tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)`),R().videojs[t]}}}S.names.forEach(function(p){const t=S[p];Qs.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),Qs.prototype.featuresVolumeControl=!0,Qs.prototype.featuresMuteControl=!0,Qs.prototype.featuresFullscreenResize=!1,Qs.prototype.featuresPlaybackRate=!1,Qs.prototype.featuresProgressEvents=!1,Qs.prototype.featuresSourceset=!1,Qs.prototype.featuresTimeupdateEvents=!1,Qs.prototype.featuresNativeTextTracks=!1,Qs.prototype.featuresVideoFrameCallback=!1,Qs.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 A=0;A<c.length;A++)if(y=c[A].canPlayType(o),y)return y;return""},p.selectSourceHandler=function(o,c){const y=p.sourceHandlers||[];let A;for(let D=0;D<y.length;D++)if(A=y[D].canHandleSource(o,c),A)return y[D];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:ci.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)}},wn.registerComponent("Tech",Qs),Qs.registerTech("Tech",Qs),Qs.defaultTechOrder_=[];const Fi={},bd={},sd={};function zc(p,t){Fi[p]=Fi[p]||[],Fi[p].push(t)}function nf(p,t,o){p.setTimeout(()=>gl(t,Fi[t.type],o,p),1)}function fn(p,t){p.forEach(o=>o.setTech&&o.setTech(t))}function ga(p,t,o){return p.reduceRight(Ua(o),t[o]())}function eo(p,t,o,c){return t[o](p.reduce(Ua(o),c))}function Ka(p,t,o,c=null){const y="call"+Ga(o),A=p.reduce(Ua(y),c),D=A===sd,K=D?null:t[o](A);return Ru(p,o,K,D),K}const Zs={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},Sc={play:1,pause:1};function Ua(p){return(t,o)=>t===sd?sd:o[p]?o[p](t):t}function Ru(p,t,o,c){for(let y=p.length-1;y>=0;y--){const A=p[y];A[t]&&A[t](c,o)}}function Ol(p){bd.hasOwnProperty(p.id())&&delete bd[p.id()]}function xc(p,t){const o=bd[p.id()];let c=null;if(o==null)return c=t(p),bd[p.id()]=[[t,c]],c;for(let y=0;y<o.length;y++){const[A,D]=o[y];A===t&&(c=D)}return c===null&&(c=t(p),o.push([t,c])),c}function gl(p={},t=[],o,c,y=[],A=!1){const[D,...K]=t;if(typeof D=="string")gl(p,Fi[D],o,c,y,A);else if(D){const ue=xc(c,D);if(!ue.setSource)return y.push(ue),gl(p,K,o,c,y,A);ue.setSource(Object.assign({},p),function(Te,We){if(Te)return gl(p,K,o,c,y,A);y.push(ue),gl(We,p.type===We.type?K:Fi[We.type],o,c,y,A)})}else K.length?gl(p,K,o,c,y,A):A?o(p,y):gl(p,Fi["*"],o,c,y,!0)}const Sd={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"},tc=function(p=""){const t=aa(p);return Sd[t.toLowerCase()]||""},jd=(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 A=c[y];if(A.type&&A.src&&A.src===t)return A.type}return tc(t)},zd=function(p){if(Array.isArray(p)){let t=[];p.forEach(function(o){o=zd(o),Array.isArray(o)?t=t.concat(o):$o(o)&&t.push(o)}),p=t}else typeof p=="string"&&p.trim()?p=[vl({src:p})]:$o(p)&&typeof p.src=="string"&&p.src&&p.src.trim()?p=[vl(p)]:p=[];return p};function vl(p){if(!p.type){const t=tc(p.src);t&&(p.type=t)}return p}var $c
vendor: 8,043 bytes, lines 801-882
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-
vendor: 9,563 bytes, lines 882-943
8827.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: 11,027 bytes, line 943
943;const il=fs?10009:Rs?461:8,eu={codes:{play:415,pause:19,ff:417,rw:412,back:il},names:{415:"play",19:"pause",417:"ff",412:"rw",[il]:"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}},to=5;class ja extends yu{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(eu.isEventKey(o,"play")||eu.isEventKey(o,"pause")||eu.isEventKey(o,"ff")||eu.isEventKey(o,"rw")){o.preventDefault();const c=eu.getEventName(o);this.performMediaAction_(c)}else eu.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()+to);break;case"rw":this.userSeek_(this.player_.currentTime()-to);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 A of y)A.hasOwnProperty("el_")&&A.getIsFocusable()&&A.getIsAvailableToBeFocused(A.el())&&o.push(A),A.hasOwnProperty("children_")&&A.children_.length>0&&c(A.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 A=y.el_.querySelector(".vjs-errors-ok-button-container");A&&A.querySelectorAll("button").forEach((K,ue)=>{o.push({name:()=>"ModalButton"+(ue+1),el:()=>K,getPositions:()=>{const Te=K.getBoundingClientRect(),We={x:Te.x,y:Te.y,width:Te.width,height:Te.height,top:Te.top,right:Te.right,bottom:Te.bottom,left:Te.left},vt={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:We,center:vt}},getIsAvailableToBeFocused:()=>!0,getIsFocusable:Te=>!0,focus:()=>K.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 A=c.children[y],D=o(A);if(D)return D}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(D=>D!==o&&this.isInDirection_(c.boundingClientRect,D.getPositions().boundingClientRect,t)),A=this.findBestCandidate_(c.center,y,t);A?this.focus(A):this.trigger({type:"endOfFocusableComponents",direction:t,focusedComponent:o})}findBestCandidate_(t,o,c){let y=1/0,A=null;for(const D of o){const K=D.getPositions().center,ue=this.calculateDistance_(t,K,c);ue<y&&(y=ue,A=D)}return A}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),A=Math.abs(t.y-o.y);let D;switch(c){case"right":case"left":D=y+A*100;break;case"up":D=A*2+y*.5;break;case"down":D=A*5+y;break;default:D=y+A}return D}searchForTrackSelect_(){const t=this;for(const o of t.updateFocusableComponents())if(o.constructor.name==="TextTrackSelect"){t.focus(o);break}}}class lu extends wn{constructor(t,o,c){const y=ua({createEl:!1},o);if(super(t,y,c),!o.playerOptions.sources||o.playerOptions.sources.length===0)for(let A=0,D=o.playerOptions.techOrder;A<D.length;A++){const K=Ga(D[A]);let ue=Qs.getTech(K);if(K||(ue=wn.getComponent(K)),ue&&ue.isSupported()){t.loadTech_(K);break}}else t.src(o.playerOptions.sources)}}wn.registerComponent("MediaLoader",lu);class rc extends wn{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"&&ci.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=Is(t,o,c);return this.player_.options_.experimentalSvgIcons||y.appendChild(Is("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(y),y}dispose(){this.controlTextEl_=null,super.dispose()}createControlTextEl(t){return this.controlTextEl_=Is("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,ou(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)}}wn.registerComponent("ClickableComponent",rc);class $d extends rc{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 Is("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(Is("picture",{className:"vjs-poster",tabIndex:-1},{},Is("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()?tl(this.player_.play()):this.player_.pause())}}$d.prototype.crossorigin=$d.prototype.crossOrigin,wn.registerComponent("PosterImage",$d);const Wu="#222",ad="#ccc",Vl={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',
vendor: 32,614 bytes, line 943
943script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Hc(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 yl(p,t,o){try{p.style[t]=o}catch{return}}function Hd(p){return p?`${p}px`:""}class sf extends wn{constructor(t,o,c){super(t,o,c);const y=D=>this.updateDisplay(D),A=D=>{this.updateDisplayOverlay(),this.updateDisplay(D)};t.on("loadstart",D=>this.toggleDisplay(D)),t.on("useractive",y),t.on("userinactive",y),t.on("texttrackchange",y),t.on("loadedmetadata",D=>{this.updateDisplayOverlay(),this.preselectTrack(D)}),t.ready(Ba(this,function(){if(t.tech_&&t.tech_.featuresNativeTextTracks){this.hide();return}t.on("fullscreenchange",A),t.on("playerresize",A);const D=R().screen.orientation||R(),K=R().screen.orientation?"change":"orientationchange";D.addEventListener(K,A),t.on("dispose",()=>D.removeEventListener(K,A));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,A,D;for(let K=0;K<o.length;K++){const ue=o[K];c&&c.enabled&&c.language&&c.language===ue.language&&ue.kind in t?ue.kind===c.kind?D=ue:D||(D=ue):c&&!c.enabled?(D=null,y=null,A=null):ue.default&&(ue.kind==="descriptions"&&!y?y=ue:ue.kind in t&&!A&&(A=ue))}D?D.mode="showing":A?A.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 R().WebVTT=="function"&&R().WebVTT.processCues(R(),[],this.el_)}updateDisplay(){const t=this.player_.textTracks(),o=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),o){const D=[];for(let K=0;K<t.length;++K){const ue=t[K];ue.mode==="showing"&&D.push(ue)}this.updateForTrack(D);return}let c=null,y=null,A=t.length;for(;A--;){const D=t[A];D.mode==="showing"&&(D.kind==="descriptions"?c=D:y=D)}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)),!(R().CSS!==void 0&&R().CSS.supports("inset","10px"))){const D=this.el_,K=D.querySelectorAll(".vjs-text-track-cue"),ue=this.player_.controlBar.el_.getBoundingClientRect().height,Te=this.player_.el_.getBoundingClientRect().height;D.style="",yl(D,"position","relative"),yl(D,"height",Te-ue+"px"),yl(D,"top","unset"),fa?yl(D,"bottom",Te+"px"):yl(D,"bottom","0px"),K.length>0&&K.forEach(We=>{if(We.style.inset){const vt=We.style.inset.split(" ");vt.length===3&&Object.assign(We.style,{top:vt[0],right:vt[1],bottom:vt[2],left:"unset"})}})}}updateDisplayOverlay(){if(!this.player_.videoHeight()||!(R().CSS!==void 0&&R().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 A=0,D=0;Math.abs(c-y)>.1&&(c>y?A=Math.round((t-o*y)/2):D=Math.round((o-t/y)/2)),yl(this.el_,"insetInline",Hd(A)),yl(this.el_,"insetBlock",Hd(D))}updateDisplayState(t){const o=this.player_.textTrackSettings.getValues(),c=t.activeCues;let y=c.length;for(;y--;){const A=c[y];if(!A)continue;const D=A.displayState;if(o.color&&(D.firstChild.style.color=o.color),o.textOpacity&&yl(D.firstChild,"color",Hc(o.color||"#fff",o.textOpacity)),o.backgroundColor&&(D.firstChild.style.backgroundColor=o.backgroundColor),o.backgroundOpacity&&yl(D.firstChild,"backgroundColor",Hc(o.backgroundColor||"#000",o.backgroundOpacity)),o.windowColor&&(o.windowOpacity?yl(D,"backgroundColor",Hc(o.windowColor,o.windowOpacity)):D.style.backgroundColor=o.windowColor),o.edgeStyle&&(o.edgeStyle==="dropshadow"?D.firstChild.style.textShadow=`2px 2px 3px ${Wu}, 2px 2px 4px ${Wu}, 2px 2px 5px ${Wu}`:o.edgeStyle==="raised"?D.firstChild.style.textShadow=`1px 1px ${Wu}, 2px 2px ${Wu}, 3px 3px ${Wu}`:o.edgeStyle==="depressed"?D.firstChild.style.textShadow=`1px 1px ${ad}, 0 1px ${ad}, -1px -1px ${Wu}, 0 -1px ${Wu}`:o.edgeStyle==="uniform"&&(D.firstChild.style.textShadow=`0 0 4px ${Wu}, 0 0 4px ${Wu}, 0 0 4px ${Wu}, 0 0 4px ${Wu}`)),o.fontPercent&&o.fontPercent!==1){const K=R().parseFloat(D.style.fontSize);D.style.fontSize=K*o.fontPercent+"px",D.style.height="auto",D.style.top="auto"}o.fontFamily&&o.fontFamily!=="default"&&(o.fontFamily==="small-caps"?D.firstChild.style.fontVariant="small-caps":D.firstChild.style.fontFamily=Vl[o.fontFamily])}}updateForTrack(t){if(Array.isArray(t)||(t=[t]),typeof R().WebVTT!="function"||t.every(c=>!c.activeCues))return;const o=[];for(let c=0;c<t.length;++c){const y=t[c];for(let A=0;A<y.activeCues.length;++A)o.push(y.activeCues[A])}R().WebVTT.processCues(R(),o,this.el_);for(let c=0;c<t.length;++c){const y=t[c];for(let A=0;A<y.activeCues.length;++A){const D=y.activeCues[A].displayState;Fu(D,"vjs-text-track-cue","vjs-text-track-cue-"+(y.language?y.language:c)),y.language&&Wo(D,"lang",y.language)}this.player_.textTrackSettings&&this.updateDisplayState(y)}}}wn.registerComponent("TextTrackDisplay",sf);class Jo extends wn{createEl(){const t=this.player_.isAudio(),o=this.localize(t?"Audio Player":"Video Player"),c=Is("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"])}}wn.registerComponent("LoadingSpinner",Jo);class za extends rc{createEl(t,o={},c={}){t="button",o=Object.assign({className:this.buildCSSClass()},o),c=Object.assign({type:"button"},c);const y=Is(t,o,c);return this.player_.options_.experimentalSvgIcons||y.appendChild(Is("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(y),y}addChild(t,o={}){const c=this.constructor.name;return ci.warn(`Adding an actionable (user controllable) child to a Button (${c}) is not supported; use a ClickableComponent instead.`),wn.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)}}wn.registerComponent("Button",za);class Wc extends za{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){tl(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 A=()=>y.focus();zl(o)?o.then(A,()=>{}):this.setTimeout(A,1)}handleKeyDown(t){this.mouseused_=!1,super.handleKeyDown(t)}handleMouseDown(t){this.mouseused_=!0}}Wc.prototype.controlText_="Play Video",wn.registerComponent("BigPlayButton",Wc);class Sf extends za{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)}}wn.registerComponent("CloseButton",Sf);class xd extends za{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()?tl(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))}}xd.prototype.controlText_="Play",wn.registerComponent("PlayToggle",xd);class bl extends wn{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=Is("span",{className:"vjs-control-text",textContent:`${this.localize(this.labelText_)}\xA0`},{role:"presentation"});return o.appendChild(c),this.contentEl_=Is("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=el(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,ci.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_=M().createTextNode(this.formattedTime_),this.textNode_&&(o?this.contentEl_.replaceChild(this.textNode_,o):this.contentEl_.appendChild(this.textNode_))}))}updateContent(t){}}bl.prototype.labelText_="Time",bl.prototype.controlText_="Time",wn.registerComponent("TimeDisplay",bl);class Ec extends bl{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)}}Ec.prototype.labelText_="Current Time",Ec.prototype.controlText_="Current Time",wn.registerComponent("CurrentTimeDisplay",Ec);class Ed extends bl{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)}}Ed.prototype.labelText_="Duration",Ed.prototype.controlText_="Duration",wn.registerComponent("DurationDisplay",Ed);class ph extends wn{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}}wn.registerComponent("TimeDivider",ph);class od extends bl{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(Is("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)}}od.prototype.labelText_="Remaining Time",od.prototype.controlText_="Remaining Time",wn.registerComponent("RemainingTimeDisplay",od);class Vc extends wn{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_=Is("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Is("span",{className:"vjs-control-text",textContent:`${this.localize("Stream Type")}\xA0`})),this.contentEl_.appendChild(M().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()}}wn.registerComponent("LiveDisplay",Vc);class nc extends za{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_=Is("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()}}nc.prototype.controlText_="Seek to live, currently playing live",wn.registerComponent("SeekToLive",nc);function Du(p,t,o){return p=Number(p),Math.min(o,Math.max(t,isNaN(p)?t:p))}var Td=Object.freeze({__proto__:null,clamp:Du});class Da extends wn{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(),pc(),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;we(),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(Du(this.getPercent(),0,1).toFixed(4))}calculateDistance(t){const o=Rt(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")}}wn.registerComponent("Slider",Da);const ic=(p,t)=>Du(p/t*100,0,100).toFixed(2)+"%";class z extends wn{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=Is("span",{className:"vjs-control-text"}),c=Is("span",{textContent:this.localize("Loaded")}),y=M().createTextNode(": ");return this.percentageEl_=Is("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(),A=this.player_.bufferedEnd(),D=this.partEls_,K=ic(A,y);this.percent_!==K&&(this.el_.style.width=K,ou(this.percentageEl_,K),this.percent_=K);for(let ue=0;ue<c.length;ue++){const Te=c.start(ue),We=c.end(ue);let vt=D[ue];vt||(vt=this.el_.appendChild(Is()),D[ue]=vt),!(vt.dataset.start===Te&&vt.dataset.end===We)&&(vt.dataset.start=Te,vt.dataset.end=We,vt.style.left=ic(Te,A),vt.style.width=ic(We-Te,A))}for(let ue=D.length;ue>c.length;ue--)this.el_.removeChild(D[ue-1]);D.length=c.length})}}wn.registerComponent("LoadProgressBar",z);class b extends wn{constructor(t,o){super(t,o),this.update=Yo(Ba(this,this.update),qo)}createEl(){return super.createEl("div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})}update(t,o,c){const y=lt(this.el_),A=Ze(this.player_.el()),D=t.width*o;if(!A||!y)return;let K=t.left-A.left+D,ue=t.width-D+(A.right-t.right);ue||(ue=t.width-D,K=D);let Te=y.width/2;K<Te?Te+=Te-K: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){ou(this.el_,t)}updateTime(t,o,c,y){this.requestNamedAnimationFrame("TimeTooltip#updateTime",()=>{let A;const D=this.player_.duration();if(this.player_.liveTracker&&this.player_.liveTracker.isLive()){const K=this.player_.liveTracker.liveWindow(),ue=K-o*K;A=(ue<1?"":"-")+el(ue,K)}else A=el(c,D);this.update(t,o,A),y&&y()})}}wn.registerComponent("TimeTooltip",b);class _ extends wn{constructor(t,o){super(t,o),this.setIcon("circle"),this.update=Yo(Ba(this,this.update),qo)}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 A=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,A)}}_.prototype.options_={children:[]},!Ja&&!Io&&_.prototype.options_.children.push("timeTooltip"),wn.registerComponent("PlayProgressBar",_);class L extends wn{constructor(t,o){super(t,o),this.update=Yo(Ba(this,this.update),qo)}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`})}}L.prototype.options_={children:["timeTooltip"]},wn.registerComponent("MouseTimeDisplay",L);class G extends Da{constructor(t,o){o=ua(G.prototype.options_,o),o.children=[...o.children];const c=t.options_.disableSeekWhileScrubbingOnMobile&&(Ja||Io)||t.options_.disableSeekWhileScrubbingOnSTV;(!Ja&&!Io||c)&&o.children.splice(1,0,"mouseTimeDisplay"),super(t,o),this.shouldDisableSeekWhileScrubbing_=c,this.pendingSeekTime_=null,this.setEventHandlers_()}setEventHandlers_(){this.update_=Ba(this,this.update),this.update=Yo(this.update_,qo),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 M()&&"visibilityState"in M()&&this.on(M(),"visibilitychange",this.toggleVisibility_)}toggleVisibility_(t){M().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,qo))}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(M().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 A=this.player_.duration();y&&y.isLive()&&(A=this.player_.liveTracker.liveCurrentTime()),this.percent_!==o&&(this.el_.setAttribute("aria-valuenow",(o*100).toFixed(2)),this.percent_=o),(this.currentTime_!==c||this.duration_!==A)&&(this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[el(c,A),el(A,A)],"{1} of {2}")),this.currentTime_=c,this.duration_=A),this.bar&&this.bar.update(Ze(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){vi(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.shouldDisableSeekWhileScrubbing_||this.player_.pause(),super.handleMouseDown(t))}handleMouseMove(t,o=!1){if(!vi(t)||isNaN(this.player_.duration()))return;!o&&!this.player_.scrubbing()&&this.player_.scrubbing(!0);let c;const y=this.calculateDistance(t),A=this.player_.liveTracker;if(!A||!A.isLive())c=y*this.player_.duration(),c===this.player_.duration()&&(c=c-.1);else{if(y>=.99){A.seekToLiveEdge();return}const D=A.seekableStart(),K=A.liveCurrentTime();if(c=D+y*A.liveWindow(),c>=K&&(c=K),c<=D&&(c=D+.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?tl(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 M()&&"visibilityState"in M()&&this.off(M(),"visibilitychange",this.toggleVisibility_),super.dispose()}}G.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar",stepSeconds:5,pageMultiplier:12},wn.registerComponent("SeekBar",G);class Y extends wn{constructor(t,o){super(t,o),this.handleMouseMove=Yo(Ba(this,this.handleMouseMove),qo),this.throttledHandleMouseSeek=Yo(Ba(this,this.handleMouseSeek),qo),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 A=o.el(),D=lt(A);let K=Rt(A,t).x;K=Du(K,0,1),y&&y.update(D,K),c&&c.update(D,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&&tl(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()}}Y.prototype.options_={children:["seekBar"]},wn.registerComponent("ProgressControl",Y);class se extends za{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(){M().pictureInPictureEnabled&&this.player_.disablePictureInPicture()===!1||this.player_.options_.enableDocumentPictureInPicture&&"documentPictureInPicture"in R()?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 M().exitPictureInPicture=="function"&&super.show()}}se.prototype.controlText_="Picture-in-Picture",wn.registerComponent("PictureInPictureToggle",se);class ce extends za{constructor(t,o){super(t,o),this.setIcon("fullscreen-enter"),this.on(t,"fullscreenchange",c=>this.handleFullscreenChange(c)),M()[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()}}ce.prototype.controlText_="Fullscreen",wn.registerComponent("FullscreenToggle",ce);const he=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 Se extends wn{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,254 bytes, line 943
943wn.registerComponent("VolumeLevel",Se);class Ae extends wn{constructor(t,o){super(t,o),this.update=Yo(Ba(this,this.update),qo)}createEl(){return super.createEl("div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})}update(t,o,c,y){if(!c){const A=Ze(this.el_),D=Ze(this.player_.el()),K=t.width*o;if(!D||!A)return;const ue=t.left-D.left+K,Te=t.width-K+(D.right-t.right);let We=A.width/2;ue<We?We+=We-ue:Te<We&&(We=Te),We<0?We=0:We>A.width&&(We=A.width),this.el_.style.right=`-${We}px`}this.write(`${y}%`)}write(t){ou(this.el_,t)}updateVolume(t,o,c,y,A){this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",()=>{this.update(t,o,c,y.toFixed(0)),A&&A()})}}wn.registerComponent("VolumeLevelTooltip",Ae);class Ve extends wn{constructor(t,o){super(t,o),this.update=Yo(Ba(this,this.update),qo)}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`})}}Ve.prototype.options_={children:["volumeLevelTooltip"]},wn.registerComponent("MouseVolumeLevelDisplay",Ve);class at extends Da{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){vi(t)&&super.handleMouseDown(t)}handleMouseMove(t){const o=this.getChild("mouseVolumeLevelDisplay");if(o){const c=this.el(),y=Ze(c),A=this.vertical();let D=Rt(c,t);D=A?D.y:D.x,D=Du(D,0,1),o.update(y,D,A)}vi(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)})}}at.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},!Ja&&!Io&&at.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),at.prototype.playerEvent="volumechange",wn.registerComponent("VolumeBar",at);class Tt extends wn{constructor(t,o={}){o.vertical=o.vertical||!1,(typeof o.volumeBar>"u"||Yu(o.volumeBar))&&(o.volumeBar=o.volumeBar||{},o.volumeBar.vertical=o.vertical),super(t,o),he(this,t),this.throttledHandleMouseMove=Yo(Ba(this,this.handleMouseMove),qo),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)}}Tt.prototype.options_={children:["volumeBar"]}
vendor: 4,308 bytes, line 943
943,wn.registerComponent("VolumeControl",Tt);const Ct=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 Lt extends za{constructor(t,o){super(t,o),Ct(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"),Ja&&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),Bu(this.el_,[0,1,2,3].reduce((c,y)=>c+`${y?" ":""}vjs-vol-${y}`,"")),Fu(this.el_,`vjs-vol-${o}`)}updateControlText_(){const o=this.player_.muted()||this.player_.volume()===0?"Unmute":"Mute";this.controlText()!==o&&this.controlText(o)}}Lt.prototype.controlText_="Mute",wn.registerComponent("MuteToggle",Lt);class vr extends wn{constructor(t,o={}){typeof o.inline<"u"?o.inline=o.inline:o.inline=!0,(typeof o.volumeControl>"u"||Yu(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"),uu(M(),"keyup",this.handleKeyPressHandler_)}handleMouseOut(t){this.removeClass("vjs-hover"),Hn(M(),"keyup",this.handleKeyPressHandler_)}handleKeyPress(t){t.key==="Escape"&&this.handleMouseOut()}}vr.prototype.options_={children:["muteToggle","volumeControl"]},wn.registerComponent("VolumePanel",vr);class zt extends za{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 A;o+this.skipTime<=y?A=o+this.skipTime:A=y,this.player_.currentTime(A)}handleLanguagechange(){this.controlText(this.localize("Skip forward {1} seconds",[this.skipTime]))}}zt.prototype.controlText_="Skip Forward",wn.registerComponent("SkipForward",zt);class Xr extends za{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 A;y&&o-this.skipTime<=y?A=y:o>=this.skipTime?A=o-this.skipTime:A=0,this.player_.currentTime(A)}handleLanguagechange(){this.controlText(this.localize("Skip backward {1} seconds",[this.skipTime]))}}Xr.prototype.controlText_="Skip Backward",wn.registerComponent("SkipBackward",Xr);class qr extends wn{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 wn&&(this.on(t,"blur",this.boundHandleBlur_),this.on(t,["tap","click"],this.boundHandleTapClick_))}removeEventListenerForItem(t){t instanceof wn&&(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_=Is(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_),uu(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||M().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())}}wn.registerComponent("Menu",qr);class Dn extends wn{constructor(t,o={}){super(t,o),this.menuButton_=new za(t,o),this.menuButton_.controlText(this.controlText_),this.menuButton_.el_.setAttribute("aria-haspopup","true");const c=za.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=A=>this.handleClick(A);this.handleMenuKeyUp_=A=>this.handleMenuKeyUp(A),this.on(this.menuButton_,"tap",y),this.on(this.menuButton_,"click",y),this.on(this.menuButton_,"keydown",A=>this.handleKeyDown(A)),this.on(this.menuButton_,"mouseenter",()=>{this.addClass("vjs-hover"),this.menu.show(),uu(M(),"keyup",this.handleMenuKeyUp_)}),this.on("mouseleave",A=>this.handleMouseLeave(A)),this.on("keydown",A=>this.handleSubmenuKeyDown(A))}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 qr(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){const o=Is("li",{className:"vjs-menu-title",textContent:Ga(this.options_.title),tabIndex:-1}),c=new wn(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=za.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"),Hn(M(),"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"),Ja&&mo())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()}}wn.registerComponent("MenuButton",Dn);class Nn extends Dn{constructor(t,o){const c=o.tracks;if(super(t,o),this.items.length<=1&&this.hide(),!c)return;const y=Ba(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)})}}wn.registerComponent("TrackButton",Nn);class Zn extends rc{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),A=Is("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)});return this.player_.options_.experimentalSvgIcons?y.appendChild(A):y.replaceChild(A,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))}}wn.registerComponent("MenuItem",Zn);class nn extends Zn{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 A=(...K)=>{this.handleTracksChange.apply(this,K)},D=(...K)=>{this.handleSelectedLanguageChange.apply(this,K)};if(t.on(["loadstart","texttrackchange"],A),y.addEventListener("change",A),y.addEventListener("selectedlanguagechange",D),this.on("dispose",function(){t.off(["loadstart","texttrackchange"],A),y.removeEventListener("change",A),y.removeEventListener("selectedlanguagechange",D)}),y.onchange===void 0){let K;this.on(["tap","click"],function(){if(typeof R().Event!="object")try{K=new(R()).Event("change")}catch{}K||(K=M().createEvent("Event"),K.initEvent("change",!0,!0)),y.dispatchEvent(K)})}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 A=c[y];this.kinds.indexOf(A.kind)!==-1&&(A===o?A.mode!=="showing"&&(A.mode="showing"):A.mode!=="disabled"&&(A.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()}}wn.registerComponent("TextTrackMenuItem",nn);class Gr extends nn{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,A=o.length;y<A;y++){const D=o[y];if(this.options_.kinds.indexOf(D.kind)>-1&&D.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,A=o.length;y<A;y++){const D=o[y];if(["captions","descriptions","subtitles"].indexOf(D.kind)>-1&&D.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()}}wn.registerComponent("OffTextTrackMenuItem",Gr);class Qt extends Nn{constructor(t,o={}){o.tracks=t.textTracks(),super(t,o)}createItems(t=[],o=nn){let c;this.label_&&(c=`${this.label_} off`),t.push(new Gr(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 A=0;A<y.length;A++){const D=y[A];if(this.kinds_.indexOf(D.kind)>-1){const K=new o(this.player_,{track:D,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});K.addClass(`vjs-${D.kind}-menu-item`),t.push(K)}}return t}}wn.registerComponent("TextTrackButton",Qt);class Kn extends Zn{constructor(t,o){const c=o.track,y=o.cue,A=t.currentTime();o.selectable=!0,o.multiSelectable=!1,o.label=y.text,o.selected=y.startTime<=A&&A<y.endTime,super(t,o),this.track=c,this.cue=y}handleClick(t){super.handleClick(),this.player_.currentTime(this.cue.startTime)}}wn.registerComponent("ChaptersTrackMenuItem",Kn);
vendor: 5,079 bytes, line 943
943class Ds extends Qt{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(Ga(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 A=o[c],D=new Kn(this.player_,{track:this.track_,cue:A});t.push(D)}return t}}Ds.prototype.kind_="chapters",Ds.prototype.controlText_="Chapters",wn.registerComponent("ChaptersButton",Ds);class Ai extends Qt{constructor(t,o,c){super(t,o,c),this.setIcon("audio-description");const y=t.textTracks(),A=Ba(this,this.handleTracksChange);y.addEventListener("change",A),this.on("dispose",function(){y.removeEventListener("change",A)})}handleTracksChange(t){const o=this.player().textTracks();let c=!1;for(let y=0,A=o.length;y<A;y++){const D=o[y];if(D.kind!==this.kind_&&D.mode==="showing"){c=!0;break}}c?this.disable():this.enable()}buildCSSClass(){return`vjs-descriptions-button ${super.buildCSSClass()}`}buildWrapperCSSClass(){return`vjs-descriptions-button ${super.buildWrapperCSSClass()}`}}Ai.prototype.kind_="descriptions",Ai.prototype.controlText_="Descriptions",wn.registerComponent("DescriptionsButton",Ai);class hs extends Qt{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()}`}}hs.prototype.kind_="subtitles",hs.prototype.controlText_="Subtitles",wn.registerComponent("SubtitlesButton",hs);class ys extends nn{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()}}wn.registerComponent("CaptionSettingsMenuItem",ys);class As extends Qt{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 ys(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),super.createItems(t)}}As.prototype.kind_="captions",As.prototype.controlText_="Captions",wn.registerComponent("CaptionsButton",As);class rs extends nn{createEl(t,o,c){const y=super.createEl(t,o,c),A=y.querySelector(".vjs-menu-item-text");return this.options_.track.kind==="captions"&&(this.player_.options_.experimentalSvgIcons?this.setIcon("captions",y):A.appendChild(Is("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),A.appendChild(Is("span",{className:"vjs-control-text",textContent:` ${this.localize("Captions")}`}))),y}}wn.registerComponent("SubsCapsMenuItem",rs);class oa extends Qt{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(Ga(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 ys(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=super.createItems(t,rs),t}}
vendor: 4,827 bytes, line 943
943oa.prototype.kinds_=["captions","subtitles"],oa.prototype.controlText_="Subtitles",wn.registerComponent("SubsCapsButton",oa);class uo extends Zn{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 A=(...D)=>{this.handleTracksChange.apply(this,D)};y.addEventListener("change",A),this.on("dispose",()=>{y.removeEventListener("change",A)})}createEl(t,o,c){const y=super.createEl(t,o,c),A=y.querySelector(".vjs-menu-item-text");return["main-desc","descriptions"].indexOf(this.options_.track.kind)>=0&&(A.appendChild(Is("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),A.appendChild(Is("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)}}wn.registerComponent("AudioTrackMenuItem",uo);class Uo extends Nn{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 uo(this.player_,{track:y,selectable:!0,multiSelectable:!1}))}return t}}Uo.prototype.controlText_="Audio Track",wn.registerComponent("AudioTrackButton",Uo);class Ys extends Zn{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",A=>this.update(A))}handleClick(t){super.handleClick(),this.player().playbackRate(this.rate)}update(t){this.selected(this.player().playbackRate()===this.rate)}}Ys.prototype.contentElType="button",wn.registerComponent("PlaybackRateMenuItem",Ys);class Do extends Dn{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_=Is("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 Ys(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")}}Do.prototype.controlText_="Playback Rate",wn.registerComponent("PlaybackRateMenuButton",Do);class vo extends wn{buildCSSClass(){return`vjs-spacer ${super.buildCSSClass()}`}createEl(t="div",o={},c={}){return o.className||(o.className=this.buildCSSClass()),super.createEl(t,o,c)}}wn.registerComponent("Spacer",vo);class cu extends vo{buildCSSClass(){return`vjs-custom-control-spacer ${super.buildCSSClass()}`}createEl(){return super.createEl("div",{className:this.buildCSSClass(),textContent:"\xA0"})}}wn.registerComponent("CustomControlSpacer",cu);class lo extends wn{createEl(){return super.createEl("div",{className:"vjs-control-bar",dir:"ltr"})}}lo.prototype.options_={children:["playToggle","skipBackward","skipForward","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","pictureInPictureToggle","fullscreenToggle"]},wn.registerComponent("ControlBar",lo);class io extends fl{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):""}}io.prototype.options_=Object.assign({}
vendor: 4,471 bytes, line 943
943,fl.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),wn.registerComponent("ErrorDisplay",io);class Il extends wn{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(),Is("select",{id:this.options_.id},{},this.options_.SelectOptions.map(o=>{const c=(this.options_.labelId?this.options_.labelId:`vjs-track-option-${Au()}`)+"-"+o[1].replace(/\W+/g,""),y=Is("option",{id:c,value:this.localize(o[0]),textContent:this.localize(o[1])});return y.setAttribute("aria-labelledby",`${this.selectLabelledbyIds} ${c}`),y}))}}wn.registerComponent("TextTrackSelect",Il);class Su extends wn{constructor(t,o={}){super(t,o);const c=Is("legend",{textContent:this.localize(this.options_.legendText),id:this.options_.legendId});this.el().appendChild(c);const y=this.options_.selects;for(const A of y){const D=this.options_.selectConfigs[A],K=D.className,ue=D.id.replace("%s",this.options_.id_);let Te=null;const We=`vjs_select_${Au()}`;if(this.options_.type==="colors"){Te=Is("span",{className:K});const er=Is("label",{id:ue,className:"vjs-label",textContent:this.localize(D.label)});er.setAttribute("for",We),Te.appendChild(er)}const vt=new Il(t,{SelectOptions:D.options,legendId:this.options_.legendId,id:We,labelId:ue});this.addChild(vt),this.options_.type==="colors"&&(Te.appendChild(vt.el()),this.el().appendChild(Te))}}createEl(){return Is("fieldset",{className:this.options_.className})}}wn.registerComponent("TextTrackFieldset",Su);class Gl extends wn{constructor(t,o={}){super(t,o);const c=this.options_.textTrackComponentid,y=new Su(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 A=new Su(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(A);const D=new Su(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(D)}createEl(){return Is("div",{className:"vjs-track-settings-colors"})}}wn.registerComponent("TextTrackSettingsColors",Gl);class wd extends wn{constructor(t,o={}){super(t,o);const c=this.options_.textTrackComponentid,y=new Su(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 A=new Su(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(A);const D=new Su(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(D)}createEl(){return Is("div",{className:"vjs-track-settings-font"})}}wn.registerComponent("TextTrackSettingsFont",wd);class _d extends wn{constructor(t,o={}){super(t,o);const c=new za(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"),A=new za(t,{controlText:y,className:"vjs-done-button"});A.el().classList.remove("vjs-control","vjs-button"),A.el().textContent=y,this.addChild(A)}createEl(){return Is("div",{className:"vjs-track-settings-controls"})}}wn.registerComponent("TrackSettingsControls",_d);const ud="vjs-text-track-settings",xf=["#000","Black"],Ef=["#00F","Blue"],xu=["#0FF","Cyan"],Gc=["#0F0","Green"],af=["#F0F","Magenta"],Tf=["#F00","Red"],sc=["#FFF","White"],of=["#FF0","Yellow"],uf=["1","Opaque"],Kc=["0.5","Semi-Transparent"],Ad=["0","Transparent"],sl={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[xf,
vendor: 15,844 bytes, lines 943-944
943sc,Tf,Gc,Ef,of,af,xu],className:"vjs-bg-color"},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Opacity",options:[uf,Kc,Ad],className:"vjs-bg-opacity vjs-opacity"},color:{selector:".vjs-text-color > select",id:"captions-foreground-color-%s",label:"Color",options:[sc,xf,Tf,Gc,Ef,of,af,xu],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:[uf,Kc],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:[Ad,Kc,uf],className:"vjs-window-opacity vjs-opacity"}};sl.windowColor.options=sl.backgroundColor.options;function lf(p,t){if(t&&(p=t(p)),p&&p!=="none")return p}function wf(p,t){const o=p.options[p.options.selectedIndex].value;return lf(o,t)}function ld(p,t,o){if(t){for(let c=0;c<p.options.length;c++)if(lf(p.options[c].value,o)===t){p.selectedIndex=c;break}}}class Tc extends fl{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=Is("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 Gl(t,{textTrackComponentid:this.id_,selectConfigs:sl,fieldSets:[["color","textOpacity"],["backgroundColor","backgroundOpacity"],["windowColor","windowOpacity"]]});this.addChild(o);const c=new wd(t,{textTrackComponentid:this.id_,selectConfigs:sl,fieldSets:[["fontPercent"],["edgeStyle"],["fontFamily"]]});this.addChild(c);const y=new _d(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()}),zo(sl,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 bo(sl,(t,o,c)=>{const y=wf(this.$(o.selector),o.parser);return y!==void 0&&(t[c]=y),t},{})}setValues(t){zo(sl,(o,c)=>{ld(this.$(o.selector),t[c],o.parser)})}setDefaults(){zo(sl,t=>{const o=t.hasOwnProperty("default")?t.default:0;this.$(t.selector).selectedIndex=o})}restoreSettings(){let t;try{t=JSON.parse(R().localStorage.getItem(ud))}catch(o){ci.warn(o)}t&&this.setValues(t)}saveSettings(){if(!this.options_.persistTextTrackSettings)return;const t=this.getValues();try{Object.keys(t).length?R().localStorage.setItem(ud,JSON.stringify(t)):R().localStorage.removeItem(ud)}catch(o){ci.warn(o)}}updateDisplay(){const t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()}handleLanguagechange(){this.fill(),this.renderModalComponents(this.player_),this.bindFunctionsToSelectsAndButtons()}}wn.registerComponent("TextTrackSettings",Tc);class Hf extends wn{constructor(t,o){let c=o.ResizeObserver||R().ResizeObserver;o.ResizeObserver===null&&(c=!1);const y=ua({createEl:!c,reportTouchActivity:!1},o);super(t,y),this.ResizeObserver=o.ResizeObserver||R().ResizeObserver,this.loadListener_=null,this.resizeObserver_=null,this.debouncedHandler_=Vo(()=>{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 A=this.debouncedHandler_;let D=this.unloadListener_=function(){Hn(this,"resize",A),Hn(this,"unload",D),D=null};uu(this.el_.contentWindow,"unload",D),uu(this.el_.contentWindow,"resize",A)},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()}}wn.registerComponent("ResizeManager",Hf);const Eu={trackingThreshold:20,liveTolerance:15};class Tu extends wn{constructor(t,o){const c=ua(Eu,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(R().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(),A=this.player_.currentTime();let D=this.player_.paused()||this.seekedBehindLive_||Math.abs(y-A)>this.options_.liveTolerance;(!this.timeupdateSeen_||y===1/0)&&(D=!1),D!==this.behindLiveEdge_&&(this.behindLiveEdge_=D,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_,qo),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()}}wn.registerComponent("LiveTracker",Tu);class ac extends wn{constructor(t,o){super(t,o),this.on("statechanged",c=>this.updateDom_()),this.updateDom_()}createEl(){return this.els={title:Is("div",{className:"vjs-title-bar-title",id:`vjs-title-bar-title-${Au()}`}),description:Is("div",{className:"vjs-title-bar-description",id:`vjs-title-bar-description-${Au()}`})},Is("div",{className:"vjs-title-bar"},{},pu(this.els))}updateDom_(){const t=this.player_.tech_,o=t&&t.el_,c={title:"aria-labelledby",description:"aria-describedby"};["title","description"].forEach(y=>{const A=this.state[y],D=this.els[y],K=c[y];Or(D),A&&ou(D,A),o&&(o.removeAttribute(K),A&&o.setAttribute(K,D.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}}wn.registerComponent("TitleBar",ac);const cf={initialDisplay:4e3,position:[],takeFocus:!1};class Wf extends za{constructor(t,o){o=ua(cf,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=Is("button",{},{type:"button",class:this.buildCSSClass()},Is("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()}}wn.registerComponent("TransientButton",Wf);const Cd=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 A=0;A<o.length;A++){const D=o[A].src;D&&c.indexOf(D)===-1&&c.push(D)}return c.length?(c.length===1&&(y=c[0]),p.triggerSourceset(y),!0):!1},_f=Object.defineProperty({},"innerHTML",{get(){return this.cloneNode(!0).innerHTML},set(p){const t=M().createElement(this.nodeName.toLowerCase());t.innerHTML=p;const o=M().createDocumentFragment();for(;t.childNodes.length;)o.appendChild(t.childNodes[0]);return this.innerText="",R().Element.prototype.appendChild.call(this,o),this.innerHTML}}),oc=(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},mh=p=>oc([p.el(),R().HTMLMediaElement.prototype,R().Element.prototype,_f],"innerHTML"),Af=function(p){const t=p.el();if(t.resetSourceWatch_)return;const o={},c=mh(p),y=A=>(...D)=>{const K=A.apply(t,D);return Cd(p),K};["append","appendChild","insertAdjacentHTML"].forEach(A=>{t[A]&&(o[A]=t[A],t[A]=y(o[A]))}),Object.defineProperty(t,"innerHTML",ua(c,{set:y(c.set)})),t.resetSourceWatch_=()=>{t.resetSourceWatch_=null,Object.keys(o).forEach(A=>{t[A]=o[A]}),Object.defineProperty(t,"innerHTML",c)},p.one("sourceset",t.resetSourceWatch_)},Wd=Object.defineProperty({},"src",{get(){return this.hasAttribute("src")?Gs(R().Element.prototype.getAttribute.call(this,"src")):""},set(p){return R().Element.prototype.setAttribute.call(this,"src",p),p}}),gh=p=>oc([p.el(),R().HTMLMediaElement.prototype,Wd],"src"),Vf=function(p){if(!p.featuresSourceset)return;const t=p.el();if(t.resetSourceset_)return;const o=gh(p),c=t.setAttribute,y=t.load;Object.defineProperty(t,"src",ua(o,{set:A=>{const D=o.set.call(t,A);return p.triggerSourceset(t.src),D}})),t.setAttribute=(A,D)=>{const K=c.call(t,A,D);return/src/i.test(A)&&p.triggerSourceset(t.src),K},t.load=()=>{const A=y.call(t);return Cd(p)||(p.triggerSourceset(""),Af(p)),A},t.currentSrc?p.triggerSourceset(t.currentSrc):Cd(p)||Af(p),t.resetSourceset_=()=>{t.resetSourceset_=null,t.load=y,t.setAttribute=c,Object.defineProperty(t,"src",o),t.resetSourceWatch_&&t.resetSourceWatch_()}};class Qi extends Qs{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 A=this.el_.childNodes;let D=A.length;const K=[];for(;D--;){const ue=A[D];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")&&Eo(ue.src)&&(y=!0)):K.push(ue))}for(let ue=0;ue<K.length;ue++)this.el_.removeChild(K[ue])}this.proxyNativeTracks_(),this.featuresNativeTextTracks&&y&&ci.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_(),(Ho||Gn)&&t.nativeControlsForTouch===!0&&this.setControls(!0),this.proxyWebkitFullscreen_(),this.triggerReady()}dispose(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),Qi.disposeMediaElement(this.el_),this.options_=null,super.dispose()}setupSourcesetHandling_(){Vf(this)}restoreMetadataTracksInIOSNativePlayer_(){const t=this.textTracks();let o;const c=()=>{o=[];for(let A=0;A<t.length;A++){const D=t[A];D.kind==="metadata"&&o.push({track:D,storedMode:D.mode})}};c(),t.addEventListener("change",c),this.on("dispose",()=>t.removeEventListener("change",c));const y=()=>{for(let A=0;A<o.length;A++){const D=o[A];D.track.mode==="disabled"&&D.track.mode!==D.storedMode&&(D.track.mode=D.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}
944TracksListeners_`]).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=Qo[t],c=this.el()[o.getterName],y=this[o.getterName]();if(!this[`featuresNative${o.capitalName}Tracks`]||!c||!c.addEventListener)return;const A={change:K=>{const ue={type:"change",target:y,currentTarget:y,srcElement:y};y.trigger(ue),t==="text"&&this[Al.remoteText.getterName]().trigger(ue)},addtrack(K){y.addTrack(K.track)},removetrack(K){y.removeTrack(K.track)}},D=function(){const K=[];for(let ue=0;ue<y.length;ue++){let Te=!1;for(let We=0;We<c.length;We++)if(c[We]===y[ue]){Te=!0;break}Te||K.push(y[ue])}for(;K.length;)y.removeTrack(K.shift())};this[o.getterName+"Listeners_"]=A,Object.keys(A).forEach(K=>{const ue=A[K];c.addEventListener(K,ue),this.on("dispose",Te=>c.removeEventListener(K,ue))}),this.on("loadstart",D),this.on("dispose",K=>this.off("loadstart",D))}proxyNativeTracks_(){Qo.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),Qi.disposeMediaElement(t),t=c}else{t=M().createElement("video");const c=this.options_.tag&&go(this.options_.tag),y=ua({},c);(!Ho||this.options_.nativeControlsForTouch!==!0)&&delete y.controls,Uu(t,Object.assign(y,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}typeof this.options_.preload<"u"&&Wo(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],A=this.options_[y];typeof A<"u"&&(A?Wo(t,y,y):gu(t,y),t[y]=A)}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 A=function(){c||this.trigger("loadstart")};this.on("loadedmetadata",A),this.ready(function(){this.off("loadstart",y),this.off("loadedmetadata",A),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&&Xu?this.el_.fastSeek(t):this.el_.currentTime=t}catch(o){ci(o,"Video is not ready. (Video.js)")}}duration(){if(this.el_.duration===1/0&&Io&&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)tl(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 ci.error("Invalid source URL."),!1;const c={src:t};o&&(c.type=o);const y=Is("source",{},c);return this.el_.appendChild(y),!0}removeSourceElement(t){if(!t)return ci.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 ci.warn(`No matching source element found with src: ${t}`),!1}reset(){Qi.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=M().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),R().performance&&(t.creationTime=R().performance.now()),t}}Mu(Qi,"TEST_VID",function(){if(!Nu())return;const p=M().createElement("video"),t=M().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",p.appendChild(t),p}
vendor: 14,921 bytes, lines 944-953
944),Qi.isSupported=function(){try{Qi.TEST_VID.volume=.5}catch{return!1}return!!(Qi.TEST_VID&&Qi.TEST_VID.canPlayType)},Qi.canPlayType=function(p){return Qi.TEST_VID.canPlayType(p)},Qi.canPlaySource=function(p,t){return Qi.canPlayType(p.type)},Qi.canControlVolume=function(){try{const p=Qi.TEST_VID.volume;Qi.TEST_VID.volume=p/2+.1;const t=p!==Qi.TEST_VID.volume;return t&&Ja?(R().setTimeout(()=>{Qi&&Qi.prototype&&(Qi.prototype.featuresVolumeControl=p!==Qi.TEST_VID.volume)}),!1):t}catch{return!1}},Qi.canMuteVolume=function(){try{const p=Qi.TEST_VID.muted;return Qi.TEST_VID.muted=!p,Qi.TEST_VID.muted?Wo(Qi.TEST_VID,"muted","muted"):gu(Qi.TEST_VID,"muted","muted"),p!==Qi.TEST_VID.muted}catch{return!1}},Qi.canControlPlaybackRate=function(){if(Io&&oo&&Ml<58)return!1;try{const p=Qi.TEST_VID.playbackRate;return Qi.TEST_VID.playbackRate=p/2+.1,p!==Qi.TEST_VID.playbackRate}catch{return!1}},Qi.canOverrideAttributes=function(){try{const p=()=>{};Object.defineProperty(M().createElement("video"),"src",{get:p,set:p}),Object.defineProperty(M().createElement("audio"),"src",{get:p,set:p}),Object.defineProperty(M().createElement("video"),"innerHTML",{get:p,set:p}),Object.defineProperty(M().createElement("audio"),"innerHTML",{get:p,set:p})}catch{return!1}return!0},Qi.supportsNativeTextTracks=function(){return Xu||Ja&&oo},Qi.supportsNativeVideoTracks=function(){return!!(Qi.TEST_VID&&Qi.TEST_VID.videoTracks)},Qi.supportsNativeAudioTracks=function(){return!!(Qi.TEST_VID&&Qi.TEST_VID.audioTracks)},Qi.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]){Mu(Qi.prototype,p,()=>Qi[t](),!0)}),Qi.prototype.featuresVolumeControl=Qi.canControlVolume(),Qi.prototype.movingMediaElementInDOM=!Ja,Qi.prototype.featuresFullscreenResize=!0,Qi.prototype.featuresProgressEvents=!0,Qi.prototype.featuresTimeupdateEvents=!0,Qi.prototype.featuresVideoFrameCallback=!!(Qi.TEST_VID&&Qi.TEST_VID.requestVideoFrameCallback),Qi.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{}})()}},Qi.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){Qi.prototype[p]=function(){return this.el_[p]||this.el_.hasAttribute(p)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(p){Qi.prototype["set"+Ga(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){Qi.prototype[p]=function(){return this.el_[p]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach(function(p){Qi.prototype["set"+Ga(p)]=function(t){this.el_[p]=t}}),["pause","load","play"].forEach(function(p){Qi.prototype[p]=function(){return this.el_[p]()}}),Qs.withSourceHandlers(Qi),Qi.nativeSourceHandler={},Qi.nativeSourceHandler.canPlayType=function(p){try{return Qi.TEST_VID.canPlayType(p)}catch{return""}},Qi.nativeSourceHandler.canHandleSource=function(p,t){if(p.type)return Qi.nativeSourceHandler.canPlayType(p.type);if(p.src){const o=aa(p.src);return Qi.nativeSourceHandler.canPlayType(`video/${o}`)}return""},Qi.nativeSourceHandler.handleSource=function(p,t,o){t.setSrc(p.src)},Qi.nativeSourceHandler.dispose=function(){},Qi.registerSourceHandler(Qi.nativeSourceHandler),Qs.registerTech("Html5",Qi);const Cf=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Od={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Id=["tiny","xsmall","small","medium","large","xlarge","huge"],cd={};Id.forEach(p=>{const t=p.charAt(0)==="x"?`x-${p.substring(1)}`:p;cd[p]=`vjs-layout-${t}`});const Of={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0};class $a extends wn{constructor(t,o,c){if(t.id=t.id||o.id||`vjs_video_${Au()}`,o=Object.assign($a.getTagSettings(t),o),o.initChildren=!1,o.createEl=!1,o.evented=!1,o.reportTouchActivity=!1,!o.language){const D=t.closest("[lang]");D&&(o.language=D.getAttribute("lang"))}if(super(null,o,c),this.boundDocumentFullscreenChange_=D=>this.documentFullscreenChange_(D),this.boundFullWindowOnEscKey_=D=>this.fullWindowOnEscKey(D),this.boundUpdateStyleEl_=D=>this.updateStyleEl_(D),this.boundApplyInitTime_=D=>this.applyInitTime_(D),this.boundUpdateCurrentBreakpoint_=D=>this.updateCurrentBreakpoint_(D),this.boundHandleTechClick_=D=>this.handleTechClick_(D),this.boundHandleTechDoubleClick_=D=>this.handleTechDoubleClick_(D),this.boundHandleTechTouchStart_=D=>this.handleTechTouchStart_(D),this.boundHandleTechTouchMove_=D=>this.handleTechTouchMove_(D),this.boundHandleTechTouchEnd_=D=>this.handleTechTouchEnd_(D),this.boundHandleTechTap_=D=>this.handleTechTap_(D),this.boundUpdatePlayerHeightOnAudioOnlyMode_=D=>this.updatePlayerHeightOnAudioOnlyMode_(D),this.isFullscreen_=!1,this.log=ra(this.id_),this.fsApi_=Xi,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&&go(t),this.language(this.options_.language),o.languages){const D={};Object.getOwnPropertyNames(o.languages).forEach(function(K){D[K.toLowerCase()]=o.languages[K]}),this.languages_=D}else this.languages_=$a.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(D=>{if(typeof this[D]!="function")throw new Error(`plugin "${D}" does not exist`)}),this.scrubbing_=!1,this.el_=this.createEl(),Xo(this,{eventBusKey:"el_"}),this.fsApi_.requestFullscreen&&(uu(M(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),this.on(this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_)),this.fluid_&&this.on(["playerreset","resize"],this.boundUpdateStyleEl_);const y=ua(this.options_);if(o.plugins&&Object.keys(o.plugins).forEach(D=>{this[D](o.plugins[D])}),o.debug&&this.debug(!0),this.options_.playerOptions=y,this.middleware_=[],this.playbackRates(o.playbackRates),o.experimentalSvgIcons){const K=new(R()).DOMParser().parseFromString($c,"image/svg+xml");if(K.querySelector("parsererror"))ci.warn("Failed to load SVG Icons. Falling back to Font Icons."),this.options_.experimentalSvgIcons=null;else{const Te=K.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 ja(this),this.addClass("vjs-spatial-navigation-enabled")),Ho&&this.addClass("vjs-touch-enabled"),Ja||this.addClass("vjs-workinghover"),$a.players[this.id_]=this;const A=Jr.split(".")[0];this.addClass(`vjs-v${A}`),this.userActive(!0),this.reportUserActivity(),this.one("play",D=>this.listenForUserActivity_(D)),this.on("keydown",D=>this.handleKeyDown(D)),this.on("languagechange",D=>this.handleLanguagechange(D)),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"),Hn(M(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Hn(M(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),$a.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),Ol(this),S.names.forEach(t=>{const o=S[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 A=go(t);if(y){for(o=this.el_=t,t=this.tag=M().createElement("video");o.children.length;)t.appendChild(o.firstChild);Nl(o,"video-js")||Fu(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"),A.tabindex="-1",oo&>&&(t.setAttribute("role","application"),A.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in A&&delete A.width,"height"in A&&delete A.height,Object.getOwnPropertyNames(A).forEach(function(ue){y&&ue==="class"||o.setAttribute(ue,A[ue]),y&&t.setAttribute(ue,A[ue])}),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",t.player=o.player=this,this.addClass("vjs-paused");const D=["IS_SMART_TV","IS_TIZEN","IS_WEBOS","IS_ANDROID","IS_IPAD","IS_IPHONE","IS_CHROMECAST_RECEIVER"].filter(ue=>Bo[ue]).map(ue=>"vjs-device-"+ue.substring(3).toLowerCase().replace(/\_/g,"-"));if(this.addClass(...D),R().VIDEOJS_NO_DYNAMIC_STYLE!==!0){this.styleEl_=_u("vjs-styles-dimensions");const ue=gi(".vjs-styles-defaults"),Te=gi("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 K=t.getElementsByTagName("a");for(let ue=0;ue<K.length;ue++){const Te=K.item(ue);Fu(Te,"vjs-hidden"),Te.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!c&&t.parentNode.insertBefore(o,t),Qu(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"){ci.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)){ci.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,Ro(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),t?(this.addClass("vjs-fluid"),this.fill(!1),Cu(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(R().VIDEOJS_NO_DYNAMIC_STYLE===!0){const K=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&&(K>=0&&(Te.width=K),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 A=c.split(":"),D=A[1]/A[0];this.width_!==void 0?t=this.width_:this.height_!==void 0?t=this.height_/D:t=this.videoWidth()||300,this.height_!==void 0?o=this.height_:o=t*D,/^[^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: ${D*100}%; 952 } 953 `)}loadTech_(t,o){this.tech_&&this.unloadTech_();const c=Ga(t),y=t.charAt(0).toLowerCase()+t.slice(1);c!=="Html5"&&this.tag&&(Qs.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=c,this.isReady_=!1;let A=this.autoplay();(typeof this.autoplay()=="string"||this.autoplay()===!0&&this.options_.normalizeAutoplay)&&(A=!1);const D={source:o,autoplay:A,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
953S.names.forEach(ue=>{const Te=S[ue];D[Te.getterName]=this[Te.privateName]}),Object.assign(D,this.options_[c]),Object.assign(D,this.options_[y]),Object.assign(D,this.options_[t.toLowerCase()]),this.tag&&(D.tag=this.tag),o&&o.src===this.cache_.src&&this.cache_.currentTime>0&&(D.startTime=this.cache_.currentTime);const K=Qs.getTech(t);if(!K)throw new Error(`No Tech named '${c}' exists! '${c}' should be registered using videojs.registerTech()'`);this.tech_=new K(D),this.tech_.ready(Ba(this,this.handleTechReady_),!0),yd.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Cf.forEach(ue=>{this.on(this.tech_,ue,Te=>this[`handleTech${Ga(ue)}_`](Te))}),Object.keys(Od).forEach(ue=>{this.on(this.tech_,ue,Te=>{if(this.tech_.playbackRate()===0&&this.tech_.seeking()){this.queuedCallbacks_.push({callback:this[`handleTech${Od[ue]}_`].bind(this),event:Te});return}this[`handleTech${Od[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)&&Qu(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)}unloadTech_(){S.names.forEach(t=>{const o=S[t];this[o.privateName]=this[o.getterName]()}),this.textTracksJson_=yd.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&&ci.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":Jr}}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 A=()=>{this.muted(y)};this.playTerminatedQueue_.push(A);const D=this.play();if(zl(D))return D.catch(K=>{throw A(),new Error(`Rejection at manualAutoplay. Restoring muted value. ${K||""}`)})};let c;if(t==="any"&&!this.muted()?(c=this.play(),zl(c)&&(c=c.catch(o))):t==="muted"&&!this.muted()?c=o():c=this.play(),!!zl(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=jd(this,o)),this.cache_.source=ua({},t,{src:o,type:c});const y=this.cache_.sources.filter(ue=>ue.src&&ue.src===o),A=[],D=this.$$("source"),K=[];for(let ue=0;ue<D.length;ue++){const Te=go(D[ue]);A.push(Te),Te.src&&Te.src===o&&K.push(Te.src)}K.length&&!y.length?this.cache_.sources=A:y.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=o}handleTechSourceset_(t){if(!this.changingSrc_){let o=A=>this.updateSourceCaches_(A);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"],A=>{if(A.type==="sourceset")return;const D=this.techGet_("currentSrc");this.lastSource_.tech=D,this.updateSourceCaches_(D)})}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: 12,898 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()?tl(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()&&!M().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=M()[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 eo(this.middleware_,this.tech_,t,o);if(t in Sc)return Ka(this.middleware_,this.tech_,t,o);try{this.tech_&&this.tech_[t](o)}catch(c){throw ci(c),c}},!0)}techGet_(t){if(!(!this.tech_||!this.tech_.isReady_)){if(t in Zs)return ga(this.middleware_,this.tech_,t);if(t in Sc)return Ka(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(o){throw this.tech_[t]===void 0?(ci(`Video.js: ${t} method not defined for ${this.techName_} playback technology.`,o),o):o.name==="TypeError"?(ci(`Video.js: ${t} unavailable on ${this.techName_} playback technology element.`,o),this.tech_.isReady_=!1,o):(ci(o),o)}}}play(){return new Promise(t=>{this.play_(t)})}play_(t=tl){this.playCallbacks_.push(t);const o=!!(!this.changingSrc_&&(this.src()||this.currentSrc())),c=!!(Xu||Ja);if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!o){this.waitToPlay_=D=>{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")||Oa(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=Oa(0,0)),t}seekable(){let t=this.techGet_("seekable");return(!t||!t.length)&&(t=Oa(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 Bc(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 A(){o.off("fullscreenerror",K),o.off("fullscreenchange",D)}function D(){A(),c()}function K(Te,We){A(),y(We)}o.one("fullscreenchange",D),o.one("fullscreenerror",K);const ue=o.requestFullscreenHelper_(t);ue&&(ue.then(A,A),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",D),t.off("fullscreenchange",A)}function A(){y(),o()}function D(ue,Te){y(),c(Te)}t.one("fullscreenchange",A),t.one("fullscreenerror",D);const K=t.exitFullscreenHelper_();K&&(K.then(y,y),K.then(o,c))})}exitFullscreenHelper_(){if(this.fsApi_.requestFullscreen){const t=M()[this.fsApi_.exitFullscreen]();return t&&tl(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=M().documentElement.style.overflow,uu(M(),"keydown",this.boundFullWindowOnEscKey_),M().documentElement.style.overflow="hidden",Fu(M().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,Hn(M(),"keydown",this.boundFullWindowOnEscKey_),M().documentElement.style.overflow=this.docOrigOverflow,Bu(M().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&&R().documentPictureInPicture){const t=M().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(Is("p",{className:"vjs-pip-text"},{},this.localize("Playing in picture-in-picture"))),R().documentPictureInPicture.requestWindow({width:this.videoWidth(),height:this.videoHeight()}).then(o=>(Za(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 M()&&this.disablePictureInPicture()===!1?this.techGet_("requestPictureInPicture"):Promise.reject("No PiP mode is available")}exitPictureInPicture(){if(R().documentPictureInPicture&&R().documentPictureInPicture.window)return R().documentPictureInPicture.window.close(),Promise.resolve();if("pictureInPictureEnabled"in M())return M().exitPictureInPicture()}handleKeyDown(t){const{userActions:o}=this.options_;!o||!o.hotkeys||(y=>{const A=y.tagName.toLowerCase();if(y.isContentEditable)return!0;const D=["button","checkbox","hidden","radio","reset","submit"];return A==="input"?D.indexOf(y.type)===-1:["textarea"].indexOf(A)!==-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=D=>t.key.toLowerCase()==="f",muteKey:y=D=>t.key.toLowerCase()==="m",playPauseKey:A=D=>t.key.toLowerCase()==="k"||t.key.toLowerCase()===" "}=o;if(c.call(this,t)){t.preventDefault(),t.stopPropagation();const D=wn.getComponent("FullscreenToggle");M()[this.fsApi_.fullscreenEnabled]!==!1&&D.prototype.handleClick.call(this,t)}else y.call(this,t)?(t.preventDefault(),t.stopPropagation(),wn.getComponent("MuteToggle").prototype.handleClick.call(this,t)):A.call(this,t)&&(t.preventDefault(),t.stopPropagation(),wn.getComponent("PlayToggle").prototype.handleClick.call(this,t))}canPlayType(t){let o;for(let c=0,y=this.options_.techOrder;c<y.length;c++){const A=y[c];let D=Qs.getTech(A);if(D||(D=wn.getComponent(A)),!D){ci.error(`The "${A}" tech is undefined. Skipped browser support check for that tech.`);continue}if(D.isSupported()&&(o=D.canPlayType(t),o))return o}return""}selectSource(t){const o=this.options_.techOrder.map(K=>[K,Qs.getTech(K)]).filter(([K,ue])=>ue?ue.isSupported():(ci.error(`The "${K}" tech is undefined. Skipped browser support check for that tech.`),!1)),c=function(K,ue,Te){let We;return K.some(vt=>ue.some(er=>{if(We=Te(vt,er),We)return!0})),We};let y;const A=K=>(ue,Te)=>K(Te,ue),D=([K,ue],Te)=>{if(ue.canPlaySource(Te,this.options_[K.toLowerCase()]))return{source:Te,tech:K}};return this.options_.sourceOrder?y=c(t,o,A(D)):y=c(o,t,D),y||!1}handleSrc_(t,o){if(typeof t>"u")return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();const c=zd(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]),nf(this,c[
vendor: 12,437 bytes, line 955
9550],(y,A)=>{if(this.middleware_=A,o||(this.cache_.sources=c),this.updateSourceCaches_(y),this.src_(y)){if(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}fn(A,this.tech_)}),c.length>1){const y=()=>{this.error(null),this.handleSrc_(c.slice(1),!0)},A=()=>{this.off("error",y)};this.one("error",y),this.one("playing",A),this.resetRetryOnError_=()=>{this.off("error",y),this.off("playing",A)}}}src(t){return this.handleSrc_(t,!1)}src_(t){const o=this.selectSource([t]);return o?qu(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();tl(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}),Ro(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:A}=c||{};t&&t.updateContent(),o&&o.updateContent(),y&&y.updateContent(),A&&(A.update(),A.loadProgressBar&&A.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-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))}error(t){if(t===void 0)return this.error_||null;if(Rn("beforeerror").forEach(o=>{const c=o(this,t);if(!($o(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 sa(t),this.addClass("vjs-error"),ci.error(`(CODE:${this.error_.code} ${sa.errorTypes[this.error_.code]})`,this.error_.message,this.error_),this.trigger("error"),Rn("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=Ba(this,this.reportUserActivity),A=function(vt){(vt.screenX!==o||vt.screenY!==c)&&(o=vt.screenX,c=vt.screenY,y())},D=function(){y(),this.clearInterval(t),t=this.setInterval(y,250)},K=function(vt){y(),this.clearInterval(t)};this.on("mousedown",D),this.on("mousemove",A),this.on("mouseup",K),this.on("mouseleave",K);const ue=this.getChild("controlBar");ue&&!Ja&&!Io&&(ue.on("mouseenter",function(vt){this.player().options_.inactivityTimeout!==0&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0}),ue.on("mouseleave",function(vt){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on("keydown",y),this.on("keyup",y);let Te;const We=function(){if(!this.userActivity_)return;this.userActivity_=!1,this.userActive(!0),this.clearTimeout(Te);const vt=this.options_.inactivityTimeout;vt<=0||(Te=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},vt))};this.setInterval(We,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(),Ro(this)&&this.trigger("languagechange"))}languages(){return ua($a.prototype.options_.languages,this.languages_)}toJSON(){const t=ua(this.options_),o=t.tracks;t.tracks=[];for(let c=0;c<o.length;c++){let y=o[c];y=ua(y),y.player=void 0,t.tracks[c]=y}return t}createModal(t,o){o=o||{},o.content=t||"";const c=new fl(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<Id.length;c++){const y=Id[c],A=this.breakpoints_[y];if(o<=A){if(t===y)return;t&&this.removeClass(cd[t]),this.addClass(cd[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({},Of,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 cd[this.breakpoint_]||""}loadMedia(t,o){if(!t||typeof t!="object")return;const c=this.crossOrigin();this.reset(),this.cache_.media=ua(t);const{artist:y,artwork:A,description:D,poster:K,src:ue,textTracks:Te,title:We}=this.cache_.media;!A&&K&&(this.cache_.media.artwork=[{src:K,type:tc(K)}]),c&&this.crossOrigin(c),ue&&this.src(ue),K&&this.poster(K),Array.isArray(Te)&&Te.forEach(vt=>this.addRemoteTextTrack(vt,!1)),this.titleBar&&this.titleBar.update({title:We,description:D||y||""}),this.ready(o)}getMedia(){if(!this.cache_.media){const t=this.poster(),o=this.currentSources(),c=Array.prototype.map.call(this.remoteTextTracks(),A=>({kind:A.kind,label:A.label,language:A.language,src:A.src})),y={src:o,textTracks:c};return t&&(y.poster=t,y.artwork=[{src:y.poster,type:tc(y.poster)}]),y}return ua(this.cache_.media)}static getTagSettings(t){const o={sources:[],tracks:[]},c=go(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(A){ci.error("data-setup",A)}if(Object.assign(o,c),t.hasChildNodes()){const A=t.childNodes;for(let D=0,K=A.length;D<K;
vendor: 334,373 bytes, lines 955-996
955D++){const ue=A[D],Te=ue.nodeName.toLowerCase();Te==="source"?o.sources.push(go(ue)):Te==="track"&&o.tracks.push(go(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"))}}$a.prototype.videoTracks=()=>{},$a.prototype.audioTracks=()=>{},$a.prototype.textTracks=()=>{},$a.prototype.remoteTextTracks=()=>{},$a.prototype.remoteTextTrackEls=()=>{},S.names.forEach(function(p){const t=S[p];$a.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),$a.prototype.crossorigin=$a.prototype.crossOrigin,$a.players={};const Yc=R().navigator;$a.prototype.options_={techOrder:Qs.defaultTechOrder_,html5:{},enableSourceset:!0,inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","titleBar","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Yc&&(Yc.languages&&Yc.languages[0]||Yc.userLanguage||Yc.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},Cf.forEach(function(p){$a.prototype[`handleTech${Ga(p)}_`]=function(){return this.trigger(p)}}),wn.registerComponent("Player",$a);const wc="plugin",_c="activePlugins_",dd={},fd=p=>dd.hasOwnProperty(p),lr=p=>fd(p)?dd[p]:void 0,Kr=(p,t)=>{p[_c]=p[_c]||{},p[_c][t]=!0},dn=(p,t,o)=>{const c=(o?"before":"")+"pluginsetup";p.trigger(c,t),p.trigger(c+":"+t.name,t)},ti=function(p,t){const o=function(){dn(this,{name:p,plugin:t,instance:null},!0);const c=t.apply(this,arguments);return Kr(this,p),dn(this,{name:p,plugin:t,instance:c}),c};return Object.keys(t).forEach(function(c){o[c]=t[c]}),o},Oi=(p,t)=>(t.prototype.name=p,function(...o){dn(this,{name:p,plugin:t,instance:null},!0);const c=new t(this,...o);return this[p]=()=>c,dn(this,c.getEventHash()),c});class ds{constructor(t){if(this.constructor===ds)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),Xo(this),delete this.trigger,yc(this,this.constructor.defaultState),Kr(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 ll(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[_c][t]=!1,this.player=this.state=null,o[t]=Oi(t,dd[t])}static isBasic(t){const o=typeof t=="string"?lr(t):t;return typeof o=="function"&&!ds.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(fd(t))ci.warn(`A plugin named "${t}" already exists. You may want to avoid re-registering plugins!`);else if($a.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 dd[t]=o,t!==wc&&(ds.isBasic(o)?$a.prototype[t]=ti(t,o):$a.prototype[t]=Oi(t,o)),o}static deregisterPlugin(t){if(t===wc)throw new Error("Cannot de-register base plugin.");fd(t)&&(delete dd[t],delete $a.prototype[t])}static getPlugins(t=Object.keys(dd)){let o;return t.forEach(c=>{const y=lr(c);y&&(o=o||{},o[c]=y)}),o}static getPluginVersion(t){const o=lr(t);return o&&o.VERSION||""}}ds.getPlugin=lr,ds.BASE_PLUGIN_NAME=wc,ds.registerPlugin(wc,ds),$a.prototype.usingPlugin=function(p){return!!this[_c]&&this[_c][p]===!0},$a.prototype.hasPlugin=function(p){return!!fd(p)};function Ls(p,t){let o=!1;return function(...c){return o||ci.warn(p),o=!0,t.apply(this,c)}}function is(p,t,o,c){return Ls(`${t} is deprecated and will be removed in ${p}.0; please use ${o} instead.`,c)}var Fs={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 ps=p=>p.indexOf("#")===0?p.slice(1):p;function xr(p,t,o){let c=xr.getPlayer(p);if(c)return t&&ci.warn(`Player "${p}" is already initialised. Options will not be applied.`),o&&c.ready(o),c;const y=typeof p=="string"?gi("#"+ps(p)):p;if(!au(y))throw new TypeError("The element or ID supplied is not valid. (videojs)");const D=("getRootNode"in y?y.getRootNode()instanceof R().ShadowRoot:!1)?y.getRootNode():y.ownerDocument.body;(!y.ownerDocument.defaultView||!D.contains(y))&&ci.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)),Rn("beforesetup").forEach(ue=>{const Te=ue(y,ua(t));if(!$o(Te)||Array.isArray(Te)){ci.error("please return an object in beforesetup hooks");return}t=ua(t,Te)});const K=wn.getComponent("Player");return c=new K(y,t,o),Rn("setup").forEach(ue=>ue(c)),c}if(xr.hooks_=In,xr.hooks=Rn,xr.hook=Jn,xr.hookOnce=qn,xr.removeHook=_i,R().VIDEOJS_NO_DYNAMIC_STYLE!==!0&&Nu()){let p=gi(".vjs-styles-defaults");if(!p){p=_u("vjs-styles-defaults");const t=gi("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 `)}}Ma(1,xr),xr.VERSION=Jr,xr.options=$a.prototype.options_,xr.getPlayers=()=>$a.players,xr.getPlayer=p=>{const t=$a.players;let o;if(typeof p=="string"){const c=ps(p),y=t[c];if(y)return y;o=gi("#"+c)}else o=p;if(au(o)){const{player:c,playerId:y}=o;if(c||t[y])return c||t[y]}},xr.getAllPlayers=()=>Object.keys($a.players).map(p=>$a.players[p]).filter(Boolean),xr.players=$a.players,xr.getComponent=wn.getComponent,xr.registerComponent=(p,t)=>(Qs.isTech(t)&&ci.warn(`The ${p} tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)`),wn.registerComponent.call(wn,p,t)),xr.getTech=Qs.getTech,xr.registerTech=Qs.registerTech,xr.use=zc,Object.defineProperty(xr,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(xr.middleware,"TERMINATOR",{value:sd,writeable:!1,enumerable:!0}),xr.browser=Bo,xr.obj=Ea,xr.mergeOptions=is(9,"videojs.mergeOptions","videojs.obj.merge",ua),xr.defineLazyProperty=is(9,"videojs.defineLazyProperty","videojs.obj.defineLazyProperty",Mu),xr.bind=is(9,"videojs.bind","native Function.prototype.bind",Ba),xr.registerPlugin=ds.registerPlugin,xr.deregisterPlugin=ds.deregisterPlugin,xr.plugin=(p,t)=>(ci.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),ds.registerPlugin(p,t)),xr.getPlugins=ds.getPlugins,xr.getPlugin=ds.getPlugin,xr.getPluginVersion=ds.getPluginVersion,xr.addLanguage=function(p,t){return p=(""+p).toLowerCase(),xr.options.languages=ua(xr.options.languages,{[p]:t}),xr.options.languages[p]},xr.log=ci,xr.createLogger=ra,xr.time=jl,xr.createTimeRange=is(9,"videojs.createTimeRange","videojs.time.createTimeRanges",Oa),xr.createTimeRanges=is(9,"videojs.createTimeRanges","videojs.time.createTimeRanges",Oa),xr.formatTime=is(9,"videojs.formatTime","videojs.time.formatTime",el),xr.setFormatTime=is(9,"videojs.setFormatTime","videojs.time.setFormatTime",xo),xr.resetFormatTime=is(9,"videojs.resetFormatTime","videojs.time.resetFormatTime",El),xr.parseUrl=is(9,"videojs.parseUrl","videojs.url.parseUrl",Ki),xr.isCrossOrigin=is(9,"videojs.isCrossOrigin","videojs.url.isCrossOrigin",Eo),xr.EventTarget=yu,xr.any=vu,xr.on=uu,xr.one=gc,xr.off=Hn,xr.trigger=ll,xr.xhr=H(),xr.TrackList=hl,xr.TextTrack=Hl,xr.TextTrackList=da,xr.AudioTrack=_l,xr.AudioTrackList=pl,xr.VideoTrack=nl,xr.VideoTrackList=ec,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(p=>{xr[p]=function(){return ci.warn(`videojs.${p}() is deprecated; use videojs.dom.${p}() instead`),qa[p].apply(null,arguments)}}),xr.computedStyle=is(9,"videojs.computedStyle","videojs.dom.computedStyle",js),xr.dom=qa,xr.fn=vc,xr.num=Td,xr.str=vd,xr.url=Pu,xr.Error=Fs;/*! @name videojs-contrib-quality-levels @version 4.1.0 @license Apache-2.0 */class Ms{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 Ra extends xr.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 Ms(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}}Ra.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"};for(const p in Ra.prototype.allowedEvents_)Ra.prototype["on"+p]=null;var ka="4.1.0";const Ya=function(p,t){const o=p.qualityLevels,c=new Ra,y=function(){c.dispose(),p.qualityLevels=o,p.off("dispose",y)};return p.on("dispose",y),p.qualityLevels=()=>c,p.qualityLevels.VERSION=ka,c},Lo=function(p){return Ya(this,xr.obj.merge({},p))};xr.registerPlugin("qualityLevels",Lo),Lo.VERSION=ka;/*! @name @videojs/http-streaming @version 3.17.3 @license Apache-2.0 */const Xa=ae,wa=(p,t)=>t&&t.responseURL&&p!==t.responseURL?t.responseURL:p,so=p=>xr.log.debug?xr.log.debug.bind(xr,"VHS:",`${p} >`):function(){};function va(...p){const t=xr.obj||xr;return(t.merge||t.mergeOptions).apply(t,p)}function jo(...p){const t=xr.time||xr;return(t.createTimeRanges||t.createTimeRanges).apply(t,p)}function Xc(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 tu=1/30,Pl=tu*3,Pd=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 jo(o)},Rl=function(p,t){return Pd(p,function(o,c){return o-Pl<=t&&c+Pl>=t})},Qc=function(p,t){return Pd(p,function(o){return o-tu>=t})},Rd=function(p){if(p.length<2)return jo();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 jo(t)},Na=function(p,t){let o=null,c=null,y=0;const A=[],D=[];if(!p||!p.length||!t||!t.length)return jo();let K=p.length;for(;K--;)A.push({time:p.start(K),type:"start"}),A.push({time:p.end(K),type:"end"});for(K=t.length;K--;)A.push({time:t.start(K),type:"start"}),A.push({time:t.end(K),type:"end"});for(A.sort(function(ue,Te){return ue.time-Te.time}),K=0;K<A.length;K++)A[K].type==="start"?(y++,y===2&&(o=A[K].time)):A[K].type==="end"&&(y--,y===1&&(c=A[K].time)),o!==null&&c!==null&&(D.push([o,c]),o=null,c=null);return jo(D)},wu=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(", ")},Jc=function(p,t,o=1){return((p.length?p.end(p.length-1):0)-t)/o},al=p=>{const t=[];for(let o=0;o<p.length;o++)t.push({start:p.start(o),end:p.end(o)});return t},Mo=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},Ac=function(p){if(!(!p||!p.length||!p.end))return p.end(p.length-1)},Vd=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),A=p.end(c);if(!(t>A)){if(t>y&&t<=A){o+=A-t;continue}o+=A-y}}return o},If=(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},Gf=p=>(p.segments||[]).reduce((t,o,c)=>(o.parts?o.parts.forEach(function(y,A){t.push({duration:y.duration,segmentIndex:c,partIndex:A,part:y,segment:o})}):t.push({duration:o.duration,segmentIndex:c,partIndex:null,segment:o,part:null}),t),[]),Mh=p=>{const t=p.segments&&p.segments.length&&p.segments[p.segments.length-1];return t&&t.parts||[]},Kf=({preloadSegment:p})=>{if(!p)return;const{parts:t,preloadHints:o}=p;let c=(o||[]).reduce((y,A)=>y+(A.type==="PART"?1:0),0);return c+=t&&t.length?t.length:0,c},kh=(p,t)=>{if(t.endList)return 0;if(p&&p.suggestedPresentationDelay)return p.suggestedPresentationDelay;const o=Mh(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},yp=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+=If(p,y),typeof y.start<"u")return{result:o+y.start,precise:!0}}return{result:o,precise:!1}},df=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+=If(p,c),typeof c.end<"u")return{result:c.end-o,precise:!0}}return{result:-1,precise:!1}},vh=function(p,t,o){if(typeof t>"u"&&(t=p.mediaSequence+p.segments.length),t<p.mediaSequence)return 0;const c=yp(p,t);if(c.precise)return c.result;const y=df(p,t);return y.precise?y.result:c.result+o},Pf=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 R()[1/0]}return vh(p,t,o)},Gd=function({defaultDuration:p,durationList:t,startIndex:o,endIndex:c}){let y=0;if(o>c&&([o,c]=[c,o]),o<0){for(let A=o;A<Math.min(0,c);A++)y+=p;o=0}for(let A=o;A<c;A++)y+=t[A].duration;return y},hd=function(p,t,o,c){if(!p||!p.segments)return null;if(p.endList)return Pf(p);if(t===null)return null;t=t||0;let y=vh(p,p.mediaSequence+p.segments.length,t);return o&&(c=typeof c=="number"?c:kh(null,p),y-=c),Math.max(0,y)},Nh=function(p,t,o){const y=t||0;let A=hd(p,t,!0,o);return A===null?jo():(A<y&&(A=y),jo(y,A))},yh=function({playlist:p,currentTime:t,startingSegmentIndex:o,startingPartIndex:c,startTime:y,exactManifestTimings:A}){let D=t-y;const K=Gf(p);let ue=0;for(let Te=0;Te<K.length;Te++){const We=K[Te];if(o===We.segmentIndex&&!(typeof c=="number"&&typeof We.partIndex=="number"&&c!==We.partIndex)){ue=Te;break}}if(D<0){if(ue>0)for(let Te=ue-1;Te>=0;Te--){const We=K[Te];if(D+=We.duration,A){if(D<0)continue}else if(D+tu<=0)continue;return{partIndex:We.partIndex,segmentIndex:We.segmentIndex,startTime:y-Gd({defaultDuration:p.targetDuration,durationList:K,startIndex:ue,endIndex:Te})}}return{partIndex:K[0]&&K[0].partIndex||null,segmentIndex:K[0]&&K[0].segmentIndex||0,startTime:t}}if(ue<0){for(let Te=ue;Te<0;Te++)if(D-=p.targetDuration,D<0)return{partIndex:K[0]&&K[0].partIndex||null,segmentIndex:K[0]&&K[0].segmentIndex||0,startTime:t};ue=0}for(let Te=ue;Te<K.length;Te++){const We=K[Te];D-=We.duration;const vt=We.duration>tu,er=D===0,Tr=vt&&D+tu>=0;if(!((er||Tr)&&Te!==K.length-1)){if(A){if(D>0)continue}else if(D-tu>=0)continue;return{partIndex:We.partIndex,segmentIndex:We.segmentIndex,startTime:y+Gd({defaultDuration:p.targetDuration,durationList:K,startIndex:ue,endIndex:Te})}}}return{segmentIndex:K[K.length-1].segmentIndex,partIndex:K[K.length-1].partIndex,startTime:t}},bh=function(p){return p.excludeUntil&&p.excludeUntil>Date.now()},Rf=function(p){return p.excludeUntil&&p.excludeUntil===1/0},Yf=function(p){const t=bh(p);return!p.disabled&&!t},Kd=function(p){return p.disabled},Sh=function(p){for(let t=0;t<p.segments.length;t++)if(p.segments[t].key)return!0;return!1},xh=function(p,t){return t.attributes&&t.attributes[p]},Fh=function(p,t,o,c=0){return xh("BANDWIDTH",o)?(p*o.attributes.BANDWIDTH-c*8)/t:NaN},Df=(p,t)=>{if(p.playlists.length===1)return!0;const o=t.attributes.BANDWIDTH||Number.MAX_VALUE;return p.playlists.filter(c=>Yf(c)?(c.attributes.BANDWIDTH||0)<o:!1).length===0},Xf=(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),Bh=function(p,t){const o=p&&p.mediaGroups&&p.mediaGroups.AUDIO||{};let c=!1;for(const y in o){for(const A in o[y])if(c=t(o[y][A]),c)break;if(c)break}return!!c},Lf=p=>{if(!p||!p.playlists||!p.playlists.length)return Bh(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(A=>sn(A))||Bh(p,A=>Xf(o,A))))return!1}return!0};var Sl={liveEdgeDelay:kh,duration:Pf,seekable:Nh,getMediaInfoForTime:yh,isEnabled:Yf,isDisabled:Kd,isExcluded:bh,isIncompatible:Rf,playlistEnd:hd,isAes:Sh,hasAttribute:xh,estimateSegmentRequestTime:Fh,isLowestEnabledRendition:Df,isAudioOnly:Lf,playlistMatch:Xf,segmentDurationWithParts:If};const{log:Uh}=xr,ff=(p,t)=>`${p}-${t}`,Eh=(p,t,o)=>`placeholder-uri-${p}-${t}-${o}`,jh=({onwarn:p,oninfo:t,manifestString:o,customTagParsers:c=[],customTagMappers:y=[],llhls:A})=>{const D=new Ge;p&&D.on("warn",p),t&&D.on("info",t),c.forEach(Te=>D.addParser(Te)),y.forEach(Te=>D.addTagMapper(Te)),D.push(o),D.end();const K=D.manifest;if(A||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach(function(Te){K.hasOwnProperty(Te)&&delete K[Te]}),K.segments&&K.segments.forEach(function(Te){["parts","preloadHints"].forEach(function(We){Te.hasOwnProperty(We)&&delete Te[We]})})),!K.targetDuration){let Te=10;K.segments&&K.segments.length&&(Te=K.segments.reduce((We,vt)=>Math.max(We,vt.duration),0)),p&&p({message:`manifest has no targetDuration defaulting to ${Te}`}),K.targetDuration=Te}const ue=Mh(K);if(ue.length&&!K.partTargetDuration){const Te=ue.reduce((We,vt)=>Math.max(We,vt.duration),0);p&&(p({message:`manifest has no partTargetDuration defaulting to ${Te}`}),Uh.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.")),K.partTargetDuration=Te}return K},hf=(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 A=p.mediaGroups[o][c][y];t(A,o,c,y)}})},zh=({playlist:p,uri:t,id:o})=>{p.id=o,p.playlistErrors_=0,t&&(p.uri=t),p.attributes=p.attributes||{}},$h=p=>{let t=p.playlists.length;for(;t--;){const o=p.playlists[t];zh({playlist:o,id:ff(t,o.uri)}),o.resolvedUri=Xa(p.uri,o.uri),p.playlists[o.id]=o,p.playlists[o.uri]=o,o.attributes.BANDWIDTH||Uh.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}},bp=p=>{hf(p,t=>{t.uri&&(t.resolvedUri=Xa(p.uri,t.uri))})},Qf=(p,t)=>{const o=ff(0,t),c={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:R().location.href,resolvedUri:R().location.href,playlists:[{uri:t,id:o,resolvedUri:t,attributes:{}}]};return c.playlists[o]=c.playlists[0],c.playlists[t]=c.playlists[0],c},Hh=(p,t,o=Eh)=>{p.uri=t;for(let y=0;y<p.playlists.length;y++)if(!p.playlists[y].uri){const A=`placeholder-uri-${y}`;p.playlists[y].uri=A}const c=Lf(p);hf(p,(y,A,D,K)=>{if(!y.playlists||!y.playlists.length){if(c&&A==="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===D)return}y.playlists=[X({},y)]}y.playlists.forEach(function(ue,Te){const We=o(A,D,K,ue),vt=ff(Te,We);ue.uri?ue.resolvedUri=ue.resolvedUri||Xa(p.uri,ue.uri):(ue.uri=Te===0?We:vt,ue.resolvedUri=ue.uri),ue.id=ue.id||vt,ue.attributes=ue.attributes||{},p.playlists[ue.id]=ue,p.playlists[ue.uri]=ue})}),$h(p),bp(p)};class Wh{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,A)=>(y.set(A.id,A),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 A=t[c.class].push(c);c.classListIndex=A-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 Vh=22,Yd=({requestType:p,request:t,error:o,parseFailure:c})=>{const y=t.status<200||t.status>299,A=t.status>=400&&t.status<=499,D={uri:t.uri,requestType:p},K=y&&!A||c;if(o&&A)D.error=X({},o),D.errorType=xr.Error.NetworkRequestFailed;else if(t.aborted)D.errorType=xr.Error.NetworkRequestAborted;else if(t.timedout)D.errorType=xr.Error.NetworkRequestTimeout;else if(K){const ue=c?xr.Error.NetworkBodyParserFailed:xr.Error.NetworkBadStatus;D.errorType=ue,D.status=t.status,D.headers=t.headers}return D},Sp=so("CodecUtils"),Gh=function(p){const t=p.attributes||{};if(t.CODECS)return yr(t.CODECS)},Kh=(p,t)=>{const o=t.attributes||{};return p&&p.mediaGroups&&p.mediaGroups.AUDIO&&o.AUDIO&&p.mediaGroups.AUDIO[o.AUDIO]},xp=(p,t)=>{if(!Kh(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},Mf=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){Sp(`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},Yh=function(p){let t=0;return p.audio&&t++,p.video&&t++,t},kf=function(p,t){const o=t.attributes||{},c=Mf(Gh(t)||[]);if(Kh(p,t)&&!c.audio&&!xp(p,t)){const y=Mf(Wr(p,o.AUDIO)||[]);y.audio&&(c.audio=y.audio)}return c},{EventTarget:Jf}=xr,Ep=(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 A=c.parts||[],D=Kf(t)-1;D>-1&&D!==A.length-1&&(o._HLS_part=D),(D>-1||A.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(R()).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},Xh=(p,t)=>{if(!p)return t;const o=va(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]=va(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 A=[];let D;for(let K=0;K<y.length;K++){const ue=c[K+o],Te=y[K];ue?(D=ue.map||D,A.push(Xh(ue,Te))):(D&&!Te.map&&(Te.map=D),A.push(Te))}return A},Nf=(p,t)=>{!p.resolvedUri&&p.uri&&(p.resolvedUri=Xa(t,p.uri)),p.key&&!p.key.resolvedUri&&(p.key.resolvedUri=Xa(t,p.key.uri)),p.map&&!p.map.resolvedUri&&(p.map.resolvedUri=Xa(t,p.map.uri)),p.map&&p.map.key&&!p.map.key.resolvedUri&&(p.map.key.resolvedUri=Xa(t,p.map.key.uri)),p.parts&&p.parts.length&&p.parts.forEach(o=>{o.resolvedUri||(o.resolvedUri=Xa(t,o.uri))}),p.preloadHints&&p.preloadHints.length&&p.preloadHints.forEach(o=>{o.resolvedUri||(o.resolvedUri=Xa(t,o.uri))})},Th=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},Zf=(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,Dd=(p,t,o=Zf)=>{const c=va(p,{}),y=c.playlists[t.id];if(!y||o(y,t))return null;t.segments=Th(t);const A=va(y,t);if(A.preloadSegment&&!t.preloadSegment&&delete A.preloadSegment,y.segments){if(t.skip){t.segments=t.segments||[];for(let D=0;D<t.skip.skippedSegments;D++)t.segments.unshift({skipped:!0})}A.segments=Tp(y.segments,t.segments,t.mediaSequence-y.mediaSequence)}A.segments.forEach(D=>{Nf(D,A.resolvedUri)});for(let D=0;D<c.playlists.length;D++)c.playlists[D].id===t.id&&(c.playlists[D]=A);return c.playlists[t.id]=A,c.playlists[t.uri]=A,hf(p,(D,K,ue,Te)=>{if(D.playlists)for(let We=0;We<D.playlists.length;We++)t.id===D.playlists[We].id&&(D.playlists[We]=A)}),c},Ff=(p,t)=>{const o=p.segments||[],c=o[o.length-1],y=c&&c.parts&&c.parts[c.parts.length-1],A=y&&y.duration||c&&c.duration;return t&&A?A*1e3:(p.partTargetDuration||p.targetDuration||10)*500},pd=(p,t,o)=>{if(!p)return;const c=[];return p.forEach(y=>{if(!y.attributes)return;const{BANDWIDTH:A,RESOLUTION:D,CODECS:K}=y.attributes;c.push({id:y.id,bandwidth:A,resolution:D,codecs:K})}),{type:t,isLive:o,renditions:c}};class pf extends Jf{constructor(t,o,c={}){if(super(),!t)throw new Error("A non-empty playlist URL or object is required");this.logger_=so("PlaylistLoader");const{withCredentials:y=!1}=c;this.src=t,this.vhs_=o,this.withCredentials=y,this.addDateRangesToTextTrack_=c.addDateRangesToTextTrack;const A=o.options_;this.customTagParsers=A&&A.customTagParsers||[],this.customTagMappers=A&&A.customTagMappers||[],this.llhls=A&&A.llhls,this.dateRangesStorage_=new Wh,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=Xa(this.main.uri,t.uri);this.llhls&&(o=Ep(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:A}=o;this.request=null,c&&(this.state=c),this.error={playlist:this.main.playlists[A],status:t.status,message:`HLS playlist request error at URL: ${y}.`,responseText:t.responseText,code:t.status>=500?4:2,metadata:Yd({requestType:t.requestType,request:t,error:t.error})},this.trigger("error")}parseManifest_({url:t,manifestString:o}){try{const c=jh({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:xr.Error.StreamingHlsPlaylistParserError,error:c}}}excludeAudioOnlyVariants(t){const o=c=>{const y=c.attributes||{},{width:A,height:D}=y.RESOLUTION||{};if(A&&D)return!0;const K=Gh(c)||[];return!!Mf(K).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 A={playlistInfo:{type:"media",uri:c}};this.trigger({type:"playlistparsestart",metadata:A});const D=o||this.parseManifest_({url:c,manifestString:t});D.lastRequest=Date.now(),zh({playlist:D,uri:c,id:y});const K=Dd(this.main,D);this.targetDuration=D.partTargetDuration||D.targetDuration,this.pendingMedia_=null,K?(this.main=K,this.media_=this.main.playlists[y]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(Ff(this.media(),!!K)),A.parsedPlaylist=pd(this.main.playlists,A.playlistInfo.type,!this.media_.endList),this.trigger({type:"playlistparsecomplete",metadata:A}),this.trigger("loadedplaylist")}dispose(){this.trigger("dispose"),this.stopRequest(),R().clearTimeout(this.mediaUpdateTimeout),R().clearTimeout(this.finalRenditionTimeout),this.dateRangesStorage_=new Wh,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(R().clearTimeout(this.finalRenditionTimeout),o){const K=(t.partTargetDuration||t.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=R().setTimeout(this.media.bind(this,t,!1),K);return}const c=this.state,y=!this.media_||t.id!==this.media_.id,A=this.main.playlists[t.id];if(A&&A.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_(Ff(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 D={playlistInfo:{type:"media",uri:t.uri}};this.trigger({type:"playlistrequeststart",metadata:D}),this.request=this.vhs_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials,requestType:"hls-playlist"},(K,ue)=>{if(this.request){if(t.lastRequest=Date.now(),t.resolvedUri=wa(t.resolvedUri,ue),K)return this.playlistRequestError(this.request,t,c);this.trigger({type:"playlistrequestcomplete",metadata:D}),this.haveMetadata({playlistString:ue.responseText,url:t.uri,id:t.id}),c==="HAVE_MAIN_MANIFEST"?this.trigger("loadedmetadata"):this.trigger("mediachange")}})}pause(){this.mediaUpdateTimeout&&(R().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&&(R().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);const o=this.media();if(t){const c=o?(o.partTargetDuration||o.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=R().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&&(R().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),!(!this.media()||this.media().endList)&&(this.mediaUpdateTimeout=R().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=R().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:Yd({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=wa(this.src,c),this.trigger({type:"playlistparsestart",metadata:t});const y=this.parseManifest_({manifestString:c.responseText,url:this.src});t.parsedPlaylist=pd(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,Hh(this.main,this.srcUri()),t.playlists.forEach(c=>{c.segments=Th(c),c.segments.forEach(y=>{Nf(y,c.resolvedUri)})}),this.trigger("loadedplaylist"),this.request||this.media(this.main.playlists[0]);return}const o=this.srcUri()||R().location.href;this.main=Qf(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 A=c.playlists.length;for(;A--;){const D=c.playlists[A];if(D.attributes["PATHWAY-ID"]===y){const K=D.resolvedUri,ue=D.id;if(o){const Te=this.createCloneURI_(D.resolvedUri,t),We=ff(y,Te),vt=this.createCloneAttributes_(y,D.attributes),er=this.createClonePlaylist_(D,We,t,vt);c.playlists[A]=er,c.playlists[We]=er,c.playlists[Te]=er}else c.playlists.splice(A,1);delete c.playlists[ue],delete c.playlists[K]}}this.updateOrDeleteCloneMedia(t,o)}updateOrDeleteCloneMedia(t,o){const c=this.main,y=t.ID;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(A=>{if(!(!c.mediaGroups[A]||!c.mediaGroups[A][y])){for(const D in c.mediaGroups[A])if(D===y){for(const K in c.mediaGroups[A][D])c.mediaGroups[A][D][K].playlists.forEach((Te,We)=>{const vt=c.playlists[Te.id],er=vt.id,Tr=vt.resolvedUri;delete c.playlists[er],delete c.playlists[Tr]});delete c.mediaGroups[A][D]}}}),o&&this.createClonedMediaGroups_(t)}addClonePathway(t,o={}){const c=this.main,y=c.playlists.length,A=this.createCloneURI_(o.resolvedUri,t),D=ff(t.ID,A),K=this.createCloneAttributes_(t.ID,o.attributes),ue=this.createClonePlaylist_(o,D,t,K);c.playlists[y]=ue,c.playlists[D]=ue,c.playlists[A]=ue,this.createClonedMediaGroups_(t)}createClonedMediaGroups_(t){const o=t.ID,c=t["BASE-ID"],y=this.main;["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach(A=>{if(!(!y.mediaGroups[A]||y.mediaGroups[A][o]))for(const D in y.mediaGroups[A]){if(D===c)y.mediaGroups[A][o]={};else continue;for(const K in y.mediaGroups[A][D]){const ue=y.mediaGroups[A][D][K];y.mediaGroups[A][o][K]=X({},ue);const Te=y.mediaGroups[A][o][K],We=this.createCloneURI_(ue.resolvedUri,t);Te.resolvedUri=We,Te.uri=We,Te.playlists=[],ue.playlists.forEach((vt,er)=>{const Tr=y.playlists[vt.id],zr=Eh(A,o,K),St=ff(o,zr);if(Tr&&!y.playlists[St]){const En=this.createClonePlaylist_(Tr,St,t),xn=En.resolvedUri;y.playlists[St]=En,y.playlists[xn]=En}Te.playlists[er]=this.createClonePlaylist_(vt,St,t)})}}})}createClonePlaylist_(t,o,c,y){const A=this.createCloneURI_(t.resolvedUri,c),D={resolvedUri:A,uri:A,id:o};return t.segments&&(D.segments=[]),y&&(D.attributes=y),va(t,D)}createCloneURI_(t,o){const c=new URL(t);c.hostname=o["URI-REPLACEMENT"].HOST;const y=o["URI-REPLACEMENT"].PARAMS;for(const A of Object.keys(y))c.searchParams.set(A,y[A]);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 mf=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)},Bf=(p,t)=>{if(!p||!p.size)return;let o=t;return p.forEach(c=>{o=c(o)}),o},qf=(p,t,o,c)=>{!p||!p.size||p.forEach(y=>{y(t,o,c)})},wp=function(){const p=function t(o,c){o=va({timeout:45e3},o);const y=t.beforeRequest||xr.Vhs.xhr.beforeRequest,A=t._requestCallbackSet||xr.Vhs.xhr._requestCallbackSet||new Set,D=t._responseCallbackSet||xr.Vhs.xhr._responseCallbackSet;y&&typeof y=="function"&&(xr.log.warn("beforeRequest is deprecated, use onRequest instead."),A.add(y));const K=xr.Vhs.xhr.original===!0?xr.xhr:xr.Vhs.xhr,ue=Bf(A,o);A.delete(y);const Te=K(ue||o,function(vt,er){return qf(D,Te,vt,er),mf(Te,vt,er,c)}),We=Te.abort;return Te.abort=function(){return Te.aborted=!0,We.apply(Te,arguments)},Te.uri=o.uri,Te.requestType=o.requestType,Te.requestTime=Date.now(),Te};return p.original=!0,p},Qh=function(p){let t;const o=p.offset;return typeof p.offset=="bigint"||typeof p.length=="bigint"?t=R().BigInt(p.offset)+R().BigInt(p.length)-R().BigInt(1):t=p.offset+p.length-1,"bytes="+o+"-"+t},uc=function(p){const t={};return p.byterange&&(t.Range=Qh(p.byterange)),t},wh=function(p,t){return p.start(t)+"-"+p.end(t)},_h=function(p,t){const o=p.toString(16);return"00".substring(0,2-o.length)+o+(t%2?" ":"")},Jh=function(p){return p>=32&&p<126?String.fromCharCode(p):"."},Ah=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},gf=function(p){const t=p.byterange||{length:1/0,offset:0};return[t.length,t.offset,p.resolvedUri].join(",")},eh=function(p){return p.resolvedUri},th=p=>{const t=Array.prototype.slice.call(p),o=16;let c="",y,A;for(let D=0;D<t.length/o;D++)y=t.slice(D*o,D*o+o).map(_h).join(""),A=t.slice(D*o,D*o+o).map(Jh).join(""),c+=y+" "+A+` 967`;return c};var qh=Object.freeze({__proto__:null,createTransferableMessage:Ah,initSegmentId:gf,segmentKeyId:eh,hexDump:th,tagDump:({bytes:p})=>th(p),textRanges:p=>{let t="",o;for(o=0;o<p.length;o++)t+=wh(p,o)+" ";return t}});const Ch=.25,Ap=(p,t)=>{if(!t.dateTimeObject)return null;const o=t.videoTimingInfo.transmuxerPrependedSeconds,y=t.videoTimingInfo.transmuxedPresentationStart+o,A=p-y;return new Date(t.dateTimeObject.getTime()+A*1e3)},ep=p=>p.transmuxedPresentationEnd-p.transmuxedPresentationStart-p.transmuxerPrependedSeconds,Cc=(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],A=y.dateTimeObject,D=y.videoTimingInfo?ep(y.videoTimingInfo):y.duration+y.duration*Ch,K=new Date(A.getTime()+D*1e3);return o>K?null:(o>new Date(A)&&(c=y),{segment:c,estimatedStart:c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationStart:Sl.duration(t,t.mediaSequence+t.segments.indexOf(c)),type:c.videoTimingInfo?"accurate":"estimate"})},Cp=(p,t)=>{if(!t||!t.segments||t.segments.length===0)return null;let o=0,c;for(let A=0;A<t.segments.length&&(c=t.segments[A],o=c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationEnd:o+c.duration,!(p<=o));A++);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*Ch)return null;c=y}return{segment:c,estimatedStart:c.videoTimingInfo?c.videoTimingInfo.transmuxedPresentationStart:o-c.duration,type:c.videoTimingInfo?"accurate":"estimate"}},Op=(p,t)=>{let o,c;try{o=new Date(p),c=new Date(t)}catch{}const y=o.getTime();return(c.getTime()-y)/1e3},Xd=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},ya=({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=Cp(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},A=Ap(t,c.segment);return A&&(y.programDateTime=A.toISOString()),o(null,y)},P=({programTime:p,playlist:t,retryCount:o=2,seekTo:c,pauseAfterSeek:y=!0,tech:A,callback:D})=>{if(!D)throw new Error("seekToProgramTime: callback must be provided");if(typeof p>"u"||!t||!c)return D({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!t.endList&&!A.hasStarted_)return D({message:"player must be playing a live stream to start buffering"});if(!Xd(t))return D({message:"programDateTime tags must be provided in the manifest "+t.resolvedUri});const K=Cc(p,t);if(!K)return D({message:`${p} was not found in the stream`});const ue=K.segment,Te=Op(ue.dateTimeObject,p);if(K.type==="estimate"){if(o===0)return D({message:`${p} is not buffered yet. Try again`});c(K.estimatedStart+Te),A.one("seeked",()=>{P({programTime:p,playlist:t,retryCount:o-1,seekTo:c,pauseAfterSeek:y,tech:A,callback:D})});return}const We=ue.start+Te,vt=()=>D(null,A.currentTime());A.one("seeked",vt),y&&A.pause(),c(We)},j=(p,t)=>{if(p.readyState===4)return t()},He=(p,t,o,c)=>{let y=[],A,D=!1;const K=function(vt,er,Tr,zr){return er.abort(),D=!0,o(vt,er,Tr,zr)},ue=function(vt,er){if(D)return;if(vt)return vt.metadata=Yd({requestType:c,request:er,error:vt}),K(vt,er,"",y);const Tr=er.responseText.substring(y&&y.byteLength||0,er.responseText.length);if(y=ki(y,wi(Tr,!0)),A=A||ii(y),y.length<10||A&&y.length<A+2)return j(er,()=>K(vt,er,"",y));const zr=Zt(y);return zr==="ts"&&y.length<188?j(er,()=>K(vt,er,"",y)):!zr&&y.length<376?j(er,()=>K(vt,er,"",y)):K(null,er,zr,y)},We=t({uri:p,beforeSend(vt){vt.overrideMimeType("text/plain; charset=x-user-defined"),vt.addEventListener("progress",function({total:er,loaded:Tr}){return mf(vt,null,{statusCode:vt.status},ue)})}},function(vt,er){return mf(We,vt,er,ue)});return We},{EventTarget:pr}=xr,di=function(p,t){if(!Zf(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 A=c.byterange,D=y.byterange;if(A&&!D||!A&&D||A.offset!==D.offset||A.length!==D.length)return!1}return!0},qs=(p,t,o,c)=>{const y=c.attributes.NAME||o;return`placeholder-uri-${p}-${t}-${y}`},La=({mainXml:p,srcUrl:t,clientOffset:o,sidxMapping:c,previousManifest:y})=>{const A=je(p,{manifestUri:t,clientOffset:o,sidxMapping:c,previousManifest:y});return Hh(A,t,qs),A},lc=(p,t)=>{hf(p,(o,c,y,A)=>{(!t.mediaGroups[c][y]||!(A in t.mediaGroups[c][y]))&&delete p.mediaGroups[c][y][A]})},Ip=(p,t,o)=>{let c=!0,y=va(p,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts});for(let A=0;A<t.playlists.length;A++){const D=t.playlists[A];if(D.sidx){const ue=rn(D.sidx);o&&o[ue]&&o[ue].sidx&&yn(D,o[ue].sidx,D.sidx.resolvedUri)}const K=Dd(y,D,di);K&&(y=K,c=!1)}return hf(t,(A,D,K,ue)=>{if(A.playlists&&A.playlists.length){const Te=A.playlists[0].id,We=Dd(y,A.playlists[0],di);We&&(y=We,ue in y.mediaGroups[D][K]||(y.mediaGroups[D][K][ue]=A),y.mediaGroups[D][K][ue].playlists[0]=y.playlists[Te],c=!1)}}),lc(y,t),t.minimumUpdatePeriod!==p.minimumUpdatePeriod&&(c=!1),c?null:y},Pp=(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,tp=(p,t)=>{const o={};for(const c in p){const A=p[c].sidx;if(A){const D=rn(A);if(!t[D])break;const K=t[D].sidxInfo;Pp(K,A)&&(o[D]=t[D])}}return o},Tm=(p,t)=>{let c=tp(p.playlists,t);return hf(p,(y,A,D,K)=>{if(y.playlists&&y.playlists.length){const ue=y.playlists;c=va(c,tp(ue,t))}}),c};class md extends pr{constructor(t,o,c={},y){super(),this.isPaused_=!0,this.mainPlaylistLoader_=y||this,y||(this.isMain_=!0);const{withCredentials:A=!1}=c;if(this.vhs_=o,this.withCredentials=A,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_=so("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&&rn(t.sidx);if(!t.sidx||!y||this.mainPlaylistLoader_.sidxMapping_[y]){R().clearTimeout(this.mediaRequest_),this.mediaRequest_=R().setTimeout(()=>c(!1),0);return}const A=wa(t.sidx.resolvedUri),D=(ue,Te)=>{if(this.requestErrored_(ue,Te,o))return;const We=this.mainPlaylistLoader_.sidxMapping_,{requestType:vt}=Te;let er;try{er=Br()(wt(Te.response).subarray(8))}catch(Tr){Tr.metadata=Yd({requestType:vt,request:Te,parseFailure:!0}),this.requestErrored_(Tr,Te,o);return}return We[y]={sidxInfo:t.sidx,sidx:er},yn(t,er,t.sidx.resolvedUri),c(!0)},K="dash-sidx";this.request=He(A,this.vhs_.xhr,(ue,Te,We,vt)=>{if(ue)return D(ue,Te);if(!We||We!=="mp4"){const zr=We||"unknown";return D({status:Te.status,message:`Unsupported ${zr} container type for sidx segment at URL: ${A}`,response:"",playlist:t,internal:!0,playlistExclusionDuration:1/0,code:2},Te)}const{offset:er,length:Tr}=t.sidx.byterange;if(vt.length>=Tr+er)return D(ue,{response:vt.subarray(er,er+Tr),status:Te.status,uri:Te.uri});this.request=this.vhs_.xhr({uri:A,responseType:"arraybuffer",requestType:"dash-sidx",headers:uc({byterange:t.sidx.byterange})},D)},K)}dispose(){this.isPaused_=!0,this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},R().clearTimeout(this.minimumUpdatePeriodTimeout_),R().clearTimeout(this.mediaRequest_),R().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,R().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(),R().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMain_&&(R().clearTimeout(this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_),this.mainPlaylistLoader_.minimumUpdatePeriodTimeout_=null),this.state==="HAVE_NOTHING"&&(this.started=!1)}load(t){this.isPaused_=!1,R().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;const o=this.media();if(t){const c=o?o.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=R().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")}start(){if(this.started=!0,!this.isMain_){R().clearTimeout(this.mediaRequest_),this.mediaRequest_=R().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:D}=y;c.metadata=Yd({requestType:D,request:y,error:c})}if(this.requestErrored_(c,y)){this.state==="HAVE_NOTHING"&&(this.started=!1);return}this.trigger({type:"manifestrequestcomplete",metadata:o});const A=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=wa(this.mainPlaylistLoader_.srcUrl,y),A){this.handleMain_(),this.syncClientServerClock_(()=>t(y,A));return}return t(y,A)})}syncClientServerClock_(t){const o=Ot(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:Xa(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:D}=y;return this.error.metadata=Yd({requestType:D,request:y,error:c}),this.mainPlaylistLoader_.clientOffset_=this.mainLoaded_-Date.now(),t()}let A;o.method==="HEAD"?!y.responseHeaders||!y.responseHeaders.date?A=this.mainLoaded_:A=Date.parse(y.responseHeaders.date):A=Date.parse(y.responseText),this.mainPlaylistLoader_.clientOffset_=A-Date.now(),t()})}haveMain_(){this.state="HAVE_MAIN_MANIFEST",this.isMain_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)}handleMain_(){R().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=La({mainXml:this.mainPlaylistLoader_.mainXml_,srcUrl:this.mainPlaylistLoader_.srcUrl,clientOffset:this.mainPlaylistLoader_.clientOffset_,sidxMapping:this.mainPlaylistLoader_.sidxMapping_,previousManifest:t})}catch(A){this.error=A,this.error.metadata={errorType:xr.Error.StreamingDashManifestParserError,error:A},this.trigger("error")}t&&(c=Ip(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:A,endList:D}=c,K=[];c.playlists.forEach(Te=>{K.push({id:Te.id,bandwidth:Te.attributes.BANDWIDTH,resolution:Te.attributes.RESOLUTION,codecs:Te.attributes.CODECS})});const ue={duration:A,isLive:!D,renditions:K};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_&&(R().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_=R().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_=Tm(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=R().setTimeout(()=>{this.trigger("mediaupdatetimeout"),y()},Ff(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 Vu={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 rp=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},Zo=function(p){return p.on=p.addEventListener,p.off=p.removeEventListener,p},du=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=du(p),o=Zo(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}},d0=function(p){return`var browserWorkerPolyFill = ${Zo.toString()}; 968browserWorkerPolyFill(self); 969`+p},f0=function(p){return p.toString().replace(/^function.+?{/,"").slice(0,-1)},wm=d0(f0(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 k={};this.on=function(J,ee){k[J]||(k[J]=[]),k[J]=k[J].concat(ee)},this.off=function(J,ee){var ie;return k[J]?(ie=k[J].indexOf(ee),k[J]=k[J].slice(),k[J].splice(ie,1),ie>-1):!1},this.trigger=function(J){var ee,ie,ve,Ne;if(ee=k[J],!!ee)if(arguments.length===2)for(ve=ee.length,ie=0;ie<ve;++ie)ee[ie].call(this,arguments[1]);else{for(Ne=[],ie=arguments.length,ie=1;ie<arguments.length;++ie)Ne.push(arguments[ie]);for(ve=ee.length,ie=0;ie<ve;++ie)ee[ie].apply(this,Ne)}},this.dispose=function(){k={}}}};t.prototype.pipe=function(k){return this.on("data",function(J){k.push(J)}),this.on("done",function(J){k.flush(J)}),this.on("partialdone",function(J){k.partialFlush(J)}),this.on("endedtimeline",function(J){k.endTimeline(J)}),this.on("reset",function(J){k.reset(J)}),k},t.prototype.push=function(k){this.trigger("data",k)},t.prototype.flush=function(k){this.trigger("done",k)},t.prototype.partialFlush=function(k){this.trigger("partialdone",k)},t.prototype.endTimeline=function(k){this.trigger("endedtimeline",k)},t.prototype.reset=function(k){this.trigger("reset",k)};var o=t,c=Math.pow(2,32),y=function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee;return J.getBigUint64?(ee=J.getBigUint64(0),ee<Number.MAX_SAFE_INTEGER?Number(ee):ee):J.getUint32(0)*c+J.getUint32(4)},A={getUint64:y,MAX_UINT32:c},D=A.MAX_UINT32,K,ue,Te,We,vt,er,Tr,zr,St,En,xn,pn,Qr,Ln,Cn,pi,Bn,Si,ia,fo,Go,To,Bs,zs,wo,yo,ol,Kl,Nd,ed,Fd,Bd,Ph,Dl,Vp,Gp;(function(){var k;if(Bs={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(k in Bs)Bs.hasOwnProperty(k)&&(Bs[k]=[k.charCodeAt(0),k.charCodeAt(1),k.charCodeAt(2),k.charCodeAt(3)]);zs=new Uint8Array([105,115,111,109]),yo=new Uint8Array([97,118,99,49]),wo=new Uint8Array([0,0,0,1]),ol=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]),Kl=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]),Nd={video:ol,audio:Kl},Bd=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Fd=new Uint8Array([0,0,0,0,0,0,0,0]),Ph=new Uint8Array([0,0,0,0,0,0,0,0]),Dl=Ph,Vp=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Gp=Ph,ed=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}})(),K=function(k){var J=[],ee=0,ie,ve,Ne;for(ie=1;ie<arguments.length;ie++)J.push(arguments[ie]);for(ie=J.length;ie--;)ee+=J[ie].byteLength;for(ve=new Uint8Array(ee+8),Ne=new DataView(ve.buffer,ve.byteOffset,ve.byteLength),Ne.setUint32(0,ve.byteLength),ve.set(k,4),ie=0,ee=8;ie<J.length;ie++)ve.set(J[ie],ee),ee+=J[ie].byteLength;return ve},ue=function(){return K(Bs.dinf,K(Bs.dref,Bd))},Te=function(k){return K(Bs.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,k.audioobjecttype<<3|k.samplingfrequencyindex>>>1,k.samplingfrequencyindex<<7|k.channelcount<<3,6,1,2]))},We=function(){return K(Bs.ftyp,zs,wo,zs,yo)},pi=function(k){return K(Bs.hdlr,Nd[k])},vt=function(k){return K(Bs.mdat,k)},Cn=function(k){var J=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,k.duration>>>24&255,k.duration>>>16&255,k.duration>>>8&255,k.duration&255,85,196,0,0]);return k.samplerate&&(J[12]=k.samplerate>>>24&255,J[13]=k.samplerate>>>16&255,J[14]=k.samplerate>>>8&255,J[15]=k.samplerate&255),K(Bs.mdhd,J)},Ln=function(k){return K(Bs.mdia,Cn(k),pi(k.type),Tr(k))},er=function(k){return K(Bs.mfhd,new Uint8Array([0,0,0,0,(k&4278190080)>>24,(k&16711680)>>16,(k&65280)>>8,k&255]))},Tr=function(k){return K(Bs.minf,k.type==="video"?K(Bs.vmhd,ed):K(Bs.smhd,Fd),ue(),Si(k))},zr=function(k,J){for(var ee=[],ie=J.length;ie--;)ee[ie]=fo(J[ie]);return K.apply(null,[Bs.moof,er(k)].concat(ee))},St=function(k){for(var J=k.length,ee=[];J--;)ee[J]=pn(k[J]);return K.apply(null,[Bs.moov,xn(4294967295)].concat(ee).concat(En(k)))},En=function(k){for(var J=k.length,ee=[];J--;)ee[J]=Go(k[J]);return K.apply(null,[Bs.mvex].concat(ee))},xn=function(k){var J=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(k&4278190080)>>24,(k&16711680)>>16,(k&65280)>>8,k&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 K(Bs.mvhd,J)},Bn=function(k){var J=k.samples||[],ee=new Uint8Array(4+J.length),ie,ve;for(ve=0;ve<J.length;ve++)ie=J[ve].flags,ee[ve+4]=ie.dependsOn<<4|ie.isDependedOn<<2|ie.hasRedundancy;return K(Bs.sdtp,ee)},Si=function(k){return K(Bs.stbl,ia(k),K(Bs.stts,Gp),K(Bs.stsc,Dl),K(Bs.stsz,Vp),K(Bs.stco,Ph))},(function(){var k,J;ia=function(ee){return K(Bs.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),ee.type==="video"?k(ee):J(ee))},k=function(ee){var ie=ee.sps||[],ve=ee.pps||[],Ne=[],bt=[],It,Ht;for(It=0;It<ie.length;It++)Ne.push((ie[It].byteLength&65280)>>>8),Ne.push(ie[It].byteLength&255),Ne=Ne.concat(Array.prototype.slice.call(ie[It]));for(It=0;It<ve.length;It++)bt.push((ve[It].byteLength&65280)>>>8),bt.push(ve[It].byteLength&255),bt=bt.concat(Array.prototype.slice.call(ve[It]));if(Ht=[Bs.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,(ee.width&65280)>>8,ee.width&255,(ee.height&65280)>>8,ee.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]),K(Bs.avcC,new Uint8Array([1,ee.profileIdc,ee.profileCompatibility,ee.levelIdc,255].concat([ie.length],Ne,[ve.length],bt))),K(Bs.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],ee.sarRatio){var Yt=ee.sarRatio[0],jr=ee.sarRatio[1];Ht.push(K(Bs.pasp,new Uint8Array([(Yt&4278190080)>>24,(Yt&16711680)>>16,(Yt&65280)>>8,Yt&255,(jr&4278190080)>>24,(jr&16711680)>>16,(jr&65280)>>8,jr&255])))}return K.apply(null,Ht)},J=function(ee){return K(Bs.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(ee.channelcount&65280)>>8,ee.channelcount&255,(ee.samplesize&65280)>>8,ee.samplesize&255,0,0,0,0,(ee.samplerate&65280)>>8,ee.samplerate&255,0,0]),Te(ee))}})(),Qr=function(k){var J=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(k.id&4278190080)>>24,(k.id&16711680)>>16,(k.id&65280)>>8,k.id&255,0,0,0,0,(k.duration&4278190080)>>24,(k.duration&16711680)>>16,(k.duration&65280)>>8,k.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,(k.width&65280)>>8,k.width&255,0,0,(k.height&65280)>>8,k.height&255,0,0]);return K(Bs.tkhd,J)},fo=function(k){var J,ee,ie,ve,Ne,bt,It;return J=K(Bs.tfhd,new Uint8Array([0,0,0,58,(k.id&4278190080)>>24,(k.id&16711680)>>16,(k.id&65280)>>8,k.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),bt=Math.floor(k.baseMediaDecodeTime/D),It=Math.floor(k.baseMediaDecodeTime%D),ee=K(Bs.tfdt,new Uint8Array([1,0,0,0,bt>>>24&255,bt>>>16&255,bt>>>8&255,bt&255,It>>>24&255,It>>>16&255,It>>>8&255,It&255])),Ne=92,k.type==="audio"?(ie=To(k,Ne),K(Bs.traf,J,ee,ie)):(ve=Bn(k),ie=To(k,ve.length+Ne),K(Bs.traf,J,ee,ie,ve))},pn=function(k){return k.duration=k.duration||4294967295,K(Bs.trak,Qr(k),Ln(k))},Go=function(k){var J=new Uint8Array([0,0,0,0,(k.id&4278190080)>>24,(k.id&16711680)>>16,(k.id&65280)>>8,k.id&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return k.type!=="video"&&(J[J.length-1]=0),K(Bs.trex,J)},(function(){var k,J,ee;ee=function(ie,ve){var Ne=0,bt=0,It=0,Ht=0;return ie.length&&(ie[0].duration!==void 0&&(Ne=1),ie[0].size!==void 0&&(bt=2),ie[0].flags!==void 0&&(It=4),ie[0].compositionTimeOffset!==void 0&&(Ht=8)),[0,0,Ne|bt|It|Ht,1,(ie.length&4278190080)>>>24,(ie.length&16711680)>>>16,(ie.length&65280)>>>8,ie.length&255,(ve&4278190080)>>>24,(ve&16711680)>>>16,(ve&65280)>>>8,ve&255]},J=function(ie,ve){var Ne,bt,It,Ht,Yt,jr;for(Ht=ie.samples||[],ve+=20+16*Ht.length,It=ee(Ht,ve),bt=new Uint8Array(It.length+Ht.length*16),bt.set(It),Ne=It.length,jr=0;jr<Ht.length;jr++)Yt=Ht[jr],bt[Ne++]=(Yt.duration&4278190080)>>>24,bt[Ne++]=(Yt.duration&16711680)>>>16,bt[Ne++]=(Yt.duration&65280)>>>8,bt[Ne++]=Yt.duration&255,bt[Ne++]=(Yt.size&4278190080)>>>24,bt[Ne++]=(Yt.size&16711680)>>>16,bt[Ne++]=(Yt.size&65280)>>>8,bt[Ne++]=Yt.size&255,bt[Ne++]=Yt.flags.isLeading<<2|Yt.flags.dependsOn,bt[Ne++]=Yt.flags.isDependedOn<<6|Yt.flags.hasRedundancy<<4|Yt.flags.paddingValue<<1|Yt.flags.isNonSyncSample,bt[Ne++]=Yt.flags.degradationPriority&61440,bt[Ne++]=Yt.flags.degradationPriority&15,bt[Ne++]=(Yt.compositionTimeOffset&4278190080)>>>24,bt[Ne++]=(Yt.compositionTimeOffset&16711680)>>>16,bt[Ne++]=(Yt.compositionTimeOffset&65280)>>>8,bt[Ne++]=Yt.compositionTimeOffset&255;return K(Bs.trun,bt)},k=function(ie,ve){var Ne,bt,It,Ht,Yt,jr;for(Ht=ie.samples||[],ve+=20+8*Ht.length,It=ee(Ht,ve),Ne=new Uint8Array(It.length+Ht.length*8),Ne.set(It),bt=It.length,jr=0;jr<Ht.length;jr++)Yt=Ht[jr],Ne[bt++]=(Yt.duration&4278190080)>>>24,Ne[bt++]=(Yt.duration&16711680)>>>16,Ne[bt++]=(Yt.duration&65280)>>>8,Ne[bt++]=Yt.duration&255,Ne[bt++]=(Yt.size&4278190080)>>>24,Ne[bt++]=(Yt.size&16711680)>>>16,Ne[bt++]=(Yt.size&65280)>>>8,Ne[bt++]=Yt.size&255;return K(Bs.trun,Ne)},To=function(ie,ve){return ie.type==="audio"?k(ie,ve):J(ie,ve)}})();var K0={ftyp:We,mdat:vt,moof:zr,moov:St,initSegment:function(k){var J=We(),ee=St(k),ie;return ie=new Uint8Array(J.byteLength+ee.byteLength),ie.set(J),ie.set(ee,J.byteLength),ie}},Y0=function(k){var J,ee,ie=[],ve=[];for(ve.byteLength=0,ve.nalCount=0,ve.duration=0,ie.byteLength=0,J=0;J<k.length;J++)ee=k[J],ee.nalUnitType==="access_unit_delimiter_rbsp"?(ie.length&&(ie.duration=ee.dts-ie.dts,ve.byteLength+=ie.byteLength,ve.nalCount+=ie.length,ve.duration+=ie.duration,ve.push(ie)),ie=[ee],ie.byteLength=ee.data.byteLength,ie.pts=ee.pts,ie.dts=ee.dts):(ee.nalUnitType==="slice_layer_without_partitioning_rbsp_idr"&&(ie.keyFrame=!0),ie.duration=ee.dts-ie.dts,ie.byteLength+=ee.data.byteLength,ie.push(ee));return ve.length&&(!ie.duration||ie.duration<=0)&&(ie.duration=ve[ve.length-1].duration),ve.byteLength+=ie.byteLength,ve.nalCount+=ie.length,ve.duration+=ie.duration,ve.push(ie),ve},X0=function(k){var J,ee,ie=[],ve=[];for(ie.byteLength=0,ie.nalCount=0,ie.duration=0,ie.pts=k[0].pts,ie.dts=k[0].dts,ve.byteLength=0,ve.nalCount=0,ve.duration=0,ve.pts=k[0].pts,ve.dts=k[0].dts,J=0;J<k.length;J++)ee=k[J],ee.keyFrame?(ie.length&&(ve.push(ie),ve.byteLength+=ie.byteLength,ve.nalCount+=ie.nalCount,ve.duration+=ie.duration),ie=[ee],ie.nalCount=ee.length,ie.byteLength=ee.byteLength,ie.pts=ee.pts,ie.dts=ee.dts,ie.duration=ee.duration):(ie.duration+=ee.duration,ie.nalCount+=ee.length,ie.byteLength+=ee.byteLength,ie.push(ee));return ve.length&&ie.duration<=0&&(ie.duration=ve[ve.length-1].duration),ve.byteLength+=ie.byteLength,ve.nalCount+=ie.nalCount,ve.duration+=ie.duration,ve.push(ie),ve},hp=function(k){var J;return!k[0][0].keyFrame&&k.length>1&&(J=k.shift(),k.byteLength-=J.byteLength,k.nalCount-=J.nalCount,k[0][0].dts=J.dts,k[0][0].pts=J.pts,k[0][0].duration+=J.duration),k},kg=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},h1=function(k,J){var ee=kg();return ee.dataOffset=J,ee.compositionTimeOffset=k.pts-k.dts,ee.duration=k.duration,ee.size=4*k.length,ee.size+=k.byteLength,k.keyFrame&&(ee.flags.dependsOn=2,ee.flags.isNonSyncSample=0),ee},fv=function(k,J){var ee,ie,ve,Ne,bt,It=J||0,Ht=[];for(ee=0;ee<k.length;ee++)for(Ne=k[ee],ie=0;ie<Ne.length;ie++)bt=Ne[ie],ve=h1(bt,It),It+=ve.size,Ht.push(ve);return Ht},hv=function(k){var J,ee,ie,ve,Ne,bt,It=0,Ht=k.byteLength,Yt=k.nalCount,jr=Ht+4*Yt,On=new Uint8Array(jr),Ji=new DataView(On.buffer);for(J=0;J<k.length;J++)for(ve=k[J],ee=0;ee<ve.length;ee++)for(Ne=ve[ee],ie=0;ie<Ne.length;ie++)bt=Ne[ie],Ji.setUint32(It,bt.data.byteLength),It+=4,On.set(bt.data,It),It+=bt.data.byteLength;return On},pv=function(k,J){var ee,ie=J||0,ve=[];return ee=h1(k,ie),ve.push(ee),ve},mv=function(k){var J,ee,ie=0,ve=k.byteLength,Ne=k.length,bt=ve+4*Ne,It=new Uint8Array(bt),Ht=new DataView(It.buffer);for(J=0;J<k.length;J++)ee=k[J],Ht.setUint32(ie,ee.data.byteLength),ie+=4,It.set(ee.data,ie),ie+=ee.data.byteLength;return It},gv={groupNalsIntoFrames:Y0,groupFramesIntoGops:X0,extendFirstKeyFrame:hp,generateSampleTable:fv,concatenateNalData:hv,generateSampleTableForFrame:pv,concatenateNalDataForFrame:mv},lh=[33,16,5,32,164,27],Ng=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ko=function(k){for(var J=[];k--;)J.push(0);return J},vv=function(k){return Object.keys(k).reduce(function(J,ee){return J[ee]=new Uint8Array(k[ee].reduce(function(ie,ve){return ie.concat(ve)},[])),J},{})},Fg,yv=function(){if(!Fg){var k={96e3:[lh,[227,64],ko(154),[56]],88200:[lh,[231],ko(170),[56]],64e3:[lh,[248,192],ko(240),[56]],48e3:[lh,[255,192],ko(268),[55,148,128],ko(54),[112]],44100:[lh,[255,192],ko(268),[55,163,128],ko(84),[112]],32e3:[lh,[255,192],ko(268),[55,234],ko(226),[112]],24e3:[lh,[255,192],ko(268),[55,255,128],ko(268),[111,112],ko(126),[224]],16e3:[lh,[255,192],ko(268),[55,255,128],ko(268),[111,255],ko(269),[223,108],ko(195),[1,192]],12e3:[Ng,ko(268),[3,127,248],ko(268),[6,255,240],ko(268),[13,255,224],ko(268),[27,253,128],ko(259),[56]],11025:[Ng,ko(268),[3,127,248],ko(268),[6,255,240],ko(268),[13,255,224],ko(268),[27,255,192],ko(268),[55,175,128],ko(108),[112]],8e3:[Ng,ko(268),[3,121,16],ko(47),[7]]};Fg=vv(k)}return Fg},Bg=9e4,Ug,jg,Q0,zg,p1,m1,g1;Ug=function(k){return k*Bg},jg=function(k,J){return k*J},Q0=function(k){return k/Bg},zg=function(k,J){return k/J},p1=function(k,J){return Ug(zg(k,J))},m1=function(k,J){return jg(Q0(k),J)},g1=function(k,J,ee){return Q0(ee?k:k-J)};var nu={ONE_SECOND_IN_TS:Bg,secondsToVideoTs:Ug,secondsToAudioTs:jg,videoTsToSeconds:Q0,audioTsToSeconds:zg,audioTsToVideoTs:p1,videoTsToAudioTs:m1,metadataTsToSeconds:g1},bv=yv,J0=nu,Sv=function(k){var J,ee,ie=0;for(J=0;J<k.length;J++)ee=k[J],ie+=ee.data.byteLength;return ie},xv=function(k,J,ee,ie){var ve,Ne=0,bt=0,It=0,Ht=0,Yt,jr,On;if(J.length&&(ve=J0.audioTsToVideoTs(k.baseMediaDecodeTime,k.samplerate),Ne=Math.ceil(J0.ONE_SECOND_IN_TS/(k.samplerate/1024)),ee&&ie&&(bt=ve-Math.max(ee,ie),It=Math.floor(bt/Ne),Ht=It*Ne),!(It<1||Ht>J0.ONE_SECOND_IN_TS/2))){for(Yt=bv()[k.samplerate],Yt||(Yt=J[0].data),jr=0;jr<It;jr++)On=J[0],J.splice(0,0,{data:Yt,dts:On.dts-Ne,pts:On.pts-Ne});return k.baseMediaDecodeTime-=Math.floor(J0.videoTsToAudioTs(Ht,k.samplerate)),Ht}},Ev=function(k,J,ee){return J.minSegmentDts>=ee?k:(J.minSegmentDts=1/0,k.filter(function(ie){return ie.dts>=ee?(J.minSegmentDts=Math.min(J.minSegmentDts,ie.dts),J.minSegmentPts=J.minSegmentDts,!0):!1}))},Tv=function(k){var J,ee,ie=[];for(J=0;J<k.length;J++)ee=k[J],ie.push({size:ee.data.byteLength,duration:1024});return ie},wv=function(k){var J,ee,ie=0,ve=new Uint8Array(Sv(k));for(J=0;J<k.length;J++)ee=k[J],ve.set(ee.data,ie),ie+=ee.data.byteLength;return ve},_v={prefixWithSilence:xv,trimAdtsFramesByEarliestDts:Ev,generateSampleTable:Tv,concatenateFrameData:wv},Av=nu.ONE_SECOND_IN_TS,Cv=function(k,J){typeof J.pts=="number"&&(k.timelineStartInfo.pts===void 0&&(k.timelineStartInfo.pts=J.pts),k.minSegmentPts===void 0?k.minSegmentPts=J.pts:k.minSegmentPts=Math.min(k.minSegmentPts,J.pts),k.maxSegmentPts===void 0?k.maxSegmentPts=J.pts:k.maxSegmentPts=Math.max(k.maxSegmentPts,J.pts)),typeof J.dts=="number"&&(k.timelineStartInfo.dts===void 0&&(k.timelineStartInfo.dts=J.dts),k.minSegmentDts===void 0?k.minSegmentDts=J.dts:k.minSegmentDts=Math.min(k.minSegmentDts,J.dts),k.maxSegmentDts===void 0?k.maxSegmentDts=J.dts:k.maxSegmentDts=Math.max(k.maxSegmentDts,J.dts))},Ov=function(k){delete k.minSegmentDts,delete k.maxSegmentDts,delete k.minSegmentPts,delete k.maxSegmentPts},Iv=function(k,J){var ee,ie,ve=k.minSegmentDts;return J||(ve-=k.timelineStartInfo.dts),ee=k.timelineStartInfo.baseMediaDecodeTime,ee+=ve,ee=Math.max(0,ee),k.type==="audio"&&(ie=k.samplerate/Av,ee*=ie,ee=Math.floor(ee)),ee},Pv={clearDtsInfo:Ov,calculateTrackBaseMediaDecodeTime:Iv,collectDtsInfo:Cv},v1=4,Rv=128,Dv=function(k){for(var J=0,ee={payloadType:-1,payloadSize:0},ie=0,ve=0;J<k.byteLength&&k[J]!==Rv;){for(;k[J]===255;)ie+=255,J++;for(ie+=k[J++];k[J]===255;)ve+=255,J++;if(ve+=k[J++],!ee.payload&&ie===v1){var Ne=String.fromCharCode(k[J+3],k[J+4],k[J+5],k[J+6]);if(Ne==="GA94"){ee.payloadType=ie,ee.payloadSize=ve,ee.payload=k.subarray(J,J+ve);break}else ee.payload=void 0}J+=ve,ie=0,ve=0}return ee},Lv=function(k){return k.payload[0]!==181||(k.payload[1]<<8|k.payload[2])!==49||String.fromCharCode(k.payload[3],k.payload[4],k.payload[5],k.payload[6])!=="GA94"||k.payload[7]!==3?null:k.payload.subarray(8,k.payload.length-1)},Mv=function(k,J){var ee=[],ie,ve,Ne,bt;if(!(J[0]&64))return ee;for(ve=J[0]&31,ie=0;ie<ve;ie++)Ne=ie*3,bt={type:J[Ne+2]&3,pts:k},J[Ne+2]&4&&(bt.ccData=J[Ne+3]<<8|J[Ne+4],ee.push(bt));return ee},kv=function(k){for(var J=k.byteLength,ee=[],ie=1,ve,Ne;ie<J-2;)k[ie]===0&&k[ie+1]===0&&k[ie+2]===3?(ee.push(ie+2),ie+=2):ie++;if(ee.length===0)return k;ve=J-ee.length,Ne=new Uint8Array(ve);var bt=0;for(ie=0;ie<ve;bt++,ie++)bt===ee[0]&&(bt++,ee.shift()),Ne[ie]=k[bt];return Ne},y1={parseSei:Dv,parseUserData:Lv,parseCaptionPackets:Mv,discardEmulationPreventionBytes:kv,USER_DATA_REGISTERED_ITU_T_T35:v1},$g=o,Z0=y1,td=function(k){k=k||{},td.prototype.init.call(this),this.parse708captions_=typeof k.parse708captions=="boolean"?k.parse708captions:!0,this.captionPackets_=[],this.ccStreams_=[new fu(0,0),new fu(0,1),new fu(1,0),new fu(1,1)],this.parse708captions_&&(this.cc708Stream_=new Ko({captionServices:k.captionServices})),this.reset(),this.ccStreams_.forEach(function(J){J.on("data",this.trigger.bind(this,"data")),J.on("partialdone",this.trigger.bind(this,"partialdone")),J.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")))};td.prototype=new $g,td.prototype.push=function(k){var J,ee,ie;if(k.nalUnitType==="sei_rbsp"&&(J=Z0.parseSei(k.escapedRBSP),!!J.payload&&J.payloadType===Z0.USER_DATA_REGISTERED_ITU_T_T35&&(ee=Z0.parseUserData(J),!!ee))){if(k.dts<this.latestDts_){this.ignoreNextEqualDts_=!0;return}else if(k.dts===this.latestDts_&&this.ignoreNextEqualDts_){this.numSameDts_--,this.numSameDts_||(this.ignoreNextEqualDts_=!1);return}ie=Z0.parseCaptionPackets(k.pts,ee),this.captionPackets_=this.captionPackets_.concat(ie),this.latestDts_!==k.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=k.dts}},td.prototype.flushCCStreams=function(k){this.ccStreams_.forEach(function(J){return k==="flush"?J.flush():J.partialFlush()},this)},td.prototype.flushStream=function(k){if(!this.captionPackets_.length){this.flushCCStreams(k);return}this.captionPackets_.forEach(function(J,ee){J.presortIndex=ee}),this.captionPackets_.sort(function(J,ee){return J.pts===ee.pts?J.presortIndex-ee.presortIndex:J.pts-ee.pts}),this.captionPackets_.forEach(function(J){J.type<2?this.dispatchCea608Packet(J):this.dispatchCea708Packet(J)},this),this.captionPackets_.length=0,this.flushCCStreams(k)},td.prototype.flush=function(){return this.flushStream("flush")},td.prototype.partialFlush=function(){return this.flushStream("partialFlush")},td.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(k){k.reset()})},td.prototype.dispatchCea608Packet=function(k){this.setsTextOrXDSActive(k)?this.activeCea608Channel_[k.type]=null:this.setsChannel1Active(k)?this.activeCea608Channel_[k.type]=0:this.setsChannel2Active(k)&&(this.activeCea608Channel_[k.type]=1),this.activeCea608Channel_[k.type]!==null&&this.ccStreams_[(k.type<<1)+this.activeCea608Channel_[k.type]].push(k)},td.prototype.setsChannel1Active=function(k){return(k.ccData&30720)===4096},td.prototype.setsChannel2Active=function(k){return(k.ccData&30720)===6144},td.prototype.setsTextOrXDSActive=function(k){return(k.ccData&28928)===256||(k.ccData&30974)===4138||(k.ccData&30974)===6186},td.prototype.dispatchCea708Packet=function(k){this.parse708captions_&&this.cc708Stream_.push(k)};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(k){var J=Nv[k]||k;return k&4096&&k===J?"":String.fromCharCode(J)},q0=function(k){return 32<=k&&k<=127||160<=k&&k<=255},zf=function(k){this.windowNum=k,this.reset()};zf.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},zf.prototype.getText=function(){return this.rows.join(` 970`)},zf.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},zf.prototype.newLine=function(k){for(this.rows.length>=this.virtualRowCount&&typeof this.beforeRowOverflow=="function"&&this.beforeRowOverflow(k),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},zf.prototype.isEmpty=function(){return this.rows.length===0?!0:this.rows.length===1?this.rows[0]==="":!1},zf.prototype.addText=function(k){this.rows[this.rowIdx]+=k},zf.prototype.backspace=function(){if(!this.isEmpty()){var k=this.rows[this.rowIdx];this.rows[this.rowIdx]=k.substr(0,k.length-1)}};var em=function(k,J,ee){this.serviceNum=k,this.text="",this.currentWindow=new zf(-1),this.windows=[],this.stream=ee,typeof J=="string"&&this.createTextDecoder(J)};em.prototype.init=function(k,J){this.startPts=k;for(var ee=0;ee<8;ee++)this.windows[ee]=new zf(ee),typeof J=="function"&&(this.windows[ee].beforeRowOverflow=J)},em.prototype.setCurrentWindow=function(k){this.currentWindow=this.windows[k]},em.prototype.createTextDecoder=function(k){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(k)}catch(J){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+k+" encoding. "+J})}};var Ko=function(k){k=k||{},Ko.prototype.init.call(this);var J=this,ee=k.captionServices||{},ie={},ve;Object.keys(ee).forEach(Ne=>{ve=ee[Ne],/^SERVICE/.test(Ne)&&(ie[Ne]=ve.encoding)}),this.serviceEncodings=ie,this.current708Packet=null,this.services={},this.push=function(Ne){Ne.type===3?(J.new708Packet(),J.add708Bytes(Ne)):(J.current708Packet===null&&J.new708Packet(),J.add708Bytes(Ne))}};Ko.prototype=new $g,Ko.prototype.new708Packet=function(){this.current708Packet!==null&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Ko.prototype.add708Bytes=function(k){var J=k.ccData,ee=J>>>8,ie=J&255;this.current708Packet.ptsVals.push(k.pts),this.current708Packet.data.push(ee),this.current708Packet.data.push(ie)},Ko.prototype.push708Packet=function(){var k=this.current708Packet,J=k.data,ee=null,ie=null,ve=0,Ne=J[ve++];for(k.seq=Ne>>6,k.sizeCode=Ne&63;ve<J.length;ve++)Ne=J[ve++],ee=Ne>>5,ie=Ne&31,ee===7&&ie>0&&(Ne=J[ve++],ee=Ne),this.pushServiceBlock(ee,ve,ie),ie>0&&(ve+=ie-1)},Ko.prototype.pushServiceBlock=function(k,J,ee){var ie,ve=J,Ne=this.current708Packet.data,bt=this.services[k];for(bt||(bt=this.initService(k,ve));ve<J+ee&&ve<Ne.length;ve++)ie=Ne[ve],q0(ie)?ve=this.handleText(ve,bt):ie===24?ve=this.multiByteCharacter(ve,bt):ie===16?ve=this.extendedCommands(ve,bt):128<=ie&&ie<=135?ve=this.setCurrentWindow(ve,bt):152<=ie&&ie<=159?ve=this.defineWindow(ve,bt):ie===136?ve=this.clearWindows(ve,bt):ie===140?ve=this.deleteWindows(ve,bt):ie===137?ve=this.displayWindows(ve,bt):ie===138?ve=this.hideWindows(ve,bt):ie===139?ve=this.toggleWindows(ve,bt):ie===151?ve=this.setWindowAttributes(ve,bt):ie===144?ve=this.setPenAttributes(ve,bt):ie===145?ve=this.setPenColor(ve,bt):ie===146?ve=this.setPenLocation(ve,bt):ie===143?bt=this.reset(ve,bt):ie===8?bt.currentWindow.backspace():ie===12?bt.currentWindow.clearText():ie===13?bt.currentWindow.pendingNewLine=!0:ie===14?bt.currentWindow.clearText():ie===141&&ve++},Ko.prototype.extendedCommands=function(k,J){var ee=this.current708Packet.data,ie=ee[++k];return q0(ie)&&(k=this.handleText(k,J,{isExtended:!0})),k},Ko.prototype.getPts=function(k){return this.current708Packet.ptsVals[Math.floor(k/2)]},Ko.prototype.initService=function(k,J){var ie="SERVICE"+k,ee=this,ie,ve;return ie in this.serviceEncodings&&(ve=this.serviceEncodings[ie]),this.services[k]=new em(k,ve,ee),this.services[k].init(this.getPts(J),function(Ne){ee.flushDisplayed(Ne,ee.services[k])}),this.services[k]},Ko.prototype.handleText=function(k,J,ee){var ie=ee&&ee.isExtended,ve=ee&&ee.isMultiByte,Ne=this.current708Packet.data,bt=ie?4096:0,It=Ne[k],Ht=Ne[k+1],Yt=J.currentWindow,jr,On;function Ji(Wn){return Wn.map(Js=>("0"+(Js&255).toString(16)).slice(-2)).join("")}if(ve?(On=[It,Ht],k++):On=[It],J.textDecoder_&&!ie)jr=J.textDecoder_.decode(new Uint8Array(On));else if(ve){const Wn=Ji(On);jr=String.fromCharCode(parseInt(Wn,16))}else jr=Fv(bt|It);return Yt.pendingNewLine&&!Yt.isEmpty()&&Yt.newLine(this.getPts(k)),Yt.pendingNewLine=!1,Yt.addText(jr),k},Ko.prototype.multiByteCharacter=function(k,J){var ee=this.current708Packet.data,ie=ee[k+1],ve=ee[k+2];return q0(ie)&&q0(ve)&&(k=this.handleText(++k,J,{isMultiByte:!0})),k},Ko.prototype.setCurrentWindow=function(k,J){var ee=this.current708Packet.data,ie=ee[k],ve=ie&7;return J.setCurrentWindow(ve),k},Ko.prototype.defineWindow=function(k,J){var ee=this.current708Packet.data,ie=ee[k],ve=ie&7;J.setCurrentWindow(ve);var Ne=J.currentWindow;return ie=ee[++k],Ne.visible=(ie&32)>>5,Ne.rowLock=(ie&16)>>4,Ne.columnLock=(ie&8)>>3,Ne.priority=ie&7,ie=ee[++k],Ne.relativePositioning=(ie&128)>>7,Ne.anchorVertical=ie&127,ie=ee[++k],Ne.anchorHorizontal=ie,ie=ee[++k],Ne.anchorPoint=(ie&240)>>4,Ne.rowCount=ie&15,ie=ee[++k],Ne.columnCount=ie&63,ie=ee[++k],Ne.windowStyle=(ie&56)>>3,Ne.penStyle=ie&7,Ne.virtualRowCount=Ne.rowCount+1,k},Ko.prototype.setWindowAttributes=function(k,J){var ee=this.current708Packet.data,ie=ee[k],ve=J.currentWindow.winAttr;return ie=ee[++k],ve.fillOpacity=(ie&192)>>6,ve.fillRed=(ie&48)>>4,ve.fillGreen=(ie&12)>>2,ve.fillBlue=ie&3,ie=ee[++k],ve.borderType=(ie&192)>>6,ve.borderRed=(ie&48)>>4,ve.borderGreen=(ie&12)>>2,ve.borderBlue=ie&3,ie=ee[++k],ve.borderType+=(ie&128)>>5,ve.wordWrap=(ie&64)>>6,ve.printDirection=(ie&48)>>4,ve.scrollDirection=(ie&12)>>2,ve.justify=ie&3,ie=ee[++k],ve.effectSpeed=(ie&240)>>4,ve.effectDirection=(ie&12)>>2,ve.displayEffect=ie&3,k},Ko.prototype.flushDisplayed=function(k,J){for(var ee=[],ie=0;ie<8;ie++)J.windows[ie].visible&&!J.windows[ie].isEmpty()&&ee.push(J.windows[ie].getText());J.endPts=k,J.text=ee.join(` 971 972`),this.pushCaption(J),J.startPts=k},Ko.prototype.pushCaption=function(k){k.text!==""&&(this.trigger("data",{startPts:k.startPts,endPts:k.endPts,text:k.text,stream:"cc708_"+k.serviceNum}),k.text="",k.startPts=k.endPts)},Ko.prototype.displayWindows=function(k,J){var ee=this.current708Packet.data,ie=ee[++k],ve=this.getPts(k);this.flushDisplayed(ve,J);for(var Ne=0;Ne<8;Ne++)ie&1<<Ne&&(J.windows[Ne].visible=1);return k},Ko.prototype.hideWindows=function(k,J){var ee=this.current708Packet.data,ie=ee[++k],ve=this.getPts(k);this.flushDisplayed(ve,J);for(var Ne=0;Ne<8;Ne++)ie&1<<Ne&&(J.windows[Ne].visible=0);return k},Ko.prototype.toggleWindows=function(k,J){var ee=this.current708Packet.data,ie=ee[++k],ve=this.getPts(k);this.flushDisplayed(ve,J);for(var Ne=0;Ne<8;Ne++)ie&1<<Ne&&(J.windows[Ne].visible^=1);return k},Ko.prototype.clearWindows=function(k,J){var ee=this.current708Packet.data,ie=ee[++k],ve=this.getPts(k);this.flushDisplayed(ve,J);for(var Ne=0;Ne<8;Ne++)ie&1<<Ne&&J.windows[Ne].clearText();return k},Ko.prototype.deleteWindows=function(k,J){var ee=this.current708Packet.data,ie=ee[++k],ve=this.getPts(k);this.flushDisplayed(ve,J);for(var Ne=0;Ne<8;Ne++)ie&1<<Ne&&J.windows[Ne].reset();return k},Ko.prototype.setPenAttributes=function(k,J){var ee=this.current708Packet.data,ie=ee[k],ve=J.currentWindow.penAttr;return ie=ee[++k],ve.textTag=(ie&240)>>4,ve.offset=(ie&12)>>2,ve.penSize=ie&3,ie=ee[++k],ve.italics=(ie&128)>>7,ve.underline=(ie&64)>>6,ve.edgeType=(ie&56)>>3,ve.fontStyle=ie&7,k},Ko.prototype.setPenColor=function(k,J){var ee=this.current708Packet.data,ie=ee[k],ve=J.currentWindow.penColor;return ie=ee[++k],ve.fgOpacity=(ie&192)>>6,ve.fgRed=(ie&48)>>4,ve.fgGreen=(ie&12)>>2,ve.fgBlue=ie&3,ie=ee[++k],ve.bgOpacity=(ie&192)>>6,ve.bgRed=(ie&48)>>4,ve.bgGreen=(ie&12)>>2,ve.bgBlue=ie&3,ie=ee[++k],ve.edgeRed=(ie&48)>>4,ve.edgeGreen=(ie&12)>>2,ve.edgeBlue=ie&3,k},Ko.prototype.setPenLocation=function(k,J){var ee=this.current708Packet.data,ie=ee[k],ve=J.currentWindow.penLoc;return J.currentWindow.pendingNewLine=!0,ie=ee[++k],ve.row=ie&15,ie=ee[++k],ve.column=ie&63,k},Ko.prototype.reset=function(k,J){var ee=this.getPts(k);return this.flushDisplayed(ee,J),this.initService(J.serviceNum,k)};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},tm=function(k){return k===null?"":(k=Bv[k]||k,String.fromCharCode(k))},rm=14,Uv=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Rh=function(){for(var k=[],J=rm+1;J--;)k.push({text:"",indent:0,offset:0});return k},fu=function(k,J){fu.prototype.init.call(this),this.field_=k||0,this.dataChannel_=J||0,this.name_="CC"+((this.field_<<1|this.dataChannel_)+1),this.setConstants(),this.reset(),this.push=function(ee){var ie,ve,Ne,bt,It;if(ie=ee.ccData&32639,ie===this.lastControlCode_){this.lastControlCode_=null;return}if((ie&61440)===4096?this.lastControlCode_=ie:ie!==this.PADDING_&&(this.lastControlCode_=null),Ne=ie>>>8,bt=ie&255,ie!==this.PADDING_)if(ie===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(ie===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(ee.pts),this.flushDisplayed(ee.pts),ve=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=ve,this.startPts_=ee.pts;else if(ie===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(ee.pts);else if(ie===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(ee.pts);else if(ie===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(ee.pts);else if(ie===this.CARRIAGE_RETURN_)this.clearFormatting(ee.pts),this.flushDisplayed(ee.pts),this.shiftRowsUp_(),this.startPts_=ee.pts;else if(ie===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(ie===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(ee.pts),this.displayed_=Rh();else if(ie===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Rh();else if(ie===this.RESUME_DIRECT_CAPTIONING_)this.mode_!=="paintOn"&&(this.flushDisplayed(ee.pts),this.displayed_=Rh()),this.mode_="paintOn",this.startPts_=ee.pts;else if(this.isSpecialCharacter(Ne,bt))Ne=(Ne&3)<<8,It=tm(Ne|bt),this[this.mode_](ee.pts,It),this.column_++;else if(this.isExtCharacter(Ne,bt))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),Ne=(Ne&3)<<8,It=tm(Ne|bt),this[this.mode_](ee.pts,It),this.column_++;else if(this.isMidRowCode(Ne,bt))this.clearFormatting(ee.pts),this[this.mode_](ee.pts," "),this.column_++,(bt&14)===14&&this.addFormatting(ee.pts,["i"]),(bt&1)===1&&this.addFormatting(ee.pts,["u"]);else if(this.isOffsetControlCode(Ne,bt)){const Yt=bt&3;this.nonDisplayed_[this.row_].offset=Yt,this.column_+=Yt}else if(this.isPAC(Ne,bt)){var Ht=Uv.indexOf(ie&7968);if(this.mode_==="rollUp"&&(Ht-this.rollUpRows_+1<0&&(Ht=this.rollUpRows_-1),this.setRollUp(ee.pts,Ht)),Ht!==this.row_&&Ht>=0&&Ht<=14&&(this.clearFormatting(ee.pts),this.row_=Ht),bt&1&&this.formatting_.indexOf("u")===-1&&this.addFormatting(ee.pts,["u"]),(ie&16)===16){const Yt=(ie&14)>>1;this.column_=Yt*4,this.nonDisplayed_[this.row_].indent+=Yt}this.isColorPAC(bt)&&(bt&14)===14&&this.addFormatting(ee.pts,["i"])}else this.isNormalChar(Ne)&&(bt===0&&(bt=null),It=tm(Ne),It+=tm(bt),this[this.mode_](ee.pts,It),this.column_+=It.length)}};fu.prototype=new $g,fu.prototype.flushDisplayed=function(k){const J=ie=>{this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+ie+"."})},ee=[];this.displayed_.forEach((ie,ve)=>{if(ie&&ie.text&&ie.text.length){try{ie.text=ie.text.trim()}catch{J(ve)}ie.text.length&&ee.push({text:ie.text,line:ve+1,position:10+Math.min(70,ie.indent*10)+ie.offset*2.5})}else ie==null&&J(ve)}),ee.length&&this.trigger("data",{startPts:this.startPts_,endPts:k,content:ee,stream:this.name_})},fu.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Rh(),this.nonDisplayed_=Rh(),this.lastControlCode_=null,this.column_=0,this.row_=rm,this.rollUpRows_=2,this.formatting_=[]},fu.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},fu.prototype.isSpecialCharacter=function(k,J){return k===this.EXT_&&J>=48&&J<=63},fu.prototype.isExtCharacter=function(k,J){return(k===this.EXT_+1||k===this.EXT_+2)&&J>=32&&J<=63},fu.prototype.isMidRowCode=function(k,J){return k===this.EXT_&&J>=32&&J<=47},fu.prototype.isOffsetControlCode=function(k,J){return k===this.OFFSET_&&J>=33&&J<=35},fu.prototype.isPAC=function(k,J){return k>=this.BASE_&&k<this.BASE_+8&&J>=64&&J<=127},fu.prototype.isColorPAC=function(k){return k>=64&&k<=79||k>=96&&k<=127},fu.prototype.isNormalChar=function(k){return k>=32&&k<=127},fu.prototype.setRollUp=function(k,J){if(this.mode_!=="rollUp"&&(this.row_=rm,this.mode_="rollUp",this.flushDisplayed(k),this.nonDisplayed_=Rh(),this.displayed_=Rh()),J!==void 0&&J!==this.row_)for(var ee=0;ee<this.rollUpRows_;ee++)this.displayed_[J-ee]=this.displayed_[this.row_-ee],this.displayed_[this.row_-ee]={text:"",indent:0,offset:0};J===void 0&&(J=this.row_),this.topRow_=J-this.rollUpRows_+1},fu.prototype.addFormatting=function(k,J){this.formatting_=this.formatting_.concat(J);var ee=J.reduce(function(ie,ve){return ie+"<"+ve+">"},"");this[this.mode_](k,ee)},fu.prototype.clearFormatting=function(k){if(this.formatting_.length){var J=this.formatting_.reverse().reduce(function(ee,ie){return ee+"</"+ie+">"},"");this.formatting_=[],this[this.mode_](k,J)}},fu.prototype.popOn=function(k,J){var ee=this.nonDisplayed_[this.row_].text;ee+=J,this.nonDisplayed_[this.row_].text=ee},fu.prototype.rollUp=function(k,J){var ee=this.displayed_[this.row_].text;ee+=J,this.displayed_[this.row_].text=ee},fu.prototype.shiftRowsUp_=function(){var k;for(k=0;k<this.topRow_;k++)this.displayed_[k]={text:"",indent:0,offset:0};for(k=this.row_+1;k<rm+1;k++)this.displayed_[k]={text:"",indent:0,offset:0};for(k=this.topRow_;k<this.row_;k++)this.displayed_[k]=this.displayed_[k+1];this.displayed_[this.row_]={text:"",indent:0,offset:0}},fu.prototype.paintOn=function(k,J){var ee=this.displayed_[this.row_].text;ee+=J,this.displayed_[this.row_].text=ee};var b1={CaptionStream:td,Cea608Stream:fu,Cea708Stream:Ko},nm={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},jv=o,zv=8589934592,$v=4294967296,S1="shared",Hg=function(k,J){var ee=1;for(k>J&&(ee=-1);Math.abs(J-k)>$v;)k+=ee*zv;return k},Wg=function(k){var J,ee;Wg.prototype.init.call(this),this.type_=k||S1,this.push=function(ie){if(ie.type==="metadata"){this.trigger("data",ie);return}this.type_!==S1&&ie.type!==this.type_||(ee===void 0&&(ee=ie.dts),ie.dts=Hg(ie.dts,ee),ie.pts=Hg(ie.pts,ee),J=ie.dts,this.trigger("data",ie))},this.flush=function(){ee=J,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){ee=void 0,J=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Wg.prototype=new jv;var x1={TimestampRolloverStream:Wg,handleRollover:Hg},Hv=(k,J,ee)=>{if(!k)return-1;for(var ie=ee;ie<k.length;ie++)if(k[ie]===J)return ie;return-1},Wv={typedArrayIndexOf:Hv},im=Wv.typedArrayIndexOf,sm={Iso88591:0,Utf16:1,Utf16be:2,Utf8:3},E1=function(k,J,ee){var ie,ve="";for(ie=J;ie<ee;ie++)ve+="%"+("00"+k[ie].toString(16)).slice(-2);return ve},Kp=function(k,J,ee){return decodeURIComponent(E1(k,J,ee))},Yp=function(k,J,ee){return unescape(E1(k,J,ee))},Xp=function(k){return k[0]<<21|k[1]<<14|k[2]<<7|k[3]},Qp={APIC:function(k){var J=1,ee,ie,ve="-->";k.data[0]===sm.Utf8&&(ee=im(k.data,0,J),!(ee<0)&&(k.mimeType=Yp(k.data,J,ee),J=ee+1,k.pictureType=k.data[J],J++,ie=im(k.data,0,J),!(ie<0)&&(k.description=Kp(k.data,J,ie),J=ie+1,k.mimeType===ve?k.url=Yp(k.data,J,k.data.length):k.pictureData=k.data.subarray(J,k.data.length))))},"T*":function(k){k.data[0]===sm.Utf8&&(k.value=Kp(k.data,1,k.data.length).replace(/\0*$/,""),k.values=k.value.split("\0"))},TXXX:function(k){var J;k.data[0]===sm.Utf8&&(J=im(k.data,0,1),J!==-1&&(k.description=Kp(k.data,1,J),k.value=Kp(k.data,J+1,k.data.length).replace(/\0*$/,""),k.data=k.value))},"W*":function(k){k.url=Yp(k.data,0,k.data.length).replace(/\0.*$/,"")},WXXX:function(k){var J;k.data[0]===sm.Utf8&&(J=im(k.data,0,1),J!==-1&&(k.description=Kp(k.data,1,J),k.url=Yp(k.data,J+1,k.data.length).replace(/\0.*$/,"")))},PRIV:function(k){var J;for(J=0;J<k.data.length;J++)if(k.data[J]===0){k.owner=Yp(k.data,0,J);break}k.privateData=k.data.subarray(J+1),k.data=k.privateData}},Vv=function(k){var J,ee,ie=10,ve=0,Ne=[];if(!(k.length<10||k[0]!==73||k[1]!==68||k[2]!==51)){ve=Xp(k.subarray(6,10)),ve+=10;var bt=k[5]&64;bt&&(ie+=4,ie+=Xp(k.subarray(10,14)),ve-=Xp(k.subarray(16,20)));do{if(J=Xp(k.subarray(ie+4,ie+8)),J<1)break;ee=String.fromCharCode(k[ie],k[ie+1],k[ie+2],k[ie+3]);var It={id:ee,data:k.subarray(ie+10,ie+J+10)};It.key=It.id,Qp[It.id]?Qp[It.id](It):It.id[0]==="T"?Qp["T*"](It):It.id[0]==="W"&&Qp["W*"](It),Ne.push(It),ie+=10,ie+=J}while(ie<ve);return Ne}},T1={parseId3Frames:Vv,parseSyncSafeInteger:Xp,frameParsers:Qp},Gv=o,Kv=nm,ch=T1,am;am=function(k){var J={descriptor:k&&k.descriptor},ee=0,ie=[],ve=0,Ne;if(am.prototype.init.call(this),this.dispatchType=Kv.METADATA_STREAM_TYPE.toString(16),J.descriptor)for(Ne=0;Ne<J.descriptor.length;Ne++)this.dispatchType+=("00"+J.descriptor[Ne].toString(16)).slice(-2);this.push=function(bt){var It,Ht,Yt,jr,On,Ji;if(bt.type==="timed-metadata"){if(bt.dataAlignmentIndicator&&(ve=0,ie.length=0),ie.length===0&&(bt.data.length<10||bt.data[0]!==73||bt.data[1]!==68||bt.data[2]!==51)){this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});return}if(ie.push(bt),ve+=bt.data.byteLength,ie.length===1&&(ee=ch.parseSyncSafeInteger(bt.data.subarray(6,10)),ee+=10),!(ve<ee)){for(It={data:new Uint8Array(ee),frames:[],pts:ie[0].pts,dts:ie[0].dts},On=0;On<ee;)It.data.set(ie[0].data.subarray(0,ee-On),On),On+=ie[0].data.byteLength,ve-=ie[0].data.byteLength,ie.shift();Ht=10,It.data[5]&64&&(Ht+=4,Ht+=ch.parseSyncSafeInteger(It.data.subarray(10,14)),ee-=ch.parseSyncSafeInteger(It.data.subarray(16,20)));do{if(Yt=ch.parseSyncSafeInteger(It.data.subarray(Ht+4,Ht+8)),Yt<1){this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping remaining metadata parsing."});break}if(Ji=String.fromCharCode(It.data[Ht],It.data[Ht+1],It.data[Ht+2],It.data[Ht+3]),jr={id:Ji,data:It.data.subarray(Ht+10,Ht+Yt+10)},jr.key=jr.id,ch.frameParsers[jr.id]?ch.frameParsers[jr.id](jr):jr.id[0]==="T"?ch.frameParsers["T*"](jr):jr.id[0]==="W"&&ch.frameParsers["W*"](jr),jr.owner==="com.apple.streaming.transportStreamTimestamp"){var Wn=jr.data,Js=(Wn[3]&1)<<30|Wn[4]<<22|Wn[5]<<14|Wn[6]<<6|Wn[7]>>>2;Js*=4,Js+=Wn[7]&3,jr.timeStamp=Js,It.pts===void 0&&It.dts===void 0&&(It.pts=jr.timeStamp,It.dts=jr.timeStamp),this.trigger("timestamp",jr)}It.frames.push(jr),Ht+=10,Ht+=Yt}while(Ht<ee);this.trigger("data",It)}}}},am.prototype=new Gv;var Yv=am,Vg=o,Gg=b1,ef=nm,Xv=x1.TimestampRolloverStream,om,Jp,um,pp=188,Kg=71;om=function(){var k=new Uint8Array(pp),J=0;om.prototype.init.call(this),this.push=function(ee){var ie=0,ve=pp,Ne;for(J?(Ne=new Uint8Array(ee.byteLength+J),Ne.set(k.subarray(0,J)),Ne.set(ee,J),J=0):Ne=ee;ve<Ne.byteLength;){if(Ne[ie]===Kg&&Ne[ve]===Kg){this.trigger("data",Ne.subarray(ie,ve)),ie+=pp,ve+=pp;continue}ie++,ve++}ie<Ne.byteLength&&(k.set(Ne.subarray(ie),0),J=Ne.byteLength-ie)},this.flush=function(){J===pp&&k[0]===Kg&&(this.trigger("data",k),J=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){J=0,this.trigger("reset")}},om.prototype=new Vg,Jp=function(){var k,J,ee,ie;Jp.prototype.init.call(this),ie=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,k=function(ve,Ne){var bt=0;Ne.payloadUnitStartIndicator&&(bt+=ve[bt]+1),Ne.type==="pat"?J(ve.subarray(bt),Ne):ee(ve.subarray(bt),Ne)},J=function(ve,Ne){Ne.section_number=ve[7],Ne.last_section_number=ve[8],ie.pmtPid=(ve[10]&31)<<8|ve[11],Ne.pmtPid=ie.pmtPid},ee=function(ve,Ne){var bt,It,Ht,Yt;if(ve[5]&1){for(ie.programMapTable={video:null,audio:null,"timed-metadata":{}},bt=(ve[1]&15)<<8|ve[2],It=3+bt-4,Ht=(ve[10]&15)<<8|ve[11],Yt=12+Ht;Yt<It;){var jr=ve[Yt],On=(ve[Yt+1]&31)<<8|ve[Yt+2];jr===ef.H264_STREAM_TYPE&&ie.programMapTable.video===null?ie.programMapTable.video=On:jr===ef.ADTS_STREAM_TYPE&&ie.programMapTable.audio===null?ie.programMapTable.audio=On:jr===ef.METADATA_STREAM_TYPE&&(ie.programMapTable["timed-metadata"][On]=jr),Yt+=((ve[Yt+3]&15)<<8|ve[Yt+4])+5}Ne.programMapTable=ie.programMapTable}},this.push=function(ve){var Ne={},bt=4;if(Ne.payloadUnitStartIndicator=!!(ve[1]&64),Ne.pid=ve[1]&31,Ne.pid<<=8,Ne.pid|=ve[2],(ve[3]&48)>>>4>1&&(bt+=ve[bt]+1),Ne.pid===0)Ne.type="pat",k(ve.subarray(bt),Ne),this.trigger("data",Ne);else if(Ne.pid===this.pmtPid)for(Ne.type="pmt",k(ve.subarray(bt),Ne),this.trigger("data",Ne);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else this.programMapTable===void 0?this.packetsWaitingForPmt.push([ve,bt,Ne]):this.processPes_(ve,bt,Ne)},this.processPes_=function(ve,Ne,bt){bt.pid===this.programMapTable.video?bt.streamType=ef.H264_STREAM_TYPE:bt.pid===this.programMapTable.audio?bt.streamType=ef.ADTS_STREAM_TYPE:bt.streamType=this.programMapTable["timed-metadata"][bt.pid],bt.type="pes",bt.data=ve.subarray(Ne),this.trigger("data",bt)}},Jp.prototype=new Vg,Jp.STREAM_TYPES={h264:27,adts:15},um=function(){var k=this,J=!1,ee={data:[],size:0},ie={data:[],size:0},ve={data:[],size:0},Ne,bt=function(Ht,Yt){var jr;const On=Ht[0]<<16|Ht[1]<<8|Ht[2];Yt.data=new Uint8Array,On===1&&(Yt.packetLength=6+(Ht[4]<<8|Ht[5]),Yt.dataAlignmentIndicator=(Ht[6]&4)!==0,jr=Ht[7],jr&192&&(Yt.pts=(Ht[9]&14)<<27|(Ht[10]&255)<<20|(Ht[11]&254)<<12|(Ht[12]&255)<<5|(Ht[13]&254)>>>3,Yt.pts*=4,Yt.pts+=(Ht[13]&6)>>>1,Yt.dts=Yt.pts,jr&64&&(Yt.dts=(Ht[14]&14)<<27|(Ht[15]&255)<<20|(Ht[16]&254)<<12|(Ht[17]&255)<<5|(Ht[18]&254)>>>3,Yt.dts*=4,Yt.dts+=(Ht[18]&6)>>>1)),Yt.data=Ht.subarray(9+Ht[8]))},It=function(Ht,Yt,jr){var On=new Uint8Array(Ht.size),Ji={type:Yt},Wn=0,Js=0,ba=!1,Ll;if(!(!Ht.data.length||Ht.size<9)){for(Ji.trackId=Ht.data[0].pid,Wn=0;Wn<Ht.data.length;Wn++)Ll=Ht.data[Wn],On.set(Ll.data,Js),Js+=Ll.data.byteLength;bt(On,Ji),ba=Yt==="video"||Ji.packetLength<=Ht.size,(jr||ba)&&(Ht.size=0,Ht.data.length=0),ba&&k.trigger("data",Ji)}};um.prototype.init.call(this),this.push=function(Ht){({pat:function(){},pes:function(){var Yt,jr;switch(Ht.streamType){case ef.H264_STREAM_TYPE:Yt=ee,jr="video";break;case ef.ADTS_STREAM_TYPE:Yt=ie,jr="audio";break;case ef.METADATA_STREAM_TYPE:Yt=ve,jr="timed-metadata";break;default:return}Ht.payloadUnitStartIndicator&&It(Yt,jr,!0),Yt.data.push(Ht),Yt.size+=Ht.data.byteLength},pmt:function(){var Yt={type:"metadata",tracks:[]};Ne=Ht.programMapTable,Ne.video!==null&&Yt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ne.video,codec:"avc",type:"video"}),Ne.audio!==null&&Yt.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ne.audio,codec:"adts",type:"audio"}),J=!0,k.trigger("data",Yt)}})[Ht.type]()},this.reset=function(){ee.size=0,ee.data.length=0,ie.size=0,ie.data.length=0,this.trigger("reset")},this.flushStreams_=function(){It(ee,"video"),It(ie,"audio"),It(ve,"timed-metadata")},this.flush=function(){if(!J&&Ne){var Ht={type:"metadata",tracks:[]};Ne.video!==null&&Ht.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ne.video,codec:"avc",type:"video"}),Ne.audio!==null&&Ht.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+Ne.audio,codec:"adts",type:"audio"}),k.trigger("data",Ht)}J=!1,this.flushStreams_(),this.trigger("done")}},um.prototype=new Vg;var w1={PAT_PID:0,MP2T_PACKET_LENGTH:pp,TransportPacketStream:om,TransportParseStream:Jp,ElementaryStream:um,TimestampRolloverStream:Xv,CaptionStream:Gg.CaptionStream,Cea608Stream:Gg.Cea608Stream,Cea708Stream:Gg.Cea708Stream,MetadataStream:Yv};for(var Yg in ef)ef.hasOwnProperty(Yg)&&(w1[Yg]=ef[Yg]);var Qv=w1,Jv=o,Zv=nu.ONE_SECOND_IN_TS,lm,_1=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];lm=function(k){var J,ee=0;lm.prototype.init.call(this),this.skipWarn_=function(ie,ve){this.trigger("log",{level:"warn",message:`adts skiping bytes ${ie} to ${ve} in frame ${ee} outside syncword`})},this.push=function(ie){var ve=0,Ne,bt,It,Ht,Yt;if(k||(ee=0),ie.type==="audio"){J&&J.length?(It=J,J=new Uint8Array(It.byteLength+ie.data.byteLength),J.set(It),J.set(ie.data,It.byteLength)):J=ie.data;for(var jr;ve+7<J.length;){if(J[ve]!==255||(J[ve+1]&246)!==240){typeof jr!="number"&&(jr=ve),ve++;continue}if(typeof jr=="number"&&(this.skipWarn_(jr,ve),jr=null),bt=(~J[ve+1]&1)*2,Ne=(J[ve+3]&3)<<11|J[ve+4]<<3|(J[ve+5]&224)>>5,Ht=((J[ve+6]&3)+1)*1024,Yt=Ht*Zv/_1[(J[ve+2]&60)>>>2],J.byteLength-ve<Ne)break;this.trigger("data",{pts:ie.pts+ee*Yt,dts:ie.dts+ee*Yt,sampleCount:Ht,audioobjecttype:(J[ve+2]>>>6&3)+1,channelcount:(J[ve+2]&1)<<2|(J[ve+3]&192)>>>6,samplerate:_1[(J[ve+2]&60)>>>2],samplingfrequencyindex:(J[ve+2]&60)>>>2,samplesize:16,data:J.subarray(ve+7+bt,ve+Ne)}),ee++,ve+=Ne}typeof jr=="number"&&(this.skipWarn_(jr,ve),jr=null),J=J.subarray(ve)}},this.flush=function(){ee=0,this.trigger("done")},this.reset=function(){J=void 0,this.trigger("reset")},this.endTimeline=function(){J=void 0,this.trigger("endedtimeline")}},lm.prototype=new Jv;var qv=lm,A1;A1=function(k){var J=k.byteLength,ee=0,ie=0;this.length=function(){return 8*J},this.bitsAvailable=function(){return 8*J+ie},this.loadWord=function(){var ve=k.byteLength-J,Ne=new Uint8Array(4),bt=Math.min(4,J);if(bt===0)throw new Error("no bytes available");Ne.set(k.subarray(ve,ve+bt)),ee=new DataView(Ne.buffer).getUint32(0),ie=bt*8,J-=bt},this.skipBits=function(ve){var Ne;ie>ve?(ee<<=ve,ie-=ve):(ve-=ie,Ne=Math.floor(ve/8),ve-=Ne*8,J-=Ne,this.loadWord(),ee<<=ve,ie-=ve)},this.readBits=function(ve){var Ne=Math.min(ie,ve),bt=ee>>>32-Ne;return ie-=Ne,ie>0?ee<<=Ne:J>0&&this.loadWord(),Ne=ve-Ne,Ne>0?bt<<Ne|this.readBits(Ne):bt},this.skipLeadingZeros=function(){var ve;for(ve=0;ve<ie;++ve)if((ee&2147483648>>>ve)!==0)return ee<<=ve,ie-=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,cm,Zp,O1;Zp=function(){var k=0,J,ee;Zp.prototype.init.call(this),this.push=function(ie){var ve;ee?(ve=new Uint8Array(ee.byteLength+ie.data.byteLength),ve.set(ee),ve.set(ie.data,ee.byteLength),ee=ve):ee=ie.data;for(var Ne=ee.byteLength;k<Ne-3;k++)if(ee[k+2]===1){J=k+5;break}for(;J<Ne;)switch(ee[J]){case 0:if(ee[J-1]!==0){J+=2;break}else if(ee[J-2]!==0){J++;break}k+3!==J-2&&this.trigger("data",ee.subarray(k+3,J-2));do J++;while(ee[J]!==1&&J<Ne);k=J-2,J+=3;break;case 1:if(ee[J-1]!==0||ee[J-2]!==0){J+=3;break}this.trigger("data",ee.subarray(k+3,J-2)),k=J-2,J+=3;break;default:J+=3;break}ee=ee.subarray(k),J-=k,k=0},this.reset=function(){ee=null,k=0,this.trigger("reset")},this.flush=function(){ee&&ee.byteLength>3&&this.trigger("data",ee.subarray(k+3)),ee=null,k=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},cm=function(){var k=new Zp,J,ee,ie,ve,Ne,bt,It;cm.prototype.init.call(this),J=this,this.push=function(Ht){Ht.type==="video"&&(ee=Ht.trackId,ie=Ht.pts,ve=Ht.dts,k.push(Ht))},k.on("data",function(Ht){var Yt={trackId:ee,pts:ie,dts:ve,data:Ht,nalUnitTypeCode:Ht[0]&31};switch(Yt.nalUnitTypeCode){case 5:Yt.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:Yt.nalUnitType="sei_rbsp",Yt.escapedRBSP=Ne(Ht.subarray(1));break;case 7:Yt.nalUnitType="seq_parameter_set_rbsp",Yt.escapedRBSP=Ne(Ht.subarray(1)),Yt.config=bt(Yt.escapedRBSP);break;case 8:Yt.nalUnitType="pic_parameter_set_rbsp";break;case 9:Yt.nalUnitType="access_unit_delimiter_rbsp";break}J.trigger("data",Yt)}),k.on("done",function(){J.trigger("done")}),k.on("partialdone",function(){J.trigger("partialdone")}),k.on("reset",function(){J.trigger("reset")}),k.on("endedtimeline",function(){J.trigger("endedtimeline")}),this.flush=function(){k.flush()},this.partialFlush=function(){k.partialFlush()},this.reset=function(){k.reset()},this.endTimeline=function(){k.endTimeline()},It=function(Ht,Yt){var jr=8,On=8,Ji,Wn;for(Ji=0;Ji<Ht;Ji++)On!==0&&(Wn=Yt.readExpGolomb(),On=(jr+Wn+256)%256),jr=On===0?jr:On},Ne=function(Ht){for(var Yt=Ht.byteLength,jr=[],On=1,Ji,Wn;On<Yt-2;)Ht[On]===0&&Ht[On+1]===0&&Ht[On+2]===3?(jr.push(On+2),On+=2):On++;if(jr.length===0)return Ht;Ji=Yt-jr.length,Wn=new Uint8Array(Ji);var Js=0;for(On=0;On<Ji;Js++,On++)Js===jr[0]&&(Js++,jr.shift()),Wn[On]=Ht[Js];return Wn},bt=function(Ht){var Yt=0,jr=0,On=0,Ji=0,Wn,Js,ba,Ll,gd,hh,a0,o0,u0,l0,Em,iu=[1,1],c0,rf;if(Wn=new ty(Ht),Js=Wn.readUnsignedByte(),Ll=Wn.readUnsignedByte(),ba=Wn.readUnsignedByte(),Wn.skipUnsignedExpGolomb(),O1[Js]&&(gd=Wn.readUnsignedExpGolomb(),gd===3&&Wn.skipBits(1),Wn.skipUnsignedExpGolomb(),Wn.skipUnsignedExpGolomb(),Wn.skipBits(1),Wn.readBoolean()))for(Em=gd!==3?8:12,rf=0;rf<Em;rf++)Wn.readBoolean()&&(rf<6?It(16,Wn):It(64,Wn));if(Wn.skipUnsignedExpGolomb(),hh=Wn.readUnsignedExpGolomb(),hh===0)Wn.readUnsignedExpGolomb();else if(hh===1)for(Wn.skipBits(1),Wn.skipExpGolomb(),Wn.skipExpGolomb(),a0=Wn.readUnsignedExpGolomb(),rf=0;rf<a0;rf++)Wn.skipExpGolomb();if(Wn.skipUnsignedExpGolomb(),Wn.skipBits(1),o0=Wn.readUnsignedExpGolomb(),u0=Wn.readUnsignedExpGolomb(),l0=Wn.readBits(1),l0===0&&Wn.skipBits(1),Wn.skipBits(1),Wn.readBoolean()&&(Yt=Wn.readUnsignedExpGolomb(),jr=Wn.readUnsignedExpGolomb(),On=Wn.readUnsignedExpGolomb(),Ji=Wn.readUnsignedExpGolomb()),Wn.readBoolean()&&Wn.readBoolean()){switch(c0=Wn.readUnsignedByte(),c0){case 1:iu=[1,1];break;case 2:iu=[12,11];break;case 3:iu=[10,11];break;case 4:iu=[16,11];break;case 5:iu=[40,33];break;case 6:iu=[24,11];break;case 7:iu=[20,11];break;case 8:iu=[32,11];break;case 9:iu=[80,33];break;case 10:iu=[18,11];break;case 11:iu=[15,11];break;case 12:iu=[64,33];break;case 13:iu=[160,99];break;case 14:iu=[4,3];break;case 15:iu=[3,2];break;case 16:iu=[2,1];break;case 255:{iu=[Wn.readUnsignedByte()<<8|Wn.readUnsignedByte(),Wn.readUnsignedByte()<<8|Wn.readUnsignedByte()];break}}iu&&iu[0]/iu[1]}return{profileIdc:Js,levelIdc:ba,profileCompatibility:Ll,width:(o0+1)*16-Yt*2-jr*2,height:(2-l0)*(u0+1)*16-On*2-Ji*2,sarRatio:iu}}},cm.prototype=new C1;var ry={H264Stream:cm,NalByteStream:Zp},ny=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],I1=function(k,J){var ee=k[J+6]<<21|k[J+7]<<14|k[J+8]<<7|k[J+9],ie=k[J+5],ve=(ie&16)>>4;return ee=ee>=0?ee:0,ve?ee+20:ee+10},P1=function(k,J){return k.length-J<10||k[J]!==73||k[J+1]!==68||k[J+2]!==51?J:(J+=I1(k,J),P1(k,J))},iy=function(k){var J=P1(k,0);return k.length>=J+2&&(k[J]&255)===255&&(k[J+1]&240)===240&&(k[J+1]&22)===16},R1=function(k){return k[0]<<21|k[1]<<14|k[2]<<7|k[3]},sy=function(k,J,ee){var ie,ve="";for(ie=J;ie<ee;ie++)ve+="%"+("00"+k[ie].toString(16)).slice(-2);return ve},ay=function(k,J,ee){return unescape(sy(k,J,ee))},oy=function(k,J){var ee=(k[J+5]&224)>>5,ie=k[J+4]<<3,ve=k[J+3]&6144;return ve|ie|ee},uy=function(k,J){return k[J]===73&&k[J+1]===68&&k[J+2]===51?"timed-metadata":k[J]&!0&&(k[J+1]&240)===240?"audio":null},ly=function(k){for(var J=0;J+5<k.length;){if(k[J]!==255||(k[J+1]&246)!==240){J++;continue}return ny[(k[J+2]&60)>>>2]}return null},cy=function(k){var J,ee,ie,ve;J=10,k[5]&64&&(J+=4,J+=R1(k.subarray(10,14)));do{if(ee=R1(k.subarray(J+4,J+8)),ee<1)return null;if(ve=String.fromCharCode(k[J],k[J+1],k[J+2],k[J+3]),ve==="PRIV"){ie=k.subarray(J+10,J+ee+10);for(var Ne=0;Ne<ie.byteLength;Ne++)if(ie[Ne]===0){var bt=ay(ie,0,Ne);if(bt==="com.apple.streaming.transportStreamTimestamp"){var It=ie.subarray(Ne+1),Ht=(It[3]&1)<<30|It[4]<<22|It[5]<<14|It[6]<<6|It[7]>>>2;return Ht*=4,Ht+=It[7]&3,Ht}break}}J+=10,J+=ee}while(J<k.byteLength);return null},Xg={isLikelyAacData:iy,parseId3TagSize:I1,parseAdtsSize:oy,parseType:uy,parseSampleRate:ly,parseAacTimestamp:cy},dy=o,D1=Xg,dm;dm=function(){var k=new Uint8Array,J=0;dm.prototype.init.call(this),this.setTimestamp=function(ee){J=ee},this.push=function(ee){var ie=0,ve=0,Ne,bt,It,Ht;for(k.length?(Ht=k.length,k=new Uint8Array(ee.byteLength+Ht),k.set(k.subarray(0,Ht)),k.set(ee,Ht)):k=ee;k.length-ve>=3;){if(k[ve]===73&&k[ve+1]===68&&k[ve+2]===51){if(k.length-ve<10||(ie=D1.parseId3TagSize(k,ve),ve+ie>k.length))break;bt={type:"timed-metadata",data:k.subarray(ve,ve+ie)},this.trigger("data",bt),ve+=ie;continue}else if((k[ve]&255)===255&&(k[ve+1]&240)===240){if(k.length-ve<7||(ie=D1.parseAdtsSize(k,ve),ve+ie>k.length))break;It={type:"audio",data:k.subarray(ve,ve+ie),pts:J,dts:J},this.trigger("data",It),ve+=ie;continue}ve++}Ne=k.length-ve,Ne>0?k=k.subarray(ve):k=new Uint8Array},this.reset=function(){k=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){k=new Uint8Array,this.trigger("endedtimeline")}},dm.prototype=new dy;var fy=dm,hy=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],py=hy,my=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],gy=my,fm=o,qp=K0,e0=gv,hm=_v,tf=Pv,$f=Qv,pm=nu,L1=qv,vy=ry.H264Stream,yy=fy,by=Xg.isLikelyAacData,Sy=nu.ONE_SECOND_IN_TS,Qg=py,Jg=gy,t0,mp,mm,Dh,xy=function(k,J){J.stream=k,this.trigger("log",J)},M1=function(k,J){for(var ee=Object.keys(J),ie=0;ie<ee.length;ie++){var ve=ee[ie];ve==="headOfPipeline"||!J[ve].on||J[ve].on("log",xy.bind(k,ve))}},k1=function(k,J){var ee;if(k.length!==J.length)return!1;for(ee=0;ee<k.length;ee++)if(k[ee]!==J[ee])return!1;return!0},Zg=function(k,J,ee,ie,ve,Ne){var bt=ee-J,It=ie-J,Ht=ve-ee;return{start:{dts:k,pts:k+bt},end:{dts:k+It,pts:k+Ht},prependedContentDuration:Ne,baseMediaDecodeTime:k}};mp=function(k,J){var ee=[],ie,ve=0,Ne=0,bt=1/0;J=J||{},ie=J.firstSequenceNumber||0,mp.prototype.init.call(this),this.push=function(It){tf.collectDtsInfo(k,It),k&&Qg.forEach(function(Ht){k[Ht]=It[Ht]}),ee.push(It)},this.setEarliestDts=function(It){ve=It},this.setVideoBaseMediaDecodeTime=function(It){bt=It},this.setAudioAppendStart=function(It){Ne=It},this.flush=function(){var It,Ht,Yt,jr,On,Ji,Wn;if(ee.length===0){this.trigger("done","AudioSegmentStream");return}It=hm.trimAdtsFramesByEarliestDts(ee,k,ve),k.baseMediaDecodeTime=tf.calculateTrackBaseMediaDecodeTime(k,J.keepOriginalTimestamps),Wn=hm.prefixWithSilence(k,It,Ne,bt),k.samples=hm.generateSampleTable(It),Yt=qp.mdat(hm.concatenateFrameData(It)),ee=[],Ht=qp.moof(ie,[k]),jr=new Uint8Array(Ht.byteLength+Yt.byteLength),ie++,jr.set(Ht),jr.set(Yt,Ht.byteLength),tf.clearDtsInfo(k),On=Math.ceil(Sy*1024/k.samplerate),It.length&&(Ji=It.length*On,this.trigger("segmentTimingInfo",Zg(pm.audioTsToVideoTs(k.baseMediaDecodeTime,k.samplerate),It[0].dts,It[0].pts,It[0].dts+Ji,It[0].pts+Ji,Wn||0)),this.trigger("timingInfo",{start:It[0].pts,end:It[0].pts+Ji})),this.trigger("data",{track:k,boxes:jr}),this.trigger("done","AudioSegmentStream")},this.reset=function(){tf.clearDtsInfo(k),ee=[],this.trigger("reset")}},mp.prototype=new fm,t0=function(k,J){var ee,ie=[],ve=[],Ne,bt;J=J||{},ee=J.firstSequenceNumber||0,t0.prototype.init.call(this),delete k.minPTS,this.gopCache_=[],this.push=function(It){tf.collectDtsInfo(k,It),It.nalUnitType==="seq_parameter_set_rbsp"&&!Ne&&(Ne=It.config,k.sps=[It.data],Jg.forEach(function(Ht){k[Ht]=Ne[Ht]},this)),It.nalUnitType==="pic_parameter_set_rbsp"&&!bt&&(bt=It.data,k.pps=[It.data]),ie.push(It)},this.flush=function(){for(var It,Ht,Yt,jr,On,Ji,Wn=0,Js,ba;ie.length&&ie[0].nalUnitType!=="access_unit_delimiter_rbsp";)ie.shift();if(ie.length===0){this.resetStream_(),this.trigger("done","VideoSegmentStream");return}if(It=e0.groupNalsIntoFrames(ie),Yt=e0.groupFramesIntoGops(It),Yt[0][0].keyFrame||(Ht=this.getGopForFusion_(ie[0],k),Ht?(Wn=Ht.duration,Yt.unshift(Ht),Yt.byteLength+=Ht.byteLength,Yt.nalCount+=Ht.nalCount,Yt.pts=Ht.pts,Yt.dts=Ht.dts,Yt.duration+=Ht.duration):Yt=e0.extendFirstKeyFrame(Yt)),ve.length){var Ll;if(J.alignGopsAtEnd?Ll=this.alignGopsAtEnd_(Yt):Ll=this.alignGopsAtStart_(Yt),!Ll){this.gopCache_.unshift({gop:Yt.pop(),pps:k.pps,sps:k.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),ie=[],this.resetStream_(),this.trigger("done","VideoSegmentStream");return}tf.clearDtsInfo(k),Yt=Ll}tf.collectDtsInfo(k,Yt),k.samples=e0.generateSampleTable(Yt),On=qp.mdat(e0.concatenateNalData(Yt)),k.baseMediaDecodeTime=tf.calculateTrackBaseMediaDecodeTime(k,J.keepOriginalTimestamps),this.trigger("processedGopsInfo",Yt.map(function(gd){return{pts:gd.pts,dts:gd.dts,byteLength:gd.byteLength}})),Js=Yt[0],ba=Yt[Yt.length-1],this.trigger("segmentTimingInfo",Zg(k.baseMediaDecodeTime,Js.dts,Js.pts,ba.dts+ba.duration,ba.pts+ba.duration,Wn)),this.trigger("timingInfo",{start:Yt[0].pts,end:Yt[Yt.length-1].pts+Yt[Yt.length-1].duration}),this.gopCache_.unshift({gop:Yt.pop(),pps:k.pps,sps:k.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),ie=[],this.trigger("baseMediaDecodeTime",k.baseMediaDecodeTime),this.trigger("timelineStartInfo",k.timelineStartInfo),jr=qp.moof(ee,[k]),Ji=new Uint8Array(jr.byteLength+On.byteLength),ee++,Ji.set(jr),Ji.set(On,jr.byteLength),this.trigger("data",{track:k,boxes:Ji}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),ie=[],this.gopCache_.length=0,ve.length=0,this.trigger("reset")},this.resetStream_=function(){tf.clearDtsInfo(k),Ne=void 0,bt=void 0},this.getGopForFusion_=function(It){var Ht=45e3,Yt=1e4,jr=1/0,On,Ji,Wn,Js,ba;for(ba=0;ba<this.gopCache_.length;ba++)Js=this.gopCache_[ba],Wn=Js.gop,!(!(k.pps&&k1(k.pps[0],Js.pps[0]))||!(k.sps&&k1(k.sps[0],Js.sps[0])))&&(Wn.dts<k.timelineStartInfo.dts||(On=It.dts-Wn.dts-Wn.duration,On>=-Yt&&On<=Ht&&(!Ji||jr>On)&&(Ji=Js,jr=On)));return Ji?Ji.gop:null},this.alignGopsAtStart_=function(It){var Ht,Yt,jr,On,Ji,Wn,Js,ba;for(Ji=It.byteLength,Wn=It.nalCount,Js=It.duration,Ht=Yt=0;Ht<ve.length&&Yt<It.length&&(jr=ve[Ht],On=It[Yt],jr.pts!==On.pts);){if(On.pts>jr.pts){Ht++;continue}Yt++,Ji-=On.byteLength,Wn-=On.nalCount,Js-=On.duration}return Yt===0?It:Yt===It.length?null:(ba=It.slice(Yt),ba.byteLength=Ji,ba.duration=Js,ba.nalCount=Wn,ba.pts=ba[0].pts,ba.dts=ba[0].dts,ba)},this.alignGopsAtEnd_=function(It){var Ht,Yt,jr,On,Ji,Wn;for(Ht=ve.length-1,Yt=It.length-1,Ji=null,Wn=!1;Ht>=0&&Yt>=0;){if(jr=ve[Ht],On=It[Yt],jr.pts===On.pts){Wn=!0;break}if(jr.pts>On.pts){Ht--;continue}Ht===ve.length-1&&(Ji=Yt),Yt--}if(!Wn&&Ji===null)return null;var Js;if(Wn?Js=Yt:Js=Ji,Js===0)return It;var ba=It.slice(Js),Ll=ba.reduce(function(gd,hh){return gd.byteLength+=hh.byteLength,gd.duration+=hh.duration,gd.nalCount+=hh.nalCount,gd},{byteLength:0,duration:0,nalCount:0});return ba.byteLength=Ll.byteLength,ba.duration=Ll.duration,ba.nalCount=Ll.nalCount,ba.pts=ba[0].pts,ba.dts=ba[0].dts,ba},this.alignGopsWith=function(It){ve=It}},t0.prototype=new fm,Dh=function(k,J){this.numberOfTracks=0,this.metadataStream=J,k=k||{},typeof k.remux<"u"?this.remuxTracks=!!k.remux:this.remuxTracks=!0,typeof k.keepOriginalTimestamps=="boolean"?this.keepOriginalTimestamps=k.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Dh.prototype.init.call(this),this.push=function(ee){if(ee.content||ee.text)return this.pendingCaptions.push(ee);if(ee.frames)return this.pendingMetadata.push(ee);this.pendingTracks.push(ee.track),this.pendingBytes+=ee.boxes.byteLength,ee.track.type==="video"&&(this.videoTrack=ee.track,this.pendingBoxes.push(ee.boxes)),ee.track.type==="audio"&&(this.audioTrack=ee.track,this.pendingBoxes.unshift(ee.boxes))}},Dh.prototype=new fm,Dh.prototype.flush=function(k){var J=0,ee={captions:[],captionStreams:{},metadata:[],info:{}},ie,ve,Ne,bt=0,It;if(this.pendingTracks.length<this.numberOfTracks){if(k!=="VideoSegmentStream"&&k!=="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?(bt=this.videoTrack.timelineStartInfo.pts,Jg.forEach(function(Ht){ee.info[Ht]=this.videoTrack[Ht]},this)):this.audioTrack&&(bt=this.audioTrack.timelineStartInfo.pts,Qg.forEach(function(Ht){ee.info[Ht]=this.audioTrack[Ht]},this)),this.videoTrack||this.audioTrack){for(this.pendingTracks.length===1?ee.type=this.pendingTracks[0].type:ee.type="combined",this.emittedTracks+=this.pendingTracks.length,Ne=qp.initSegment(this.pendingTracks),ee.initSegment=new Uint8Array(Ne.byteLength),ee.initSegment.set(Ne),ee.data=new Uint8Array(this.pendingBytes),It=0;It<this.pendingBoxes.length;It++)ee.data.set(this.pendingBoxes[It],J),J+=this.pendingBoxes[It].byteLength;for(It=0;It<this.pendingCaptions.length;It++)ie=this.pendingCaptions[It],ie.startTime=pm.metadataTsToSeconds(ie.startPts,bt,this.keepOriginalTimestamps),ie.endTime=pm.metadataTsToSeconds(ie.endPts,bt,this.keepOriginalTimestamps),ee.captionStreams[ie.stream]=!0,ee.captions.push(ie);for(It=0;It<this.pendingMetadata.length;It++)ve=this.pendingMetadata[It],ve.cueTime=pm.metadataTsToSeconds(ve.pts,bt,this.keepOriginalTimestamps),ee.metadata.push(ve);for(ee.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",ee),It=0;It<ee.captions.length;It++)ie=ee.captions[It],this.trigger("caption",ie);for(It=0;It<ee.metadata.length;It++)ve=ee.metadata[It],this.trigger("id3Frame",ve)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Dh.prototype.setRemux=function(k){this.remuxTracks=k},mm=function(k){var J=this,ee=!0,ie,ve;mm.prototype.init.call(this),k=k||{},this.baseMediaDecodeTime=k.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var Ne={};this.transmuxPipeline_=Ne,Ne.type="aac",Ne.metadataStream=new $f.MetadataStream,Ne.aacStream=new yy,Ne.audioTimestampRolloverStream=new $f.TimestampRolloverStream("audio"),Ne.timedMetadataTimestampRolloverStream=new $f.TimestampRolloverStream("timed-metadata"),Ne.adtsStream=new L1,Ne.coalesceStream=new Dh(k,Ne.metadataStream),Ne.headOfPipeline=Ne.aacStream,Ne.aacStream.pipe(Ne.audioTimestampRolloverStream).pipe(Ne.adtsStream),Ne.aacStream.pipe(Ne.timedMetadataTimestampRolloverStream).pipe(Ne.metadataStream).pipe(Ne.coalesceStream),Ne.metadataStream.on("timestamp",function(bt){Ne.aacStream.setTimestamp(bt.timeStamp)}),Ne.aacStream.on("data",function(bt){bt.type!=="timed-metadata"&&bt.type!=="audio"||Ne.audioSegmentStream||(ve=ve||{timelineStartInfo:{baseMediaDecodeTime:J.baseMediaDecodeTime},codec:"adts",type:"audio"},Ne.coalesceStream.numberOfTracks++,Ne.audioSegmentStream=new mp(ve,k),Ne.audioSegmentStream.on("log",J.getLogTrigger_("audioSegmentStream")),Ne.audioSegmentStream.on("timingInfo",J.trigger.bind(J,"audioTimingInfo")),Ne.adtsStream.pipe(Ne.audioSegmentStream).pipe(Ne.coalesceStream),J.trigger("trackinfo",{hasAudio:!!ve,hasVideo:!!ie}))}),Ne.coalesceStream.on("data",this.trigger.bind(this,"data")),Ne.coalesceStream.on("done",this.trigger.bind(this,"done")),M1(this,Ne)},this.setupTsPipeline=function(){var Ne={};this.transmuxPipeline_=Ne,Ne.type="ts",Ne.metadataStream=new $f.MetadataStream,Ne.packetStream=new $f.TransportPacketStream,Ne.parseStream=new $f.TransportParseStream,Ne.elementaryStream=new $f.ElementaryStream,Ne.timestampRolloverStream=new $f.TimestampRolloverStream,Ne.adtsStream=new L1,Ne.h264Stream=new vy,Ne.captionStream=new $f.CaptionStream(k),Ne.coalesceStream=new Dh(k,Ne.metadataStream),Ne.headOfPipeline=Ne.packetStream,Ne.packetStream.pipe(Ne.parseStream).pipe(Ne.elementaryStream).pipe(Ne.timestampRolloverStream),Ne.timestampRolloverStream.pipe(Ne.h264Stream),Ne.timestampRolloverStream.pipe(Ne.adtsStream),Ne.timestampRolloverStream.pipe(Ne.metadataStream).pipe(Ne.coalesceStream),Ne.h264Stream.pipe(Ne.captionStream).pipe(Ne.coalesceStream),Ne.elementaryStream.on("data",function(bt){var It;if(bt.type==="metadata"){for(It=bt.tracks.length;It--;)!ie&&bt.tracks[It].type==="video"?(ie=bt.tracks[It],ie.timelineStartInfo.baseMediaDecodeTime=J.baseMediaDecodeTime):!ve&&bt.tracks[It].type==="audio"&&(ve=bt.tracks[It],ve.timelineStartInfo.baseMediaDecodeTime=J.baseMediaDecodeTime);ie&&!Ne.videoSegmentStream&&(Ne.coalesceStream.numberOfTracks++,Ne.videoSegmentStream=new t0(ie,k),Ne.videoSegmentStream.on("log",J.getLogTrigger_("videoSegmentStream")),Ne.videoSegmentStream.on("timelineStartInfo",function(Ht){ve&&!k.keepOriginalTimestamps&&(ve.timelineStartInfo=Ht,Ne.audioSegmentStream.setEarliestDts(Ht.dts-J.baseMediaDecodeTime))}),Ne.videoSegmentStream.on("processedGopsInfo",J.trigger.bind(J,"gopInfo")),Ne.videoSegmentStream.on("segmentTimingInfo",J.trigger.bind(J,"videoSegmentTimingInfo")),Ne.videoSegmentStream.on("baseMediaDecodeTime",function(Ht){ve&&Ne.audioSegmentStream.setVideoBaseMediaDecodeTime(Ht)}),Ne.videoSegmentStream.on("timingInfo",J.trigger.bind(J,"videoTimingInfo")),Ne.h264Stream.pipe(Ne.videoSegmentStream).pipe(Ne.coalesceStream)),ve&&!Ne.audioSegmentStream&&(Ne.coalesceStream.numberOfTracks++,Ne.audioSegmentStream=new mp(ve,k),Ne.audioSegmentStream.on("log",J.getLogTrigger_("audioSegmentStream")),Ne.audioSegmentStream.on("timingInfo",J.trigger.bind(J,"audioTimingInfo")),Ne.audioSegmentStream.on("segmentTimingInfo",J.trigger.bind(J,"audioSegmentTimingInfo")),Ne.adtsStream.pipe(Ne.audioSegmentStream).pipe(Ne.coalesceStream)),J.trigger("trackinfo",{hasAudio:!!ve,hasVideo:!!ie})}}),Ne.coalesceStream.on("data",this.trigger.bind(this,"data")),Ne.coalesceStream.on("id3Frame",function(bt){bt.dispatchType=Ne.metadataStream.dispatchType,J.trigger("id3Frame",bt)}),Ne.coalesceStream.on("caption",this.trigger.bind(this,"caption")),Ne.coalesceStream.on("done",this.trigger.bind(this,"done")),M1(this,Ne)},this.setBaseMediaDecodeTime=function(Ne){var bt=this.transmuxPipeline_;k.keepOriginalTimestamps||(this.baseMediaDecodeTime=Ne),ve&&(ve.timelineStartInfo.dts=void 0,ve.timelineStartInfo.pts=void 0,tf.clearDtsInfo(ve),bt.audioTimestampRolloverStream&&bt.audioTimestampRolloverStream.discontinuity()),ie&&(bt.videoSegmentStream&&(bt.videoSegmentStream.gopCache_=[]),ie.timelineStartInfo.dts=void 0,ie.timelineStartInfo.pts=void 0,tf.clearDtsInfo(ie),bt.captionStream.reset()),bt.timestampRolloverStream&&bt.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(Ne){ve&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(Ne)},this.setRemux=function(Ne){var bt=this.transmuxPipeline_;k.remux=Ne,bt&&bt.coalesceStream&&bt.coalesceStream.setRemux(Ne)},this.alignGopsWith=function(Ne){ie&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(Ne)},this.getLogTrigger_=function(Ne){var bt=this;return function(It){It.stream=Ne,bt.trigger("log",It)}},this.push=function(Ne){if(ee){var bt=by(Ne);bt&&this.transmuxPipeline_.type!=="aac"?this.setupAacPipeline():!bt&&this.transmuxPipeline_.type!=="ts"&&this.setupTsPipeline(),ee=!1}this.transmuxPipeline_.headOfPipeline.push(Ne)},this.flush=function(){ee=!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()}},mm.prototype=new fm;var Ey={Transmuxer:mm,VideoSegmentStream:t0,AudioSegmentStream:mp,AUDIO_PROPERTIES:Qg,VIDEO_PROPERTIES:Jg,generateSegmentTimingInfo:Zg},Ty=function(k){return k>>>0},wy=function(k){return("00"+k.toString(16)).slice(-2)},gm={toUnsigned:Ty,toHexString:wy},_y=function(k){var J="";return J+=String.fromCharCode(k[0]),J+=String.fromCharCode(k[1]),J+=String.fromCharCode(k[2]),J+=String.fromCharCode(k[3]),J},qg=_y,Ay=gm.toUnsigned,Cy=qg,N1=function(k,J){var ee=[],ie,ve,Ne,bt,It;if(!J.length)return null;for(ie=0;ie<k.byteLength;)ve=Ay(k[ie]<<24|k[ie+1]<<16|k[ie+2]<<8|k[ie+3]),Ne=Cy(k.subarray(ie+4,ie+8)),bt=ve>1?ie+ve:k.byteLength,Ne===J[0]&&(J.length===1?ee.push(k.subarray(ie+8,bt)):(It=N1(k.subarray(ie+8,bt),J.slice(1)),It.length&&(ee=ee.concat(It)))),ie=bt;return ee},vm=N1,Oy=gm.toUnsigned,Iy=A.getUint64,Py=function(k){var J={version:k[0],flags:new Uint8Array(k.subarray(1,4))};return J.version===1?J.baseMediaDecodeTime=Iy(k.subarray(4)):J.baseMediaDecodeTime=Oy(k[4]<<24|k[5]<<16|k[6]<<8|k[7]),J},e1=Py,Ry=function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:k[0],flags:new Uint8Array(k.subarray(1,4)),trackId:J.getUint32(4)},ie=ee.flags[2]&1,ve=ee.flags[2]&2,Ne=ee.flags[2]&8,bt=ee.flags[2]&16,It=ee.flags[2]&32,Ht=ee.flags[0]&65536,Yt=ee.flags[0]&131072,jr;return jr=8,ie&&(jr+=4,ee.baseDataOffset=J.getUint32(12),jr+=4),ve&&(ee.sampleDescriptionIndex=J.getUint32(jr),jr+=4),Ne&&(ee.defaultSampleDuration=J.getUint32(jr),jr+=4),bt&&(ee.defaultSampleSize=J.getUint32(jr),jr+=4),It&&(ee.defaultSampleFlags=J.getUint32(jr)),Ht&&(ee.durationIsEmpty=!0),!ie&&Yt&&(ee.baseDataOffsetIsMoof=!0),ee},t1=Ry,F1=A.getUint64,Dy=function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:k[0],flags:new Uint8Array(k.subarray(1,4)),references:[],referenceId:J.getUint32(4),timescale:J.getUint32(8)},ie=12;ee.version===0?(ee.earliestPresentationTime=J.getUint32(ie),ee.firstOffset=J.getUint32(ie+4),ie+=8):(ee.earliestPresentationTime=F1(k.subarray(ie)),ee.firstOffset=F1(k.subarray(ie+8)),ie+=16),ie+=2;var ve=J.getUint16(ie);for(ie+=2;ve>0;ie+=12,ve--)ee.references.push({referenceType:(k[ie]&128)>>>7,referencedSize:J.getUint32(ie)&2147483647,subsegmentDuration:J.getUint32(ie+4),startsWithSap:!!(k[ie+8]&128),sapType:(k[ie+8]&112)>>>4,sapDeltaTime:J.getUint32(ie+8)&268435455});return ee},Ly=Dy,My=function(k){return{isLeading:(k[0]&12)>>>2,dependsOn:k[0]&3,isDependedOn:(k[1]&192)>>>6,hasRedundancy:(k[1]&48)>>>4,paddingValue:(k[1]&14)>>>1,isNonSyncSample:k[1]&1,degradationPriority:k[2]<<8|k[3]}},ky=My,B1=ky,Ny=function(k){var J={version:k[0],flags:new Uint8Array(k.subarray(1,4)),samples:[]},ee=new DataView(k.buffer,k.byteOffset,k.byteLength),ie=J.flags[2]&1,ve=J.flags[2]&4,Ne=J.flags[1]&1,bt=J.flags[1]&2,It=J.flags[1]&4,Ht=J.flags[1]&8,Yt=ee.getUint32(4),jr=8,On;for(ie&&(J.dataOffset=ee.getInt32(jr),jr+=4),ve&&Yt&&(On={flags:B1(k.subarray(jr,jr+4))},jr+=4,Ne&&(On.duration=ee.getUint32(jr),jr+=4),bt&&(On.size=ee.getUint32(jr),jr+=4),Ht&&(J.version===1?On.compositionTimeOffset=ee.getInt32(jr):On.compositionTimeOffset=ee.getUint32(jr),jr+=4),J.samples.push(On),Yt--);Yt--;)On={},Ne&&(On.duration=ee.getUint32(jr),jr+=4),bt&&(On.size=ee.getUint32(jr),jr+=4),It&&(On.flags=B1(k.subarray(jr,jr+4)),jr+=4),Ht&&(J.version===1?On.compositionTimeOffset=ee.getInt32(jr):On.compositionTimeOffset=ee.getUint32(jr),jr+=4),J.samples.push(On);return J},U1=Ny,Fy=A,j1=Fy.getUint64,hc,r1,Ud=function(k){return new Date(k*1e3-20828448e5)},r0=qg,By=vm,Uy=function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee=[],ie,ve;for(ie=0;ie+4<k.length;ie+=ve){if(ve=J.getUint32(ie),ie+=4,ve<=0){ee.push("<span style='color:red;'>MALFORMED DATA</span>");continue}switch(k[ie]&31){case 1:ee.push("slice_layer_without_partitioning_rbsp");break;case 5:ee.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:ee.push("sei_rbsp");break;case 7:ee.push("seq_parameter_set_rbsp");break;case 8:ee.push("pic_parameter_set_rbsp");break;case 9:ee.push("access_unit_delimiter_rbsp");break;default:ee.push("UNKNOWN NAL - "+k[ie]&31);break}}return ee},dh={avc1:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength);return{dataReferenceIndex:J.getUint16(6),width:J.getUint16(24),height:J.getUint16(26),horizresolution:J.getUint16(28)+J.getUint16(30)/16,vertresolution:J.getUint16(32)+J.getUint16(34)/16,frameCount:J.getUint16(40),depth:J.getUint16(74),config:hc(k.subarray(78,k.byteLength))}},avcC:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={configurationVersion:k[0],avcProfileIndication:k[1],profileCompatibility:k[2],avcLevelIndication:k[3],lengthSizeMinusOne:k[4]&3,sps:[],pps:[]},ie=k[5]&31,ve,Ne,bt,It;for(bt=6,It=0;It<ie;It++)Ne=J.getUint16(bt),bt+=2,ee.sps.push(new Uint8Array(k.subarray(bt,bt+Ne))),bt+=Ne;for(ve=k[bt],bt++,It=0;It<ve;It++)Ne=J.getUint16(bt),bt+=2,ee.pps.push(new Uint8Array(k.subarray(bt,bt+Ne))),bt+=Ne;return ee},btrt:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength);return{bufferSizeDB:J.getUint32(0),maxBitrate:J.getUint32(4),avgBitrate:J.getUint32(8)}},edts:function(J){return{boxes:hc(J)}},elst:function(J){var ee=new DataView(J.buffer,J.byteOffset,J.byteLength),ie={version:ee.getUint8(0),flags:new Uint8Array(J.subarray(1,4)),edits:[]},ve=ee.getUint32(4),Ne;for(Ne=8;ve;ve--)ie.version===0?(ie.edits.push({segmentDuration:ee.getUint32(Ne),mediaTime:ee.getInt32(Ne+4),mediaRate:ee.getUint16(Ne+8)+ee.getUint16(Ne+10)/(256*256)}),Ne+=12):(ie.edits.push({segmentDuration:j1(J.subarray(Ne)),mediaTime:j1(J.subarray(Ne+8)),mediaRate:ee.getUint16(Ne+16)+ee.getUint16(Ne+18)/(256*256)}),Ne+=20);return ie},esds:function(k){return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),esId:k[6]<<8|k[7],streamPriority:k[8]&31,decoderConfig:{objectProfileIndication:k[11],streamType:k[12]>>>2&63,bufferSize:k[13]<<16|k[14]<<8|k[15],maxBitrate:k[16]<<24|k[17]<<16|k[18]<<8|k[19],avgBitrate:k[20]<<24|k[21]<<16|k[22]<<8|k[23],decoderConfigDescriptor:{tag:k[24],length:k[25],audioObjectType:k[26]>>>3&31,samplingFrequencyIndex:(k[26]&7)<<1|k[27]>>>7&1,channelConfiguration:k[27]>>>3&15}}}},ftyp:function(k){for(var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={majorBrand:r0(k.subarray(0,4)),minorVersion:J.getUint32(4),compatibleBrands:[]},ie=8;ie<k.byteLength;)ee.compatibleBrands.push(r0(k.subarray(ie,ie+4))),ie+=4;return ee},dinf:function(k){return{boxes:hc(k)}},dref:function(k){return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),dataReferences:hc(k.subarray(8))}},hdlr:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4)),handlerType:r0(k.subarray(8,12)),name:""},ie=8;for(ie=24;ie<k.byteLength;ie++){if(k[ie]===0){ie++;break}ee.name+=String.fromCharCode(k[ie])}return ee.name=decodeURIComponent(escape(ee.name)),ee},mdat:function(k){return{byteLength:k.byteLength,nals:Uy(k)}},mdhd:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee=4,ie,ve={version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4)),language:""};return ve.version===1?(ee+=4,ve.creationTime=Ud(J.getUint32(ee)),ee+=8,ve.modificationTime=Ud(J.getUint32(ee)),ee+=4,ve.timescale=J.getUint32(ee),ee+=8,ve.duration=J.getUint32(ee)):(ve.creationTime=Ud(J.getUint32(ee)),ee+=4,ve.modificationTime=Ud(J.getUint32(ee)),ee+=4,ve.timescale=J.getUint32(ee),ee+=4,ve.duration=J.getUint32(ee)),ee+=4,ie=J.getUint16(ee),ve.language+=String.fromCharCode((ie>>10)+96),ve.language+=String.fromCharCode(((ie&992)>>5)+96),ve.language+=String.fromCharCode((ie&31)+96),ve},mdia:function(k){return{boxes:hc(k)}},mfhd:function(k){return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),sequenceNumber:k[4]<<24|k[5]<<16|k[6]<<8|k[7]}},minf:function(k){return{boxes:hc(k)}},mp4a:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={dataReferenceIndex:J.getUint16(6),channelcount:J.getUint16(16),samplesize:J.getUint16(18),samplerate:J.getUint16(24)+J.getUint16(26)/65536};return k.byteLength>28&&(ee.streamDescriptor=hc(k.subarray(28))[0]),ee},moof:function(k){return{boxes:hc(k)}},moov:function(k){return{boxes:hc(k)}},mvex:function(k){return{boxes:hc(k)}},mvhd:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee=4,ie={version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4))};return ie.version===1?(ee+=4,ie.creationTime=Ud(J.getUint32(ee)),ee+=8,ie.modificationTime=Ud(J.getUint32(ee)),ee+=4,ie.timescale=J.getUint32(ee),ee+=8,ie.duration=J.getUint32(ee)):(ie.creationTime=Ud(J.getUint32(ee)),ee+=4,ie.modificationTime=Ud(J.getUint32(ee)),ee+=4,ie.timescale=J.getUint32(ee),ee+=4,ie.duration=J.getUint32(ee)),ee+=4,ie.rate=J.getUint16(ee)+J.getUint16(ee+2)/16,ee+=4,ie.volume=J.getUint8(ee)+J.getUint8(ee+1)/8,ee+=2,ee+=2,ee+=8,ie.matrix=new Uint32Array(k.subarray(ee,ee+36)),ee+=36,ee+=24,ie.nextTrackId=J.getUint32(ee),ie},pdin:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength);return{version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4)),rate:J.getUint32(4),initialDelay:J.getUint32(8)}},sdtp:function(k){var J={version:k[0],flags:new Uint8Array(k.subarray(1,4)),samples:[]},ee;for(ee=4;ee<k.byteLength;ee++)J.samples.push({dependsOn:(k[ee]&48)>>4,isDependedOn:(k[ee]&12)>>2,hasRedundancy:k[ee]&3});return J},sidx:Ly,smhd:function(k){return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),balance:k[4]+k[5]/256}},stbl:function(k){return{boxes:hc(k)}},ctts:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4)),compositionOffsets:[]},ie=J.getUint32(4),ve;for(ve=8;ie;ve+=8,ie--)ee.compositionOffsets.push({sampleCount:J.getUint32(ve),sampleOffset:J[ee.version===0?"getUint32":"getInt32"](ve+4)});return ee},stss:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4)),syncSamples:[]},ie=J.getUint32(4),ve;for(ve=8;ie;ve+=4,ie--)ee.syncSamples.push(J.getUint32(ve));return ee},stco:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:k[0],flags:new Uint8Array(k.subarray(1,4)),chunkOffsets:[]},ie=J.getUint32(4),ve;for(ve=8;ie;ve+=4,ie--)ee.chunkOffsets.push(J.getUint32(ve));return ee},stsc:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee=J.getUint32(4),ie={version:k[0],flags:new Uint8Array(k.subarray(1,4)),sampleToChunks:[]},ve;for(ve=8;ee;ve+=12,ee--)ie.sampleToChunks.push({firstChunk:J.getUint32(ve),samplesPerChunk:J.getUint32(ve+4),sampleDescriptionIndex:J.getUint32(ve+8)});return ie},stsd:function(k){return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),sampleDescriptions:hc(k.subarray(8))}},stsz:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:k[0],flags:new Uint8Array(k.subarray(1,4)),sampleSize:J.getUint32(4),entries:[]},ie;for(ie=12;ie<k.byteLength;ie+=4)ee.entries.push(J.getUint32(ie));return ee},stts:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee={version:k[0],flags:new Uint8Array(k.subarray(1,4)),timeToSamples:[]},ie=J.getUint32(4),ve;for(ve=8;ie;ve+=8,ie--)ee.timeToSamples.push({sampleCount:J.getUint32(ve),sampleDelta:J.getUint32(ve+4)});return ee},styp:function(k){return dh.ftyp(k)},tfdt:e1,tfhd:t1,tkhd:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength),ee=4,ie={version:J.getUint8(0),flags:new Uint8Array(k.subarray(1,4))};return ie.version===1?(ee+=4,ie.creationTime=Ud(J.getUint32(ee)),ee+=8,ie.modificationTime=Ud(J.getUint32(ee)),ee+=4,ie.trackId=J.getUint32(ee),ee+=4,ee+=8,ie.duration=J.getUint32(ee)):(ie.creationTime=Ud(J.getUint32(ee)),ee+=4,ie.modificationTime=Ud(J.getUint32(ee)),ee+=4,ie.trackId=J.getUint32(ee),ee+=4,ee+=4,ie.duration=J.getUint32(ee)),ee+=4,ee+=8,ie.layer=J.getUint16(ee),ee+=2,ie.alternateGroup=J.getUint16(ee),ee+=2,ie.volume=J.getUint8(ee)+J.getUint8(ee+1)/8,ee+=2,ee+=2,ie.matrix=new Uint32Array(k.subarray(ee,ee+36)),ee+=36,ie.width=J.getUint16(ee)+J.getUint16(ee+2)/65536,ee+=4,ie.height=J.getUint16(ee)+J.getUint16(ee+2)/65536,ie},traf:function(k){return{boxes:hc(k)}},trak:function(k){return{boxes:hc(k)}},trex:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength);return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),trackId:J.getUint32(4),defaultSampleDescriptionIndex:J.getUint32(8),defaultSampleDuration:J.getUint32(12),defaultSampleSize:J.getUint32(16),sampleDependsOn:k[20]&3,sampleIsDependedOn:(k[21]&192)>>6,sampleHasRedundancy:(k[21]&48)>>4,samplePaddingValue:(k[21]&14)>>1,sampleIsDifferenceSample:!!(k[21]&1),sampleDegradationPriority:J.getUint16(22)}},trun:U1,"url ":function(k){return{version:k[0],flags:new Uint8Array(k.subarray(1,4))}},vmhd:function(k){var J=new DataView(k.buffer,k.byteOffset,k.byteLength);return{version:k[0],flags:new Uint8Array(k.subarray(1,4)),graphicsmode:J.getUint16(4),opcolor:new Uint16Array([J.getUint16(6),J.getUint16(8),J.getUint16(10)])}}};hc=function(k){for(var J=0,ee=[],ie,ve,Ne,bt,It,Ht=new ArrayBuffer(k.length),Yt=new Uint8Array(Ht),jr=0;jr<k.length;++jr)Yt[jr]=k[jr];for(ie=new DataView(Ht);J<k.byteLength;)ve=ie.getUint32(J),Ne=r0(k.subarray(J+4,J+8)),bt=ve>1?J+ve:k.byteLength,It=(dh[Ne]||function(On){return{data:On}})(k.subarray(J+8,bt)),It.size=ve,It.type=Ne,ee.push(It),J=bt;return ee},r1=function(k,J){var ee;return J=J||0,ee=new Array(J*2+1).join(" "),k.map(function(ie,ve){return ee+ie.type+` 973`+Object.keys(ie).filter(function(Ne){return Ne!=="type"&&Ne!=="boxes"}).map(function(Ne){var bt=ee+" "+Ne+": ",It=ie[Ne];if(It instanceof Uint8Array||It instanceof Uint32Array){var Ht=Array.prototype.slice.call(new Uint8Array(It.buffer,It.byteOffset,It.byteLength)).map(function(Yt){return" "+("00"+Yt.toString(16)).slice(-2)}).join("").match(/.{1,24}/g);return Ht?Ht.length===1?bt+"<"+Ht.join("").slice(1)+">":bt+`< 974`+Ht.map(function(Yt){return ee+" "+Yt}).join(` 975`)+` 976`+ee+" >":bt+"<>"}return bt+JSON.stringify(It,null,2).split(` 977`).map(function(Yt,jr){return jr===0?Yt:ee+" "+Yt}).join(` 978`)}).join(` 979`)+(ie.boxes?` 980`+r1(ie.boxes,J+1):"")}).join(` 981`)};var z1={inspect:hc,textify:r1,parseType:r0,findBox:By,parseTraf:dh.traf,parseTfdt:dh.tfdt,parseHdlr:dh.hdlr,parseTfhd:dh.tfhd,parseTrun:dh.trun,parseSidx:dh.sidx},jy=function(k){for(var J=0,ee=String.fromCharCode(k[J]),ie="";ee!=="\0";)ie+=ee,J++,ee=String.fromCharCode(k[J]);return ie+=ee,ie},zy={uint8ToCString:jy},ym=zy.uint8ToCString,$y=A.getUint64,Hy=function(k){var J=4,ee=k[0],ie,ve,Ne,bt,It,Ht,Yt,jr;if(ee===0){ie=ym(k.subarray(J)),J+=ie.length,ve=ym(k.subarray(J)),J+=ve.length;var On=new DataView(k.buffer);Ne=On.getUint32(J),J+=4,It=On.getUint32(J),J+=4,Ht=On.getUint32(J),J+=4,Yt=On.getUint32(J),J+=4}else if(ee===1){var On=new DataView(k.buffer);Ne=On.getUint32(J),J+=4,bt=$y(k.subarray(J)),J+=8,Ht=On.getUint32(J),J+=4,Yt=On.getUint32(J),J+=4,ie=ym(k.subarray(J)),J+=ie.length,ve=ym(k.subarray(J)),J+=ve.length}jr=new Uint8Array(k.subarray(J,k.byteLength));var Ji={scheme_id_uri:ie,value:ve,timescale:Ne||1,presentation_time:bt,presentation_time_delta:It,event_duration:Ht,id:Yt,message_data:jr};return Vy(ee,Ji)?Ji:void 0},Wy=function(k,J,ee,ie){return k||k===0?k/J:ie+ee/J},Vy=function(k,J){var ee=J.scheme_id_uri!=="\0",ie=k===0&&$1(J.presentation_time_delta)&&ee,ve=k===1&&$1(J.presentation_time)&ⅇreturn!(k>1)&&ie||ve},$1=function(k){return k!==void 0||k!==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,bm=gm.toUnsigned,i0=gm.toHexString,Ku=vm,gp=qg,n1=Gy,Ky=t1,Yy=U1,Xy=e1,Qy=A.getUint64,W1,V1,G1,K1,Y1,i1,X1,s1=H1,Jy=T1.parseId3Frames;W1=function(k){var J={},ee=Ku(k,["moov","trak"]);return ee.reduce(function(ie,ve){var Ne,bt,It,Ht,Yt;return Ne=Ku(ve,["tkhd"])[0],!Ne||(bt=Ne[0],It=bt===0?12:20,Ht=bm(Ne[It]<<24|Ne[It+1]<<16|Ne[It+2]<<8|Ne[It+3]),Yt=Ku(ve,["mdia","mdhd"])[0],!Yt)?null:(bt=Yt[0],It=bt===0?12:20,ie[Ht]=bm(Yt[It]<<24|Yt[It+1]<<16|Yt[It+2]<<8|Yt[It+3]),ie)},J)},V1=function(k,J){var ee;ee=Ku(J,["moof","traf"]);var ie=ee.reduce(function(ve,Ne){var bt=Ku(Ne,["tfhd"])[0],It=bm(bt[4]<<24|bt[5]<<16|bt[6]<<8|bt[7]),Ht=k[It]||9e4,Yt=Ku(Ne,["tfdt"])[0],jr=new DataView(Yt.buffer,Yt.byteOffset,Yt.byteLength),On;Yt[0]===1?On=Qy(Yt.subarray(4,12)):On=jr.getUint32(4);let Ji;return typeof On=="bigint"?Ji=On/s1.BigInt(Ht):typeof On=="number"&&!isNaN(On)&&(Ji=On/Ht),Ji<Number.MAX_SAFE_INTEGER&&(Ji=Number(Ji)),Ji<ve&&(ve=Ji),ve},1/0);return typeof ie=="bigint"||isFinite(ie)?ie:0},G1=function(k,J){var ee=Ku(J,["moof","traf"]),ie=0,ve=0,Ne;if(ee&&ee.length){var bt=Ku(ee[0],["tfhd"])[0],It=Ku(ee[0],["trun"])[0],Ht=Ku(ee[0],["tfdt"])[0];if(bt){var Yt=Ky(bt);Ne=Yt.trackId}if(Ht){var jr=Xy(Ht);ie=jr.baseMediaDecodeTime}if(It){var On=Yy(It);On.samples&&On.samples.length&&(ve=On.samples[0].compositionTimeOffset||0)}}var Ji=k[Ne]||9e4;typeof ie=="bigint"&&(ve=s1.BigInt(ve),Ji=s1.BigInt(Ji));var Wn=(ie+ve)/Ji;return typeof Wn=="bigint"&&Wn<Number.MAX_SAFE_INTEGER&&(Wn=Number(Wn)),Wn},K1=function(k){var J=Ku(k,["moov","trak"]),ee=[];return J.forEach(function(ie){var ve=Ku(ie,["mdia","hdlr"]),Ne=Ku(ie,["tkhd"]);ve.forEach(function(bt,It){var Ht=gp(bt.subarray(8,12)),Yt=Ne[It],jr,On,Ji;Ht==="vide"&&(jr=new DataView(Yt.buffer,Yt.byteOffset,Yt.byteLength),On=jr.getUint8(0),Ji=On===0?jr.getUint32(12):jr.getUint32(20),ee.push(Ji))})}),ee},i1=function(k){var J=k[0],ee=J===0?12:20;return bm(k[ee]<<24|k[ee+1]<<16|k[ee+2]<<8|k[ee+3])},Y1=function(k){var J=Ku(k,["moov","trak"]),ee=[];return J.forEach(function(ie){var ve={},Ne=Ku(ie,["tkhd"])[0],bt,It;Ne&&(bt=new DataView(Ne.buffer,Ne.byteOffset,Ne.byteLength),It=bt.getUint8(0),ve.id=It===0?bt.getUint32(12):bt.getUint32(20));var Ht=Ku(ie,["mdia","hdlr"])[0];if(Ht){var Yt=gp(Ht.subarray(8,12));Yt==="vide"?ve.type="video":Yt==="soun"?ve.type="audio":ve.type=Yt}var jr=Ku(ie,["mdia","minf","stbl","stsd"])[0];if(jr){var On=jr.subarray(8);ve.codec=gp(On.subarray(4,8));var Ji=Ku(On,[ve.codec])[0],Wn,Js;Ji&&(/^[asm]vc[1-9]$/i.test(ve.codec)?(Wn=Ji.subarray(78),Js=gp(Wn.subarray(4,8)),Js==="avcC"&&Wn.length>11?(ve.codec+=".",ve.codec+=i0(Wn[9]),ve.codec+=i0(Wn[10]),ve.codec+=i0(Wn[11])):ve.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(ve.codec)?(Wn=Ji.subarray(28),Js=gp(Wn.subarray(4,8)),Js==="esds"&&Wn.length>20&&Wn[19]!==0?(ve.codec+="."+i0(Wn[19]),ve.codec+="."+i0(Wn[20]>>>2&63).replace(/^0/,"")):ve.codec="mp4a.40.2"):ve.codec=ve.codec.toLowerCase())}var ba=Ku(ie,["mdia","mdhd"])[0];ba&&(ve.timescale=i1(ba)),ee.push(ve)}),ee},X1=function(k,J=0){var ee=Ku(k,["emsg"]);return ee.map(ie=>{var ve=n1.parseEmsgBox(new Uint8Array(ie)),Ne=Jy(ve.message_data);return{cueTime:n1.scaleTime(ve.presentation_time,ve.timescale,ve.presentation_time_delta,J),duration:n1.scaleTime(ve.event_duration,ve.timescale),frames:Ne}})};var s0={findBox:Ku,parseType:gp,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(k){var J=Q1(k,["moof","traf"]),ee=Q1(k,["mdat"]),ie=[];return ee.forEach(function(ve,Ne){var bt=J[Ne];ie.push({mdat:ve,traf:bt})}),ie},e2=function(k,J,ee){var ie=J,ve=ee.defaultSampleDuration||0,Ne=ee.defaultSampleSize||0,bt=ee.trackId,It=[];return k.forEach(function(Ht){var Yt=Zy(Ht),jr=Yt.samples;jr.forEach(function(On){On.duration===void 0&&(On.duration=ve),On.size===void 0&&(On.size=Ne),On.trackId=bt,On.dts=ie,On.compositionTimeOffset===void 0&&(On.compositionTimeOffset=0),typeof ie=="bigint"?(On.pts=ie+J1.BigInt(On.compositionTimeOffset),ie+=J1.BigInt(On.duration)):(On.pts=ie+On.compositionTimeOffset,ie+=On.duration)}),It=It.concat(jr)}),It},Z1={getMdatTrafPairs:qy,parseSamples:e2},t2=y1.discardEmulationPreventionBytes,r2=b1.CaptionStream,a1=vm,n2=e1,i2=t1,{getMdatTrafPairs:s2,parseSamples:a2}=Z1,o2=function(k,J){for(var ee=k,ie=0;ie<J.length;ie++){var ve=J[ie];if(ee<ve.size)return ve;ee-=ve.size}return null},u2=function(k,J,ee){var ie=new DataView(k.buffer,k.byteOffset,k.byteLength),ve={logs:[],seiNals:[]},Ne,bt,It,Ht;for(bt=0;bt+4<k.length;bt+=It)if(It=ie.getUint32(bt),bt+=4,!(It<=0))switch(k[bt]&31){case 6:var Yt=k.subarray(bt+1,bt+1+It),jr=o2(bt,J);if(Ne={nalUnitType:"sei_rbsp",size:It,data:Yt,escapedRBSP:t2(Yt),trackId:ee},jr)Ne.pts=jr.pts,Ne.dts=jr.dts,Ht=jr;else if(Ht)Ne.pts=Ht.pts,Ne.dts=Ht.dts;else{ve.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+bt+" for trackId "+ee+". See mux.js#223."});break}ve.seiNals.push(Ne);break}return ve},l2=function(k,J){var ee={},ie=s2(k);return ie.forEach(function(ve){var Ne=ve.mdat,bt=ve.traf,It=a1(bt,["tfhd"]),Ht=i2(It[0]),Yt=Ht.trackId,jr=a1(bt,["tfdt"]),On=jr.length>0?n2(jr[0]).baseMediaDecodeTime:0,Ji=a1(bt,["trun"]),Wn,Js;J===Yt&&Ji.length>0&&(Wn=a2(Ji,On,Ht),Js=u2(Ne,Wn,Yt),ee[Yt]||(ee[Yt]={seiNals:[],logs:[]}),ee[Yt].seiNals=ee[Yt].seiNals.concat(Js.seiNals),ee[Yt].logs=ee[Yt].logs.concat(Js.logs))}),ee},c2=function(k,J,ee){var ie;if(J===null)return null;ie=l2(k,J);var ve=ie[J]||{};return{seiNals:ve.seiNals,logs:ve.logs,timescale:ee}},d2=function(){var k=!1,J,ee,ie,ve,Ne,bt;this.isInitialized=function(){return k},this.init=function(It){J=new r2,k=!0,bt=It?It.isPartial:!1,J.on("data",function(Ht){Ht.startTime=Ht.startPts/ve,Ht.endTime=Ht.endPts/ve,Ne.captions.push(Ht),Ne.captionStreams[Ht.stream]=!0}),J.on("log",function(Ht){Ne.logs.push(Ht)})},this.isNewInit=function(It,Ht){return It&&It.length===0||Ht&&typeof Ht=="object"&&Object.keys(Ht).length===0?!1:ie!==It[0]||ve!==Ht[ie]},this.parse=function(It,Ht,Yt){var jr;if(this.isInitialized()){if(!Ht||!Yt)return null;if(this.isNewInit(Ht,Yt))ie=Ht[0],ve=Yt[ie];else if(ie===null||!ve)return ee.push(It),null}else return null;for(;ee.length>0;){var On=ee.shift();this.parse(On,Ht,Yt)}return jr=c2(It,ie,ve),jr&&jr.logs&&(Ne.logs=Ne.logs.concat(jr.logs)),jr===null||!jr.seiNals?Ne.logs.length?{logs:Ne.logs,captions:[],captionStreams:[]}:null:(this.pushNals(jr.seiNals),this.flushStream(),Ne)},this.pushNals=function(It){if(!this.isInitialized()||!It||It.length===0)return null;It.forEach(function(Ht){J.push(Ht)})},this.flushStream=function(){if(!this.isInitialized())return null;bt?J.partialFlush():J.flush()},this.clearParsedCaptions=function(){Ne.captions=[],Ne.captionStreams={},Ne.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;J.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){ee=[],ie=null,ve=null,Ne?this.clearParsedCaptions():Ne={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},f2=d2;const{parseTfdt:h2}=z1,fh=vm,{getTimescaleFromMediaHeader:p2}=s0,{parseSamples:m2,getMdatTrafPairs:g2}=Z1;var q1=function(){let k=9e4;this.init=function(J){const ee=fh(J,["moov","trak","mdia","mdhd"])[0];ee&&(k=p2(ee))},this.parseSegment=function(J){const ee=[],ie=g2(J);let ve=0;return ie.forEach(function(Ne){const bt=Ne.mdat,It=Ne.traf,Ht=fh(It,["tfdt"])[0],Yt=fh(It,["tfhd"])[0],jr=fh(It,["trun"]);if(Ht&&(ve=h2(Ht).baseMediaDecodeTime),jr.length&&Yt){const On=m2(jr,ve,Yt);let Ji=0;On.forEach(function(Wn){const Js="utf-8",ba=new TextDecoder(Js),Ll=bt.slice(Ji,Ji+Wn.size);if(fh(Ll,["vtte"])[0]){Ji+=Wn.size;return}fh(Ll,["vttc"]).forEach(function(a0){const o0=fh(a0,["payl"])[0],u0=fh(a0,["sttg"])[0],l0=Wn.pts/k,Em=(Wn.pts+Wn.duration)/k;let iu,c0;if(o0)try{iu=ba.decode(o0)}catch(rf){console.error(rf)}if(u0)try{c0=ba.decode(u0)}catch(rf){console.error(rf)}Wn.duration&&iu&&ee.push({cueText:iu,start:l0,end:Em,settings:c0})}),Ji+=Wn.size})}}),ee}},o1=nm,ev=function(k){var J=k[1]&31;return J<<=8,J|=k[2],J},Sm=function(k){return!!(k[1]&64)},xm=function(k){var J=0;return(k[3]&48)>>>4>1&&(J+=k[4]+1),J},v2=function(k,J){var ee=ev(k);return ee===0?"pat":ee===J?"pmt":J?"pes":null},y2=function(k){var J=Sm(k),ee=4+xm(k);return J&&(ee+=k[ee]+1),(k[ee+10]&31)<<8|k[ee+11]},b2=function(k){var J={},ee=Sm(k),ie=4+xm(k);if(ee&&(ie+=k[ie]+1),!!(k[ie+5]&1)){var ve,Ne,bt;ve=(k[ie+1]&15)<<8|k[ie+2],Ne=3+ve-4,bt=(k[ie+10]&15)<<8|k[ie+11];for(var It=12+bt;It<Ne;){var Ht=ie+It;J[(k[Ht+1]&31)<<8|k[Ht+2]]=k[Ht],It+=((k[Ht+3]&15)<<8|k[Ht+4])+5}return J}},S2=function(k,J){var ee=ev(k),ie=J[ee];switch(ie){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(k){var J=Sm(k);if(!J)return null;var ee=4+xm(k);if(ee>=k.byteLength)return null;var ie=null,ve;return ve=k[ee+7],ve&192&&(ie={},ie.pts=(k[ee+9]&14)<<27|(k[ee+10]&255)<<20|(k[ee+11]&254)<<12|(k[ee+12]&255)<<5|(k[ee+13]&254)>>>3,ie.pts*=4,ie.pts+=(k[ee+13]&6)>>>1,ie.dts=ie.pts,ve&64&&(ie.dts=(k[ee+14]&14)<<27|(k[ee+15]&255)<<20|(k[ee+16]&254)<<12|(k[ee+17]&255)<<5|(k[ee+18]&254)>>>3,ie.dts*=4,ie.dts+=(k[ee+18]&6)>>>1)),ie},u1=function(k){switch(k){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(k){for(var J=4+xm(k),ee=k.subarray(J),ie=0,ve=0,Ne=!1,bt;ve<ee.byteLength-3;ve++)if(ee[ve+2]===1){ie=ve+5;break}for(;ie<ee.byteLength;)switch(ee[ie]){case 0:if(ee[ie-1]!==0){ie+=2;break}else if(ee[ie-2]!==0){ie++;break}ve+3!==ie-2&&(bt=u1(ee[ve+3]&31),bt==="slice_layer_without_partitioning_rbsp_idr"&&(Ne=!0));do ie++;while(ee[ie]!==1&&ie<ee.length);ve=ie-2,ie+=3;break;case 1:if(ee[ie-1]!==0||ee[ie-2]!==0){ie+=3;break}bt=u1(ee[ve+3]&31),bt==="slice_layer_without_partitioning_rbsp_idr"&&(Ne=!0),ve=ie-2,ie+=3;break;default:ie+=3;break}return ee=ee.subarray(ve),ie-=ve,ve=0,ee&&ee.byteLength>3&&(bt=u1(ee[ve+3]&31),bt==="slice_layer_without_partitioning_rbsp_idr"&&(Ne=!0)),Ne},T2={parseType:v2,parsePat:y2,parsePmt:b2,parsePayloadUnitStartIndicator:Sm,parsePesType:S2,parsePesTime:x2,videoPacketContainsKeyFrame:E2},tv=nm,vp=x1.handleRollover,No={};No.ts=T2,No.aac=Xg;var Lh=nu.ONE_SECOND_IN_TS,Dc=188,bf=71,w2=function(k,J){for(var ee=0,ie=Dc,ve,Ne;ie<k.byteLength;){if(k[ee]===bf&&k[ie]===bf){switch(ve=k.subarray(ee,ie),Ne=No.ts.parseType(ve,J.pid),Ne){case"pat":J.pid=No.ts.parsePat(ve);break;case"pmt":var bt=No.ts.parsePmt(ve);J.table=J.table||{},Object.keys(bt).forEach(function(It){J.table[It]=bt[It]});break}ee+=Dc,ie+=Dc;continue}ee++,ie++}},rv=function(k,J,ee){for(var ie=0,ve=Dc,Ne,bt,It,Ht,Yt,jr=!1;ve<=k.byteLength;){if(k[ie]===bf&&(k[ve]===bf||ve===k.byteLength)){if(Ne=k.subarray(ie,ve),bt=No.ts.parseType(Ne,J.pid),bt==="pes"&&(It=No.ts.parsePesType(Ne,J.table),Ht=No.ts.parsePayloadUnitStartIndicator(Ne),It==="audio"&&Ht&&(Yt=No.ts.parsePesTime(Ne),Yt&&(Yt.type="audio",ee.audio.push(Yt),jr=!0))),jr)break;ie+=Dc,ve+=Dc;continue}ie++,ve++}for(ve=k.byteLength,ie=ve-Dc,jr=!1;ie>=0;){if(k[ie]===bf&&(k[ve]===bf||ve===k.byteLength)){if(Ne=k.subarray(ie,ve),bt=No.ts.parseType(Ne,J.pid),bt==="pes"&&(It=No.ts.parsePesType(Ne,J.table),Ht=No.ts.parsePayloadUnitStartIndicator(Ne),It==="audio"&&Ht&&(Yt=No.ts.parsePesTime(Ne),Yt&&(Yt.type="audio",ee.audio.push(Yt),jr=!0))),jr)break;ie-=Dc,ve-=Dc;continue}ie--,ve--}},_2=function(k,J,ee){for(var ie=0,ve=Dc,Ne,bt,It,Ht,Yt,jr,On,Ji,Wn=!1,Js={data:[],size:0};ve<k.byteLength;){if(k[ie]===bf&&k[ve]===bf){switch(Ne=k.subarray(ie,ve),bt=No.ts.parseType(Ne,J.pid),bt){case"pes":if(It=No.ts.parsePesType(Ne,J.table),Ht=No.ts.parsePayloadUnitStartIndicator(Ne),It==="video"&&(Ht&&!Wn&&(Yt=No.ts.parsePesTime(Ne),Yt&&(Yt.type="video",ee.video.push(Yt),Wn=!0)),!ee.firstKeyFrame)){if(Ht&&Js.size!==0){for(jr=new Uint8Array(Js.size),On=0;Js.data.length;)Ji=Js.data.shift(),jr.set(Ji,On),On+=Ji.byteLength;if(No.ts.videoPacketContainsKeyFrame(jr)){var ba=No.ts.parsePesTime(jr);ba?(ee.firstKeyFrame=ba,ee.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.")}Js.size=0}Js.data.push(Ne),Js.size+=Ne.byteLength}break}if(Wn&&ee.firstKeyFrame)break;ie+=Dc,ve+=Dc;continue}ie++,ve++}for(ve=k.byteLength,ie=ve-Dc,Wn=!1;ie>=0;){if(k[ie]===bf&&k[ve]===bf){if(Ne=k.subarray(ie,ve),bt=No.ts.parseType(Ne,J.pid),bt==="pes"&&(It=No.ts.parsePesType(Ne,J.table),Ht=No.ts.parsePayloadUnitStartIndicator(Ne),It==="video"&&Ht&&(Yt=No.ts.parsePesTime(Ne),Yt&&(Yt.type="video",ee.video.push(Yt),Wn=!0))),Wn)break;ie-=Dc,ve-=Dc;continue}ie--,ve--}},A2=function(k,J){if(k.audio&&k.audio.length){var ee=J;(typeof ee>"u"||isNaN(ee))&&(ee=k.audio[0].dts),k.audio.forEach(function(Ne){Ne.dts=vp(Ne.dts,ee),Ne.pts=vp(Ne.pts,ee),Ne.dtsTime=Ne.dts/Lh,Ne.ptsTime=Ne.pts/Lh})}if(k.video&&k.video.length){var ie=J;if((typeof ie>"u"||isNaN(ie))&&(ie=k.video[0].dts),k.video.forEach(function(Ne){Ne.dts=vp(Ne.dts,ie),Ne.pts=vp(Ne.pts,ie),Ne.dtsTime=Ne.dts/Lh,Ne.ptsTime=Ne.pts/Lh}),k.firstKeyFrame){var ve=k.firstKeyFrame;ve.dts=vp(ve.dts,ie),ve.pts=vp(ve.pts,ie),ve.dtsTime=ve.dts/Lh,ve.ptsTime=ve.pts/Lh}}},C2=function(k){for(var J=!1,ee=0,ie=null,ve=null,Ne=0,bt=0,It;k.length-bt>=3;){var Ht=No.aac.parseType(k,bt);switch(Ht){case"timed-metadata":if(k.length-bt<10){J=!0;break}if(Ne=No.aac.parseId3TagSize(k,bt),Ne>k.length){J=!0;break}ve===null&&(It=k.subarray(bt,bt+Ne),ve=No.aac.parseAacTimestamp(It)),bt+=Ne;break;case"audio":if(k.length-bt<7){J=!0;break}if(Ne=No.aac.parseAdtsSize(k,bt),Ne>k.length){J=!0;break}ie===null&&(It=k.subarray(bt,bt+Ne),ie=No.aac.parseSampleRate(It)),ee++,bt+=Ne;break;default:bt++;break}if(J)return null}if(ie===null||ve===null)return null;var Yt=Lh/ie,jr={audio:[{type:"audio",dts:ve,pts:ve},{type:"audio",dts:ve+ee*1024*Yt,pts:ve+ee*1024*Yt}]};return jr},O2=function(k){var J={pid:null,table:null},ee={};w2(k,J);for(var ie in J.table)if(J.table.hasOwnProperty(ie)){var ve=J.table[ie];switch(ve){case tv.H264_STREAM_TYPE:ee.video=[],_2(k,J,ee),ee.video.length===0&&delete ee.video;break;case tv.ADTS_STREAM_TYPE:ee.audio=[],rv(k,J,ee),ee.audio.length===0&&delete ee.audio;break}}return ee},I2=function(k,J){var ee=No.aac.isLikelyAacData(k),ie;return ee?ie=C2(k):ie=O2(k),!ie||!ie.audio&&!ie.video?null:(A2(ie,J),ie)},P2={inspect:I2,parseAudioPes_:rv};const R2=function(k,J){J.on("data",function(ee){const ie=ee.initSegment;ee.initSegment={data:ie.buffer,byteOffset:ie.byteOffset,byteLength:ie.byteLength};const ve=ee.data;ee.data=ve.buffer,k.postMessage({action:"data",segment:ee,byteOffset:ve.byteOffset,byteLength:ve.byteLength},[ee.data])}),J.on("done",function(ee){k.postMessage({action:"done"})}),J.on("gopInfo",function(ee){k.postMessage({action:"gopInfo",gopInfo:ee})}),J.on("videoSegmentTimingInfo",function(ee){const ie={start:{decode:nu.videoTsToSeconds(ee.start.dts),presentation:nu.videoTsToSeconds(ee.start.pts)},end:{decode:nu.videoTsToSeconds(ee.end.dts),presentation:nu.videoTsToSeconds(ee.end.pts)},baseMediaDecodeTime:nu.videoTsToSeconds(ee.baseMediaDecodeTime)};ee.prependedContentDuration&&(ie.prependedContentDuration=nu.videoTsToSeconds(ee.prependedContentDuration)),k.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:ie})}),J.on("audioSegmentTimingInfo",function(ee){const ie={start:{decode:nu.videoTsToSeconds(ee.start.dts),presentation:nu.videoTsToSeconds(ee.start.pts)},end:{decode:nu.videoTsToSeconds(ee.end.dts),presentation:nu.videoTsToSeconds(ee.end.pts)},baseMediaDecodeTime:nu.videoTsToSeconds(ee.baseMediaDecodeTime)};ee.prependedContentDuration&&(ie.prependedContentDuration=nu.videoTsToSeconds(ee.prependedContentDuration)),k.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:ie})}),J.on("id3Frame",function(ee){k.postMessage({action:"id3Frame",id3Frame:ee})}),J.on("caption",function(ee){k.postMessage({action:"caption",caption:ee})}),J.on("trackinfo",function(ee){k.postMessage({action:"trackinfo",trackInfo:ee})}),J.on("audioTimingInfo",function(ee){k.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:nu.videoTsToSeconds(ee.start),end:nu.videoTsToSeconds(ee.end)}})}),J.on("videoTimingInfo",function(ee){k.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:nu.videoTsToSeconds(ee.start),end:nu.videoTsToSeconds(ee.end)}})}),J.on("log",function(ee){k.postMessage({action:"log",log:ee})})};class nv{constructor(J,ee){this.options=ee||{},this.self=J,this.init()}init(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ey.Transmuxer(this.options),R2(this.self,this.transmuxer)}pushMp4Captions(J){this.captionParser||(this.captionParser=new f2,this.captionParser.init());const ee=new Uint8Array(J.data,J.byteOffset,J.byteLength),ie=this.captionParser.parse(ee,J.trackIds,J.timescales);this.self.postMessage({action:"mp4Captions",captions:ie&&ie.captions||[],logs:ie&&ie.logs||[],data:ee.buffer},[ee.buffer])}initMp4WebVttParser(J){this.webVttParser||(this.webVttParser=new q1);const ee=new Uint8Array(J.data,J.byteOffset,J.byteLength);this.webVttParser.init(ee)}getMp4WebVttText(J){this.webVttParser||(this.webVttParser=new q1);const ee=new Uint8Array(J.data,J.byteOffset,J.byteLength),ie=this.webVttParser.parseSegment(ee);this.self.postMessage({action:"getMp4WebVttText",mp4VttCues:ie||[],data:ee.buffer},[ee.buffer])}probeMp4StartTime({timescales:J,data:ee}){const ie=s0.startTime(J,ee);this.self.postMessage({action:"probeMp4StartTime",startTime:ie,data:ee},[ee.buffer])}probeMp4Tracks({data:J}){const ee=s0.tracks(J);this.self.postMessage({action:"probeMp4Tracks",tracks:ee,data:J},[J.buffer])}probeEmsgID3({data:J,offset:ee}){const ie=s0.getEmsgID3(J,ee);this.self.postMessage({action:"probeEmsgID3",id3Frames:ie,emsgData:J},[J.buffer])}probeTs({data:J,baseStartTime:ee}){const ie=typeof ee=="number"&&!isNaN(ee)?ee*nu.ONE_SECOND_IN_TS:void 0,ve=P2.inspect(J,ie);let Ne=null;ve&&(Ne={hasVideo:ve.video&&ve.video.length===2||!1,hasAudio:ve.audio&&ve.audio.length===2||!1},Ne.hasVideo&&(Ne.videoStart=ve.video[0].ptsTime),Ne.hasAudio&&(Ne.audioStart=ve.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:Ne,data:J},[J.buffer])}clearAllMp4Captions(){this.captionParser&&this.captionParser.clearAllCaptions()}clearParsedMp4Captions(){this.captionParser&&this.captionParser.clearParsedCaptions()}push(J){const ee=new Uint8Array(J.data,J.byteOffset,J.byteLength);this.transmuxer.push(ee)}reset(){this.transmuxer.reset()}setTimestampOffset(J){const ee=J.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(nu.secondsToVideoTs(ee)))}setAudioAppendStart(J){this.transmuxer.setAudioAppendStart(Math.ceil(nu.secondsToVideoTs(J.appendStart)))}setRemux(J){this.transmuxer.setRemux(J.remux)}flush(J){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})}endTimeline(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})}alignGopsWith(J){this.transmuxer.alignGopsWith(J.gopsToAlignWith.slice())}}self.onmessage=function(k){if(k.data.action==="init"&&k.data.options){this.messageHandlers=new nv(self,k.data.options);return}this.messageHandlers||(this.messageHandlers=new nv(self)),k.data&&k.data.action&&k.data.action!=="init"&&this.messageHandlers[k.data.action]&&this.messageHandlers[k.data.action](k.data)}}));var _m=Rp(wm);const Am=(p,t,o)=>{const{type:c,initSegment:y,captions:A,captionStreams:D,metadata:K,videoFrameDtsTime:ue,videoFramePtsTime:Te}=p.data.segment;t.buffer.push({captions:A,captionStreams:D,metadata:K});const We=p.data.segment.boxes||{data:p.data.segment.data},vt={type:c,data:new Uint8Array(We.data,We.data.byteOffset,We.data.byteLength),initSegment:new Uint8Array(y.data,y.byteOffset,y.byteLength)};typeof ue<"u"&&(vt.videoFrameDtsTime=ue),typeof Te<"u"&&(vt.videoFramePtsTime=Te),o(vt)},Cm=({transmuxedData:p,callback:t})=>{p.buffer=[],t(p)},h0=(p,t)=>{t.gopInfo=p.data.gopInfo},rh=p=>{const{transmuxer:t,bytes:o,audioAppendStart:c,gopsToAlignWith:y,remux:A,onData:D,onTrackInfo:K,onAudioTimingInfo:ue,onVideoTimingInfo:Te,onVideoSegmentTimingInfo:We,onAudioSegmentTimingInfo:vt,onId3:er,onCaptions:Tr,onDone:zr,onEndedTimeline:St,onTransmuxerLog:En,isEndOfTimeline:xn,segment:pn,triggerSegmentEventFn:Qr}=p,Ln={buffer:[]};let Cn=xn;const pi=Si=>{t.currentTransmux===p&&(Si.data.action==="data"&&Am(Si,Ln,D),Si.data.action==="trackinfo"&&K(Si.data.trackInfo),Si.data.action==="gopInfo"&&h0(Si,Ln),Si.data.action==="audioTimingInfo"&&ue(Si.data.audioTimingInfo),Si.data.action==="videoTimingInfo"&&Te(Si.data.videoTimingInfo),Si.data.action==="videoSegmentTimingInfo"&&We(Si.data.videoSegmentTimingInfo),Si.data.action==="audioSegmentTimingInfo"&&vt(Si.data.audioSegmentTimingInfo),Si.data.action==="id3Frame"&&er([Si.data.id3Frame],Si.data.id3Frame.dispatchType),Si.data.action==="caption"&&Tr(Si.data.caption),Si.data.action==="endedtimeline"&&(Cn=!1,St()),Si.data.action==="log"&&En(Si.data.log),Si.data.type==="transmuxed"&&(Cn||(t.onmessage=null,Cm({transmuxedData:Ln,callback:zr}),np(t))))},Bn=()=>{const Si={message:"Received an error message from the transmuxer worker",metadata:{errorType:xr.Error.StreamingFailedToTransmuxSegment,segmentInfo:jf({segment:pn})}};zr(null,Si)};if(t.onmessage=pi,t.onerror=Bn,c&&t.postMessage({action:"setAudioAppendStart",appendStart:c}),Array.isArray(y)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:y}),typeof A<"u"&&t.postMessage({action:"setRemux",remux:A}),o.byteLength){const Si=o instanceof ArrayBuffer?o:o.buffer,ia=o instanceof ArrayBuffer?0:o.byteOffset;Qr({type:"segmenttransmuxingstart",segment:pn}),t.postMessage({action:"push",data:Si,byteOffset:ia,byteLength:o.byteLength},[Si])}xn&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},np=p=>{p.currentTransmux=null,p.transmuxQueue.length&&(p.currentTransmux=p.transmuxQueue.shift(),typeof p.currentTransmux=="function"?p.currentTransmux():rh(p.currentTransmux))},p0=(p,t)=>{p.postMessage({action:t}),np(p)},Dp=(p,t)=>{if(!t.currentTransmux){t.currentTransmux=p,p0(t,p);return}t.transmuxQueue.push(p0.bind(null,t,p))},ip=p=>{Dp("reset",p)},Oc=p=>{Dp("endTimeline",p)},Uf=p=>{if(!p.transmuxer.currentTransmux){p.transmuxer.currentTransmux=p,rh(p);return}p.transmuxer.transmuxQueue.push(p)};var Lp={reset:ip,endTimeline:Oc,transmux:Uf,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 nh=function(p){const t=p.transmuxer,o=p.endAction||p.action,c=p.callback,y=X({},p,{endAction:null,transmuxer:null,callback:null}),A=D=>{D.data.action===o&&(t.removeEventListener("message",A),D.data.data&&(D.data.data=new Uint8Array(D.data.data,p.byteOffset||0,p.byteLength||D.data.data.byteLength),p.data&&(p.data=D.data.data)),c(D.data))};if(t.addEventListener("message",A),p.data){const D=p.data instanceof ArrayBuffer;y.byteOffset=D?0:p.data.byteOffset,y.byteLength=p.data.byteLength;const K=[D?p.data:p.data.buffer];t.postMessage(y,K)}else t.postMessage(y)},Ld={FAILURE:2,TIMEOUT:-101,ABORTED:-102},m0="wvtt",sp=p=>{p.forEach(t=>{t.abort()})},Qd=p=>({bandwidth:p.bandwidth,bytesReceived:p.bytesReceived||0,roundTripTime:p.roundTripTime||0}),_a=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},ap=(p,t)=>{const{requestType:o}=t,c=Yd({requestType:o,request:t,error:p});return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Ld.TIMEOUT,xhr:t,metadata:c}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Ld.ABORTED,xhr:t,metadata:c}:p?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Ld.FAILURE,xhr:t,metadata:c}:t.responseType==="arraybuffer"&&t.response.byteLength===0?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Ld.FAILURE,xhr:t,metadata:c}:null},Ic=(p,t,o,c)=>(y,A)=>{const D=A.response,K=ap(y,A);if(K)return o(K,p);if(D.byteLength!==16)return o({status:A.status,message:"Invalid HLS key at URL: "+A.uri,code:Ld.FAILURE,xhr:A},p);const ue=new DataView(D),Te=new Uint32Array([ue.getUint32(0),ue.getUint32(4),ue.getUint32(8),ue.getUint32(12)]);for(let vt=0;vt<t.length;vt++)t[vt].bytes=Te;const We={uri:A.uri};return c({type:"segmentkeyloadcomplete",segment:p,keyInfo:We}),o(null,p)},g0=(p,t)=>{t===m0&&p.transmuxer.postMessage({action:"initMp4WebVttParser",data:p.map.bytes})},Om=(p,t,o)=>{t===m0&&nh({action:"getMp4WebVttText",data:p.bytes,transmuxer:p.transmuxer,callback:({data:c,mp4VttCues:y})=>{p.bytes=c,o(null,p,{mp4VttCues:y})}})},co=(p,t)=>{const o=Zt(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:Ld.FAILURE,metadata:{mediaType:y}})}nh({action:"probeMp4Tracks",data:p.map.bytes,transmuxer:p.transmuxer,callback:({tracks:c,data:y})=>(p.map.bytes=y,c.forEach(function(A){p.map.tracks=p.map.tracks||{},!p.map.tracks[A.type]&&(p.map.tracks[A.type]=A,typeof A.id=="number"&&A.timescale&&(p.map.timescales=p.map.timescales||{},p.map.timescales[A.id]=A.timescale),A.type==="text"&&g0(p,A.codec))}),t(null))})},Im=({segment:p,finishProcessingFn:t,triggerSegmentEventFn:o})=>(c,y)=>{const A=ap(c,y);if(A)return t(A,p);const D=new Uint8Array(y.response);if(o({type:"segmentloaded",segment:p}),p.map.key)return p.map.encryptedBytes=D,t(null,p);p.map.bytes=D,co(p,function(K){if(K)return K.xhr=y,K.status=y.status,t(K,p);t(null,p)})},v0=({segment:p,finishProcessingFn:t,responseType:o,triggerSegmentEventFn:c})=>(y,A)=>{const D=ap(y,A);if(D)return t(D,p);c({type:"segmentloaded",segment:p});const K=o==="arraybuffer"||!A.responseText?A.response:rp(A.responseText.substring(p.lastReachedChar||0));return p.stats=Qd(A),p.key?p.encryptedBytes=new Uint8Array(K):p.bytes=new Uint8Array(K),t(null,p)},y0=({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})=>{const zr=p.map&&p.map.tracks||{},St=!!(zr.audio&&zr.video);let En=c.bind(null,p,"audio","start");const xn=c.bind(null,p,"audio","end");let pn=c.bind(null,p,"video","start");const Qr=c.bind(null,p,"video","end"),Ln=()=>Uf({bytes:t,transmuxer:p.transmuxer,audioAppendStart:p.audioAppendStart,gopsToAlignWith:p.gopsToAlignWith,remux:St,onData:Cn=>{Cn.type=Cn.type==="combined"?"video":Cn.type,We(p,Cn)},onTrackInfo:Cn=>{o&&(St&&(Cn.isMuxed=!0),o(p,Cn))},onAudioTimingInfo:Cn=>{En&&typeof Cn.start<"u"&&(En(Cn.start),En=null),xn&&typeof Cn.end<"u"&&xn(Cn.end)},onVideoTimingInfo:Cn=>{pn&&typeof Cn.start<"u"&&(pn(Cn.start),pn=null),Qr&&typeof Cn.end<"u"&&Qr(Cn.end)},onVideoSegmentTimingInfo:Cn=>{const pi={pts:{start:Cn.start.presentation,end:Cn.end.presentation},dts:{start:Cn.start.decode,end:Cn.end.decode}};Tr({type:"segmenttransmuxingtiminginfoavailable",segment:p,timingInfo:pi}),y(Cn)},onAudioSegmentTimingInfo:Cn=>{const pi={pts:{start:Cn.start.pts,end:Cn.end.pts},dts:{start:Cn.start.dts,end:Cn.end.dts}};Tr({type:"segmenttransmuxingtiminginfoavailable",segment:p,timingInfo:pi}),A(Cn)},onId3:(Cn,pi)=>{D(p,Cn,pi)},onCaptions:Cn=>{K(p,[Cn])},isEndOfTimeline:ue,onEndedTimeline:()=>{Te()},onTransmuxerLog:er,onDone:(Cn,pi)=>{vt&&(Cn.type=Cn.type==="combined"?"video":Cn.type,Tr({type:"segmenttransmuxingcomplete",segment:p}),vt(pi,p,Cn))},segment:p,triggerSegmentEventFn:Tr});nh({action:"probeTs",transmuxer:p.transmuxer,data:t,baseStartTime:p.baseStartTime,callback:Cn=>{p.bytes=t=Cn.data;const pi=Cn.result;pi&&(o(p,{hasAudio:pi.hasAudio,hasVideo:pi.hasVideo,isMuxed:St}),o=null),Ln()}})},op=({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})=>{let zr=new Uint8Array(t);if(Ft(zr)){p.isFmp4=!0;const{tracks:St}=p.map;if(St.text&&(!St.audio||!St.video)){We(p,{data:zr,type:"text"}),Om(p,St.text.codec,vt);return}const xn={isFmp4:!0,hasVideo:!!St.video,hasAudio:!!St.audio};St.audio&&St.audio.codec&&St.audio.codec!=="enca"&&(xn.audioCodec=St.audio.codec),St.video&&St.video.codec&&St.video.codec!=="encv"&&(xn.videoCodec=St.video.codec),St.video&&St.audio&&(xn.isMuxed=!0),o(p,xn);const pn=(Qr,Ln)=>{We(p,{data:zr,type:xn.hasAudio&&!xn.isMuxed?"audio":"video"}),Ln&&Ln.length&&D(p,Ln),Qr&&Qr.length&&K(p,Qr),vt(null,p,{})};nh({action:"probeMp4StartTime",timescales:p.map.timescales,data:zr,transmuxer:p.transmuxer,callback:({data:Qr,startTime:Ln})=>{t=Qr.buffer,p.bytes=zr=Qr,xn.hasAudio&&!xn.isMuxed&&c(p,"audio","start",Ln),xn.hasVideo&&c(p,"video","start",Ln),nh({action:"probeEmsgID3",data:zr,transmuxer:p.transmuxer,offset:Ln,callback:({emsgData:Cn,id3Frames:pi})=>{if(t=Cn.buffer,p.bytes=zr=Cn,!St.video||!Cn.byteLength||!p.transmuxer){pn(void 0,pi);return}nh({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:p.transmuxer,data:zr,timescales:p.map.timescales,trackIds:[St.video.id],callback:Bn=>{t=Bn.data.buffer,p.bytes=zr=Bn.data,Bn.logs.forEach(function(Si){er(va(Si,{stream:"mp4CaptionParser"}))}),pn(Bn.captions,pi)}})}})}});return}if(!p.transmuxer){vt(null,p,{});return}if(typeof p.container>"u"&&(p.container=Zt(zr)),p.container!=="ts"&&p.container!=="aac"){o(p,{hasAudio:!1,hasVideo:!1}),vt(null,p,{});return}y0({segment:p,bytes:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})},b0=function({id:p,key:t,encryptedBytes:o,decryptionWorker:c,segment:y,doneFn:A},D){const K=Te=>{if(Te.data.source===p){c.removeEventListener("message",K);const We=Te.data.decrypted;D(new Uint8Array(We.bytes,We.byteOffset,We.byteLength))}};c.onerror=()=>{const Te="An error occurred in the decryption worker",We=jf({segment:y}),vt={message:Te,metadata:{error:new Error(Te),errorType:xr.Error.StreamingFailedToDecryptSegment,segmentInfo:We,keyInfo:{uri:y.key.resolvedUri||y.map.key.resolvedUri}}};A(vt,y)},c.addEventListener("message",K);let ue;t.bytes.slice?ue=t.bytes.slice():ue=new Uint32Array(Array.prototype.slice.call(t.bytes)),c.postMessage(Ah({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:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})=>{Tr({type:"segmentdecryptionstart"}),b0({id:t.requestId,key:t.key,encryptedBytes:t.encryptedBytes,decryptionWorker:p,segment:t,doneFn:vt},zr=>{t.bytes=zr,Tr({type:"segmentdecryptioncomplete",segment:t}),op({segment:t,bytes:t.bytes,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})})},Rm=({activeXhrs:p,decryptionWorker:t,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})=>{let zr=0,St=!1;return(En,xn)=>{if(!St){if(En)return St=!0,sp(p),vt(En,xn);if(zr+=1,zr===p.length){const pn=function(){if(xn.encryptedBytes)return Pm({decryptionWorker:t,segment:xn,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr});op({segment:xn,bytes:xn.bytes,trackInfoFn:o,timingInfoFn:c,videoSegmentTimingInfoFn:y,audioSegmentTimingInfoFn:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We,doneFn:vt,onTransmuxerLog:er,triggerSegmentEventFn:Tr})};if(xn.endOfAllRequests=Date.now(),xn.map&&xn.map.encryptedBytes&&!xn.map.bytes)return Tr({type:"segmentdecryptionstart",segment:xn}),b0({decryptionWorker:t,id:xn.requestId+"-init",encryptedBytes:xn.map.encryptedBytes,key:xn.map.key,segment:xn,doneFn:vt},Qr=>{xn.map.bytes=Qr,Tr({type:"segmentdecryptioncomplete",segment:xn}),co(xn,Ln=>{if(Ln)return sp(p),vt(Ln,xn);pn()})});pn()}}}},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:A,id3Fn:D,captionsFn:K,isEndOfTimeline:ue,endedTimelineFn:Te,dataFn:We})=>vt=>{if(!vt.target.aborted)return p.stats=va(p.stats,_a(vt)),!p.stats.firstBytesReceivedAt&&p.stats.bytesReceived&&(p.stats.firstBytesReceivedAt=Date.now()),t(vt,p)},Mm=({xhr:p,xhrOptions:t,decryptionWorker:o,segment:c,abortFn:y,progressFn:A,trackInfoFn:D,timingInfoFn:K,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:We,captionsFn:vt,isEndOfTimeline:er,endedTimelineFn:Tr,dataFn:zr,doneFn:St,onTransmuxerLog:En,triggerSegmentEventFn:xn})=>{const pn=[],Qr=Rm({activeXhrs:pn,decryptionWorker:o,trackInfoFn:D,timingInfoFn:K,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:We,captionsFn:vt,isEndOfTimeline:er,endedTimelineFn:Tr,dataFn:zr,doneFn:St,onTransmuxerLog:En,triggerSegmentEventFn:xn});if(c.key&&!c.key.bytes){const Si=[c.key];c.map&&!c.map.bytes&&c.map.key&&c.map.key.resolvedUri===c.key.resolvedUri&&Si.push(c.map.key);const ia=va(t,{uri:c.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),fo=Ic(c,Si,Qr,xn),Go={uri:c.key.resolvedUri};xn({type:"segmentkeyloadstart",segment:c,keyInfo:Go});const To=p(ia,fo);pn.push(To)}if(c.map&&!c.map.bytes){if(c.map.key&&(!c.key||c.key.resolvedUri!==c.map.key.resolvedUri)){const To=va(t,{uri:c.map.key.resolvedUri,responseType:"arraybuffer",requestType:"segment-key"}),Bs=Ic(c,[c.map.key],Qr,xn),zs={uri:c.map.key.resolvedUri};xn({type:"segmentkeyloadstart",segment:c,keyInfo:zs});const wo=p(To,Bs);pn.push(wo)}const ia=va(t,{uri:c.map.resolvedUri,responseType:"arraybuffer",headers:uc(c.map),requestType:"segment-media-initialization"}),fo=Im({segment:c,finishProcessingFn:Qr,triggerSegmentEventFn:xn});xn({type:"segmentloadstart",segment:c});const Go=p(ia,fo);pn.push(Go)}const Ln=va(t,{uri:c.part&&c.part.resolvedUri||c.resolvedUri,responseType:"arraybuffer",headers:uc(c),requestType:"segment"}),Cn=v0({segment:c,finishProcessingFn:Qr,responseType:Ln.responseType,triggerSegmentEventFn:xn});xn({type:"segmentloadstart",segment:c});const pi=p(Ln,Cn);pi.addEventListener("progress",Lm({segment:c,progressFn:A,trackInfoFn:D,timingInfoFn:K,videoSegmentTimingInfoFn:ue,audioSegmentTimingInfoFn:Te,id3Fn:We,captionsFn:vt,isEndOfTimeline:er,endedTimelineFn:Tr,dataFn:zr})),pn.push(pi);const Bn={};return pn.forEach(Si=>{Si.addEventListener("loadend",Dm({loadendState:Bn,abortFn:y}))}),()=>sp(pn)},up=so("PlaylistSelector"),S0=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||""})},ih=function(p,t){if(!p)return"";const o=R().getComputedStyle(p);return o?o[t]:""},sh=function(p,t){const o=p.slice();p.sort(function(c,y){const A=t(c,y);return A===0?o.indexOf(c)-o.indexOf(y):A})},Mp=function(p,t){let o,c;return p.attributes.BANDWIDTH&&(o=p.attributes.BANDWIDTH),o=o||R().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(c=t.attributes.BANDWIDTH),c=c||R().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||R().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(c=t.attributes.RESOLUTION.width),c=c||R().Number.MAX_VALUE,o===c&&p.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?p.attributes.BANDWIDTH-t.attributes.BANDWIDTH:o-c};let lp=function(p){const{main:t,bandwidth:o,playerWidth:c,playerHeight:y,playerObjectFit:A,limitRenditionByPlayerDimensions:D,playlistController:K}=p;if(!t)return;const ue={bandwidth:o,width:c,height:y,limitRenditionByPlayerDimensions:D};let Te=t.playlists;Sl.isAudioOnly(t)&&(Te=K.getAudioTrackPlaylists_(),ue.audioOnly=!0);let We=Te.map(Bn=>{let Si;const ia=Bn.attributes&&Bn.attributes.RESOLUTION&&Bn.attributes.RESOLUTION.width,fo=Bn.attributes&&Bn.attributes.RESOLUTION&&Bn.attributes.RESOLUTION.height;return Si=Bn.attributes&&Bn.attributes.BANDWIDTH,Si=Si||R().Number.MAX_VALUE,{bandwidth:Si,width:ia,height:fo,playlist:Bn}});sh(We,(Bn,Si)=>Bn.bandwidth-Si.bandwidth),We=We.filter(Bn=>!Sl.isIncompatible(Bn.playlist));let vt=We.filter(Bn=>Sl.isEnabled(Bn.playlist));vt.length||(vt=We.filter(Bn=>!Sl.isDisabled(Bn.playlist)));const er=vt.filter(Bn=>Bn.bandwidth*Vu.BANDWIDTH_VARIANCE<o);let Tr=er[er.length-1];const zr=er.filter(Bn=>Bn.bandwidth===Tr.bandwidth)[0];if(D===!1){const Bn=zr||vt[0]||We[0];if(Bn&&Bn.playlist){let Si="sortedPlaylistReps";return zr&&(Si="bandwidthBestRep"),vt[0]&&(Si="enabledPlaylistReps"),up(`choosing ${S0(Bn)} using ${Si} with options`,ue),Bn.playlist}return up("could not choose a playlist with options",ue),null}const St=er.filter(Bn=>Bn.width&&Bn.height);sh(St,(Bn,Si)=>Bn.width-Si.width);const En=St.filter(Bn=>Bn.width===c&&Bn.height===y);Tr=En[En.length-1];const xn=En.filter(Bn=>Bn.bandwidth===Tr.bandwidth)[0];let pn,Qr,Ln;xn||(pn=St.filter(Bn=>A==="cover"?Bn.width>c&&Bn.height>y:Bn.width>c||Bn.height>y),Qr=pn.filter(Bn=>Bn.width===pn[0].width&&Bn.height===pn[0].height),Tr=Qr[Qr.length-1],Ln=Qr.filter(Bn=>Bn.bandwidth===Tr.bandwidth)[0]);let Cn;if(K.leastPixelDiffSelector){const Bn=St.map(Si=>(Si.pixelDiff=Math.abs(Si.width-c)+Math.abs(Si.height-y),Si));sh(Bn,(Si,ia)=>Si.pixelDiff===ia.pixelDiff?ia.bandwidth-Si.bandwidth:Si.pixelDiff-ia.pixelDiff),Cn=Bn[0]}const pi=Cn||Ln||xn||zr||vt[0]||We[0];if(pi&&pi.playlist){let Bn="sortedPlaylistReps";return Cn?Bn="leastPixelDiffRep":Ln?Bn="resolutionPlusOneRep":xn?Bn="resolutionBestRep":zr?Bn="bandwidthBestRep":vt[0]&&(Bn="enabledPlaylistReps"),up(`choosing ${S0(pi)} using ${Bn} with options`,ue),pi.playlist}return up("could not choose a playlist with options",ue),null};const x0=function(){let p=this.useDevicePixelRatio&&R().devicePixelRatio||1;return isNaN(this.customPixelRatio)||(p=this.customPixelRatio),lp({main:this.playlists.main,bandwidth:this.systemBandwidth,playerWidth:parseInt(ih(this.tech_.el(),"width"),10)*p,playerHeight:parseInt(ih(this.tech_.el(),"height"),10)*p,playerObjectFit:this.usePlayerObjectFit?ih(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&&R().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),lp({main:this.playlists.main,bandwidth:t,playerWidth:parseInt(ih(this.tech_.el(),"width"),10)*c,playerHeight:parseInt(ih(this.tech_.el(),"height"),10)*c,playerObjectFit:this.usePlayerObjectFit?ih(this.tech_.el(),"objectFit"):"",limitRenditionByPlayerDimensions:this.limitRenditionByPlayerDimensions,playlistController:this.playlistController_})}},Nm=function(p){const{main:t,currentTime:o,bandwidth:c,duration:y,segmentDuration:A,timeUntilRebuffer:D,currentTimeline:K,syncController:ue}=p,Te=t.playlists.filter(zr=>!Sl.isIncompatible(zr));let We=Te.filter(Sl.isEnabled);We.length||(We=Te.filter(zr=>!Sl.isDisabled(zr)));const er=We.filter(Sl.hasAttribute.bind(null,"BANDWIDTH")).map(zr=>{const En=ue.getSyncPoint(zr,y,K,o)?1:2,pn=Sl.estimateSegmentRequestTime(A,c,zr)*En-D;return{playlist:zr,rebufferingImpact:pn}}),Tr=er.filter(zr=>zr.rebufferingImpact<=0);return sh(Tr,(zr,St)=>Mp(St.playlist,zr.playlist)),Tr.length?Tr[0]:(sh(er,(zr,St)=>zr.rebufferingImpact-St.rebufferingImpact),er[0]||null)},Fm=function(){const p=this.playlists.main.playlists.filter(Sl.isEnabled);return sh(p,(o,c)=>Mp(o,c)),p.filter(o=>!!kf(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 Gu(p){try{return new URL(p).pathname.split("/").slice(-2).join("/")}catch{return""}}const cc=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 A=t.options_.vhs&&t.options_.vhs.captionServices||{};let D=o,K=o,ue=!1;const Te=A[c];Te&&(D=Te.label,K=Te.language,ue=Te.default),p[o]=t.addRemoteTextTrack({kind:"captions",id:c,default:ue,label:D,language:K},!1).track}}},Um=function({inbandTextTracks:p,captionArray:t,timestampOffset:o}){if(!t)return;const c=R().WebKitDataCue||R().VTTCue;t.forEach(y=>{const A=y.stream;y.content?y.content.forEach(D=>{const K=new c(y.startTime+o,y.endTime+o,D.text);K.line=D.line,K.align="left",K.position=D.position,K.positionAlign="line-left",p[A].addCue(K)}):p[A].addCue(new c(y.startTime+o,y.endTime+o,y.text))})},jm=function(p){Object.defineProperties(p.frame,{id:{get(){return xr.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),p.value.key}},value:{get(){return xr.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),p.value.data}},privateData:{get(){return xr.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=R().WebKitDataCue||R().VTTCue,A=p.metadataTrack_;if(!A||(t.forEach(We=>{const vt=We.cueTime+o;typeof vt!="number"||R().isNaN(vt)||vt<0||!(vt<1/0)||!We.frames||!We.frames.length||We.frames.forEach(er=>{const Tr=new y(vt,vt,er.value||er.url||er.data||"");Tr.frame=er,Tr.value=er,jm(Tr),A.addCue(Tr)})}),!A.cues||!A.cues.length))return;const D=A.cues,K=[];for(let We=0;We<D.length;We++)D[We]&&K.push(D[We]);const ue=K.reduce((We,vt)=>{const er=We[vt.startTime]||[];return er.push(vt),We[vt.startTime]=er,We},{}),Te=Object.keys(ue).sort((We,vt)=>Number(We)-Number(vt));Te.forEach((We,vt)=>{const er=ue[We],Tr=isFinite(c)?c:We,zr=Number(Te[vt+1])||Tr;er.forEach(St=>{St.endTime=zr})})},E0={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=R().WebKitDataCue||R().VTTCue;t.forEach(y=>{for(const A of Object.keys(y)){if($m.has(A))continue;const D=new c(y.startTime,y.endTime,"");D.id=y.id,D.type="com.apple.quicktime.HLS",D.value={key:E0[A],data:y[A]},(A==="scte35Out"||A==="scte35In")&&(D.value.data=new Uint8Array(D.value.data.match(/[\da-f]{2}/gi)).buffer),o.addCue(D)}y.processDateRange()})},T0=(p,t,o)=>{p.metadataTrack_||(p.metadataTrack_=o.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,xr.browser.IS_ANY_SAFARI||(p.metadataTrack_.inBandMetadataTrackDispatchType=t))},ah=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],A=`${y.startTime}-${y.endTime}-${y.text}`;o[A]?p.removeCue(y):o[A]=y}},Vm=(p,t,o)=>{if(typeof t>"u"||t===null||!p.length)return[];const c=Math.ceil((t-o+3)*Rr.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)},w0=(p,t,o,c)=>{const y=Math.ceil((t-c)*Rr.ONE_SECOND_IN_TS),A=Math.ceil((o-c)*Rr.ONE_SECOND_IN_TS),D=p.slice();let K=p.length;for(;K--&&!(p[K].pts<=A););if(K===-1)return D;let ue=K+1;for(;ue--&&!(p[ue].pts<=y););return ue=Math.max(ue,0),D.splice(ue,K-ue+1),D},_0=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 A=o[y];if(A!==c[y]||p[A]!==t[A])return!1}return!0},Km=function(p,t,o){t=t||[];const c=[];let y=0;for(let A=0;A<t.length;A++){const D=t[A];if(p===D.timeline&&(c.push(A),y+=D.duration,y>o))return A}return c.length===0?0:c[c.length-1]},Oh=1,Ym=500,A0=p=>typeof p=="number"&&isFinite(p),Jd=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-Vu.BACK_BUFFER_LENGTH;p.length&&(c=Math.max(c,p.start(0)));const y=t-o;return Math.min(y,c)},oh=p=>{const{startOfSegment:t,duration:o,segment:c,part:y,playlist:{mediaSequence:A,id:D,segments:K=[]},mediaIndex:ue,partIndex:Te,timeline:We}=p,vt=K.length-1;let er="mediaIndex/partIndex increment";p.getMediaInfoForTime?er=`getMediaInfoForTime (${p.getMediaInfoForTime})`:p.isSyncRequest&&(er="getSyncSegmentCandidate (isSyncRequest)"),p.independent&&(er+=` with independent ${p.independent}`);const Tr=typeof Te=="number",zr=p.segment.uri?"segment":"pre-segment",St=Tr?Kf({preloadSegment:c})-1:0;return`${zr} [${A+ue}/${A+vt}]`+(Tr?` part [${Te}/${St}]`:"")+` segment start/end [${c.start} => ${c.end}]`+(Tr?` part start/end [${y.start} => ${y.end}]`:"")+` startOfSegment [${t}] duration [${o}] timeline [${We}] selected by [${er}] playlist [${D}]`},C0=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,cp=({timelineChangeController:p,currentTimeline:t,segmentTimeline:o,loaderType:c,audioDisabled:y})=>{if(t===o)return!1;if(c==="audio"){const A=p.lastTimelineChange({type:"main"});return!A||A.to!==o}if(c==="main"&&y){const A=p.pendingTimelineChange({type:"audio"});return!(A&&A.to===o)}return!1},O0=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},vf=p=>{const t=p.pendingSegment_;if(!t)return;if(cp({timelineChangeController:p.timelineChangeController_,currentTimeline:p.currentTimeline_,segmentTimeline:t.timeline,loaderType:p.loaderType_,audioDisabled:p.audioDisabled_})&&O0(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:A}=c;let D;typeof y=="bigint"||typeof A=="bigint"?D=R().BigInt(A)-R().BigInt(y):typeof y=="number"&&typeof A=="number"&&(D=A-y),typeof D<"u"&&D>t&&(t=D)}),typeof t=="bigint"&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),t},I0=({segmentDuration:p,maxDuration:t})=>p?Math.round(p)>t+tu:!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=I0({segmentDuration:o,maxDuration:c*2}),A=I0({segmentDuration:o,maxDuration:c}),D=`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||A?{severity:y?"warn":"info",message:D}:null},jf=({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 xr.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_=so(`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_():vf(this)}),this.sourceUpdater_.on("codecschange",c=>{this.trigger(X({type:"codecschange"},c))}),this.loaderType_==="main"&&this.timelineChangeController_.on("pendingtimelinechange",()=>{this.hasEnoughInfoToAppend_()?this.processCallQueue_():vf(this)}),this.loaderType_==="audio"&&this.timelineChangeController_.on("timelinechange",c=>{this.trigger(X({type:"timelinechange"},c)),this.hasEnoughInfoToLoad_()?this.processLoadQueue_():vf(this),this.hasEnoughInfoToAppend_()?this.processCallQueue_():vf(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_&&R().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,R().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 jo();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=gf(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=eh(t);let y=this.keyCache_[c];this.cacheEncryptionKeys_&&o&&!y&&t.bytes&&(this.keyCache_[c]=y={resolvedUri:t.resolvedUri,bytes:t.bytes});const A={resolvedUri:(y||t).resolvedUri};return y&&(A.bytes=y.bytes),A}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 A=null;if(c&&(c.id?A=c.id:c.uri&&(A=c.uri)),this.logger_(`playlist update [${A} => ${t.id||t.uri}]`),this.mediaSequenceSync_&&(this.mediaSequenceSync_.update(t,this.currentTime_()),this.logger_(`Playlist update: 982currentTime: ${this.currentTime_()} 983bufferedEnd: ${Ac(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 D=t.mediaSequence-c.mediaSequence;if(this.logger_(`live window shift [${D}]`),this.mediaIndex!==null)if(this.mediaIndex-=D,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{const K=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!K.parts||!K.parts.length||!K.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-=D,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_&&(R().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 A=1;const D=()=>{A--,A===0&&c()};(y||!this.audioDisabled_)&&(A++,this.sourceUpdater_.removeAudio(t,o,D)),(y||this.loaderType_==="main")&&(this.gopBuffer_=w0(this.gopBuffer_,t,o,this.timeMapping_),A++,this.sourceUpdater_.removeVideo(t,o,D));for(const K in this.inbandTextTracks_)ah(t,o,this.inbandTextTracks_[K]);ah(t,o,this.segmentMetadataTrack_),D()}monitorBuffer_(){this.checkBufferTimeout_&&R().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=R().setTimeout(this.monitorBufferTick_.bind(this),1)}monitorBufferTick_(){this.state==="READY"&&this.fillBuffer_(),this.checkBufferTimeout_&&R().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=R().setTimeout(this.monitorBufferTick_.bind(this),Ym)}fillBuffer_(){if(this.sourceUpdater_.updating())return;const t=this.chooseNextRequest_();if(!t)return;const o={segmentInfo:jf({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],A=t+1===o.segments.length,D=!y||!y.parts||c+1===y.parts.length;return o.endList&&this.mediaSource_.readyState==="open"&&A&&D}chooseNextRequest_(){const t=this.buffered_(),o=Ac(t)||0,c=Vd(t,this.currentTime_()),y=!this.hasPlayed_()&&c>=1,A=c>=this.goalBufferLength_(),D=this.playlist_.segments;if(!D.length||y||A)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_(),this.loaderType_);const K={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:!this.syncPoint_};if(K.isSyncRequest)K.mediaIndex=Km(this.currentTimeline_,D,o),this.logger_(`choose next request. Can not find sync point. Fallback to media Index: ${K.mediaIndex}`);else if(this.mediaIndex!==null){const er=D[this.mediaIndex],Tr=typeof this.partIndex=="number"?this.partIndex:-1;K.startOfSegment=er.end?er.end:o,er.parts&&er.parts[Tr+1]?(K.mediaIndex=this.mediaIndex,K.partIndex=Tr+1):K.mediaIndex=this.mediaIndex+1}else{let er,Tr,zr;const St=this.fetchAtBuffer_?o:this.currentTime_();if(this.mediaSequenceSync_&&this.logger_(`chooseNextRequest_ request after Quality Switch: 985For TargetTime: ${St}. 986CurrentTime: ${this.currentTime_()} 987BufferedEnd: ${o} 988Fetch At Buffer: ${this.fetchAtBuffer_} 989`,this.mediaSequenceSync_.diagnostics),this.mediaSequenceSync_&&this.mediaSequenceSync_.isReliable){const En=this.getSyncInfoFromMediaSequenceSync_(St);if(!En){const xn="No sync info found while using media sequence sync";return this.error({message:xn,metadata:{errorType:xr.Error.StreamingFailedToSelectNextSegment,error:new Error(xn)}}),this.logger_("chooseNextRequest_ - no sync info found using media sequence sync"),null}this.logger_(`chooseNextRequest_ mediaSequence syncInfo (${En.start} --> ${En.end})`),er=En.segmentIndex,Tr=En.partIndex,zr=En.start}else{this.logger_("chooseNextRequest_ - fallback to a regular segment selection algorithm, based on a syncPoint.");const En=Sl.getMediaInfoForTime({exactManifestTimings:this.exactManifestTimings,playlist:this.playlist_,currentTime:St,startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time});er=En.segmentIndex,Tr=En.partIndex,zr=En.startTime}K.getMediaInfoForTime=this.fetchAtBuffer_?`bufferedEnd ${St}`:`currentTime ${St}`,K.mediaIndex=er,K.startOfSegment=zr,K.partIndex=Tr,this.logger_(`choose next request. Playlist switched and we have a sync point. Media Index: ${K.mediaIndex} `)}const ue=D[K.mediaIndex];let Te=ue&&typeof K.partIndex=="number"&&ue.parts&&ue.parts[K.partIndex];if(!ue||typeof K.partIndex=="number"&&!Te)return null;typeof K.partIndex!="number"&&ue.parts&&(K.partIndex=0,Te=ue.parts[0]);const We=this.vhs_.playlists&&this.vhs_.playlists.main&&this.vhs_.playlists.main.independentSegments||this.playlist_.independentSegments;if(!c&&Te&&!We&&!Te.independent)if(K.partIndex===0){const er=D[K.mediaIndex-1],Tr=er.parts&&er.parts.length&&er.parts[er.parts.length-1];Tr&&Tr.independent&&(K.mediaIndex-=1,K.partIndex=er.parts.length-1,K.independent="previous segment")}else ue.parts[K.partIndex-1].independent&&(K.partIndex-=1,K.independent="previous part");const vt=this.mediaSource_&&this.mediaSource_.readyState==="ended";return K.mediaIndex>=D.length-1&&vt&&!this.seeking_()?null:(this.shouldForceTimestampOffsetAfterResync_&&(this.shouldForceTimestampOffsetAfterResync_=!1,K.forceTimestampOffset=!0,this.logger_("choose next request. Force timestamp offset after loader resync")),this.generateSegmentInfo_(K))}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:A,isSyncRequest:D,partIndex:K,forceTimestampOffset:ue,getMediaInfoForTime:Te}=t,We=c.segments[y],vt=typeof K=="number"&&We.parts[K],er={requestId:"segment-loader-"+Math.random(),uri:vt&&vt.resolvedUri||We.resolvedUri,mediaIndex:y,partIndex:vt?K:null,isSyncRequest:D,startOfSegment:A,playlist:c,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:We.timeline,duration:vt&&vt.duration||We.duration,segment:We,part:vt,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:Te,independent:o},Tr=typeof ue<"u"?ue:this.isPendingTimestampOffset_;er.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:We.timeline,currentTimeline:this.currentTimeline_,startOfSegment:A,buffered:this.buffered_(),overrideCheck:Tr});const zr=Ac(this.sourceUpdater_.audioBuffered());return typeof zr=="number"&&(er.audioAppendStart=zr-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(er.gopsToAlignWith=Vm(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),er}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,A=Sl.estimateSegmentRequestTime(y,c,this.playlist_,t.bytesReceived),D=Jc(this.buffered_(),o,this.vhs_.tech_.playbackRate())-1;if(A<=D)return;const K=Nm({main:this.vhs_.playlists.main,currentTime:o,bandwidth:c,duration:this.duration_(),segmentDuration:y,timeUntilRebuffer:D,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(!K)return;const Te=A-D-K.rebufferingImpact;let We=.5;D<=tu&&(We=1),!(!K.playlist||K.playlist.uri===this.playlist_.uri||Te<We)&&(this.bandwidth=K.playlist.attributes.BANDWIDTH*Vu.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}handleAbort_(t){this.logger_(`Aborting ${oh(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,A={segmentInfo:jf({type:this.loaderType_,segment:t}),trackInfo:{hasAudio:c,hasVideo:y}};this.trigger({type:"segmenttransmuxingtrackinfoavailable",metadata:A}),this.earlyAbortWhenNeeded_(t.stats),!this.checkForAbort_(t.requestId)&&(this.checkForIllegalMediaSwitch(o)||(o=o||{},_0(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_():vf(this))))}handleTimingInfo_(t,o,c,y){if(this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId))return;const A=this.pendingSegment_,D=C0(o);A[D]=A[D]||{},A[D][c]=y,this.logger_(`timinginfo: ${o} - ${c} - ${y}`),this.hasEnoughInfoToAppend_()?this.processCallQueue_():vf(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(),A={};o.forEach(D=>{A[D.stream]=A[D.stream]||{startTime:1/0,captions:[],endTime:0};const K=A[D.stream];K.startTime=Math.min(K.startTime,D.startTime+y),K.endTime=Math.max(K.endTime,D.endTime+y),K.captions.push(D)}),Object.keys(A).forEach(D=>{const{startTime:K,endTime:ue,captions:Te}=A[D],We=this.inbandTextTracks_;this.logger_(`adding cues from ${K} -> ${ue} for ${D}`),cc(We,this.vhs_.tech_,D),ah(K,ue,We[D]),Um({captionArray:Te,inbandTextTracks:We,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_()?!cp({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:A}=o;return!(y&&!t.videoTimingInfo||c&&!this.audioDisabled_&&!A&&!t.audioTimingInfo||cp({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_()){vf(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[C0(o.type)].start;else{const y=this.getCurrentMediaInfo_(),A=this.loaderType_==="main"&&y&&y.hasVideo;let D;A&&(D=c.videoTimingInfo.start),c.timingInfo.start=this.trueSegmentStart_({currentStart:c.timingInfo.start,playlist:c.playlist,mediaIndex:c.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:A,firstVideoFrameTimeForData:D,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 A=gf(c);if(this.activeInitSegmentId_===A)return null;o=this.initSegmentForMap(c,!0).bytes,this.activeInitSegmentId_=A}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 A=this.sourceUpdater_.audioBuffered(),D=this.sourceUpdater_.videoBuffered();A.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+al(A).join(", ")),D.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+al(D).join(", "));const K=A.length?A.start(0):0,ue=A.length?A.end(A.length-1):0,Te=D.length?D.start(0):0,We=D.length?D.end(D.length-1):0;if(ue-K<=Oh&&We-Te<=Oh){this.logger_(`On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: ${c.byteLength}, audio buffer: ${al(A).join(", ")}, video buffer: ${al(D).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 er=this.currentTime_()-Oh;this.logger_(`On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to ${er}`),this.remove(0,er,()=>{this.logger_(`On QUOTA_EXCEEDED_ERR, retrying append in ${Oh}s`),this.waitingOnRemove_=!1,this.quotaExceededErrorRetryTimeout_=R().setTimeout(()=>{this.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),this.quotaExceededErrorRetryTimeout_=null,this.processCallQueue_()},Oh*1e3)},!0)}handleAppendError_({segmentInfo:t,type:o,bytes:c},y){if(y){if(y.code===Vh){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:xr.Error.StreamingFailedToAppendSegment}}),this.trigger("appenderror")}}appendToSourceBuffer_({segmentInfo:t,type:o,initSegment:c,data:y,bytes:A}){if(!A){const K=[y];let ue=y.byteLength;c&&(K.unshift(c),ue+=c.byteLength),A=Bm({bytes:ue,segments:K})}const D={segmentInfo:jf({type:this.loaderType_,segment:t})};this.trigger({type:"segmentappendstart",metadata:D}),this.sourceUpdater_.appendBuffer({segmentInfo:t,type:o,bytes:A},this.handleAppendError_.bind(this,{segmentInfo:t,type:o,bytes:A}))}handleSegmentTimingInfo_(t,o,c){if(!this.pendingSegment_||o!==this.pendingSegment_.requestId)return;const y=this.pendingSegment_.segment,A=`${t}TimingInfo`;y[A]||(y[A]={}),y[A].transmuxerPrependedSeconds=c.prependedContentDuration||0,y[A].transmuxedPresentationStart=c.start.presentation,y[A].transmuxedDecodeStart=c.start.decode,y[A].transmuxedPresentationEnd=c.end.presentation,y[A].transmuxedDecodeEnd=c.end.decode,y[A].baseMediaDecodeTime=c.baseMediaDecodeTime}appendData_(t,o){const{type:c,data:y}=o;if(!y||!y.byteLength||c==="audio"&&this.audioDisabled_)return;const A=this.getInitSegmentAndUpdateState_({type:c,initSegment:o.initSegment,playlist:t.playlist,map:t.isFmp4?t.segment.map:null});this.appendToSourceBuffer_({segmentInfo:t,type:c,initSegment:A,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_()){vf(this),this.loadQueue_.push(()=>{const o=X({},t,{forceTimestampOffset:!0});X(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,A=t.timeline!==this.currentTimeline_&&t.timeline>0,D=c||y&&A;this.logger_(`Requesting 990${Gu(t.uri)} 991${oh(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:D,endedTimelineFn:()=>{this.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:({message:K,level:ue,stream:Te})=>{this.logger_(`${oh(t)} logged from transmuxer stream ${Te} as a ${ue}: ${K}`)},triggerSegmentEventFn:({type:K,segment:ue,keyInfo:Te,trackInfo:We,timingInfo:vt})=>{const Tr={segmentInfo:jf({segment:ue})};Te&&(Tr.keyInfo=Te),We&&(Tr.trackInfo=We),vt&&(Tr.timingInfo=vt),this.trigger({type:K,metadata:Tr})}})}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,A=t.segment.map&&!t.segment.map.bytes,D={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:A},K=t.playlist.segments[t.mediaIndex-1];if(K&&K.timeline===o.timeline&&(K.videoTimingInfo?D.baseStartTime=K.videoTimingInfo.transmuxedDecodeEnd:K.audioTimingInfo&&(D.baseStartTime=K.audioTimingInfo.transmuxedDecodeEnd)),o.key){const ue=o.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]);D.key=this.segmentKey(o.key),D.key.iv=ue}return o.map&&(D.map=this.initSegmentForMap(o.map)),D}saveTransferStats_(t){this.mediaRequests+=1,t&&(this.mediaBytesTransferred+=t.bytesReceived,this.mediaTransferDuration+=t.roundTripTime)}saveBandwidthRelatedStats_(t,o){if(this.pendingSegment_.byteLength=o.bytesReceived,t<Jd){this.logger_(`Ignoring segment's bandwidth because its duration of ${t} is less than the min to record ${Jd}`);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===Ld.ABORTED)return;if(this.pause(),t.code===Ld.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:A,useVideoTimingInfo:D,videoTimingInfo:K,audioTimingInfo:ue}){if(typeof t<"u")return t;if(!D)return ue.start;const Te=o.segments[c-1];return c===0||!Te||typeof Te.start>"u"||Te.end!==y+A?y:K.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:A}=o,D=this.loaderType_==="main"&&y,K=!this.audioDisabled_&&c&&!A;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}D&&t.waitingOnAppends++,K&&t.waitingOnAppends++,D&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,t)),K&&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:jf({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"?xr.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 ${oh(t)}`);return}this.logger_(`Appended ${oh(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,A=c.end&&this.currentTime_()-c.end>t.playlist.targetDuration*3,D=y&&y.end&&this.currentTime_()-y.end>t.playlist.partTargetDuration*3;if(A||D){this.logger_(`bad ${A?"segment":"part"} ${oh(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<Jd){this.logger_(`Ignoring segment's throughput because its duration of ${t.duration} is less than the min to record ${Jd}`);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(!A0(c)||!A0(y))return;ah(c,y,this.segmentMetadataTrack_);const A=R().WebKitDataCue||R().VTTCue,D={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},K=JSON.stringify(D),ue=new A(c,y,K);ue.value=D,this.segmentMetadataTrack_.addCue(ue)}}function Zd(){}const P0=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},uh=(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(),uh("audio",t),uh("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,uh(p,t);return}}},R0=(p,t)=>{const o=t[`${p}Buffer`],c=P0(p);o&&(o.removeEventListener("updateend",t[`on${c}UpdateEnd_`]),o.removeEventListener("error",t[`on${c}Error_`]),t.codecs[p]=null,t[`${p}Buffer`]=null)},Md=(p,t)=>p&&t&&Array.prototype.indexOf.call(p.sourceBuffers,t)!==-1,Pc={appendBuffer:(p,t,o)=>(c,y)=>{const A=y[`${c}Buffer`];if(Md(y.mediaSource,A)){y.logger_(`Appending segment ${t.mediaIndex}'s ${p.length} bytes to ${c}Buffer`);try{A.appendBuffer(p)}catch(D){y.logger_(`Error with code ${D.code} `+(D.code===Vh?"(QUOTA_EXCEEDED_ERR) ":"")+`when appending segment ${t.mediaIndex} to ${c}Buffer`),y.queuePending[c]=null,o(D)}}},remove:(p,t)=>(o,c)=>{const y=c[`${o}Buffer`];if(Md(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`];Md(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){xr.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){xr.log.warn("Failed to set media source duration",o)}},abort:()=>(p,t)=>{if(t.mediaSource.readyState!=="open")return;const o=t[`${p}Buffer`];if(Md(t.mediaSource,o)){t.logger_(`calling abort on ${p}Buffer`);try{o.abort()}catch(c){xr.log.warn(`Failed to abort on ${p}Buffer`,c)}}},addSourceBuffer:(p,t)=>o=>{const c=P0(p),y=pt(t);o.logger_(`Adding ${p}Buffer with codec ${t} to mediaSource`);const A=o.mediaSource.addSourceBuffer(y);A.addEventListener("updateend",o[`on${c}UpdateEnd_`]),A.addEventListener("error",o[`on${c}Error_`]),o.codecs[p]=t,o[`${p}Buffer`]=A},removeSourceBuffer:p=>t=>{const o=t[`${p}Buffer`];if(R0(p,t),!!Md(t.mediaSource,o)){t.logger_(`Removing ${p}Buffer with codec ${t.codecs[p]} from mediaSource`);try{t.mediaSource.removeSourceBuffer(o)}catch(c){xr.log.warn(`Failed to removeSourceBuffer ${p}Buffer`,c)}}},changeType:p=>(t,o)=>{const c=o[`${t}Buffer`],y=pt(p);if(!Md(o.mediaSource,c))return;const A=p.substring(0,p.indexOf(".")),D=o.codecs[t];if(D.substring(0,D.indexOf("."))===A)return;const ue={codecsChangeInfo:{from:D,to:p}};o.trigger({type:"codecschange",metadata:ue}),o.logger_(`changing ${t}Buffer codec from ${D} to ${p}`);try{c.changeType(y),o.codecs[t]=p}catch(Te){ue.errorType=xr.Error.StreamingCodecsChangeError,ue.error=Te,Te.metadata=ue,o.error_=Te,o.trigger("error"),xr.log.warn(`Failed to changeType on ${t}Buffer`,Te)}}},Rc=({type:p,sourceUpdater:t,action:o,doneFn:c,name:y})=>{t.queue.push({type:p,action:o,doneFn:c,name:y}),uh(p,t)},D0=(p,t)=>o=>{const c=t[`${p}Buffered`](),y=Xc(c);if(t.logger_(`received "updateend" event for ${p} Source Buffer: `,y),t.queuePending[p]){const A=t.queuePending[p].doneFn;t.queuePending[p]=null,A&&A(t[`${p}Error_`])}uh(p,t)};class L0 extends xr.EventTarget{constructor(t){super(),this.mediaSource=t,this.sourceopenListener_=()=>uh("mediaSource",this),this.mediaSource.addEventListener("sourceopen",this.sourceopenListener_),this.logger_=so("SourceUpdater"),this.audioTimestampOffset_=0,this.videoTimestampOffset_=0,this.queue=[],this.queuePending={audio:null,video:null},this.delayedAudioAppendQueue_=[],this.videoAppendQueued_=!1,this.codecs={},this.onVideoUpdateEnd_=D0("video",this),this.onAudioUpdateEnd_=D0("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){Rc({type:"mediaSource",sourceUpdater:this,action:Pc.addSourceBuffer(t,o),name:"addSourceBuffer"})}abort(t){Rc({type:t,sourceUpdater:this,action:Pc.abort(t),name:"abort"})}removeSourceBuffer(t){if(!this.canRemoveSourceBuffer()){xr.log.error("removeSourceBuffer is not supported!");return}Rc({type:"mediaSource",sourceUpdater:this,action:Pc.removeSourceBuffer(t),name:"removeSourceBuffer"})}canRemoveSourceBuffer(){return!xr.browser.IS_FIREFOX&&R().MediaSource&&R().MediaSource.prototype&&typeof R().MediaSource.prototype.removeSourceBuffer=="function"}static canChangeType(){return R().SourceBuffer&&R().SourceBuffer.prototype&&typeof R().SourceBuffer.prototype.changeType=="function"}canChangeType(){return this.constructor.canChangeType()}changeType(t,o){if(!this.canChangeType()){xr.log.error("changeType is not supported!");return}Rc({type:t,sourceUpdater:this,action:Pc.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:A}=t;if(this.processedAppend_=!0,y==="audio"&&this.videoBuffer&&!this.videoAppendQueued_){this.delayedAudioAppendQueue_.push([t,o]),this.logger_(`delayed audio append of ${A.length} until video append`);return}const D=o;if(Rc({type:y,sourceUpdater:this,action:Pc.appendBuffer(A,c||{mediaIndex:-1},D),doneFn:o,name:"appendBuffer"}),y==="video"){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;const K=this.delayedAudioAppendQueue_.slice();this.logger_(`queuing delayed audio ${K.length} appendBuffers`),this.delayedAudioAppendQueue_.length=0,K.forEach(ue=>{this.appendBuffer.apply(this,ue)})}}audioBuffered(){return Md(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:jo()}videoBuffered(){return Md(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:jo()}buffered(){const t=Md(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,o=Md(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return o&&!t?this.audioBuffered():t&&!o?this.videoBuffered():Na(this.audioBuffered(),this.videoBuffered())}setDuration(t,o=Zd){Rc({type:"mediaSource",sourceUpdater:this,action:Pc.duration(t),name:"duration",doneFn:o})}endOfStream(t=null,o=Zd){typeof t!="string"&&(t=void 0),Rc({type:"mediaSource",sourceUpdater:this,action:Pc.endOfStream(t),name:"endOfStream",doneFn:o})}removeAudio(t,o,c=Zd){if(!this.audioBuffered().length||this.audioBuffered().end(0)===0){c();return}Rc({type:"audio",sourceUpdater:this,action:Pc.remove(t,o),doneFn:c,name:"remove"})}removeVideo(t,o,c=Zd){if(!this.videoBuffered().length||this.videoBuffered().end(0)===0){c();return}Rc({type:"video",sourceUpdater:this,action:Pc.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&&(Rc({type:"audio",sourceUpdater:this,action:Pc.timestampOffset(t),name:"timestampOffset"}),this.audioTimestampOffset_=t),this.audioTimestampOffset_}videoTimestampOffset(t){return typeof t<"u"&&this.videoBuffer&&this.videoTimestampOffset_!==t&&(Rc({type:"video",sourceUpdater:this,action:Pc.timestampOffset(t),name:"timestampOffset"}),this.videoTimestampOffset_=t),this.videoTimestampOffset_}audioQueueCallback(t){this.audioBuffer&&Rc({type:"audio",sourceUpdater:this,action:Pc.callback(t),name:"callback"})}videoQueueCallback(t){this.videoBuffer&&Rc({type:"video",sourceUpdater:this,action:Pc.callback(t),name:"callback"})}dispose(){this.trigger("dispose"),tg.forEach(t=>{this.abort(t),this.canRemoveSourceBuffer()?this.removeSourceBuffer(t):this[`${t}QueueCallback`](()=>R0(t,this))}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()}}const M0=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("")},k0=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 jo();const t=this.subtitlesTrack_.cues,o=t[0].startTime,c=t[t.length-1].startTime;return jo([[o,c]])}initSegmentForMap(t,o=!1){if(!t)return null;const c=gf(t);let y=this.initSegments_[c];if(o&&!y&&t.bytes){const A=k0.byteLength+t.bytes.byteLength,D=new Uint8Array(A);D.set(t.bytes),D.set(k0,t.bytes.byteLength),this.initSegments_[c]=y={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:D}}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){ah(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===Ld.TIMEOUT&&this.handleTimeout_(),t.code===Ld.ABORTED?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,this.stopForError(t);return}const y=this.pendingSegment_,A=c.mp4VttCues&&c.mp4VttCues.length;A&&(y.mp4VttCues=c.mp4VttCues),this.saveBandwidthRelatedStats_(y.duration,o.stats),o.key&&this.segmentKey(o.key,!0),this.state="APPENDING",this.trigger("appending");const D=y.segment;if(D.map&&(D.map.bytes=o.map.bytes),y.bytes=o.bytes,typeof R().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}D.requested=!0;try{this.parseVTTCues_(y)}catch(K){this.stopForError({message:K.message,metadata:{errorType:xr.Error.StreamingVttParserError,error:K}});return}if(A||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+=D.duration,y.cues.forEach(K=>{this.subtitlesTrack_.addCue(this.featuresNativeTextTracks_?new(R()).VTTCue(K.startTime,K.endTime,K.text):K)}),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,A=c.end+o,D=new(R()).VTTCue(y,A,c.cueText);c.settings&&c.settings.split(" ").forEach(K=>{const ue=K.split(":"),Te=ue[0],We=ue[1];D[Te]=isNaN(We)?We:Number(We)}),t.cues.push(D)})}parseVTTCues_(t){let o,c=!1;if(typeof R().WebVTT!="function")throw new ig;if(t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},t.mp4VttCues){this.parseMp4VttCues_(t);return}typeof R().TextDecoder=="function"?o=new(R()).TextDecoder("utf8"):(o=R().WebVTT.StringDecoder(),c=!0);const y=new(R()).WebVTT.Parser(R(),R().vttjs,o);if(y.oncue=t.cues.push.bind(t.cues),y.ontimestampmap=D=>{t.timestampmap=D},y.onparsingerror=D=>{xr.log.warn("Error encountered when parsing cues: "+D.message)},t.segment.map){let D=t.segment.map.bytes;c&&(D=M0(D)),y.parse(D)}let A=t.bytes;c&&(A=M0(A)),y.parse(A),y.flush()}updateTimeMapping_(t,o,c){const y=t.segment;if(!o)return;if(!t.cues.length){y.empty=!0;return}const{MPEGTS:A,LOCAL:D}=t.timestampmap,ue=A/Rr.ONE_SECOND_IN_TS-D+o.mapping;if(t.cues.forEach(Te=>{const We=Te.endTime-Te.startTime,vt=this.handleRollover_(Te.startTime+ue,o.time);Te.startTime=Math.max(vt,0),Te.endTime=Math.max(vt+We,0)}),!c.syncInfo){const Te=t.cues[0].startTime,We=t.cues[t.cues.length-1].startTime;c.syncInfo={mediaSequence:c.mediaSequence+t.mediaIndex,time:Math.min(Te,We-y.duration)}}}handleRollover_(t,o){if(o===null)return t;let c=t*Rr.ONE_SECOND_IN_TS;const y=o*Rr.ONE_SECOND_IN_TS;let A;for(y<c?A=-8589934592:A=8589934592;Math.abs(c-y)>4294967296;)c+=A;return c/Rr.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 A=0;A<p.segments.length;A++){const D=p.segments[A];if(y||(y=ag(t,c+D.duration/2)),y){if("cueIn"in D){y.endTime=c,y.adEndTime=c,c+=D.duration,y=null;continue}if(c<y.endTime){c+=D.duration;continue}y.endTime+=D.duration}else if("cueOut"in D&&(y=new(R()).VTTCue(c,c+D.duration,D.cueOut),y.adStartTime=c,y.adEndTime=c+parseFloat(D.cueOut),t.addCue(y)),"cueOutCont"in D){const[K,ue]=D.cueOutCont.split("/").map(parseFloat);y=new(R()).VTTCue(c,c+D.duration,""),y.adStartTime=c-K,y.adEndTime=y.adStartTime+ue,t.addCue(y)}c+=D.duration}};class Up{constructor({start:t,end:o,segmentIndex:c,partIndex:y=null,appended:A=!1}){this.start_=t,this.end_=o,this.segmentIndex_=c,this.partIndex_=y,this.appended_=A}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 N0{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 F0{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 A=` 994`,D=c,K=o;this.start_=D,t.forEach((ue,Te)=>{const We=this.storage_.get(K),vt=D,er=vt+ue.duration,Tr=!!(We&&We.segmentSyncInfo&&We.segmentSyncInfo.isAppended),zr=new Up({start:vt,end:er,appended:Tr,segmentIndex:Te});ue.syncInfo=zr;let St=D;const En=(ue.parts||[]).map((xn,pn)=>{const Qr=St,Ln=St+xn.duration,Cn=!!(We&&We.partsSyncInfo&&We.partsSyncInfo[pn]&&We.partsSyncInfo[pn].isAppended),pi=new Up({start:Qr,end:Ln,appended:Cn,segmentIndex:Te,partIndex:pn});return St=Ln,A+=`Media Sequence: ${K}.${pn} | Range: ${Qr} --> ${Ln} | Appended: ${Cn} 995`,xn.syncInfo=pi,pi});y.set(K,new N0(zr,En)),A+=`${Gu(ue.resolvedUri)} | Media Sequence: ${K} | Range: ${vt} --> ${er} | Appended: ${Tr} 996`,K++,D=er}),this.end_=D,this.storage_=y,this.diagnostics_=A}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 A=y-t;let D=this.storage_.get(y).segmentSyncInfo.start;for(let K=0;K<A;K++){const ue=o[K];D-=ue.duration}return D}return c}isReliablePlaylist_(t,o){return t!=null&&Array.isArray(o)&&o.length}}class B0 extends F0{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,Ih=[{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,A)=>{const D=p.getMediaSequenceSync(A);if(!D||!D.isReliable)return null;const K=D.getSyncInfoForTime(y);return K?{time:K.start,partIndex:K.partIndex,segmentIndex:K.segmentIndex}:null}},{name:"ProgramDateTime",run:(p,t,o,c,y)=>{if(!Object.keys(p.timelineToDatetimeMappings).length)return null;let A=null,D=null;const K=Gf(t);y=y||0;for(let ue=0;ue<K.length;ue++){const Te=t.endList||y===0?ue:K.length-(ue+1),We=K[Te],vt=We.segment,er=p.timelineToDatetimeMappings[vt.timeline];if(!er||!vt.dateTimeObject)continue;let zr=vt.dateTimeObject.getTime()/1e3+er;if(vt.parts&&typeof We.partIndex=="number")for(let En=0;En<We.partIndex;En++)zr+=vt.parts[En].duration;const St=Math.abs(y-zr);if(D!==null&&(St===0||D<St))break;D=St,A={time:zr,segmentIndex:We.segmentIndex,partIndex:We.partIndex}}return A}},{name:"Segment",run:(p,t,o,c,y)=>{let A=null,D=null;y=y||0;const K=Gf(t);for(let ue=0;ue<K.length;ue++){const Te=t.endList||y===0?ue:K.length-(ue+1),We=K[Te],vt=We.segment,er=We.part&&We.part.start||vt&&vt.start;if(vt.timeline===c&&typeof er<"u"){const Tr=Math.abs(y-er);if(D!==null&&D<Tr)break;(!A||D===null||D>=Tr)&&(D=Tr,A={time:er,segmentIndex:We.segmentIndex,partIndex:We.partIndex})}}return A}},{name:"Discontinuity",run:(p,t,o,c,y)=>{let A=null;if(y=y||0,t.discontinuityStarts&&t.discontinuityStarts.length){let D=null;for(let K=0;K<t.discontinuityStarts.length;K++){const ue=t.discontinuityStarts[K],Te=t.discontinuitySequence+K+1,We=p.discontinuities[Te];if(We){const vt=Math.abs(y-We.time);if(D!==null&&D<vt)break;(!A||D===null||D>=vt)&&(D=vt,A={time:We.time,segmentIndex:ue,partIndex:null})}}}return A}},{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 xr.EventTarget{constructor(t={}){super(),this.timelines=[],this.discontinuities=[],this.timelineToDatetimeMappings={};const o=new F0,c=new B0(o),y=new B0(o);this.mediaSequenceStorage_={main:o,audio:c,vtt:y},this.logger_=so("SyncController")}getMediaSequenceSync(t){return this.mediaSequenceStorage_[t]||null}getSyncPoint(t,o,c,y,A){if(o!==1/0)return Ih.find(({name:ue})=>ue==="VOD").run(this,t,o);const D=this.runStrategies_(t,o,c,y,A);if(!D.length)return null;for(const K of D){const{syncPoint:ue,strategy:Te}=K,{segmentIndex:We,time:vt}=ue;if(We<0)continue;const er=t.segments[We],Tr=vt,zr=Tr+er.duration;if(this.logger_(`Strategy: ${Te}. Current time: ${y}. selected segment: ${We}. Time: [${Tr} -> ${zr}]}`),y>=Tr&&y<zr)return this.logger_("Found sync point with exact match: ",ue),ue}return this.selectSyncPoint_(D,{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+Gd({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:y.segmentIndex,endIndex:0}))}runStrategies_(t,o,c,y,A){const D=[];for(let K=0;K<Ih.length;K++){const ue=Ih[K],Te=ue.run(this,t,o,c,y,A);Te&&(Te.strategy=ue.name,D.push({strategy:ue.name,syncPoint:Te}))}return D}selectSyncPoint_(t,o){let c=t[0].syncPoint,y=Math.abs(t[0].syncPoint[o.key]-o.value),A=t[0].strategy;for(let D=1;D<t.length;D++){const K=Math.abs(t[D].syncPoint[o.key]-o.value);K<y&&(y=K,c=t[D].syncPoint,A=t[D].strategy)}return this.logger_(`syncPoint for [${o.key}: ${o.value}] chosen with strategy [${A}]: [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){xr.log.warn(`Not saving expired segment info. Media sequence gap ${c} is too large.`);return}for(let y=c-1;y>=0;y--){const A=t.segments[y];if(A&&typeof A.start<"u"){o.syncInfo={mediaSequence:t.mediaSequence+y,time:A.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 A=y.dateTimeObject;y.discontinuity&&o&&A&&(this.timelineToDatetimeMappings[y.timeline]=-(A.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,A=t.part;let D=this.timelines[t.timeline],K,ue;if(typeof t.timestampOffset=="number")D={time:t.startOfSegment,mapping:t.startOfSegment-o.start},c&&(this.timelines[t.timeline]=D,this.trigger("timestampoffset"),this.logger_(`time mapping for timeline ${t.timeline}: [time: ${D.time}] [mapping: ${D.mapping}]`)),K=t.startOfSegment,ue=o.end+D.mapping;else if(D)K=o.start+D.mapping,ue=o.end+D.mapping;else return!1;return A&&(A.start=K,A.end=ue),(!y.start||K<y.start)&&(y.start=K),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 A=o.discontinuityStarts[y],D=o.discontinuitySequence+y+1,K=A-t.mediaIndex,ue=Math.abs(K);if(!this.discontinuities[D]||this.discontinuities[D].accuracy>ue){let Te;K<0?Te=c.start-Gd({defaultDuration:o.targetDuration,durationList:o.segments,startIndex:t.mediaIndex,endIndex:A}):Te=c.end+Gd({defaultDuration:o.targetDuration,durationList:o.segments,startIndex:t.mediaIndex+1,endIndex:A}),this.discontinuities[D]={time:Te,accuracy:ue}}}}dispose(){this.trigger("dispose"),this.off()}}class lg extends xr.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=d0(f0(function(){var p=(function(){function St(){this.listeners={}}var En=St.prototype;return En.on=function(pn,Qr){this.listeners[pn]||(this.listeners[pn]=[]),this.listeners[pn].push(Qr)},En.off=function(pn,Qr){if(!this.listeners[pn])return!1;var Ln=this.listeners[pn].indexOf(Qr);return this.listeners[pn]=this.listeners[pn].slice(0),this.listeners[pn].splice(Ln,1),Ln>-1},En.trigger=function(pn){var Qr=this.listeners[pn];if(Qr)if(arguments.length===2)for(var Ln=Qr.length,Cn=0;Cn<Ln;++Cn)Qr[Cn].call(this,arguments[1]);else for(var pi=Array.prototype.slice.call(arguments,1),Bn=Qr.length,Si=0;Si<Bn;++Si)Qr[Si].apply(this,pi)},En.dispose=function(){this.listeners={}},En.pipe=function(pn){this.on("data",function(Qr){pn.push(Qr)})},St})();/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */function t(St){return St.subarray(0,St.byteLength-St[St.byteLength-1])}/*! @name aes-decrypter @version 4.0.2 @license Apache-2.0 */const o=function(){const St=[[[],[],[],[],[]],[[],[],[],[],[]]],En=St[0],xn=St[1],pn=En[4],Qr=xn[4];let Ln,Cn,pi;const Bn=[],Si=[];let ia,fo,Go,To,Bs,zs;for(Ln=0;Ln<256;Ln++)Si[(Bn[Ln]=Ln<<1^(Ln>>7)*283)^Ln]=Ln;for(Cn=pi=0;!pn[Cn];Cn^=ia||1,pi=Si[pi]||1)for(To=pi^pi<<1^pi<<2^pi<<3^pi<<4,To=To>>8^To&255^99,pn[Cn]=To,Qr[To]=Cn,Go=Bn[fo=Bn[ia=Bn[Cn]]],zs=Go*16843009^fo*65537^ia*257^Cn*16843008,Bs=Bn[To]*257^To*16843008,Ln=0;Ln<4;Ln++)En[Ln][Cn]=Bs=Bs<<24^Bs>>>8,xn[Ln][To]=zs=zs<<24^zs>>>8;for(Ln=0;Ln<5;Ln++)En[Ln]=En[Ln].slice(0),xn[Ln]=xn[Ln].slice(0);return St};let c=null;class y{constructor(En){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 xn,pn,Qr;const Ln=this._tables[0][4],Cn=this._tables[1],pi=En.length;let Bn=1;if(pi!==4&&pi!==6&&pi!==8)throw new Error("Invalid aes key size");const Si=En.slice(0),ia=[];for(this._key=[Si,ia],xn=pi;xn<4*pi+28;xn++)Qr=Si[xn-1],(xn%pi===0||pi===8&&xn%pi===4)&&(Qr=Ln[Qr>>>24]<<24^Ln[Qr>>16&255]<<16^Ln[Qr>>8&255]<<8^Ln[Qr&255],xn%pi===0&&(Qr=Qr<<8^Qr>>>24^Bn<<24,Bn=Bn<<1^(Bn>>7)*283)),Si[xn]=Si[xn-pi]^Qr;for(pn=0;xn;pn++,xn--)Qr=Si[pn&3?xn:xn-4],xn<=4||pn<4?ia[pn]=Qr:ia[pn]=Cn[0][Ln[Qr>>>24]]^Cn[1][Ln[Qr>>16&255]]^Cn[2][Ln[Qr>>8&255]]^Cn[3][Ln[Qr&255]]}decrypt(En,xn,pn,Qr,Ln,Cn){const pi=this._key[1];let Bn=En^pi[0],Si=Qr^pi[1],ia=pn^pi[2],fo=xn^pi[3],Go,To,Bs;const zs=pi.length/4-2;let wo,yo=4;const ol=this._tables[1],Kl=ol[0],Nd=ol[1],ed=ol[2],Fd=ol[3],Bd=ol[4];for(wo=0;wo<zs;wo++)Go=Kl[Bn>>>24]^Nd[Si>>16&255]^ed[ia>>8&255]^Fd[fo&255]^pi[yo],To=Kl[Si>>>24]^Nd[ia>>16&255]^ed[fo>>8&255]^Fd[Bn&255]^pi[yo+1],Bs=Kl[ia>>>24]^Nd[fo>>16&255]^ed[Bn>>8&255]^Fd[Si&255]^pi[yo+2],fo=Kl[fo>>>24]^Nd[Bn>>16&255]^ed[Si>>8&255]^Fd[ia&255]^pi[yo+3],yo+=4,Bn=Go,Si=To,ia=Bs;for(wo=0;wo<4;wo++)Ln[(3&-wo)+Cn]=Bd[Bn>>>24]<<24^Bd[Si>>16&255]<<16^Bd[ia>>8&255]<<8^Bd[fo&255]^pi[yo++],Go=Bn,Bn=Si,Si=ia,ia=fo,fo=Go}}class A 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(En){this.jobs.push(En),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}const D=function(St){return St<<24|(St&65280)<<8|(St&16711680)>>8|St>>>24},K=function(St,En,xn){const pn=new Int32Array(St.buffer,St.byteOffset,St.byteLength>>2),Qr=new y(Array.prototype.slice.call(En)),Ln=new Uint8Array(St.byteLength),Cn=new Int32Array(Ln.buffer);let pi,Bn,Si,ia,fo,Go,To,Bs,zs;for(pi=xn[0],Bn=xn[1],Si=xn[2],ia=xn[3],zs=0;zs<pn.length;zs+=4)fo=D(pn[zs]),Go=D(pn[zs+1]),To=D(pn[zs+2]),Bs=D(pn[zs+3]),Qr.decrypt(fo,Go,To,Bs,Cn,zs),Cn[zs]=D(Cn[zs]^pi),Cn[zs+1]=D(Cn[zs+1]^Bn),Cn[zs+2]=D(Cn[zs+2]^Si),Cn[zs+3]=D(Cn[zs+3]^ia),pi=fo,Bn=Go,Si=To,ia=Bs;return Ln};class ue{constructor(En,xn,pn,Qr){const Ln=ue.STEP,Cn=new Int32Array(En.buffer),pi=new Uint8Array(En.byteLength);let Bn=0;for(this.asyncStream_=new A,this.asyncStream_.push(this.decryptChunk_(Cn.subarray(Bn,Bn+Ln),xn,pn,pi)),Bn=Ln;Bn<Cn.length;Bn+=Ln)pn=new Uint32Array([D(Cn[Bn-4]),D(Cn[Bn-3]),D(Cn[Bn-2]),D(Cn[Bn-1])]),this.asyncStream_.push(this.decryptChunk_(Cn.subarray(Bn,Bn+Ln),xn,pn,pi));this.asyncStream_.push(function(){Qr(null,t(pi))})}static get STEP(){return 32e3}decryptChunk_(En,xn,pn,Qr){return function(){const Ln=K(En,xn,pn);Qr.set(Ln,En.byteOffset)}}}var Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},We;typeof window<"u"?We=window:typeof Te<"u"?We=Te:typeof self<"u"?We=self:We={};var vt=We,er=function(En){return ArrayBuffer.isView==="function"?ArrayBuffer.isView(En):En&&En.buffer instanceof ArrayBuffer},Tr=vt.BigInt||Number;Tr("0x1"),Tr("0x100"),Tr("0x10000"),Tr("0x1000000"),Tr("0x100000000"),Tr("0x10000000000"),Tr("0x1000000000000"),Tr("0x100000000000000"),Tr("0x10000000000000000"),(function(){var St=new Uint16Array([65484]),En=new Uint8Array(St.buffer,St.byteOffset,St.byteLength);return En[0]===255?"big":En[0]===204?"little":"unknown"})();const zr=function(St){const En={};return Object.keys(St).forEach(xn=>{const pn=St[xn];er(pn)?En[xn]={bytes:pn.buffer,byteOffset:pn.byteOffset,byteLength:pn.byteLength}:En[xn]=pn}),En};self.onmessage=function(St){const En=St.data,xn=new Uint8Array(En.encrypted.bytes,En.encrypted.byteOffset,En.encrypted.byteLength),pn=new Uint32Array(En.key.bytes,En.key.byteOffset,En.key.byteLength/4),Qr=new Uint32Array(En.iv.bytes,En.iv.byteOffset,En.iv.byteLength/4);new ue(xn,pn,Qr,function(Ln,Cn){self.postMessage(zr({source:En.source,decrypted:Cn}),[Cn.buffer])})}}));var dc=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},U0=(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,A=y.activeTrack(),D=y.getActiveGroup(),K=y.activePlaylistLoader,ue=y.lastGroup_;if(!(D&&ue&&D.id===ue.id)&&(y.lastGroup_=D,y.lastTrack_=A,U0(o,y),!(!D||D.isMainPlaylist))){if(!D.playlistLoader){K&&c.resetEverything();return}o.resyncLoader(),zp(D.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]:A}}=t,D=A.activeTrack(),K=A.getActiveGroup(),ue=A.activePlaylistLoader,Te=A.lastTrack_;if(!(Te&&D&&Te.id===D.id)&&(A.lastGroup_=K,A.lastTrack_=D,U0(c,A),!!K)){if(K.isMainPlaylist){if(!D||!Te||D.id===Te.id)return;const We=t.vhs.playlistController_,vt=We.selectPlaylist();if(We.media()===vt)return;A.logger_(`track change. Switching main audio from ${Te.id} to ${D.id}`),o.pause(),y.resetEverything(),We.fastQualityChange_(vt);return}if(p==="AUDIO"){if(!K.playlistLoader){y.setAudio(!0),y.resetEverything();return}c.setAudio(!0),y.setAudio(!1)}if(ue===K.playlistLoader){zp(K.playlistLoader,A);return}c.track&&c.track(D),c.resetEverything(),zp(K.playlistLoader,A)}},dp={AUDIO:(p,t)=>()=>{const{mediaTypes:{[p]:o},excludePlaylist:c}=t,y=o.activeTrack(),A=o.activeGroup(),D=(A.filter(ue=>ue.default)[0]||A[0]).id,K=o.tracks[D];if(y===K){c({error:{message:"Problem encountered loading the default audio track."}});return}xr.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]===K;o.onTrackChanged()},SUBTITLES:(p,t)=>()=>{const{mediaTypes:{[p]:o}}=t;xr.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track.");const c=o.activeTrack();c&&(c.mode="disabled"),o.onTrackChanged()}},fp={AUDIO:(p,t,o)=>{if(!t)return;const{tech:c,requestOptions:y,segmentLoaders:{[p]:A}}=o;t.on("loadedmetadata",()=>{const D=t.media();A.playlist(D,y),(!c.paused()||D.endList&&c.preload()!=="none")&&A.load()}),t.on("loadedplaylist",()=>{A.playlist(t.media(),y),c.paused()||A.load()}),t.on("error",dp[p](p,o))},SUBTITLES:(p,t,o)=>{const{tech:c,requestOptions:y,segmentLoaders:{[p]:A},mediaTypes:{[p]:D}}=o;t.on("loadedmetadata",()=>{const K=t.media();A.playlist(K,y),A.track(D.activeTrack()),(!c.paused()||K.endList&&c.preload()!=="none")&&A.load()}),t.on("loadedplaylist",()=>{A.playlist(t.media(),y),c.paused()||A.load()}),t.on("error",dp[p](p,o))}},hg={AUDIO:(p,t)=>{const{vhs:o,sourceType:c,segmentLoaders:{[p]:y},requestOptions:A,main:{mediaGroups:D},mediaTypes:{[p]:{groups:K,tracks:ue,logger_:Te}},mainPlaylistLoader:We}=t,vt=Lf(We.main);(!D[p]||Object.keys(D[p]).length===0)&&(D[p]={main:{default:{default:!0}}},vt&&(D[p].main.default.playlists=We.main.playlists));for(const er in D[p]){K[er]||(K[er]=[]);for(const Tr in D[p][er]){let zr=D[p][er][Tr],St;if(vt?(Te(`AUDIO group '${er}' label '${Tr}' is a main playlist`),zr.isMainPlaylist=!0,St=null):c==="vhs-json"&&zr.playlists?St=new pf(zr.playlists[0],o,A):zr.resolvedUri?St=new pf(zr.resolvedUri,o,A):zr.playlists&&c==="dash"?St=new md(zr.playlists[0],o,A,We):St=null,zr=va({id:Tr,playlistLoader:St},zr),fp[p](p,zr.playlistLoader,t),K[er].push(zr),typeof ue[Tr]>"u"){const En=new xr.AudioTrack({id:Tr,kind:jp(zr),enabled:!1,language:zr.language,default:zr.default,label:Tr});ue[Tr]=En}}}y.on("error",dp[p](p,t))},SUBTITLES:(p,t)=>{const{tech:o,vhs:c,sourceType:y,segmentLoaders:{[p]:A},requestOptions:D,main:{mediaGroups:K},mediaTypes:{[p]:{groups:ue,tracks:Te}},mainPlaylistLoader:We}=t;for(const vt in K[p]){ue[vt]||(ue[vt]=[]);for(const er in K[p][vt]){if(!c.options_.useForcedSubtitles&&K[p][vt][er].forced)continue;let Tr=K[p][vt][er],zr;if(y==="hls")zr=new pf(Tr.resolvedUri,c,D);else if(y==="dash"){if(!Tr.playlists.filter(En=>En.excludeUntil!==1/0).length)return;zr=new md(Tr.playlists[0],c,D,We)}else y==="vhs-json"&&(zr=new pf(Tr.playlists?Tr.playlists[0]:Tr.resolvedUri,c,D));if(Tr=va({id:er,playlistLoader:zr},Tr),fp[p](p,Tr.playlistLoader,t),ue[vt].push(Tr),typeof Te[er]>"u"){const St=o.addRemoteTextTrack({id:er,kind:"subtitles",default:Tr.default&&Tr.autoselect,language:Tr.language,label:er},!1).track;Te[er]=St}}}A.on("error",dp[p](p,t))},"CLOSED-CAPTIONS":(p,t)=>{const{tech:o,main:{mediaGroups:c},mediaTypes:{[p]:{groups:y,tracks:A}}}=t;for(const D in c[p]){y[D]||(y[D]=[]);for(const K in c[p][D]){const ue=c[p][D][K];if(!/^(?:CC|SERVICE)/.test(ue.instreamId))continue;const Te=o.options_.vhs&&o.options_.vhs.captionServices||{};let We={label:K,language:ue.language,instreamId:ue.instreamId,default:ue.default&&ue.autoselect};if(Te[We.instreamId]&&(We=va(We,Te[We.instreamId])),We.default===void 0&&delete We.default,y[D].push(va({id:K},ue)),typeof A[K]>"u"){const vt=o.addRemoteTextTrack({id:We.instreamId,kind:"captions",default:We.default,language:We.language,label:We.label},!1).track;A[K]=vt}}}}},j0=(p,t)=>{for(let o=0;o<p.length;o++)if(Xf(t,p[o])||p[o].playlists&&j0(p[o].playlists,t))return!0;return!1},pg=(p,t)=>o=>{const{mainPlaylistLoader:c,mediaTypes:{[p]:{groups:y}}}=t,A=c.media();if(!A)return null;let D=null;A.attributes[p]&&(D=y[A.attributes[p]]);const K=Object.keys(y);if(!D)if(p==="AUDIO"&&K.length>1&&Lf(t.main))for(let ue=0;ue<K.length;ue++){const Te=y[K[ue]];if(j0(Te,A)){D=Te;break}}else y.main?D=y.main:K.length===1&&(D=y[K[0]]);return typeof o>"u"?D:o===null||!D?null:D.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}},z0=(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"]:A,main:D}}=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=z0(Te,p)});const K=t.AUDIO.activeGroup();if(K){const Te=(K.filter(vt=>vt.default)[0]||K[0]).id;t.AUDIO.tracks[Te].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(D.setAudio(!1),A.setAudio(!0)):D.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:Zd,activeTrack:Zd,getActiveGroup:Zd,onGroupChanged:Zd,onTrackChanged:Zd,lastTrack_:null,logger_:so(`MediaGroups[${t}]`)}}),p};class $0{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_=Xa(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 xr.EventTarget{constructor(t,o){super(),this.currentPathway=null,this.defaultPathway=null,this.queryBeforeStart=!1,this.availablePathways_=new Set,this.steeringManifest=new $0,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_=so("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}, cannot request steering manifest.`),this.trigger("error");return}if(c.startsWith("data:")){this.decodeDataUriManifest_(c.substring(c.indexOf(",")+1));return}this.steeringManifest.reloadUri=Xa(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"},(A,D)=>{if(A){if(D.status===410){this.logger_(`manifest request 410 ${A}.`),this.logger_(`There will be no more content steering requests to ${c} this session.`),this.excludedSteeringManifestURLs.add(c);return}if(D.status===429){const Te=D.responseHeaders["retry-after"];this.logger_(`manifest request 429 ${A}.`),this.logger_(`content steering will retry in ${Te} seconds.`),this.startTTLTimeout_(parseInt(Te,10));return}this.logger_(`manifest failed to load ${A}.`),this.startTTLTimeout_();return}this.trigger({type:"contentsteeringloadcomplete",metadata:y});let K;try{K=JSON.parse(this.request_.responseText)}catch(Te){const We={errorType:xr.Error.StreamingContentSteeringParserError,error:Te};this.trigger({type:"error",metadata:We})}this.assignSteeringProperties_(K);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(R()).URL(t),c=new(R()).URL(this.proxyServerUrl_);return c.searchParams.set("url",encodeURI(o.toString())),this.setSteeringParams_(c.toString())}decodeDataUriManifest_(t){const o=JSON.parse(R().atob(t));this.assignSteeringProperties_(o)}setSteeringParams_(t){const o=new(R()).URL(t),c=this.getPathway(),y=this.getBandwidth_();if(c){const A=`_${this.manifestType_}_pathway`;o.searchParams.set(A,c)}if(y){const A=`_${this.manifestType_}_throughput`;o.searchParams.set(A,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 A of y)if(this.availablePathways_.has(A))return A;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_=R().setTimeout(()=>{this.requestSteeringManifest()},o)}clearTTLTimeout_(){R().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 $0}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&&(Xa(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 qd;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:A,duration:D,bufferBasedABR:K,log:ue}){if(!c)return xr.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 We=!!Rl(t,o).length;if(!p.endList)return!We&&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 vt=Vd(t,o),er=K?Vu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Vu.MAX_BUFFER_LOW_WATER_LINE;if(D<er)return ue(`${Te} as duration < max low water line (${D} < ${er})`),!0;const Tr=c.attributes.BANDWIDTH,zr=p.attributes.BANDWIDTH;if(Tr<zr&&(!K||vt<A)){let St=`${Te} as next bandwidth < current bandwidth (${Tr} < ${zr})`;return K&&(St+=` and forwardBuffer < bufferHighWaterLine (${vt} < ${A})`),ue(St),!0}if((!K||Tr>zr)&&vt>=y){let St=`${Te} as forwardBuffer >= bufferLowWaterLine (${vt} >= ${y})`;return K&&(St+=` and next bandwidth > current bandwidth (${Tr} > ${zr})`),ue(St),!0}return ue(`not ${Te} as no switching criteria met`),!1};class Eg extends xr.EventTarget{constructor(t){super(),this.fastQualityChange_=Wp(this.fastQualityChange_.bind(this),100);const{src:o,withCredentials:c,tech:y,bandwidth:A,externVhs:D,useCueTags:K,playlistExclusionDuration:ue,enableLowInitialPlaylist:Te,sourceType:We,cacheEncryptionKeys:vt,bufferBasedABR:er,leastPixelDiffSelector:Tr,captionServices:zr,experimentalUseMMS:St}=t;if(!o)throw new Error("A non-empty playlist URL or JSON manifest string is required");let{maxPlaylistRetries:En}=t;(En===null||typeof En>"u")&&(En=1/0),qd=D,this.bufferBasedABR=!!er,this.leastPixelDiffSelector=!!Tr,this.withCredentials=c,this.tech_=y,this.vhs_=y.vhs,this.player_=t.player_,this.sourceType_=We,this.useCueTags_=K,this.playlistExclusionDuration=ue,this.maxPlaylistRetries=En,this.enableLowInitialPlaylist=Te,this.usingManagedMediaSource_=!1,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:c,maxPlaylistRetries:En,timeout:null},this.on("error",this.pauseLoading),this.mediaTypes_=vg(),St&&R().ManagedMediaSource?(this.tech_.el_.disableRemotePlayback=!0,this.mediaSource=new(R()).ManagedMediaSource,this.usingManagedMediaSource_=!0,xr.log("Using ManagedMediaSource")):R().MediaSource&&(this.mediaSource=new(R()).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_=jo(),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 dc,this.sourceUpdater_=new L0(this.mediaSource),this.inbandTextTracks_={},this.timelineChangeController_=new lg,this.keyStatusMap_=new Map;const xn={vhs:this.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:zr,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:A,syncController:this.syncController_,decrypter:this.decrypter_,sourceType:this.sourceType_,inbandTextTracks:this.inbandTextTracks_,cacheEncryptionKeys:vt,sourceUpdater:this.sourceUpdater_,timelineChangeController:this.timelineChangeController_,exactManifestTimings:t.exactManifestTimings,addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)};this.mainPlaylistLoader_=this.sourceType_==="dash"?new md(o,this.vhs_,va(this.requestOptions_,{addMetadataToTextTrack:this.addMetadataToTextTrack.bind(this)})):new pf(o,this.vhs_,va(this.requestOptions_,{addDateRangesToTextTrack:this.addDateRangesToTextTrack_.bind(this)})),this.setupMainPlaylistLoaderListeners_(),this.mainSegmentLoader_=new Np(va(xn,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),t),this.audioSegmentLoader_=new Np(va(xn,{loaderType:"audio"}),t),this.subtitleSegmentLoader_=new sg(va(xn,{loaderType:"vtt",featuresNativeTextTracks:this.tech_.featuresNativeTextTracks,loadVttJs:()=>new Promise((Ln,Cn)=>{function pi(){y.off("vttjserror",Bn),Ln()}function Bn(){y.off("vttjsloaded",pi),Cn()}y.one("vttjsloaded",pi),y.one("vttjserror",Bn),y.addWebVttScript_()})}),t);const pn=()=>this.mainSegmentLoader_.bandwidth;this.contentSteeringController_=new Hp(this.vhs_.xhr,pn),this.setupSegmentLoaderListeners_(),this.bufferBasedABR&&(this.mainPlaylistLoader_.one("loadedplaylist",()=>this.startABRTimer_()),this.tech_.on("pause",()=>this.stopABRTimer_()),this.tech_.on("play",()=>this.startABRTimer_())),bg.forEach(Ln=>{this[Ln+"_"]=Sg.bind(this,Ln)}),this.logger_=so("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 Qr=this.tech_.preload()==="none"?"play":"loadstart";this.tech_.one(Qr,()=>{const Ln=Date.now();this.tech_.one("loadeddata",()=>{this.timeToLoadedData__=Date.now()-Ln,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(),A=y&&(y.id||y.uri),D=t&&(t.id||t.uri);if(A&&A!==D){this.logger_(`switch media ${A} -> ${D} from ${o}`);const K={renditionInfo:{id:D,bandwidth:t.attributes.BANDWIDTH,resolution:t.attributes.RESOLUTION,codecs:t.attributes.CODECS},cause:o};this.trigger({type:"renditionselected",metadata:K}),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 D=(c.length?c[0].playlists:c.playlists).filter(K=>K.attributes.serviceLocation===y);D.length&&this.mediaTypes_[t].activePlaylistLoader.media(D[0])}})}startABRTimer_(){this.stopABRTimer_(),this.abrTimer_=R().setInterval(()=>this.checkABR_(),250)}stopABRTimer_(){this.tech_.scrubbing&&this.tech_.scrubbing()||(R().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 A;if(Object.keys(this.mediaTypes_.AUDIO.groups).length)A=this.mediaTypes_.AUDIO.activeTrack();else{const K=c.main||y.length&&c[y[0]];for(const ue in K)if(K[ue].default){A={label:ue};break}}if(!A)return o;const D=[];for(const K in c)if(c[K][A.label]){const ue=c[K][A.label];if(ue.playlists&&ue.playlists.length)D.push.apply(D,ue.playlists);else if(ue.uri)D.push(ue);else if(t.playlists.length)for(let Te=0;Te<t.playlists.length;Te++){const We=t.playlists[Te];We.attributes&&We.attributes.AUDIO&&We.attributes.AUDIO===K&&D.push(We)}}return D.length?D:o}setupMainPlaylistLoaderListeners_(){this.mainPlaylistLoader_.on("loadedmetadata",()=>{const o=this.mainPlaylistLoader_.media(),c=o.targetDuration*1.5*1e3;Df(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;Df(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(X({},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 A=Object.keys(c.AUDIO);for(const D in c.AUDIO)for(const K in c.AUDIO[D])c.AUDIO[D][K].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"}),qd.Playlist.isAes(o)&&this.tech_.trigger({type:"usage",name:"vhs-aes"}),A.length&&Object.keys(c.AUDIO[A[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(),A=this.bufferHighWaterLine(),D=this.tech_.buffered();return xg({buffered:D,currentTime:c,currentPlaylist:o,nextPlaylist:t,bufferLowWaterLine:y,bufferHighWaterLine:A,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(X({},y))}),this.audioSegmentLoader_.on(c,y=>{this.player_.trigger(X({},y))}),this.subtitleSegmentLoader_.on(c,y=>{this.player_.trigger(X({},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 A=t.start.timeOffset;if(A<0){const D=this.mainPlaylistLoader_.main,K=qd.Playlist.liveEdgeDelay(D,t),ue=c+K;y=Math.max(Math.min(ue+A,c),o.start(0))}else y=Math.min(c,A)}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=qd.Playlist.playlistEnd(t,c),A=this.tech_.currentTime(),D=this.tech_.buffered();if(!D.length)return y-A<=Pl;const K=D.end(D.length-1);return K-A<=Pl&&y-K<=Pl}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,A=y.filter(Yf),D=A.length===1&&A[0]===t;if(y.length===1&&c!==1/0)return xr.log.warn(`Problem encountered with playlist ${t.id}. Trying again since it is the only playlist.`),this.tech_.trigger("retryplaylist"),this.mainPlaylistLoader_.load(D);if(D){if(this.main().contentSteering){const zr=this.pathwayAttribute_(t),St=this.contentSteeringController_.steeringManifest.ttl*1e3;this.contentSteeringController_.excludePathway(zr),this.excludeThenChangePathway_(),setTimeout(()=>{this.contentSteeringController_.addAvailablePathway(zr)},St);return}let Tr=!1;y.forEach(zr=>{if(zr===t)return;const St=zr.excludeUntil;typeof St<"u"&&St!==1/0&&(Tr=!0,delete zr.excludeUntil)}),Tr&&(xr.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}let K;t.playlistErrors_>this.maxPlaylistRetries?K=1/0:K=Date.now()+c*1e3,t.excludeUntil=K,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_:xr.log.warn,We=o.message?" "+o.message:"";Te(`${o.internal?"Internal problem":"Problem"} encountered with playlist ${t.id}.${We} 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 vt=ue.targetDuration/2*1e3||5*1e3,er=typeof ue.lastRequest=="number"&&Date.now()-ue.lastRequest<=vt;return this.switchMedia_(ue,"exclude",D||er)}pauseLoading(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()}delegateLoaders_(t,o){const c=[],y=t==="all";(y||t==="main")&&c.push(this.mainPlaylistLoader_);const A=[];(y||t==="audio")&&A.push("AUDIO"),(y||t==="subtitle")&&(A.push("CLOSED-CAPTIONS"),A.push("SUBTITLES")),A.forEach(D=>{const K=this.mediaTypes_[D]&&this.mediaTypes_[D].activePlaylistLoader;K&&c.push(K)}),["main","audio","subtitle"].forEach(D=>{const K=this[`${D}SegmentLoader_`];K&&(t===D||t==="all")&&c.push(K)}),c.forEach(D=>o.forEach(K=>{typeof D[K]=="function"&&D[K]()}))}setCurrentTime(t){const o=Rl(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:qd.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 K=y.start,ue=y.end;if(!isFinite(K)||!isFinite(ue))return null;const Te=qd.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,c),We=Math.max(K,ue-Te);return jo([[K,We]])}const A=this.syncController_.getExpiredTime(c,this.duration());if(A===null)return null;const D=qd.Playlist.seekable(c,A,qd.Playlist.liveEdgeDelay(this.mainPlaylistLoader_.main,c));return D.length?D:null}computeFinalSeekable_(t,o){if(!o)return t;const c=t.start(0),y=t.end(0),A=o.start(0),D=o.end(0);return A>y||c>D?t:jo([[Math.max(c,A),Math.min(y,D)]])}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 [${wu(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=qd.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=kf(this.main(),o),y={},A=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(y.video=c.video||t.main.videoCodec||Sr),t.main.isMuxed&&(y.video+=`,${c.audio||t.main.audioCodec||Dr}`),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||A)&&(y.audio=c.audio||t.main.audioCodec||t.audio.audioCodec||Dr,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 D=(Te,We)=>Te?et(We,this.usingManagedMediaSource_):wr(We),K={};let ue;if(["video","audio"].forEach(function(Te){if(y.hasOwnProperty(Te)&&!D(t[Te].isFmp4,y[Te])){const We=t[Te].isFmp4?"browser":"muxer";K[We]=K[We]||[],K[We].push(y[Te]),Te==="audio"&&(ue=We)}}),A&&ue&&o.attributes.AUDIO){const Te=o.attributes.AUDIO;this.main().playlists.forEach(We=>{(We.attributes&&We.attributes.AUDIO)===Te&&We!==o&&(We.excludeUntil=1/0)}),this.logger_(`excluding audio group ${Te} as ${ue} does not support codec(s): "${y.audio}"`)}if(Object.keys(K).length){const Te=Object.keys(K).reduce((We,vt)=>(We&&(We+=", "),We+=`${vt} does not support codec(s): "${K[vt].join(",")}"`,We),"")+".";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(We=>{const vt=(yr(this.sourceUpdater_.codecs[We]||"")[0]||{}).type,er=(yr(y[We]||"")[0]||{}).type;vt&&er&&vt.toLowerCase()!==er.toLowerCase()&&Te.push(`"${this.sourceUpdater_.codecs[We]}" -> "${y[We]}"`)}),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 A=kf(this.main,y),D=[];A.audio&&!wr(A.audio)&&!et(A.audio,this.usingManagedMediaSource_)&&D.push(`audio codec ${A.audio}`),A.video&&!wr(A.video)&&!et(A.video,this.usingManagedMediaSource_)&&D.push(`video codec ${A.video}`),A.text&&A.text==="stpp.ttml.im1t"&&D.push(`text codec ${A.text}`),D.length&&(y.excludeUntil=1/0,this.logger_(`excluding ${y.id} for unsupported: ${D.join(", ")}`))})}excludeIncompatibleVariants_(t){const o=[],c=this.main().playlists,y=Mf(yr(t)),A=Yh(y),D=y.video&&yr(y.video)[0]||null,K=y.audio&&yr(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 We=[],vt=kf(this.mainPlaylistLoader_.main,Te),er=Yh(vt);if(!(!vt.audio&&!vt.video)){if(er!==A&&We.push(`codec count "${er}" !== "${A}"`),!this.sourceUpdater_.canChangeType()){const Tr=vt.video&&yr(vt.video)[0]||null,zr=vt.audio&&yr(vt.audio)[0]||null;Tr&&D&&Tr.type.toLowerCase()!==D.type.toLowerCase()&&We.push(`video codec "${Tr.type}" !== "${D.type}"`),zr&&K&&zr.type.toLowerCase()!==K.type.toLowerCase()&&We.push(`audio codec "${zr.type}" !== "${K.type}"`)}We.length&&(Te.excludeUntil=1/0,this.logger_(`excluding ${Te.id}: ${We.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=Vu.GOAL_BUFFER_LENGTH,c=Vu.GOAL_BUFFER_LENGTH_RATE,y=Math.max(o,Vu.MAX_GOAL_BUFFER_LENGTH);return Math.min(o+t*c,y)}bufferLowWaterLine(){const t=this.tech_.currentTime(),o=Vu.BUFFER_LOW_WATER_LINE,c=Vu.BUFFER_LOW_WATER_LINE_RATE,y=Math.max(o,Vu.MAX_BUFFER_LOW_WATER_LINE),A=Math.max(o,Vu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(o+t*c,this.bufferBasedABR?A:y)}bufferHighWaterLine(){return Vu.BUFFER_HIGH_WATER_LINE}addDateRangesToTextTrack_(t){T0(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();T0(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(X({},c))})}),this.sourceType_==="dash"&&this.mainPlaylistLoader_.on("loadedplaylist",()=>{const o=this.main();(this.contentSteeringController_.didDASHTagChange(o.uri,o.contentSteering)||(()=>{const A=this.contentSteeringController_.getAvailablePathways(),D=[];for(const K of o.playlists){const ue=K.attributes.serviceLocation;if(ue&&(D.push(ue),!A.has(ue)))return!0}return!!(!D.length&&A.size)})())&&this.resetContentSteeringController_()})}excludeThenChangePathway_(){const t=this.contentSteeringController_.getPathway();if(!t)return;this.handlePathwayClones_();const c=this.main().playlists,y=new Set;let A=!1;Object.keys(c).forEach(D=>{const K=c[D],ue=this.pathwayAttribute_(K),Te=ue&&t!==ue;K.excludeUntil===1/0&&K.lastExcludeReason_==="content-steering"&&!Te&&(delete K.excludeUntil,delete K.lastExcludeReason_,A=!0);const vt=!K.excludeUntil&&K.excludeUntil!==1/0;!y.has(K.id)&&Te&&vt&&(y.add(K.id),K.excludeUntil=1/0,K.lastExcludeReason_="content-steering",this.logger_(`excluding ${K.id} for ${K.lastExcludeReason_}`))}),this.contentSteeringController_.manifestType_==="DASH"&&Object.keys(this.mediaTypes_).forEach(D=>{const K=this.mediaTypes_[D];if(K.activePlaylistLoader){const ue=K.activePlaylistLoader.media_;ue&&ue.attributes.serviceLocation!==t&&(A=!0)}}),A&&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[D,K]of c.entries())y.get(D)||(this.mainPlaylistLoader_.updateOrDeleteClone(K),this.contentSteeringController_.excludePathway(D));for(const[D,K]of y.entries()){const ue=c.get(D);if(!ue){o.filter(We=>We.attributes["PATHWAY-ID"]===K["BASE-ID"]).forEach(We=>{this.mainPlaylistLoader_.addClonePathway(K,We)}),this.contentSteeringController_.addAvailablePathway(D);continue}this.equalPathwayClones_(ue,K)||(this.mainPlaylistLoader_.updateOrDeleteClone(K,!0),this.contentSteeringController_.addAvailablePathway(D))}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 A in c)if(c[A]!==y[A])return!1;for(const A in y)if(c[A]!==y[A])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(A=>{const D="usable",K=this.keyStatusMap_.has(A)&&this.keyStatusMap_.get(A)===D,ue=c.lastExcludeReason_===o&&c.excludeUntil===1/0;K?K&&ue&&(delete c.excludeUntil,delete c.lastExcludeReason_,this.logger_(`enabling playlist ${c.id} because key ID ${A} is ${D}`)):(c.excludeUntil!==1/0&&c.lastExcludeReason_!==o&&(c.excludeUntil=1/0,c.lastExcludeReason_=o,this.logger_(`excluding playlist ${c.id} because the key ID ${A} doesn't exist in the keyStatusMap or is not ${D}`)),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,A=c.excludeUntil===1/0&&c.lastExcludeReason_===o;y&&A&&(delete c.excludeUntil,xr.log.warn(`enabling non-HD playlist ${c.id} because all playlists were excluded due to ${o} key IDs`))})}addKeyStatus_(t,o){const A=(typeof t=="string"?t:ng(t)).slice(0,32).toLowerCase();this.logger_(`KeyStatus '${o}' with key ID ${A} added to the keyStatusMap`),this.keyStatusMap_.set(A,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],A=Rf(y),D=Yf(y);if(typeof c>"u")return D;c?delete y.disabled:y.disabled=!0;const K={renditionInfo:{id:t,bandwidth:y.attributes.BANDWIDTH,resolution:y.attributes.RESOLUTION,codecs:y.attributes.CODECS},cause:"fast-quality"};return c!==D&&!A&&(c?(o(y),p.trigger({type:"renditionenabled",metadata:K})):p.trigger({type:"renditiondisabled",metadata:K})),c};class wg{constructor(t,o,c){const{playlistController_:y}=t,A=y.fastQualityChange_.bind(y);if(o.attributes){const D=o.attributes.RESOLUTION;this.width=D&&D.width,this.height=D&&D.height,this.bandwidth=o.attributes.BANDWIDTH,this.frameRate=o.attributes["FRAME-RATE"]}this.codecs=kf(y.main(),o),this.playlist=o,this.id=c,this.enabled=Tg(t.playlists,o.id,A)}}const _g=function(p){p.representations=()=>{const t=p.playlistController_.main(),o=Lf(t)?p.playlistController_.getAudioTrackPlaylists_():t.playlists;return o?o.filter(c=>!Rf(c)).map((c,y)=>new wg(p,c,c.id)):[]}},H0=["seeking","seeked","pause","playing","error"];class Ag extends xr.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_=so("PlaybackWatcher"),this.logger_("initialize");const o=()=>this.monitorCurrentTime_(),c=()=>this.monitorCurrentTime_(),y=()=>this.techWaiting_(),A=()=>this.resetTimeUpdate_(),D=this.playlistController_,K=["main","subtitle","audio"],ue={};K.forEach(We=>{ue[We]={reset:()=>this.resetSegmentDownloads_(We),updateend:()=>this.checkSegmentDownloads_(We)},D[`${We}SegmentLoader_`].on("appendsdone",ue[We].updateend),D[`${We}SegmentLoader_`].on("playlistupdate",ue[We].reset),this.tech_.on(["seeked","seeking"],ue[We].reset)});const Te=We=>{["main","audio"].forEach(vt=>{D[`${vt}SegmentLoader_`][We]("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(H0,A),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(H0,A),this.tech_.off("canplay",c),this.tech_.off("play",o),this.tech_.off("seeking",this.watchForBadSeeking_),this.tech_.off("seeked",this.clearSeekingAppendCheck_),K.forEach(We=>{D[`${We}SegmentLoader_`].off("appendsdone",ue[We].updateend),D[`${We}SegmentLoader_`].off("playlistupdate",ue[We].reset),this.tech_.off(["seeked","seeking"],ue[We].reset)}),this.checkCurrentTimeTimeout_&&R().clearTimeout(this.checkCurrentTimeTimeout_),this.resetTimeUpdate_()}}monitorCurrentTime_(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&R().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=R().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_(),A=Mo(this[`${t}Buffered_`],y);if(this[`${t}Buffered_`]=y,A){const D={bufferedRanges:y};o.trigger({type:"bufferedrangeschanged",metadata:D}),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:al(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+Pl>=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(jo([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 A;if(y&&(A=o.end(o.length-1)),this.beforeSeekableWindow_(o,c)){const zr=o.start(0);A=zr+(zr===o.end(0)?0:Pl)}if(typeof A<"u")return this.logger_(`Trying to seek outside of seekable at time ${c} with seekable range ${wu(o)}. Seeking to ${A}.`),this.tech_.setCurrentTime(A),!0;const D=this.playlistController_.sourceUpdater_,K=this.tech_.buffered(),ue=D.audioBuffer?D.audioBuffered():null,Te=D.videoBuffer?D.videoBuffered():null,We=this.media(),vt=We.partTargetDuration?We.partTargetDuration:(We.targetDuration-tu)*2,er=[ue,Te];for(let zr=0;zr<er.length;zr++){if(!er[zr])continue;if(Vd(er[zr],c)<vt)return!1}const Tr=Qc(K,c);return Tr.length===0?!1:(A=Tr.start(0)+Pl,this.logger_(`Buffered region starts (${Tr.start(0)}) just beyond seek point (${c}). Seeking to ${A}.`),this.tech_.setCurrentTime(A),!0)}waiting_(){if(this.techWaiting_())return;const t=this.tech_.currentTime(),o=this.tech_.buffered(),c=Rl(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 K=t.end(t.length-1);return this.logger_(`Fell out of live window at time ${o}. Seeking to live point (seekable end) ${K}`),this.resetTimeUpdate_(),this.tech_.setCurrentTime(K),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 D=Qc(y,o);return D.length>0?(this.logger_(`Stopped at ${o} and seeking to ${D.start(0)}`),this.resetTimeUpdate_(),this.skipTheGap_(o),!0):!1}afterSeekableWindow_(t,o,c,y=!1){if(!t.length)return!1;let A=t.end(t.length-1)+Pl;const D=!c.endList,K=typeof c.partTargetDuration=="number";return D&&(K||y)&&(A=t.end(t.length-1)+c.targetDuration*3),o>A}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 A=Rl(t,c-3),D=Rl(t,c),K=Rl(o,c);K.length&&!D.length&&A.length&&(y={start:A.end(0),end:K.end(0)})}else Qc(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=Qc(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)+tu);const A={gapInfo:{from:c,to:y.start(0)}};this.playlistController_.trigger({type:"gapjumped",metadata:A}),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"})}gapFromVideoUnderflow_(t,o){const c=Rd(t);for(let y=0;y<c.length;y++){const A=c.start(y),D=c.end(y);if(o-A<4&&o-A>2)return{start:A,end:D}}return null}}const Cg={errorInterval:30,getSource(p){const o=this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource();return p(o)}},W0=function(p,t){let o=0,c=0;const y=va(Cg,t);p.ready(()=>{p.trigger({type:"usage",name:"vhs-error-reload-initialized"})});const A=function(){c&&p.currentTime(c)},D=function(We){We!=null&&(c=p.duration()!==1/0&&p.currentTime()||0,p.one("loadedmetadata",A),p.src(We),p.trigger({type:"usage",name:"vhs-error-reload"}),p.play())},K=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"){xr.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!");return}return o=Date.now(),y.getSource.call(p,D)},ue=function(){p.off("loadedmetadata",A),p.off("error",K),p.off("dispose",ue)},Te=function(We){ue(),W0(p,We)};p.on("error",K),p.on("dispose",ue),p.reloadSourceOnError=Te},Og=function(p){W0(this,p)};var V0="3.17.3",Ig="7.1.0",Pg="1.3.1",Rg="7.2.0",Dg="4.0.2";const ru={PlaylistLoader:pf,Playlist:Sl,utils:qh,STANDARD_PLAYLIST_SELECTOR:x0,INITIAL_PLAYLIST_SELECTOR:Fm,lastBandwidthSelector:x0,movingAverageBandwidthSelector:kp,comparePlaylistBandwidth:Mp,comparePlaylistResolution:km,xhr:wp()};Object.keys(Vu).forEach(p=>{Object.defineProperty(ru,p,{get(){return xr.log.warn(`using Vhs.${p} is UNSAFE be sure you know what you are doing`),Vu[p]},set(t){if(xr.log.warn(`using Vhs.${p} is UNSAFE be sure you know what you are doing`),typeof t!="number"||t<0){xr.log.warn(`value of Vhs.${p} must be greater than or equal to 0`);return}Vu[p]=t}})});const G0="videojs-vhs",x=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"})},I=function(p,t){t.representations().forEach(o=>{p.addQualityLevel(o)}),x(p,t.playlists)};ru.canPlaySource=function(){return xr.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")};const Z=(p,t,o)=>{if(!p)return p;let c={};t&&t.attributes&&t.attributes.CODECS&&(c=Mf(yr(t.attributes.CODECS))),o&&o.attributes&&o.attributes.CODECS&&(c.audio=o.attributes.CODECS);const y=pt(c.video),A=pt(c.audio),D={};for(const K in p)D[K]={},A&&(D[K].audioContentType=A),y&&(D[K].videoContentType=y),t.contentProtection&&t.contentProtection[K]&&t.contentProtection[K].pssh&&(D[K].pssh=t.contentProtection[K].pssh),typeof p[K]=="string"&&(D[K].url=p[K]);return va(p,D)},_e=(p,t)=>p.reduce((o,c)=>{if(!c.contentProtection)return o;const y=t.reduce((A,D)=>{const K=c.contentProtection[D];return K&&K.pssh&&(A[D]={pssh:K.pssh}),A},{});return Object.keys(y).length&&o.push(y),o},[]),tt=({player:p,sourceKeySystems:t,audioMedia:o,mainPlaylists:c})=>{if(!p.eme.initializeMediaKeys)return Promise.resolve();const y=o?c.concat([o]):c,A=_e(y,Object.keys(t)),D=[],K=[];return A.forEach(ue=>{K.push(new Promise((Te,We)=>{p.tech_.one("keysessioncreated",Te)})),D.push(new Promise((Te,We)=>{p.eme.initializeMediaKeys({keySystems:ue},vt=>{if(vt){We(vt);return}Te()})}))}),Promise.race([Promise.all(D),Promise.race(K)])},Et=({player:p,sourceKeySystems:t,media:o,audioMedia:c})=>{const y=Z(t,o,c);return y?(p.currentSource().keySystems=y,y&&!p.eme?(xr.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1):!0):!1},rr=()=>{if(!R().localStorage)return null;const p=R().localStorage.getItem(G0);if(!p)return null;try{return JSON.parse(p)}catch{return null}},Pr=p=>{if(!R().localStorage)return!1;let t=rr();t=t?va(t,p):p;try{R().localStorage.setItem(G0,JSON.stringify(t))}catch{return!1}return t},Zr=p=>p.toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")===0?JSON.parse(p.substring(p.indexOf(",")+1)):p,Xn=(p,t)=>{p._requestCallbackSet||(p._requestCallbackSet=new Set),p._requestCallbackSet.add(t)},Qn=(p,t)=>{p._responseCallbackSet||(p._responseCallbackSet=new Set),p._responseCallbackSet.add(t)},li=(p,t)=>{p._requestCallbackSet&&(p._requestCallbackSet.delete(t),p._requestCallbackSet.size||delete p._requestCallbackSet)},ns=(p,t)=>{p._responseCallbackSet&&(p._responseCallbackSet.delete(t),p._responseCallbackSet.size||delete p._responseCallbackSet)};ru.supportsNativeHls=(function(){if(!M()||!M().createElement)return!1;const p=M().createElement("video");return xr.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})(),ru.supportsNativeDash=(function(){return!M()||!M().createElement||!xr.getTech("Html5").isSupported()?!1:/maybe|probably/i.test(M().createElement("video").canPlayType("application/dash+xml"))})(),ru.supportsTypeNatively=p=>p==="hls"?ru.supportsNativeHls:p==="dash"?ru.supportsNativeDash:!1,ru.isSupported=function(){return xr.log.warn("VHS is no longer a tech. Please remove it from your player's techOrder.")},ru.xhr.onRequest=function(p){Xn(ru.xhr,p)},ru.xhr.onResponse=function(p){Qn(ru.xhr,p)},ru.xhr.offRequest=function(p){li(ru.xhr,p)},ru.xhr.offResponse=function(p){ns(ru.xhr,p)};const Ns=xr.getComponent("Component");class ea extends Ns{constructor(t,o,c){if(super(o,c.vhs),typeof c.initialBandwidth=="number"&&(this.options_.bandwidth=c.initialBandwidth),this.logger_=so("VhsHandler"),o.options_&&o.options_.playerId){const y=xr.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(M(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],y=>{const A=M().fullscreenElement||M().webkitFullscreenElement||M().mozFullScreenElement||M().msFullscreenElement;A&&A.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_=va(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=rr();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=Vu.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Vu.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=Zr(this.source_.src),this.options_.tech=this.tech_,this.options_.externVhs=ru,this.options_.sourceType=Sn(o),this.options_.seekTo=A=>{this.tech_.setCurrentTime(A)},this.options_.player_=this.player_,this.playlistController_=new Eg(this.options_);const c=va({liveRangeSafeTimeDelta:Pl},this.options_,{seekable:()=>this.seekable(),media:()=>this.playlistController_.media(),playlistController:this.playlistController_});this.playbackWatcher_=new Ag(c),this.attachStreamingEventListeners_(),this.playlistController_.on("error",()=>{const A=xr.players[this.tech_.options_.playerId];let D=this.playlistController_.error;typeof D=="object"&&!D.code?D.code=3:typeof D=="string"&&(D={message:D,code:3}),A.error(D)});const y=this.options_.bufferBasedABR?ru.movingAverageBandwidthSelector(.55):ru.STANDARD_PLAYLIST_SELECTOR;this.playlistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):y.bind(this),this.playlistController_.selectInitialPlaylist=ru.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(A){this.playlistController_.selectPlaylist=A.bind(this)}},throughput:{get(){return this.playlistController_.mainSegmentLoader_.throughput.rate},set(A){this.playlistController_.mainSegmentLoader_.throughput.rate=A,this.playlistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get(){let A=this.playlistController_.mainSegmentLoader_.bandwidth;const D=R().navigator.connection||R().navigator.mozConnection||R().navigator.webkitConnection,K=1e7;if(this.options_.useNetworkInformationApi&&D){const ue=D.downlink*1e3*1e3;ue>=K&&A>=K?A=Math.max(A,ue):A=ue}return A},set(A){this.playlistController_.mainSegmentLoader_.bandwidth=A,this.playlistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get(){const A=1/(this.bandwidth||1);let D;return this.throughput>0?D=1/this.throughput:D=0,Math.floor(1/(A+D))},set(){xr.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:()=>al(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:()=>al(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&&Pr({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_=R().URL.createObjectURL(this.playlistController_.mediaSource),(xr.browser.IS_ANY_SAFARI||xr.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"),tt({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=Et({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=xr.players[this.tech_.options_.playerId];!t||!t.qualityLevels||this.qualityLevels_||(this.qualityLevels_=t.qualityLevels(),this.playlistController_.on("selectedinitialmedia",()=>{I(this.qualityLevels_,this)}),this.playlists.on("mediachange",()=>{x(this.qualityLevels_,this.playlists)}))}static version(){return{"@videojs/http-streaming":V0,"mux.js":Ig,"mpd-parser":Pg,"m3u8-parser":Rg,"aes-decrypter":Dg}}version(){return this.constructor.version()}canChangeType(){return L0.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_&&R().URL.revokeObjectURL&&(R().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),super.dispose()}convertToProgramTime(t,o){return ya({playlist:this.playlistController_.media(),time:t,callback:o})}seekToProgramTime(t,o,c=!0,y=2){return P({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=>{Xn(this.xhr,t)},this.xhr.onResponse=t=>{Qn(this.xhr,t)},this.xhr.offRequest=t=>{li(this.xhr,t)},this.xhr.offResponse=t=>{ns(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(X({},y))})}),o.forEach(c=>{this.playbackWatcher_.on(c,y=>{this.player_.trigger(X({},y))})})}}const xa={name:"videojs-http-streaming",VERSION:V0,canHandleSource(p,t={}){const o=va(xr.options,t);return!o.vhs.experimentalUseMMS&&!et("avc1.4d400d,mp4a.40.2",!1)?!1:xa.canPlayType(p.type,o)},handleSource(p,t,o={}){const c=va(xr.options,o);return t.vhs=new ea(p,t,c),t.vhs.xhr=wp(),t.vhs.setupXhrHooks_(),t.vhs.src(p.src,p.type),t.vhs},canPlayType(p,t){const o=Sn(p);if(!o)return"";const c=xa.getOverrideNative(t);return!ru.supportsTypeNatively(o)||c?"maybe":""},getOverrideNative(p={}){const{vhs:t={}}=p,o=!(xr.browser.IS_ANY_SAFARI||xr.browser.IS_IOS),{overrideNative:c=o}=t;return c}};et("avc1.4d400d,mp4a.40.2",!0)&&xr.getTech("Html5").registerSourceHandler(xa,0),xr.VhsHandler=ea,xr.VhsSourceHandler=xa,xr.Vhs=ru,xr.use||xr.registerComponent("Vhs",ru),xr.options.vhs=xr.options.vhs||{},(!xr.getPlugin||!xr.getPlugin("reloadSourceOnError"))&&xr.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:A,labelFullscreen:D,labelMute:K,labelPause:ue,labelPictureInPicture:Te,labelPlay:We,labelPlayVideo:vt,labelPlaybackRate:er,labelRemainingTime:Tr,labelSeek:zr,labelUnmute:St,labelVolume:En,language:xn,player:pn}){(0,r.useEffect)(()=>{if(pn==null)return;const Qr=xn!=null&&xn!==""?xn:"en",Ln=Object.fromEntries(Object.entries({Captions:p,"captions off":t,"Current Time":o,Duration:c,"Exit Fullscreen":y,"Exit Picture-in-Picture":A,Fullscreen:D,Mute:K,Pause:ue,"Picture-in-Picture":Te,Play:We,"Play Video":vt,"Playback Rate":er,"Progress Bar":zr,"Remaining Time":Tr,Unmute:St,"Volume Level":En}).filter(([,fo])=>fo!=null)),pi={...iv(Qr)?sv(Qr):{},...Ln};Object.keys(pi).length>0&&xr.addLanguage(Qr,pi),pn.language(Qr),pn.trigger("languagechange");const Bn=pn.getChild("ControlBar"),Si=[{name:"CurrentTimeDisplay",label:o,key:"Current Time"},{name:"DurationDisplay",label:c,key:"Duration"},{name:"RemainingTimeDisplay",label:Tr,key:"Remaining Time"}];for(const{name:fo,label:Go,key:To}of Si){const zs=Bn?.getChild(fo)?.el()?.querySelector(".vjs-control-text");if(zs!=null){const wo=Go!=null&&Go!==""?Go:pn.localize(To);zs.textContent=`${wo}\xA0`}}const ia=En!=null&&En!==""?En:pn.localize("Volume Level");Bn?.getChild("volumePanel")?.getChild("volumeControl")?.getChild("volumeBar")?.el()?.setAttribute("aria-label",ia)},[p,t,o,c,y,A,D,K,ue,Te,We,vt,er,Tr,zr,St,En,xn,pn])}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=A=>{if(A.key!=="ArrowUp"&&A.key!=="ArrowDown")return;c.getAttribute("aria-expanded")==="true"||(A.preventDefault(),A.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 A=o.currentTime()??0,D=o.duration()??0;let K=0;D>0&&(K=o.ended()?100:A/D*100),p?.({currentTime:A,duration:D,percentComplete:K})};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:A}){const D=r.useRef(null),[K,ue]=r.useState(!1);return r.useEffect(()=>{const Te=A.current;if(Te==null||D.current!=null)return;D.current=xr(Te,o,function(){ue(!0)});const We=D.current,vt=()=>{t?.()};return We.one("loadedmetadata",vt),()=>{D.current!=null&&!D.current.isDisposed()&&(We.off("loadedmetadata",vt),D.current.dispose(),D.current=null),ue(!1)}},[]),r.useEffect(()=>{const Te=D.current;Te==null||Te.isDisposed()||(y!=null&&Te.preload(y),Te.playbackRates(p?c:[]))},[K,p,c,y]),K?D.current:null}function cv({enableSeek:p,onPlayheadSave:t,onTimeUpdate:o,player:c,playheadSaveInterval:y,timeUpdateInterval:A}){const D=r.useRef(0),K=r.useRef(0),ue=r.useRef(-1/0),Te=r.useRef(-1/0),We=r.useRef(0),vt=r.useRef(0),er=r.useRef(void 0),Tr=r.useRef(o),zr=r.useRef(t);r.useEffect(()=>{Tr.current=o,zr.current=t});const St=r.useCallback(Qr=>{if(c==null)return;const Ln=c.duration()??0,Cn=Math.max(0,Math.min(Qr,Ln));Cn>D.current&&(D.current=Cn),K.current=Cn,We.current=Cn,vt.current=Ln,c.hasStarted()?c.currentTime(Cn):(c.play()?.catch(()=>{}),c.currentTime(Cn),c.pause())},[c]),En=r.useCallback(Qr=>{if(c==null)return;const Cn=(c.duration()??0)*Math.max(0,Math.min(Qr,100))/100;St(Cn)},[c,St]),xn=r.useCallback(()=>{c?.play()?.catch(()=>{})},[c]),pn=r.useCallback(()=>{c?.pause()},[c]);return r.useEffect(()=>{if(c==null)return;let Qr=null,Ln,Cn;const pi=()=>{Qr!=null&&(Qr.classList.add("show-denied"),clearTimeout(er.current),er.current=setTimeout(()=>{Qr?.classList.remove("show-denied"),er.current=void 0},1200))};if(!p){const zs=c.getChild("ControlBar")?.getChild("ProgressControl");if(Cn=zs?.getChild("SeekBar"),Qr=document.createElement("div"),Qr.
996setAttribute("aria-hidden","true"),Qr.className="video-seek-denied-icon",zs?.el()?.appendChild(Qr),Cn?.handleMouseMove!=null){const yo=Cn;Ln=yo.handleMouseMove.bind(yo),yo.handleMouseMove=ol=>{const Kl=c.duration()??0;if(Kl===0){Ln?.(ol);return}const Nd=yo.calculateDistance(ol)*Kl,ed=D.current;if(Nd>ed){const Fd=ed===Kl?ed-.1:ed;c.currentTime(Fd),pi()}else Ln?.(ol)}}}const Bn=()=>{if(c==null||c.isDisposed())return;const zs=c.currentTime()??0,wo=c.duration()??0;if(We.current=zs,vt.current=wo,!c.seeking()&&c.scrubbing()!==!0&&(K.current=zs,zs>D.current&&(D.current=zs),!c.paused()&&er.current!==void 0&&(clearTimeout(er.current),er.current=void 0,Qr?.classList.remove("show-denied"))),Tr.current!=null&&wo>0&&A>0){const yo=zs*1e3;if(yo-ue.current>=A){ue.current=yo;const Kl=c.ended()?100:zs/wo*100;Tr.current({currentTime:zs,duration:wo,percentComplete:Kl})}}if(zr.current!=null&&wo>0&&y>0&&!c.paused()&&!c.seeking()){const yo=zs*1e3;if(yo-Te.current>=y){Te.current=yo;const Kl=c.ended()?100:zs/wo*100;zr.current(Math.round(Kl))}}},Si=()=>{if(Tr.current==null)return;const zs=c!=null&&!c.isDisposed(),wo=zs?c.currentTime()??0:We.current,yo=zs?c.duration()??0:vt.current;if(yo>0){const ol=zs&&c.ended()?100:wo/yo*100;Tr.current({currentTime:wo,duration:yo,percentComplete:ol})}},ia=()=>{if(zr.current==null)return;const zs=c!=null&&!c.isDisposed(),wo=zs?c.currentTime()??0:We.current,yo=zs?c.duration()??0:vt.current;if(yo>0){const ol=zs&&c.ended()?100:wo/yo*100;
996zr.current(Math.round(ol))}},fo=()=>{if(c==null||c.isDisposed())return;const zs=c.currentTime()??0,wo=zs-K.current;!p&&wo>.01&&zs>D.current&&(c.paused()||c.pause(),c.currentTime(D.current),K.current=D.current,pi())},Go=()=>{const zs=c?.currentTime()??0;ue.current=zs*1e3,Si(),ia()},To=()=>{Si(),ia()},Bs=()=>{Si(),ia(),We.current=vt.current,K.current=0};return c.on("timeupdate",Bn),c.on("seeking",fo),c.on("seeked",Go),c.on("pause",To),c.on("ended",Bs),()=>{ia(),Si(),clearTimeout(er.current),Cn!=null&&Ln!=null&&(Cn.handleMouseMove=Ln),Qr?.remove(),c.isDisposed()||(c.off("timeupdate",Bn),c.off("seeking",fo),c.off("seeked",Go),c.off("pause",To),c.off("ended",Bs))}},[p,y,c,A]),{pause:pn,play:xn,seekToPercent:En,seekToTime:St}}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"),A=p.videoHeight(),D=p.videoWidth();return c.width=D,c.height=A,y?.drawImage(o,0,0,D,A),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:A,labelCaptionsOff:D,labelContainer:K,labelCurrentTime:ue,labelDuration:Te,labelExitFullscreen:We,labelExitPictureInPicture:vt,labelFullscreen:er,labelMute:Tr,labelPause:zr,labelPictureInPicture:St,labelPlay:En,labelPlayVideo:xn,labelPlaybackRate:pn,labelRemainingTime:Qr,labelSeek:Ln,labelSeekDisabled:Cn,labelUnmute:pi,labelVolume:Bn,language:Si="en",onLoad:ia,onPause:fo,onPlay:Go,onPlayheadSave:To,onTimeUpdate:Bs,playheadSaveInterval:zs=15e3,poster:wo,preload:yo,style:ol,timeUpdateInterval:Kl=1e3,children:Nd},ed)=>{const Fd=r.useRef(null),Bd=r.useRef(null),Ph=r.useMemo(()=>{const hp={};return o||(hp.playbackRates=[]),yo!=null&&(hp.preload=yo),document.pictureInPictureEnabled||(hp.controlBar={...Mg.controlBar,children:Mg.controlBar.children.filter(kg=>kg!=="pictureInPictureToggle")}),{...Mg,...hp}},[o,yo]),Dl=lv({enablePlaybackSpeed:o,onLoad:ia,options:Ph,playbackRates:Ph.playbackRates??[],preload:yo,videoRef:Bd}),Vp=dv({player:Dl,videoRef:Bd}),{pause:Gp,play:K0,seekToTime:Y0,seekToPercent:X0}=cv({enableSeek:c,onPlayheadSave:To,onTimeUpdate:Bs,player:Dl,playheadSaveInterval:zs,timeUpdateInterval:Kl});return av({labelCaptions:A,labelCaptionsOff:D,labelCurrentTime:ue,labelDuration:Te,labelExitFullscreen:We,labelExitPictureInPicture:vt,labelFullscreen:er,labelMute:Tr,labelPause:zr,labelPictureInPicture:St,labelPlay:En,labelPlayVideo:xn,labelPlaybackRate:pn,labelRemainingTime:Qr,labelSeek:Ln,labelUnmute:pi,labelVolume:Bn,language:Si,player:Dl}),uv({onPlay:Go,onPause:fo,player:Dl}),E({enableContextMenu:t,player:Dl}),ov({player:Dl}),w({children:Nd,player:Dl,videoRef:Bd}),l({player:Dl}),a({player:Dl}),u({labelPlaybackRate:pn,player:Dl}),v({player:Dl}),h({player:Dl}),s({player:Dl}),m({player:Dl}),g({enableSeek:c,labelSeek:Ln,labelSeekDisabled:Cn,player:Dl}),r.useImperativeHandle(ed,()=>({containerElement:Fd.current,pause:Gp,play:K0,seekToPercent:X0,seekToTime:Y0,snapshot:Vp}),[Gp,K0,X0,Y0,Vp]),(0,n.jsx)("div",{"aria-label":K,className:"video-container",ref:Fd,role:"group",style:ol,...y!==void 0&&{inert:y},children:(0,n.jsx)("video",{className:"video-js vjs-default-skin",crossOrigin:p,poster:wo,ref:Bd,children:C(Nd)})})});f1.displayName="VideoPlayer"},50037(f,d,e){"use strict";e.d(d,{eBw:()=>Xf,k_s:()=>b,aOL:()=>z,u33:()=>Y,cAr:()=>se,mrj:()=>vr,BlA:()=>cd,eKG:()=>$a,d9Z:()=>wc,$Wv:()=>dd,_D9:()=>at,vSk:()=>Ra,n8i:()=>Lo,WHl:()=>Bh,CXD:()=>Qc,Hck:()=>Rd,m91:()=>al,_FT:()=>Mo,PbZ:()=>ps,B3m:()=>Gf,thO:()=>Kf,Y0:()=>vh,Qzd:()=>Pf,ylx:()=>Gd,ZfR:()=>Nh,HL2:()=>yh,GAO:()=>bh,evW:()=>Rf,j7p:()=>xh,fQW:()=>Fh,$zI:()=>Df,lYD:()=>$h,Tot:()=>bp,aeh:()=>Xh,AGQ:()=>Ru,iYA:()=>nf,Wo_:()=>Qs,D2B:()=>Th,gCZ:()=>Nf,Nke:()=>Op,JxH:()=>
996Ff,aCm:()=>ep,YEc:()=>Du,hJT:()=>Jo,sMs:()=>za,Mik:()=>Cd,b2U:()=>Xd,j0T:()=>Ch,J6u:()=>_h,qMG:()=>gf,GYN:()=>th,Mb1:()=>Zh,npW:()=>qh,Z6u:()=>bd,lVo:()=>Sc});var n={};e.r(n),e.d(n,{Any:()=>s,Argument:()=>i,Array:()=>u,AsyncIterator:()=>l,Awaited:()=>W,BigInt:()=>X,Boolean:()=>te,Capitalize:()=>ju,Composite:()=>vs,Const:()=>de,Constructor:()=>$e,ConstructorParameters:()=>Pt,Date:()=>Vt,Enum:()=>or,Exclude:()=>$,Extends:()=>Ft,Extract:()=>_i,Function:()=>hr,Index:()=>vn,InstanceType:()=>qn,Instantiate:()=>fs,Integer:()=>Rs,Intersect:()=>E,Iterator:()=>we,KeyOf:()=>xi,Literal:()=>rn,Lowercase:()=>gu,Mapped:()=>no,Module:()=>_n,Never:()=>g.p,Not:()=>Ki,Null:()=>zn,Number:()=>tn,Object:()=>yn,Omit:()=>ll,Optional:()=>ye,Parameters:()=>Gs,Partial:()=>Iu,Pick:()=>Ou,Promise:()=>vi,Readonly:()=>zi,ReadonlyOptional:()=>nr,Record:()=>ua,Recursive:()=>Eo,Ref:()=>O,RegExp:()=>Pu,Required:()=>ql,Rest:()=>jc,ReturnType:()=>Hl,String:()=>Vn,Symbol:()=>$n,TemplateLiteral:()=>Nu,Transform:()=>Wl,Tuple:()=>bn,Uint8Array:()=>Ss,Uncapitalize:()=>Wo,Undefined:()=>us,Union:()=>T,Unknown:()=>as,Unsafe:()=>Qo,Uppercase:()=>pc,Void:()=>Al});var r=e(68189),a=e(82795);function s(P){return(0,r.v)({[a.b8]:"Any"},P)}function i(P){return(0,r.v)({[a.b8]:"Argument",index:P})}function u(P,j){return(0,r.v)({[a.b8]:"Array",type:"array",items:P},j)}function l(P,j){return(0,r.v)({[a.b8]:"AsyncIterator",type:"AsyncIterator",items:P},j)}function m(P,j,He){return(0,r.v)({[a.b8]:"Computed",target:P,parameters:j},He)}var g=e(80463),h=e(78542);function v(P,j={}){const He=P.every(di=>(0,h.av)(di)),pr=(0,h.Yi)(j.unevaluatedProperties)?{unevaluatedProperties:j.unevaluatedProperties}:{};return(0,r.v)(j.unevaluatedProperties===!1||(0,h.Yi)(j.unevaluatedProperties)||He?{...pr,[a.b8]:"Intersect",type:"object",allOf:P}:{...pr,[a.b8]:"Intersect",allOf:P},j)}function E(P,j){if(P.length===1)return(0,r.v)(P[0],j);if(P.length===0)return(0,g.p)(j);if(P.some(He=>(0,h.n_)(He)))throw new Error("Cannot intersect transform types");return v(P,j)}function w(P,j){return(0,r.v)({[a.b8]:"Union",anyOf:P},j)}function T(P,j){return P.length===0?(0,g.p)(j):P.length===1?(0,r.v)(P[0],j):w(P,j)}var C=e(35783);function O(...P){const[j,He]=typeof P[0]=="string"?[P[0],P[1]]:[P[0].$id,P[1]];if(typeof j!="string")throw new C.i("Ref: $ref must be a string");return(0,r.v)({[a.b8]:"Ref",$ref:j},He)}function R(P,j){return m("Awaited",[m(P,j)])}function B(P){return m("Awaited",[O(P)])}function M(P){return E(U(P))}function F(P){return T(U(P))}function H(P){return W(P)}function U(P){return P.map(j=>W(j))}function W(P,j){return(0,r.v)((0,h.Y6)(P)?R(P.target,P.parameters):(0,h.Yq)(P)?M(P.allOf):(0,h.my)(P)?F(P.anyOf):(0,h.OD)(P)?H(P.item):(0,h.in)(P)?B(P.$ref):P,j)}function X(P){return(0,r.v)({[a.b8]:"BigInt",type:"bigint"},P)}function te(P){return(0,r.v)({[a.b8]:"Boolean",type:"boolean"},P)}function q(P,j){const{[j]:He,...pr}=P;return pr}function ae(P,j){return j.reduce((He,pr)=>q(He,pr),P)}function le(P){return(0,r.v)({[a.b8]:"MappedResult",properties:P})}function pe(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=ye(P[pr],j);return He}function ge(P,j){return pe(P.properties,j)}function Ie(P,j){const He=ge(P,j);return le(He)}function Ce(P){return(0,r.v)(ae(P,[a.tJ]))}function Je(P){return(0,r.v)({...P,[a.tJ]:"Optional"})}function qe(P,j){return j===!1?Ce(P):Je(P)}function ye(P,j){const He=j??!0;return(0,h.ZD)(P)?Ie(P,He):qe(P,He)}function xe(P){return P.every(j=>(0,h.X$)(j))}function De(P){return ae(P,[a.tJ])}function Fe(P){return P.map(j=>(0,h.X$)(j)?De(j):j)}function be(P,j){return xe(P)?ye(v(Fe(P),j)):v(Fe(P),j)}function ke(P,j={}){if(P.length===1)return(0,r.v)(P[0],j);if(P.length===0)return(0,g.p)(j);if(P.some(He=>(0,h.n_)(He)))throw new Error("Cannot intersect transform types");return be(P,j)}function Ge(P){return P.some(j=>(0,h.X$)(j))}function Xe(P){return P.map(j=>(0,h.X$)(j)?At(j):j)}function At(P){return ae(P,[a.tJ])}function yt(P,j){return Ge(P)?ye(w(Xe(P),j)):w(Xe(P),j)}function kt(P,j){return P.length===1?(0,r.v)(P[0],j):P.length===0?(0,g.p)(j):yt(P,j)}class Nt extends C.i{}function Ir(P){return P.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function yr(P,j,He){return P[j]===He&&P.charCodeAt(j-1)!==92}function Wr(P,j){return yr(P,j,"(")}function $r(P,j){return yr(P,j,")")}function sn(P,j){return yr(P,j,"|")}function Hr(P){if(!(Wr(P,0)&&$r(P,P.length-1)))return!1;let j=0;for(let He=0;He<P.length;He++)if(Wr(P,He)&&(j+=1),$r(P,He)&&(j-=1),j===0&&He!==P.length-1)return!1;return!0}function pt(P){return P.slice(1,P.length-1)}function et(P){let j=0;for(let He=0;He<P.length;He++)if(Wr(P,He)&&(j+=1),$r(P,He)&&(j-=1),sn(P,He)&&j===0)return!0;return!1}function wr(P){for(let j=0;j<P.length;j++)if(Wr(P,j))return!0;return!1}function Dr(P){let[j,He]=[0,0];const pr=[];for(let qs=0;qs<P.length;qs++)if(Wr(P,qs)&&(j+=1),$r(P,qs)&&(j-=1),sn(P,qs)&&j===0){const La=P.slice(He,qs);La.length>0&&pr.push(kr(La)),He=qs+1}const di=P.slice(He);return di.length>0&&pr.push(kr(di)),pr.length===0?{type:"const",const:""}:pr.length===1?pr[0]:{type:"or",expr:pr}}function Sr(P){function j(di,qs){if(!Wr(di,qs))throw new Nt("TemplateLiteralParser: Index must point to open parens");let La=0;for(let lc=qs;lc<di.length;lc++)if(Wr(di,lc)&&(La+=1),$r(di,lc)&&(La-=1),La===0)return[qs,lc];throw new Nt("TemplateLiteralParser: Unclosed group parens in expression")}function He(di,qs){for(let La=qs;La<di.length;La++)if(Wr(di,La))return[qs,La];return[qs,di.length]}const pr=[];for(let di=0;di<P.length;di++)if(Wr(P,di)){const[qs,La]=j(P,di),lc=P.slice(qs,La+1);pr.push(kr(lc)),di=La}else{const[qs,La]=He(P,di),lc=P.slice(qs,La);lc.length>0&&pr.push(kr(lc)),di=La-1}return pr.length===0?{type:"const",const:""}:pr.length===1?pr[0]:{type:"and",expr:pr}}function kr(P){return Hr(P)?kr(pt(P)):et(P)?Dr(P):wr(P)?Sr(P):{type:"const",const:Ir(P)}}function qt(P){return kr(P.slice(1,P.length-1))}class Sn extends C.i{}function dr(P){return P.type==="or"&&P.expr.length===2&&P.expr[0].type==="const"&&P.expr[0].const==="0"&&P.expr[1].type==="const"&&P.expr[1].const==="[1-9][0-9]*"}function Nr(P){return P.type==="or"&&P.expr.length===2&&P.expr[0].type==="const"&&P.expr[0].const==="true"&&P.expr[1].type==="const"&&P.expr[1].const==="false"}function un(P){return P.type==="const"&&P.const===".*"}function Xt(P){return dr(P)||un(P)?!1:Nr(P)?!0:P.type==="and"?P.expr.every(j=>Xt(j)):P.type==="or"?P.expr.every(j=>Xt(j)):P.type==="const"?!0:(()=>{throw new Sn("Unknown expression type")})()}function br(P){const j=qt(P.pattern);return Xt(j)}class $t extends C.i{}function*wt(P){if(P.length===1)return yield*P[0];for(const j of P[0])for(const He of wt(P.slice(1)))yield`${j}${He}`}function*Ar(P){return yield*wt(P.expr.map(j=>[...tr(j)]))}function*Q(P){for(const j of P.expr)yield*tr(j)}function*ut(P){return yield P.const}function*tr(P){return P.type==="and"?yield*Ar(P):P.type==="or"?yield*Q(P):P.type==="const"?yield*ut(P):(()=>{throw new $t("Unknown expression")})()}function rt(P){const j=qt(P.pattern);return Xt(j)?[...tr(j)]:[]}function _t(P){return rt(P).map(He=>He.toString())}function Yr(P){const j=[];for(const He of P)j.push(...cn(He));return j}function ln(P){return[P.toString()]}function cn(P){return[...new Set((0,h.gm)(P)?_t(P):(0,h.my)(P)?Yr(P.anyOf):(0,h.gP)(P)?ln(P.const):(0,h.Mx)(P)?["[number]"]:(0,h.$p)(P)?["[number]"]:[])]}var gn=e(44035);function wi(P,j,He){return{[j]:vn(P,[j],(0,gn.i)(He))}}function ki(P,j,He){return j.reduce((pr,di)=>({...pr,...wi(P,di,He)}),{})}function Ur(P,j,He){return ki(P,j.keys,He)}function Bi(P,j,He){const pr=Ur(P,j,He);return le(pr)}function bs(P,j,He){const pr={};for(const di of Object.getOwnPropertyNames(j))pr[di]=vn(P,cn(j[di]),He);return pr}function Di(P,j,He){return bs(P,j.properties,He)}function on(P,j,He){const pr=Di(P,j,He);return le(pr)}var fi;function qi(P,j){return P.map(He=>Qe(He,j))}function ri(P){return P.filter(j=>!(0,h.Df)(j))}
996function Vi(P,j){return ke(ri(qi(P,j)))}function si(P){return P.some(j=>(0,h.Df)(j))?[]:P}function ks(P,j){return kt(si(qi(P,j)))}function cr(P,j){return j in P?P[j]:j==="[number]"?kt(P):(0,g.p)()}function fe(P,j){return j==="[number]"?P:(0,g.p)()}function Re(P,j){return j in P?P[j]:(0,g.p)()}function Qe(P,j){return(0,h.Yq)(P)?Vi(P.allOf,j):(0,h.my)(P)?ks(P.anyOf,j):(0,h.PN)(P)?cr(P.items??[],j):(0,h.QS)(P)?fe(P.items,j):(0,h.av)(P)?Re(P.properties,j):(0,g.p)()}function mt(P,j){return j.map(He=>Qe(P,He))}function xt(P,j){return kt(mt(P,j))}function Mr(P,j){return fi("Index",[P,j])}function vn(P,j,He){if((0,h.in)(P)||(0,h.in)(j)){const pr="Index types using Ref parameters require both Type and Key to be of TSchema";if(!(0,h.Yi)(P)||!(0,h.Yi)(j))throw new C.i(pr);return m("Index",[P,j])}return(0,h.ZD)(j)?on(P,j,He):(0,h.zZ)(j)?Bi(P,j,He):(0,r.v)((0,h.Yi)(j)?xt(P,cn(j)):xt(P,j),He)}var Ut=e(31340);function Yn(P){return globalThis.Object.keys(P).filter(j=>!(0,h.X$)(P[j]))}function mi(P,j){const He=Yn(P),pr=He.length>0?{[a.b8]:"Object",type:"object",required:He,properties:P}:{[a.b8]:"Object",type:"object",properties:P};return(0,r.v)(pr,j)}var yn=mi,ji=e(19568);function Tn(P){const j=[];for(const He of P)j.push(...(0,Ut.g)(He));return(0,ji.lN)(j)}function Cs(P){return P.filter(j=>!(0,h.Df)(j))}function $i(P,j){const He=[];for(const pr of P)He.push(...mt(pr,[j]));return Cs(He)}function gs(P,j){const He={};for(const pr of j)He[pr]=ke($i(P,pr));return He}function vs(P,j){const He=Tn(P),pr=gs(P,He);return yn(pr,j)}function Vt(P){return(0,r.v)({[a.b8]:"Date",type:"Date"},P)}function hr(P,j,He){return(0,r.v)({[a.b8]:"Function",type:"Function",parameters:P,returns:j},He)}function rn(P,j){return(0,r.v)({[a.b8]:"Literal",const:P,type:typeof P},j)}function zn(P){return(0,r.v)({[a.b8]:"Null",type:"null"},P)}function $n(P){return(0,r.v)({[a.b8]:"Symbol",type:"symbol"},P)}function bn(P,j){return(0,r.v)(P.length>0?{[a.b8]:"Tuple",type:"array",items:P,additionalItems:!1,minItems:P.length,maxItems:P.length}:{[a.b8]:"Tuple",type:"array",minItems:P.length,maxItems:P.length},j)}function ni(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=zi(P[pr],j);return He}function ai(P,j){return ni(P.properties,j)}function yi(P,j){const He=ai(P,j);return le(He)}function es(P){return(0,r.v)(ae(P,[a.hi]))}function Ei(P){return(0,r.v)({...P,[a.hi]:"Readonly"})}function Hi(P,j){return j===!1?es(P):Ei(P)}function zi(P,j){const He=j??!0;return(0,h.ZD)(P)?yi(P,He):Hi(P,He)}function us(P){return(0,r.v)({[a.b8]:"Undefined",type:"undefined"},P)}function Ss(P){return(0,r.v)({[a.b8]:"Uint8Array",type:"Uint8Array"},P)}function as(P){return(0,r.v)({[a.b8]:"Unknown"},P)}var oi=e(47531);function $s(P){return P.map(j=>Ts(j,!1))}function Es(P){const j={};for(const He of globalThis.Object.getOwnPropertyNames(P))j[He]=zi(Ts(P[He],!1));return j}function ls(P,j){return j===!0?P:zi(P)}function Ts(P,j){return(0,oi.H1)(P)||(0,oi.jo)(P)?ls(s(),j):(0,oi.QS)(P)?zi(bn($s(P))):(0,oi.G4)(P)?Ss():(0,oi.XF)(P)?Vt():(0,oi.av)(P)?ls(yn(Es(P)),j):(0,oi.hg)(P)?ls(hr([],as()),j):(0,oi.R1)(P)?us():(0,oi.Ef)(P)?zn():(0,oi.nH)(P)?$n():(0,oi.cQ)(P)?X():(0,oi.Mx)(P)||(0,oi.Zx)(P)||(0,oi.IP)(P)?rn(P):yn({})}function de(P,j){return(0,r.v)(Ts(P,!0),j)}function $e(P,j,He){return(0,r.v)({[a.b8]:"Constructor",type:"Constructor",parameters:P,returns:j},He)}function Pt(P,j){return h.ZV(P)?bn(P.parameters,j):(0,g.p)(j)}function or(P,j){if((0,oi.R1)(P))throw new Error("Enum undefined or empty");const He=globalThis.Object.getOwnPropertyNames(P).filter(qs=>isNaN(qs)).map(qs=>P[qs]),di=[...new Set(He)].map(qs=>rn(qs));return T(di,{...j,[a.Ck]:"Enum"})}function tn(P){return(0,r.v)({[a.b8]:"Number",type:"number"},P)}function Vn(P){return(0,r.v)({[a.b8]:"String",type:"string"},P)}function Ri(P){const He=rt(P).map(pr=>rn(pr));return kt(He)}const ts="(true|false)",ss="(0|[1-9][0-9]*)",Li="(.*)",Ia="(?!.*)",Sa=null,ha=`^${ss}$`,Qa=`^${Li}$`,_s=`^${Ia}$`;var fr=e(16132);class Aa extends C.i{}var en;(function(P){P[P.Union=0]="Union",P[P.True=1]="True",P[P.False=2]="False"})(en||(en={}));function pa(P){return P===en.False?P:en.True}function Pa(P){throw new Aa(P)}function Xs(P){return fr.Df(P)||fr.Yq(P)||fr.my(P)||fr.fr(P)||fr.h4(P)}function Hs(P,j){return fr.Df(j)?bi(P,j):fr.Yq(j)?an(P,j):fr.my(j)?Ci(P,j):fr.fr(j)?hi(P,j):fr.h4(j)?ao(P,j):Pa("StructuralRight")}function ao(P,j){return en.True}function Wa(P,j){return fr.Yq(j)?an(P,j):fr.my(j)&&j.anyOf.some(He=>fr.h4(He)||fr.fr(He))?en.True:fr.my(j)?en.Union:fr.fr(j)||fr.h4(j)?en.True:en.Union}function Co(P,j){return fr.fr(P)?en.False:fr.h4(P)?en.Union:fr.Df(P)?en.True:en.False}function _o(P,j){return fr.av(j)&&ir(j)?en.True:Xs(j)?Hs(P,j):fr.QS(j)?pa(xs(P.items,j.items)):en.False}function Oo(P,j){return Xs(j)?Hs(P,j):fr.H1(j)?pa(xs(P.items,j.items)):en.False}function Ks(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.cQ(j)?en.True:en.False}function Mi(P,j){return fr.Wy(P)||fr.Zx(P)?en.True:en.False}function Me(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.Zx(j)?en.True:en.False}function je(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.ZV(j)?P.parameters.length>j.parameters.length?en.False:P.parameters.every((He,pr)=>
vendor: 5,636 bytes, line 996
996pa(xs(j.parameters[pr],He))===en.True)?pa(xs(P.returns,j.returns)):en.False:en.False}function Ot(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.XF(j)?en.True:en.False}function Wt(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.hg(j)?P.parameters.length>j.parameters.length?en.False:P.parameters.every((He,pr)=>pa(xs(j.parameters[pr],He))===en.True)?pa(xs(P.returns,j.returns)):en.False:en.False}function Br(P,j){return fr.gP(P)&&oi.Mx(P.const)||fr.Mx(P)||fr.$p(P)?en.True:en.False}function Vr(P,j){return fr.$p(j)||fr.Mx(j)?en.True:Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):en.False}function an(P,j){return j.allOf.every(He=>xs(P,He)===en.True)?en.True:en.False}function ii(P,j){return P.allOf.some(He=>xs(He,j)===en.True)?en.True:en.False}function Yi(P,j){return Xs(j)?Hs(P,j):fr.jo(j)?pa(xs(P.items,j.items)):en.False}function Ui(P,j){return fr.gP(j)&&j.const===P.const?en.True:Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.IP(j)?ar(P,j):fr.Mx(j)?ft(P,j):fr.$p(j)?Br(P,j):fr.Zx(j)?Mi(P,j):en.False}function bi(P,j){return en.False}function Ws(P,j){return en.True}function ms(P){let[j,He]=[P,0];for(;fr.gK(j);)j=j.not,He+=1;return He%2===0?j:as()}function Le(P,j){return fr.gK(P)?xs(ms(P),j):fr.gK(j)?xs(P,ms(j)):Pa("Invalid fallthrough for Not")}function Ye(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.Ef(j)?en.True:en.False}function ft(P,j){return fr.LV(P)||fr.Mx(P)||fr.$p(P)?en.True:en.False}function ht(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.$p(j)||fr.Mx(j)?en.True:en.False}function Mt(P,j){return Object.getOwnPropertyNames(P.properties).length===j}function Jt(P){return ir(P)}function Er(P){return Mt(P,0)||Mt(P,1)&&"description"in P.properties&&fr.my(P.properties.description)&&P.properties.description.anyOf.length===2&&(fr.IP(P.properties.description.anyOf[0])&&fr.R1(P.properties.description.anyOf[1])||fr.IP(P.properties.description.anyOf[1])&&fr.R1(P.properties.description.anyOf[0]))}function Lr(P){return Mt(P,0)}function Mn(P){return Mt(P,0)}function Pn(P){return Mt(P,0)}function kn(P){return Mt(P,0)}function Gi(P){return ir(P)}function os(P){const j=tn();return Mt(P,0)||Mt(P,1)&&"length"in P.properties&&pa(xs(P.properties.length,j))===en.True}function Os(P){return Mt(P,0)}function ir(P){const j=tn();return Mt(P,0)||Mt(P,1)&&"length"in P.properties&&pa(xs(P.properties.length,j))===en.True}function Bt(P){const j=hr([s()],s());return Mt(P,0)||Mt(P,1)&&"then"in P.properties&&pa(xs(P.properties.then,j))===en.True}function sr(P,j){return xs(P,j)===en.False||fr.X$(P)&&!fr.X$(j)?en.False:en.True}function Cr(P,j){return fr.fr(P)?en.False:fr.h4(P)?en.Union:fr.Df(P)||fr.Zs(P)&&Jt(j)||fr.LV(P)&&Lr(j)||fr.Wy(P)&&Mn(j)||fr.nH(P)&&Er(j)||fr.cQ(P)&&Pn(j)||fr.IP(P)&&Jt(j)||fr.nH(P)&&Er(j)||fr.Mx(P)&&Lr(j)||fr.$p(P)&&Lr(j)||fr.Zx(P)&&Mn(j)||fr.G4(P)&&Gi(j)||fr.XF(P)&&kn(j)||fr.ZV(P)&&Os(j)||fr.hg(P)&&os(j)?en.True:fr.cZ(P)&&fr.IP(Be(P))?j[a.Ck]==="Record"?en.True:en.False:fr.cZ(P)&&fr.Mx(Be(P))&&Mt(j,0)?en.True:en.False}function Fn(P,j){return Xs(j)?Hs(P,j):fr.cZ(j)?st(P,j):fr.av(j)?(()=>{for(const He of Object.getOwnPropertyNames(j.properties)){if(!(He in P.properties)&&!fr.X$(j.properties[He]))return en.False;if(fr.X$(j.properties[He]))return en.True;if(sr(P.properties[He],j.properties[He])===en.False)return en.False}return en.True})():en.False}function Pe(P,j){return Xs(j)?Hs(P,j):fr.av(j)&&Bt(j)?en.True:fr.OD(j)?pa(xs(P.item,j.item)):en.False}function Be(P){return ha in P.patternProperties?tn():Qa in P.patternProperties?Vn():Pa("Unknown record key pattern")}function it(P){return ha in P.patternProperties?P.patternProperties[ha]:Qa in P.patternProperties?P.patternProperties[Qa]:Pa("Unable to get record value schema")}function st(P,j){const[He,pr]=[Be(j),it(j)];return fr.Zs(P)&&fr.Mx(He)&&pa(xs(P,pr))===en.True?en.True:fr.G4(P)&&fr.Mx(He)||fr.IP(P)&&fr.Mx(He)||fr.QS(P)&&fr.Mx(He)?xs(P,pr):fr.av(P)?(()=>{for(const di of Object.getOwnPropertyNames(P.properties))if(sr(pr,P.properties[di])===en.False)return en.False;return en.True})():en.False}function jt(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?xs(it(P),it(j)):en.False}function Gt(P,j){const He=fr.__(P)?Vn():P,pr=fr.__(j)?Vn():j;return xs(He,pr)}function ar(P,j){return fr.gP(P)&&oi.IP(P.const)||fr.IP(P)?en.True:en.False}function ur(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.IP(j)?en.True:en.False}function Un(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.nH(j)?en.True:en.False}function An(P,j){return fr.gm(P)?xs(Ri(P),j):fr.gm(j)?xs(P,Ri(j)):Pa("Invalid fallthrough for TemplateLiteral")}function jn(P,j){return fr.QS(j)&&P.items!==void 0&&P.items.every(He=>xs(He,j.items)===en.True)}function Wi(P,j){return fr.Df(P)?en.True:fr.fr(P)?en.False:fr.h4(P)?en.Union:en.False}function Vs(P,j){return Xs(j)?Hs(P,j):fr.av(j)&&ir(j)||fr.QS(j)&&jn(P,j)?en.True:fr.PN(j)?oi.R1(P.items)&&!oi.R1(j.items)||!oi.R1(P.items)&&oi.R1(j.items)?en.False:oi.R1(P.items)&&!oi.R1(j.items)||P.items.every((He,pr)=>xs(He,j.items[pr])===en.True)?en.True:en.False:en.False}function Pi(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.G4(j)?en.True:en.False}function ws(P,j){return Xs(j)?Hs(P,j):fr.av(j)?Cr(P,j):fr.cZ(j)?st(P,j):fr.jw(j)?Zi(P,j):fr.R1(j)?en.True:en.False}function Ci(P,j){return j.anyOf.some(He=>xs(P,He)===en.True)?en.True:en.False}function ei(P,j){return P.anyOf.every(He=>xs(He,j)===en.True)?en.True:en.False}function hi(P,j){return en.True}function Ps(P,j){return fr.Df(j)?bi(P,j):fr.Yq(j)?an(P,j):fr.my(j)?Ci(P,j):fr.h4(j)?ao(P,j):fr.IP(j)?ar(P,j):fr.Mx(j)?ft(P,j):fr.$p(j)?Br(P,j):fr.Zx(j)?Mi(P,j):fr.QS(j)?Co(P,
996j):fr.PN(j)?Wi(P,j):fr.av(j)?Cr(P,j):fr.fr(j)?en.True:en.False}function Zi(P,j){return fr.R1(P)||fr.R1(P)?en.True:en.False}function Ti(P,j){return fr.Yq(j)?an(P,j):fr.my(j)?Ci(P,j):fr.fr(j)?hi(P,j):fr.h4(j)?ao(P,j):fr.av(j)?Cr(P,j):fr.jw(j)?en.True:en.False}function xs(P,j){return fr.gm(P)||fr.gm(j)?An(P,j):fr.__(P)||fr.__(j)?Gt(P,j):fr.gK(P)||fr.gK(j)?Le(P,j):fr.h4(P)?Wa(P,j):fr.QS(P)?_o(P,j):fr.cQ(P)?Ks(P,j):fr.Zx(P)?Me(P,j):fr.H1(P)?Oo(P,j):fr.ZV(P)?je(P,j):fr.XF(P)?Ot(P,j):fr.hg(P)?Wt(P,j):fr.$p(P)?Vr(P,j):fr.Yq(P)?ii(P,j):fr.jo(P)?Yi(P,j):fr.gP(P)?Ui(P,j):fr.Df(P)?Ws(P,j):fr.Ef(P)?Ye(P,j):fr.Mx(P)?ht(P,j):fr.av(P)?Fn(P,j):fr.cZ(P)?jt(P,j):fr.IP(P)?ur(P,j):fr.nH(P)?Un(P,j):fr.PN(P)?Vs(P,j):fr.OD(P)?Pe(P,j):fr.G4(P)?Pi(P,j):fr.R1(P)?ws(P,j):fr.my(P)?ei(P,j):fr.fr(P)?Ps(P,j):fr.jw(P)?Ti(P,j):Pa(`Unknown left type operand '${P[a.b8]}'`)}function ma(P,j){return xs(P,j)}function Fo(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=$(P[pr],j);return He}function ho(P,j){return Fo(P.properties,j)}function la(P,j){const He=ho(P,j);return le(He)}function Fa(P,j){return $(Ri(P),j)}function V(P,j){const He=P.filter(pr=>ma(pr,j)===en.False);return He.length===1?He[0]:T(He)}function $(P,j,He={}){return(0,h.gm)(P)?(0,r.v)(Fa(P,j),He):(0,h.ZD)(P)?(0,r.v)(la(P,j),He):(0,r.v)((0,h.my)(P)?V(P.anyOf,j):ma(P,j)!==en.False?(0,g.p)():P,He)}function ne(P,j,He,pr,di){return{[P]:Ft(rn(P),j,He,pr,(0,gn.i)(di))}}function me(P,j,He,pr,di){return P.reduce((qs,La)=>({...qs,...ne(La,j,He,pr,di)}),{})}function Oe(P,j,He,pr,di){return me(P.keys,j,He,pr,di)}function ze(P,j,He,pr,di){const qs=Oe(P,j,He,pr,di);return le(qs)}function nt(P,j,He,pr,di){const qs={};for(const La of globalThis.Object.getOwnPropertyNames(P))qs[La]=Ft(P[La],j,He,pr,(0,gn.i)(di));return qs}function ct(P,j,He,pr,di){return nt(P.properties,j,He,pr,di)}function Dt(P,j,He,pr,di){const qs=ct(P,j,He,pr,di);return le(qs)}function Zt(P,j,He,pr){const di=ma(P,j);return di===en.Union?T([He,pr]):di===en.True?He:pr}function Ft(P,j,He,pr,di){return(0,h.ZD)(P)?Dt(P,j,He,pr,di):(0,h.zZ)(P)?(0,r.v)(ze(P,j,He,pr,di)):(0,r.v)(Zt(P,j,He,pr),di)}function Rr(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=_i(P[pr],j);return He}function Jr(P,j){return Rr(P.properties,j)}function In(P,j){const He=Jr(P,j);return le(He)}function Rn(P,j){return _i(Ri(P),j)}function Jn(P,j){const He=P.filter(pr=>ma(pr,j)!==en.False);return He.length===1?He[0]:T(He)}function _i(P,j,He){return(0,h.gm)(P)?(0,r.v)(Rn(P,j),He):(0,h.ZD)(P)?(0,r.v)(In(P,j),He):(0,r.v)((0,h.my)(P)?Jn(P.anyOf,j):ma(P,j)!==en.False?P:(0,g.p)(),He)}function qn(P,j){return h.ZV(P)?(0,r.v)(P.returns,j):(0,g.p)(j)}function Xi(P){return P.map(j=>cs(j))}function cs(P,j){return j===void 0?(0,gn.i)(P):(0,gn.i)({...j,...P})}function nr(P){return zi(ye(P))}function Fr(P,j,He){return(0,r.v)({[a.b8]:"Record",type:"object",patternProperties:{[P]:j}},He)}function _r(P,j,He){const pr={};for(const di of P)pr[di]=j;return yn(pr,{...He,[a.Ck]:"Record"})}function ui(P,j,He){return br(P)?_r(cn(P),j,He):Fr(P.pattern,j,He)}function Ni(P,j,He){return _r(cn(T(P)),j,He)}function ci(P,j,He){return _r([P.toString()],j,He)}function ra(P,j,He){return Fr(P.source,j,He)}function na(P,j,He){const pr=(0,oi.R1)(P.pattern)?Qa:P.pattern;return Fr(pr,j,He)}function hu(P,j,He){return Fr(Qa,j,He)}function zo(P,j,He){return Fr(_s,j,He)}function bo(P,j,He){return yn({true:j,false:j},He)}function $o(P,j,He){return Fr(ha,j,He)}function Yu(P,j,He){return Fr(ha,j,He)}function ua(P,j,He={}){return(0,h.my)(P)?Ni(P.anyOf,j,He):(0,h.gm)(P)?ui(P,j,He):(0,h.gP)(P)?ci(P.const,j,He):(0,h.Zx)(P)?bo(P,j,He):(0,h.$p)(P)?$o(P,j,He):(0,h.Mx)(P)?Yu(P,j,He):(0,h.__)(P)?ra(P,j,He):(0,h.IP)(P)?na(P,j,He):(0,h.h4)(P)?hu(P,j,He):(0,h.Df)(P)?zo(P,j,He):(0,g.p)(He)}function pu(P){return globalThis.Object.getOwnPropertyNames(P.patternProperties)[0]}function Mu(P){const j=pu(P);return j===Qa?Vn():j===ha?tn():Vn({pattern:j})}function Ea(P){return P.patternProperties[pu(P)]}function Yl(P,j){return j.parameters=mn(P,j.parameters),j.returns=Gn(P,j.returns),j}function ul(P,j){return j.parameters=mn(P,j.parameters),j.returns=Gn(P,j.returns),j}function Io(P,j){return j.allOf=mn(P,j.allOf),j}function Lc(P,j){return j.anyOf=mn(P,j.anyOf),j}function Xl(P,j){return oi.R1(j.items)||(j.items=mn(P,j.items)),j}function Us(P,j){return j.items=Gn(P,j.items),j}function su(P,j){return j.items=Gn(P,j.items),j}function oo(P,j){return j.items=Gn(P,j.items),j}function ku(P,j){return j.item=Gn(P,j.item),j}function Ml(P,j){const He=gt(P,j.properties);return{...j,...yn(He)}}function oe(P,j){const He=Gn(P,Mu(j)),pr=Gn(P,Ea(j)),di=ua(He,pr);return{...j,...di}}function mr(P,j){return j.index in P?P[j.index]:as()}function ot(P,j){const He=h.TC(j),pr=h.X$(j),di=Gn(P,j);return He&&pr?nr(di):He&&!pr?zi(di):!He&&pr?ye(di):di}function gt(P,j){return globalThis.Object.getOwnPropertyNames(j).reduce((He,pr)=>({...He,[pr]:ot(P,j[pr])}),{})}function mn(P,j){return j.map(He=>Gn(P,He))}function Gn(P,j){return h.ZV(j)?Yl(P,j):h.hg(j)?ul(P,j):h.Yq(j)?Io(P,j):h.my(j)?Lc(P,j):h.PN(j)?Xl(P,j):h.QS(j)?Us(P,j):h.H1(j)?su(P,j):h.jo(j)?oo(P,j):h.OD(j)?ku(P,j):h.av(j)?Ml(P,j):h.cZ(j)?oe(P,j):h.Cz(j)?mr(P,j):j}function fs(P,j){return Gn(j,cs(P))}function Rs(P){return(0,r.v)({[a.b8]:"Integer",type:"integer"},P)}function*fa(P){const j=P.trim().replace(/"|'/g,"");return j==="boolean"?yield te():j==="number"?yield tn():j==="bigint"?yield X():j==="string"?yield Vn():yield(()=>{const He=j.split("|").map(pr=>rn(pr.trim()));return He.length===0?(0,g.p)():He.length===1?He[0]:kt(He)})()}function*Ho(P){if(P[1]!=="{"){const j=rn("$"),He=po(P.slice(1));return yield*[j,...He]}for(let j=2;j<P.length;j++)if(P[j]==="}"){const He=fa(P.slice(2,j)),pr=po(P.slice(j+1));return yield*[...He,...pr]}yield rn(P)}function*po(P){for(let j=0;j<P.length;j++)if(P[j]==="$"){const He=rn(P.slice(0,j)),pr=Ho(P.slice(j));return yield*[He,...pr]}yield rn(P)}function Ja(P){return[...po(P)]}class Xu extends C.i{}function Bo(P){return P.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function mu(P,j){return(0,h.gm)(P)?P.pattern.slice(1,P.pattern.length-1):(0,h.my)(P)?`(${P.anyOf.map(He=>mu(He,j)).join("|")})`:(0,h.Mx)(P)?`${j}${ss}`:(0,h.$p)(P)?`${j}${ss}`:(0,h.cQ)(P)?`${j}${ss}`:(0,h.IP)(P)?`${j}${Li}`:(0,h.gP)(P)?`${j}${Bo(P.const.toString())}`:(0,h.Zx)(P)?`${j}${ts}`:(()=>{throw new Xu(`Unexpected Kind '${P[a.b8]}'`)})()}function kl(P){return`^${P.map(j=>mu(j,"")).join("")}$`}function Nu(P,j){const He=(0,oi.IP)(P)?kl(Ja(P)):kl(P);return(0,r.v)({[a.b8]:"TemplateLiteral",type:"string",pattern:He},j)}function au(P,j,He){return{[P]:go(rn(P),j,(0,gn.i)(He))}}function mo(P,j,He){return P.reduce((di,qs)=>({...di,...au(qs,j,He)}),{})}function Po(P,j,He){return mo(P.keys,j,He)}function Is(P,j,He){const pr=Po(P,j,He);return le(pr)}function ou(P){const[j,He]=[P.slice(0,1),P.slice(1)];return[j.toLowerCase(),He].join("")}function Qu(P){const[j,He]=[P.slice(0,1),P.slice(1)];return[j.toUpperCase(),He].join("")}function Nl(P){return P.toUpperCase()}function Fu(P){return P.toLowerCase()}function Bu(P,j,He){const pr=qt(P.pattern);if(!Xt(pr))return{...P,pattern:xl(P.pattern,j)};const La=[...tr(pr)].map(Pp=>rn(Pp)),lc=Uu(La,j),Ip=T(lc);return Nu([Ip],He)}function xl(P,j){return typeof P=="string"?j==="Uncapitalize"?ou(P):j==="Capitalize"?Qu(P):j==="Uppercase"?Nl(P):j==="Lowercase"?Fu(P):P:P.toString()}function Uu(P,j){return P.map(He=>go(He,j))}function go(P,j,He={}){return(0,h.zZ)(P)?Is(P,j,He):(0,h.gm)(P)?Bu(P,j,He):(0,h.my)(P)?T(Uu(P.anyOf,j),He):(0,h.gP)(P)?rn(xl(P.const,j),He):(0,r.v)(P,He)}function ju(P,j={}){return go(P,"Capitalize",j)}function Wo(P,j={}){return go(P,"Uncapitalize",j)}function gu(P,j={}){return go(P,"Lowercase",j)}function pc(P,j={}){return go(P,"Uppercase",j)}function we(P,j){return(0,r.v)({[a.b8]:"Iterator",type:"Iterator",items:P},j)}function Ze(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=xi(P[pr],(0,gn.i)(j));return He}function lt(P,j){return Ze(P.properties,j)}function Rt(P,j){const He=lt(P,j);return le(He)}function Kt(P,j){return m("KeyOf",[m(P,j)])}function Or(P){return m("KeyOf",[O(P)])}function hn(P,j){const He=(0,Ut.g)(P),pr=Ke(He),di=kt(pr);return(0,r.v)(di,j)}function Ke(P){return P.map(j=>j==="[number]"?tn():rn(j))}function xi(P,j){return(0,h.Y6)(P)?Kt(P.target,P.parameters):(0,h.in)(P)?Or(P.$ref):(0,h.ZD)(P)?Rt(P,j):hn(P,j)}function vi(P,j){return(0,r.v)({[a.b8]:"Promise",type:"Promise",item:P},j)}function gi(P,j){return P in j?ca(P,j[P]):le(j)}function Ii(P){return{[P]:rn(P)}}function js(P){const j={};for(const He of P)j[He]=rn(He);return j}function Za(P,j){return(0,ji.oU)(j,P)?Ii(P):js(j)}function qa(P,j){const He=Za(P,j);return gi(P,He)}function Ca(P,j){return j.map(He=>ca(P,He))}function Va(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(j))He[pr]=ca(P,j[pr]);return He}
996function ca(P,j){const He={...j};return(0,h.X$)(j)?ye(ca(P,ae(j,[a.tJ]))):(0,h.TC)(j)?zi(ca(P,ae(j,[a.hi]))):(0,h.ZD)(j)?gi(P,j.properties):(0,h.zZ)(j)?qa(P,j.keys):(0,h.ZV)(j)?$e(Ca(P,j.parameters),ca(P,j.returns),He):(0,h.hg)(j)?hr(Ca(P,j.parameters),ca(P,j.returns),He):(0,h.H1)(j)?l(ca(P,j.items),He):(0,h.jo)(j)?we(ca(P,j.items),He):(0,h.Yq)(j)?E(Ca(P,j.allOf),He):(0,h.my)(j)?T(Ca(P,j.anyOf),He):(0,h.PN)(j)?bn(Ca(P,j.items??[]),He):(0,h.av)(j)?yn(Va(P,j.properties),He):(0,h.QS)(j)?u(ca(P,j.items),He):(0,h.OD)(j)?vi(ca(P,j.item),He):j}function Ma(P,j){const He={};for(const pr of P)He[pr]=ca(pr,j);return He}function no(P,j,He){const pr=(0,h.Yi)(P)?cn(P):P,di=j({[a.b8]:"MappedKey",keys:pr}),qs=Ma(pr,di);return yn(qs,He)}function _u(P,j,He){return{[j]:ll(P,[j],(0,gn.i)(He))}}function So(P,j,He){return j.reduce((pr,di)=>({...pr,..._u(P,di,He)}),{})}function Ao(P,j,He){return So(P,j.keys,He)}function Fl(P,j,He){const pr=Ao(P,j,He);return le(pr)}function zu(P,j,He){const pr={};for(const di of globalThis.Object.getOwnPropertyNames(P))pr[di]=ll(P[di],j,(0,gn.i)(He));return pr}function Au(P,j,He){return zu(P.properties,j,He)}function Mc(P,j,He){const pr=Au(P,j,He);return le(pr)}function $u(P,j){return P.map(He=>Hn(He,j))}function Hu(P,j){return P.map(He=>Hn(He,j))}function mc(P,j){const{[j]:He,...pr}=P;return pr}function kc(P,j){return j.reduce((He,pr)=>mc(He,pr),P)}function rd(P,j,He){const pr=ae(P,[a.H7,"$id","required","properties"]),di=kc(He,j);return yn(di,pr)}function uu(P){const j=P.reduce((He,pr)=>(0,h.fJ)(pr)?[...He,rn(pr)]:He,[]);return T(j)}function Hn(P,j){return(0,h.Yq)(P)?E($u(P.allOf,j)):(0,h.my)(P)?T(Hu(P.anyOf,j)):(0,h.av)(P)?rd(P,j,P.properties):yn({})}function ll(P,j,He){const pr=(0,oi.QS)(j)?uu(j):j,di=(0,h.Yi)(j)?cn(j):j,qs=(0,h.in)(P),La=(0,h.in)(j);return(0,h.ZD)(P)?Mc(P,di,He):(0,h.zZ)(j)?Fl(P,j,He):qs&&La?m("Omit",[P,pr],He):!qs&&La?m("Omit",[P,pr],He):qs&&!La?m("Omit",[P,pr],He):(0,r.v)({...Hn(P,di),...He})}function gc(P,j,He){return{[j]:Ou(P,[j],(0,gn.i)(He))}}function vu(P,j,He){return j.reduce((pr,di)=>({...pr,...gc(P,di,He)}),{})}function Ta(P,j,He){return vu(P,j.keys,He)}function qo(P,j,He){const pr=Ta(P,j,He);return le(pr)}function Ba(P,j,He){const pr={};for(const di of globalThis.Object.getOwnPropertyNames(P))pr[di]=Ou(P[di],j,(0,gn.i)(He));return pr}function Yo(P,j,He){return Ba(P.properties,j,He)}function Vo(P,j,He){const pr=Yo(P,j,He);return le(pr)}function vc(P,j){return P.map(He=>Cu(He,j))}function Bl(P,j){return P.map(He=>Cu(He,j))}function yu(P,j){const He={};for(const pr of j)pr in P&&(He[pr]=P[pr]);return He}function Nc(P,j,He){const pr=ae(P,[a.H7,"$id","required","properties"]),di=yu(He,j);return yn(di,pr)}function Ro(P){const j=P.reduce((He,pr)=>(0,h.fJ)(pr)?[...He,rn(pr)]:He,[]);return T(j)}function Cu(P,j){return(0,h.Yq)(P)?E(vc(P.allOf,j)):(0,h.my)(P)?T(Bl(P.anyOf,j)):(0,h.av)(P)?Nc(P,j,P.properties):yn({})}function Ou(P,j,He){const pr=(0,oi.QS)(j)?Ro(j):j,di=(0,h.Yi)(j)?cn(j):j,qs=(0,h.in)(P),La=(0,h.in)(j);return(0,h.ZD)(P)?Vo(P,di,He):(0,h.zZ)(j)?qo(P,j,He):qs&&La?m("Pick",[P,pr],He):!qs&&La?m("Pick",[P,pr],He):qs&&!La?m("Pick",[P,pr],He):(0,r.v)({...Cu(P,di),...He})}function Ul(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=Iu(P[pr],(0,gn.i)(j));return He}function Ql(P,j){return Ul(P.properties,j)}function nd(P,j){const He=Ql(P,j);return le(He)}function bu(P,j){return m("Partial",[m(P,j)])}function cl(P){return m("Partial",[O(P)])}function Ju(P){const j={};for(const He of globalThis.Object.getOwnPropertyNames(P))j[He]=ye(P[He]);return j}function Xo(P,j){const He=ae(P,[a.H7,"$id","required","properties"]),pr=Ju(j);return yn(pr,He)}function Zu(P){return P.map(j=>yc(j))}function yc(P){return h.Y6(P)?bu(P.target,P.parameters):h.in(P)?cl(P.$ref):h.Yq(P)?E(Zu(P.allOf)):h.my(P)?T(Zu(P.anyOf)):h.av(P)?Xo(P,P.properties):h.cQ(P)||h.Zx(P)||h.$p(P)||h.gP(P)||h.Ef(P)||h.Mx(P)||h.IP(P)||h.nH(P)||h.R1(P)?P:yn({})}function Iu(P,j){return h.ZD(P)?nd(P,j):(0,r.v)({...yc(P),...j})}function Ga(P,j){const He={};for(const pr of globalThis.Object.getOwnPropertyNames(P))He[pr]=ql(P[pr],j);return He}function qu(P,j){return Ga(P.properties,j)}function vd(P,j){const He=qu(P,j);return le(He)}function wn(P,j){return m("Required",[m(P,j)])}function Fc(P){return m("Required",[O(P)])}function id(P){const j={};for(const He of globalThis.Object.getOwnPropertyNames(P))j[He]=ae(P[He],[a.tJ]);return j}function Jl(P,j){const He=ae(P,[a.H7,"$id","required","properties"]),pr=id(j);return yn(pr,He)}function Oa(P){return P.map(j=>Zl(j))}function Zl(P){return h.Y6(P)?wn(P.target,P.parameters):h.in(P)?Fc(P.$ref):h.Yq(P)?E(Oa(P.allOf)):h.my(P)?T(Oa(P.anyOf)):h.av(P)?Jl(P,P.properties):h.cQ(P)||h.Zx(P)||h.$p(P)||h.gP(P)||h.Ef(P)||h.Mx(P)||h.IP(P)||h.nH(P)||h.R1(P)?P:yn({})}function ql(P,j){return h.ZD(P)?vd(P,j):(0,r.v)({...Zl(P),...j})}function xo(P,j){return j.map(He=>h.in(He)?El(P,He.$ref):Ee(P,He))}function El(P,j){return j in P?h.in(P[j])?El(P,P[j].$ref):Ee(P,P[j]):(0,g.p)()}function el(P){return W(P[0])}function jl(P){return vn(P[0],P[1])}function Bc(P){return xi(P[0])}function sa(P){return Iu(P[0])}function zl(P){return ll(P[0],P[1])}function tl(P){return Ou(P[0],P[1])}function bc(P){return ql(P[0])}function dl(P,j,He){const pr=xo(P,He);return j==="Awaited"?el(pr):j==="Index"?jl(pr):j==="KeyOf"?Bc(pr):j==="Parti
996al"?sa(pr):j==="Omit"?zl(pr):j==="Pick"?tl(pr):j==="Required"?bc(pr):(0,g.p)()}function $l(P,j){return u(Ee(P,j))}function yd(P,j){return l(Ee(P,j))}function rl(P,j,He){return $e(re(P,j),Ee(P,He))}function fl(P,j,He){return hr(re(P,j),Ee(P,He))}function hl(P,j){return E(re(P,j))}function Uc(P,j){return we(Ee(P,j))}function pl(P,j){return yn(globalThis.Object.keys(j).reduce((He,pr)=>({...He,[pr]:Ee(P,j[pr])}),{}))}function Tl(P,j){const[He,pr]=[Ee(P,Ea(j)),pu(j)],di=cs(j);return di.patternProperties[pr]=He,di}function ec(P,j){return h.in(j)?{...El(P,j.$ref),[a.H7]:j[a.H7]}:j}function da(P,j){return bn(re(P,j))}function N(P,j){return T(re(P,j))}function re(P,j){return j.map(He=>Ee(P,He))}function Ee(P,j){return h.X$(j)?(0,r.v)(Ee(P,ae(j,[a.tJ])),j):h.TC(j)?(0,r.v)(Ee(P,ae(j,[a.hi])),j):h.n_(j)?(0,r.v)(ec(P,j),j):h.QS(j)?(0,r.v)($l(P,j.items),j):h.H1(j)?(0,r.v)(yd(P,j.items),j):h.Y6(j)?(0,r.v)(dl(P,j.target,j.parameters)):h.ZV(j)?(0,r.v)(rl(P,j.parameters,j.returns),j):h.hg(j)?(0,r.v)(fl(P,j.parameters,j.returns),j):h.Yq(j)?(0,r.v)(hl(P,j.allOf),j):h.jo(j)?(0,r.v)(Uc(P,j.items),j):h.av(j)?(0,r.v)(pl(P,j.properties),j):h.cZ(j)?(0,r.v)(Tl(P,j)):h.PN(j)?(0,r.v)(da(P,j.items||[]),j):h.my(j)?(0,r.v)(N(P,j.anyOf),j):j}function Ue(P,j){return j in P?Ee(P,P[j]):(0,g.p)()}function dt(P){return globalThis.Object.getOwnPropertyNames(P).reduce((j,He)=>
996({...j,[He]:Ue(P,He)}),{})}class gr{constructor(j){const He=dt(j),pr=this.WithIdentifiers(He);this.$defs=pr}Import(j,He){const pr={...this.$defs,[j]:(0,r.v)(this.$defs[j],He)};return(0,r.v)({[a.b8]:"Import",$defs:pr,$ref:j})}WithIdentifiers(j){return globalThis.Object.getOwnPropertyNames(j).reduce((He,pr)=>({...He,[pr]:{...j[pr],$id:pr}}),{})}}function _n(P){return new gr(P)}function Ki(P,j){return(0,r.v)({[a.b8]:"Not",not:P},j)}function Gs(P,j){return h.hg(P)?bn(P.parameters,j):(0,g.p)()}let aa=0;function Eo(P,j={}){(0,oi.R1)(j.$id)&&(j.$id=`T${aa++}`);const He=cs(P({[a.b8]:"This",$ref:`${j.$id}`}));return He.$id=j.$id,(0,r.v)({[a.Ck]:"Recursive",...He},j)}function Pu(P,j){const He=(0,oi.IP)(P)?new globalThis.RegExp(P):P;return(0,r.v)({[a.b8]:"RegExp",type:"RegExp",source:He.source,flags:He.flags},j)}function wl(P){return(0,h.Yq)(P)?P.allOf:(0,h.my)(P)?P.anyOf:(0,h.PN)(P)?P.items??[]:[]}function jc(P){return wl(P)}function Hl(P,j){return h.hg(P)?(0,r.v)(P.returns,j):(0,g.p)(j)}class _l{constructor(j){this.schema=j}Decode(j){return new nl(this.schema,j)}}class nl{constructor(j,He){this.schema=j,this.decode=He}EncodeTransform(j,He){const qs={Encode:La=>He[a.H7].Encode(j(La)),Decode:La=>this.decode(He[a.H7].Decode(La))};return{...He,[a.H7]:qs}}EncodeSchema(j,He){const pr={Decode:this.decode,Encode:j};return{...He,[a.H7]:pr}}Encode(j){return(0,h.n_)(this.schema)?this.EncodeTransform(j,this.schema):this.EncodeSchema(j,this.schema)}}function Wl(P){return new _l(P)}function Qo(P={}){return(0,r.v)({[a.b8]:P[a.b8]??"Unsafe"},P)}function Al(P){return(0,r.v)({[a.b8]:"Void",type:"void"},P)}const S=n,ml=S.Union([S.Literal("top"),S.Literal("bottom")],{$id:"AudioPosition"}),Qs=S.Object({l10nId:S.String()},{$id:"L10n"});function Fi(P,j,He,pr){return{...S.Union([P,Qs],{$id:pr}),contentType:j,title:"Localized",order:He??0}}const bd=P=>P.title==="Localized",sd="nullable";function zc(P){return S.Union([P,S.Null()],{[sd]:!0})}function nf(P){return fr.my(P)&&P[sd]===!0}function fn(P){return S.Optional(zc(P))}function ga(P,j){return S.Mapped(S.KeyOf(P),He=>fn(S.Index(P,He)),{$id:j})}function eo(){return S.Union([S.Number(),S.String()])}function Ka(P=0,j){return Fi(S.String({...j}),"plain",P)}function Zs(P=0,j){return Fi(S.String({...j}),"rich",P)}function Cl(){return S.Union([S.Date(),S.String()])}const Sc="discriminating";function Ua(P,j,He){return S.Union(j,{[Sc]:P,$id:He})}function Ru(P){if(!fr.my(P)||!(Sc in P))return!1;const j=P[Sc];return Array.isArray(j)&&j.every(He=>typeof He=="string")}const Ol=S.Tuple([],{deprecated:!0}),xc=S.Union([S.Literal(1),S.Literal(2),S.Literal(3),S.Literal(4),S.Literal(5),S.Literal(6)],{$id:"HeadingLevel"}),gl=S.Union([S.Literal("ACCENT"),S.Literal("BLACK"),S.Literal("COLOR"),S.Literal("DARK"),S.Literal("GRAY"),S.Literal("IMAGE"),S.Literal("LIGHT"),S.Literal("TINT")],{$id:"Backgroun
996dType"}),Sd=S.Union([S.Literal("WHITE"),S.Literal("TRANSPARENT")],{$id:"CardMode"}),tc=S.Union([S.Literal("AUTO"),S.Literal("BLACK"),S.Literal("LIGHT"),S.Literal("DARK")],{$id:"TextColor"}),jd=S.Union([S.Number({minimum:0,maximum:30}),S.String()],{$id:"CornerRadius"}),zd=ga(S.Object({accentColor:S.String(),backgroundColor:S.String(),backgroundType:gl,cardMode:Sd,cornerRadius:jd,customBackgroundColorContrast:tc,customPaddingBottom:eo(),customPaddingLinked:S.Boolean(),customPaddingTop:eo(),entranceAnimation:S.Boolean(),markerColorContrast:tc,paddingBottom:eo(),paddingLinked:S.Boolean(),paddingTop:eo(),snippetColorContrast:tc,v:S.Union([S.Literal(1),S.Literal(2)])}),"BlockSettings"),vl=S.Object({translationOverride:S.Optional(S.Boolean())},{$id:"TranslationOverride"}),$c=S.Object({type:fn(S.String()),key:fn(S.String()),src:fn(S.String()),thumbnail:fn(S.String()),thumbnailKey:fn(S.String()),originalUrl:fn(S.String()),overlayColor:fn(S.String()),alpha:fn(eo()),crushedKey:fn(S.String()),useCrushedKey:fn(S.Boolean()),alt:fn(S.String()),fillWidth:fn(S.Boolean()),trackingContext:fn(S.String()),trackingId:fn(S.Union([S.String(),S.Number()])),align:fn(S.Union([S.Literal("left"),S.Literal("center"),S.Literal("right")])),sourcedFrom:fn(S.Union([S.Literal("DEFAULT"),S.Literal("USER"),S.Literal("LIBRARY"),S.Literal("AI"),S.Literal("EXTRACTED")]))}),il=S.Object({style:fn(S.String()),prompt:S.String(),orientation:fn(S.Union([S.Literal("landscape"),S.Literal("square"),S.Literal("portrait")])),modelId:fn(S.String()),fromContent:fn(S.Object({id:S.Union([S.String(),S.Number()]),type:S.String()}))},{$id:"AIGeneratedMediaSettings"}),eu=S.Composite([$c,S.Object({isSquare:fn(S.Boolean()),originalImage:fn($c),dimensions:fn(S.Object({height:fn(S.Integer()),left:fn(S.Integer()),originalHeight:fn(S.Integer()),originalWidth:fn(S.Integer()),top:fn(S.Integer()),width:fn(S.Integer())})),aiImageGenSettings:fn(il),link:fn(S.Object({type:S.Union([S.Literal("url"),S.Literal("lesson")]),destination:S.String()}))}),vl],{$id:"MediaImage"}),to=S.Object({image:eu},{$id:"MediaImageRecord"}),ja=S.Object({id:S.Union([S.String(),S.Number()]),settings:zd,background:S.Optional(S.Partial(S.Object({media:Fi(S.Partial(to),"mediaRecord")}))),metadata:S.Optional(S.Partial(S.Object({createdVia:S.String()}))),globalBlockId:S.Optional(S.String())},{$id:"BlockBase"}),lu=S.Composite([ja,S.Object({type:S.Literal("interactive")})],{$id:"BlockInteractiveBase"}),rc=S.Object({id:S.String(),key:S.Optional(S.String()),code:S.String(),name:S.Optional(S.String()),filename:S.String(),url:S.Optional(S.String()),isAiGenerated:S.Optional(S.Boolean())},{$id:"Caption"}),$d=S.Partial(S.Object({text:S.String(),model:S.String(),voiceName:S.String(),stability:S.Number(),similarity:S.Number(),styleExaggeration:S.Number(),speakerBoost:S.Boolean(),l10nAutoGenStatus:S.Optional(S.String())},{description:"Settings for AI audio generation."})),Wu=S.Object({type:S.Optional(S.Literal("audio")),inputKey:S.Optional(S.String({description:"Full path in S3 before transcode"})),key:S.Optional(S.String({description:"Full path in S3 after transcode. Use in tandem with the cdn host to resolve the asset"})),duration:S.Optional(S.Number({minimum:0})),originalUrl:S.Optional(S.String({description:"Name of the file that was uploaded"})),pause:S.Optional(S.Boolean()),transcript:fn(S.String({description:"Generated transcript from the uploaded source"})),transcodeId:S.Optional(S.String({description:"Job ID in AWS when performing the transcode"})),aiAudioSettings:S.Optional($d),sourceType:S.Optional(S.Union([S.Literal("upload-audio"),S.Literal("record-audio"),S.Literal("ai-audio")],{description:"Where the audio originated"}))}),ad=S.Composite([Wu,vl],{$id:"MediaAudio"}),Vl=S.Object({audio:ad},{$id:"MediaAudioRecord"}),Hc=fn(S.Union([S.Literal("link"),S.Literal("photo"),S.Literal("video"),S.Literal("iframe"),S.Literal("rich")])),yl=S.Composite([S.Object({type:S.Optional(S.Union([S.Literal("embed"),...Hc.anyOf])),embedType:Hc,src:S.String(),originalUrl:fn(S.Union([S.String(),S.Null()])),provider:fn(S.Union([S.String(),S.Null(
996)])),providerUrl:fn(S.Union([S.String(),S.Null()])),thumbnail:fn(S.Union([S.String(),S.Null()])),favicon:fn(S.Union([S.String(),S.Null()])),title:fn(S.Union([S.String(),S.Null()])),description:fn(S.Union([S.String(),S.Null()])),useRelativePath:fn(S.Boolean()),pause:fn(S.Boolean())}),vl],{$id:"MediaEmbed"}),Hd=S.Object({embed:yl},{$id:"MediaEmbedRecord"}),sf=S.Object({src:fn(S.String()),srcName:fn(S.String())},{$id:"MediaSandbox"}),Jo=S.Object({sandbox:sf},{$id:"MediaSandboxRecord"}),za=S.Partial(S.Object({type:S.Optional(S.Literal("storyline")),src:S.String(),title:S.String(),thumbnail:S.Optional(S.String()),processing:S.Optional(S.Boolean()),contentPrefix:S.String(),meta:S.Partial(S.Object({title:S.String(),version:S.String(),course_id:S.String(),thumbnail:S.String(),stage:S.Object({width:S.Number(),height:S.Number()}),player:S.Partial(S.Object({name:S.String(),width:S.Number(),height:S.Number()})),scenes:S.Array(S.Object({title:S.String()})),slides:S.Array(S.Object({id:S.String(),title:S.String(),scene_index:S.String()}))}))}),{$id:"MediaStoryline"}),Wc=S.Object({storyline:za},{$id:"MediaStorylineRecord"}),Sf=S.Union([S.Literal("processing"),S.Literal("done"),S.Literal("error")],{$id:"VideoChaptersThumbnailStatus"}),xd=S.Object({time:S.Number(),title:S.String(),thumbnail:S.Optional(S.String()),thumbnailStatus:S.Optional(Sf)},{$id:"VideoChapter"}),bl=S.Partial(S.Object({characterId:S.String(),generationError:S.Boolean(),audio:S.Optional(ad),image:S.Optional(eu),generateCaptions:S.Optional(S.Boolean()),skipProcess:S.Optional(S.Boolean())},{description:"Settings and media for AI-generated avatar videos."})),Ec=S.Union([S.Composite([S.Object({type:S.Optional(S.Literal("video")),key:S.String(),url:S.Optional(S.String()),src:S.Optional(S.String()),poster:S.Optional(S.String()),duration:S.Optional(S.Number({minimum:0})),inputKey:S.Optional(S.String()),thumbnail:S.Optional(S.String()),captionUID:S.Optional(S.String()),originalUrl:S.Optional(S.String()),transcodeId:S.Optional(S.String()),pause:S.Optional(S.Boolean()),captions:S.Optional(S.Array(rc)),chapters:S.Optional(S.Array(xd)),subtitle:S.Optional(S.String()),aiImageGenSettings:fn(il),avatarSettings:S.Optional(bl),sourceType:S.Optional(S.Union([S.Literal("upload"),S.Literal("ai-avatar")],{description:"Where the video originated"}))}),vl]),S.Object({isCancelled:S.Literal(!0)})],{$id:"MediaVideo"}),Ed=S.Object({video:Ec},{$id:"MediaVideoRecord"}),ph=S.Union([ad,yl,eu,Ec,sf,za],{$id:"Media"}),od=S.Object({audio:S.Optional(ad),video:S.Optional(Ec),image:S.Optional(eu)},{$id:"MediaAIAvatarRecord"}),Vc=S.Composite([S.Object({originalUrl:S.String(),size:S.Integer(),src:S.Optional(S.String()),type:S.Optional(S.Literal("attachment")),key:S.Optional(S.String()),filename:S.Optional(S.String()),mimeType:S.Optional(S.String())}),vl],{$id:"MediaAttachment"}),nc=S.Object({attachment:Vc},{$id:"MediaAttachmentRecord"}),Du=S.Partial(S.Composite([nc,Vl,Hd,to,Jo,Wc,Ed].map(P=>S.Mapped(S.KeyOf(P),j=>S.Intersect([S.Omit(S.Index(P,j),["type"]),S.Partial(S.Pick(S.Index(P,j),["type"]))])))),{$id:"MediaRecord"}),Td=S.Object({disableZoom:S.Optional(S.Boolean()),fullEmbed:S.Optional(S.Boolean()),showMetaData:S.Optional(S.Boolean())},{$id:"MediaSettings"}),Da=S.Object({id:S.Union([S.String(),S.Number()])},{$id:"BlockItemBase"}),ic=S.Composite([Da,S.Object({title:Ka(0),description:S.Optional(Zs(1)),media:S.Optional(S.Union([Ol,Fi(Du,"mediaRecord")])),settings:S.Optional(S.Object({disableZoom:S.Optional(S.Boolean()),fullEmbed:S.Optional(S.Boolean())}))})],{$id:"BlockItemAccordion"}),z=S.Composite([lu,S.Object({family:S.Literal("interactive"),variant:S.Literal("accordion"),items:S.Array(ic),settings:ga(S.Object({headingLevel:xc,zoomOnClick:S.Boolean(),accordionBehavior:S.Union([S.Literal("keepOpen"),S.Literal("onlyOne")]),audioPosition:ml}))})],{$id:"BlockAccordion"}),b=S.Composite([lu,S.Object({family:S.Literal("ai-scenario"),variant:S.Literal("ai-scenario"),scenarioId:S.String(),items:S.Optional(S.Tuple([]))})],{$id:"BlockAIScenario"}),_=S.Union([S.Literal("AUTO"),S.Literal("BLACK"),S.Literal("LIGHT"),S.Literal("DARK")],{$id:"ColorContrast"}),L=S.Composite([Da,S.Object({type:S.Union([S.Literal(""),S.Literal("link"),S.Literal("relative-url"),S.Literal("email"),S.Literal("exit-course"),S.Literal("lesson")]),label:Ka(1),description:Zs(0),destination:S.Optional(Fi(S.Str
996ing(),"buttonDestination",2))})],{$id:"BlockItemButton"}),G=ga(S.Object({buttonAlignment:S.Union([S.Literal("left"),S.Literal("center"),S.Literal("right")]),buttonColor:S.String(),buttonColorContrast:_,buttonRadius:eo(),buttonShowDescription:S.Boolean(),buttonSpacing:eo(),buttonStyle:S.Literal("rounded"),buttonWidth:eo(),customButtonWidth:S.Number()})),Y=S.Composite([lu,S.Object({family:S.Literal("buttons"),variant:S.Literal("button"),items:S.Optional(S.Array(L)),settings:G})],{$id:"BlockButton"}),se=S.Composite([lu,S.Object({family:S.Literal("buttons"),variant:S.Literal("button stack"),items:S.Array(L),settings:G})],{$id:"BlockButtonStack"}),ce=S.Object({type:S.Optional(S.Union([S.Literal("image"),S.Literal("fullimage"),S.Literal("description")])),description:S.Optional(Zs()),media:S.Optional(Fi(S.Partial(S.Composite([Vl,to])),"mediaRecord"))}),he=S.Composite([Da,S.Object({back:ce,front:ce})],{$id:"BlockItemCard"}),Se=S.Literal("flashcard"),Ae=S.Union([S.Literal("0"),S.Literal("1"),S.Literal("2")],{$id:"FlashcardSize"});function Ve(P){return S.Composite([lu,S.Object({family:Se,variant:S.Literal(P),items:S.Array(he),settings:ga(S.Object({showHint:S.Boolean(),flashcardSize:Ae}))})])}const at=Ua(["variant"],[Ve("flashcard"),Ve("stack")],"BlockFlashcard"),Tt=S.Composite([Da,S.Object({color:S.String(),type:Ka(),value:S.String()})],{$id:"BlockItemChart"});function Ct(P){return S.Composite([ja,S.Object({type:S.Literal("chart"),family:S.Literal("chart"),variant:S.Literal(P),items:S.Array(Tt),title:Zs(0),itemsLabel:Ka(2),valuesLabel:Ka(1),settings:ga(S.Object({headingLevel:xc,valueType:S.Union([S.Literal("numeric"),S.Literal("percentage")])}))})])}function Lt(P){return S.Composite([Ct(P),S.Object({settings:ga(S.Object({chartColor:S.String(),lineCurve:S.Union([S.Literal("linear"),S.Literal("natural")])}))})])}const vr=Ua(["variant"],[Lt("bar"),Lt("line"),Ct("pie")],"BlockChart"),zt=S.Composite([Da,S.Object({title:Ka(0),buttonColor:S.Union([S.Literal("brand"),S.Literal("gray"),S.Literal("black")]),completeHint:Ka(1)})],{$id:"BlockItemContinue"}),Xr=Ua(["type"],[S.Composite([zt,S.Object({type:S.Literal("")})]),S.Composite([zt,S.Object({type:S.Literal("completeBlock")})]),S.Composite([zt,S.Object({type:S.Literal("completeAll")})])],"BlockItemContinue"),qr=S.Object({id:S.Union([S.String(),S.Number()]),correct:S.Optional(S.Boolean())}),Dn=S.Composite([qr,S.Object({title:S.Optional(Ka(1))})],{$id:"BlockItemKnowledgeCheckAnswerPlain"}),Nn=S.Composite([qr,S.Object({title:S.Optional(Zs(1))})],{$id:"BlockItemKnowledgeCheckAnswerRich"}),Zn=S.Union([S.Literal("ANY"),S.Literal("CORRECT_INCORRECT"),S.Literal("CHOICE")],{$id:"BlockKnowledgeCheckFeedbackType"}),nn=S.Composite([Da,S.Object({title:Zs(0),media:S.Optional(Fi(Du,"mediaRecord")),settings:S.Optional(Td),isCaseSensitive:S.Optional(S.Boolean())})],{$id:"BlockItemKnowledgeCheckBase"});function Gr(P,j){const He=P?Nn:Dn;let pr;switch(j){case"ANY":pr=S.Object({feedbackType:S.Optional(S.Union([S.Literal(j),S.Literal("")])),feedback:S.Optional(Zs(1)),answers:S.Array(He)});break;case"CORRECT_INCORRECT":pr=S.Object({feedbackType:S.Literal(j),feedbackCorrect:S.Optional(Zs(2)),feedbackIncorrect:S.Optional(Zs(3)),answers:S.Array(He)});break;case"CHOICE":pr=S.Object({feedbackType:S.Literal(j),answers:S.Array(S.Composite([He,S.Object({feedback:S.Optional(S.Optional(Zs(2)))})]))});break}return S.Composite([nn,pr])}const Qt=S.Object({type:S.Literal("FILL_IN_THE_BLANK")}),Kn=S.Union([S.Composite([Qt,Gr(!1,"ANY")]),S.Composite([Qt,Gr(!1,"CORRECT_INCORRECT")])],{$id:"BlockItemFillIn"}),Ds=S.Composite([Da,S.Object({srcdoc:S.Optional(Fi(S.Optional(S.String()),"codeSrcDoc")),media:S.Optional(Fi(S.Optional(Jo),"codeMedia"))})],{$id:"BlockItemHTML"}),Ai=S.Composite([Da,S.Object({caption:S.Optional(Zs(1)),media:S.Optional(Fi(S.Partial(S.Composite([Vl,to])),"mediaRecord"))})],{$id:"BlockItemImageWithCaption"}),hs=S.Composite([Da,Ai,S.Object({paragraph:S.Optional(Zs(2))})],{$id:"BlockItemImageTextAside"}),ys=S.Union([Ai,hs],{$id:"BlockItemImage"});function As(P){return S.Composite([S.Omit(Gr(!1,P),["answers"]),S.Object({type:S.Literal("MATCHING"),answers:S.Array(S.Composite([Dn,S.Object({matchTitle:S.Optional(Ka(1))})]))})])}const rs=S.Union([As("ANY"),As("CORRECT_INCORRECT")],{$id:"BlockItemMatching"}),oa=S.Object({type:S.Optional(S.Literal("MULTIPLE_CHOICE"))}),uo=Ua(["type","feedbackType"],[S.Composite([oa,Gr(!0,"ANY")]),S.Composite([oa,Gr(!0,"CORRECT_INCORRECT")]),S.Composite([oa,Gr(!0,"CHOICE")])],"BlockItemMultipleChoice"),Uo=S.Object({type:S.Literal("MULTIPLE_RESPONSE"),correct:S.Optional(S.String()),corrects:S.Optional(S.Array(S.String()))}),Ys=S.Union([S.Composite([Uo,Gr(!0,"ANY")]),S.Composite([Uo,Gr(!0,"CORRECT_INCORRECT")])],{$id:"BlockItemMultipleResponse"}),Do=Ua(["type","feedbackType"],[rs,uo,Ys,Kn],"QuestionBankQuestion"),vo=S.Composite([Da,S.Object({type:S.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:S.Optional(S.String()),questionBankTitle:S.Optional(S.String()),questionBankUpdatedAt:S.Optional(S.String()),drawCount:S.Optional(S.Number()),questions:S.Optional(S.Array(Do
996))})],{$id:"BlockItemQuestionBank"}),cu=Ua(["type","feedbackType"],[rs,uo,Ys,vo,Kn],"BlockItemKnowledgeCheck"),lo=S.Composite([Da,S.Object({x:Fi(eo(),"coordinate"),y:Fi(eo(),"coordinate"),icon:S.String(),title:Ka(1),isActive:S.Boolean(),description:Zs(2),media:S.Optional(Fi(Du,"mediaRecord"))})],{$id:"BlockItemLabeledGraphic"}),io=S.Composite([Da,S.Object({paragraph:S.Optional(Zs()),number:fn(S.Union([S.String(),S.Number()]))})],{$id:"BlockItemList"}),Il=S.Composite([Da,S.Object({isHidden:S.Boolean(),title:Ka(0),description:fn(Zs(1)),media:S.Optional(S.Union([Fi(Du,"mediaRecord"),Ol])),type:S.Union([S.Literal("intro"),S.Literal("summary"),S.Literal("step")]),settings:S.Optional(S.Union([S.Partial(S.Object({showMetaData:S.Boolean()})),Ol]))})],{$id:"BlockItemProcess"}),Su=S.Composite([Da,S.Object({name:Zs(1),avatar:S.Object({media:Fi(S.Partial(to),"mediaRecord")}),paragraph:Zs(0),background:S.Optional(S.Object({media:Fi(S.Partial(to),"mediaRecord")}))})],{$id:"BlockItemQuote"}),Gl=S.Union([S.Literal("next"),S.Literal("slide"),S.Literal("end")]),wd=S.Object({scene:S.String(),slide:S.String()}),_d=S.Object({id:S.String(),alt:S.Optional(Ka(2)),goTo:Gl,action:S.Union([S.Literal("continue"),S.Literal("tryAgain")]),emotion:S.String(),feedback:zc(Zs(1)),nextSlide:fn(wd),description:fn(Zs(0))}),ud=S.Object({id:S.String(),alt:S.Optional(Ka(2)),title:zc(Ka(0)),goTo:Gl,type:S.Union([S.Literal("dialogue"),S.Literal("text")]),emotion:S.String(),media:S.Optional(Fi(S.Partial(Vl),"mediaRecord")),nextSlide:fn(wd),responses:S.Array(_d),description:fn(Zs(1)),hasCharacter:S.Boolean()}),xf=S.Composite([eu,S.Object({id:S.String(),filters:S.Array(S.Object({name:S.String(),value:S.String()}))})]),Ef=S.Partial(S.Object({media:Fi(to,"mediaRecord")})),xu=S.Partial(S.Object({id:S.String(),name:S.String(),src:S.Str
996ing(),poses:S.Record(S.String(),xf)})),Gc=S.Composite([Da,S.Object({title:Ka(),background:Ef,character:xu,slides:S.Array(ud),slidesHaveCharacterByDefault:S.Optional(S.Boolean()),blurBackground:S.Optional(S.Boolean())})],{$id:"BlockItemScenario"}),af=S.Composite([Da,S.Object({title:Ka(),pileId:S.Union([S.String(),S.Number()])})],{$id:"BlockItemSorting"}),Tf=S.Union([S.Object({}),S.Composite([Da,S.Object({paragraph:S.Optional(Zs())})])],{$id:"BlockItemStatement"}),sc=S.Composite([Da,ga(S.Object({media:Fi(Wc,"storyline")}))],{$id:"BlockItemStoryline"}),of=S.Composite([Da,S.Object({title:S.Optional(Ka(0)),description:S.Optional(Zs(1)),media:S.Optional(S.Union([Ol,S.Optional(Fi(Du,"mediaRecord"))])),settings:S.Optional(S.Object({disableZoom:S.Optional(S.Boolean()),fullEmbed:S.Optional(S.Boolean())}))})],{$id:"BlockItemTabs"}),uf=S.Composite([Da,S.Object({media:S.Optional(Fi(to,"mediaRecord"))})]),Kc=S.Union([S.Object({}),S.Composite([uf,S.Object({heading:fn(Zs(0))})])],{$id:"BlockItemTextHeading"}),Ad=S.Union([S.Object({}),S.Composite([uf,S.Object({paragraph:fn(Zs(1))})])],{$id:"BlockItemTextParagraph"}),sl=S.Union([S.Object({}),S.Composite([Da,S.Object({heading:fn(Zs(0)),paragraph:fn(Zs(1))})])],{$id:"BlockItemTextHeadingParagraph"}),lf=S.Union([Kc,Ad,sl],{$id:"BlockItemText"}),wf=S.Composite([Da,S.Object({date:S.Optional(Ka(0)),title:Ka(1),description:Zs(2),media:S.Optional(Fi(Du,"mediaRecord")),settings:S.Optional(Td)})],{$id:"BlockItemTimeline"}),ld=S.Union([ic,L,he,Xr,Kn,Ds,ys,cu,lo,io,rs,uo,Ys,Il,vo,Su,Gc,af,Tf,sc,of,lf,wf],{$id:"BlockItem"}),Tc=S.Composite([Da,S.Object({caption:S.Optional(Zs()),code:S.String()})],{$id:"BlockItemCode",deprecated:!0}),Hf=S.Composite([Da,S.Object({caption:S.Optional(Zs()),code:S.String()})],{$id:"BlockItemCodeSnippet"});function Eu(P,j){const He=Fi(P,"mediaRecord",0);return S.Composite([Da,S.Object({media:He})],{$id:j})}function Tu(P,j){return S.Composite([P,S.Object({caption:S.Optional(Zs(1))})],{$id:j})}const ac=Eu(nc,"BlockItemAttachment"),cf=Tu(Eu(Vl),"BlockItemAudio"),Wf=S.Composite([Eu(Hd),S.Object({settings:S.Optional(S.Object({showMetaData:S.Optional(S.Boolean())}))})],{$id:"BlockItemEmbed"}),Cd=S.Object({customVideo:S.Optional(S.Partial(Ec)),video:S.Optional(S.Partial(Ec))},{$id:"MediaVideoOrCustomVideoRecord"}),_f=S.Composite([Tu(Eu(Cd)),S.Object({partnerContentId:S.Optional(S.String())})],{$id:"BlockItemVideo"}),oc=Tu(Eu(od),"BlockItemAIAvatar"),mh=S.Union([ac,cf,Wf,_f],{$id:"BlockItemMultimedia"}),Af=S.Composite([Da,S.Object({step:S.Optional(Ka(0)),title:Zs(1),description:Zs(2),media:S.Optional(Fi(Du,"mediaRecord")),settings:S.Optional(Td)})],{$id:"BlockItemStep"}),Wd=S.Composite([Da,S.Object({title:Zs(0),question:Zs(0),isRequired:S.Optional(S.Boolean())})]),gh=S.Composite([Wd,S.Object({maxLength:S.Optional(S.Number()),questionType:S.Literal("SHORT_RESPONSE")})],{$id:"BlockItemSurveyShortResponse"}),Vf=S.Composite([Wd,S.Object({maxLength:S.Optional(S.Number()),questionType:S.Literal("LONG_RESPONSE")})],{$id:"BlockItemSurveyLongResponse"}),Qi=S.Composite([Wd,S.Object({questionType:S.Literal("RATING"),labels:S.Tuple([S.String(),S.String(),S.String()])})],{$id:"BlockItemSurveyRating"}),Cf=S.Composite([Wd,S.Object({questionType:S.Literal("LINEAR_SCALE"),scaleMax:S.Number(),startLabel:S.Optional(S.String()),endLabel:S.Optional(S.String())})],{$id:"BlockItemSurveyLinearScale"}),Od=Ua(["questionType"],[gh,Vf,Qi,Cf],"BlockItemSurvey");function Id(P){return S.Composite([ja,S.Object({type:S.Literal(P),family:S.Literal(P),variant:S.Literal("code"),items:S.Tuple([Tc]),settings:ga(S.Object({language:S.String(),snippetBackgroundColor:S.String(),snippetColorContrast:_,theme:S.String(),useAdvancedEditor:S.Boolean(),wrapWords:S.Boolean()}))})],{deprecated:!0})}const cd=Ua(["type","family"],[Id("text"),Id("multimedia")],"BlockCode");function Of(P){return S.Composite([ja,S.Object({type:S.Literal(P),family:S.Literal(P),variant:S.Literal("code"),items:S.Tuple([Tc]),settings:ga(S.Object({language:S.String(),snippetBackgroundColor:S.String(),snippetColorContrast:_,theme:S.String(),useAdvancedEditor:S.Boolean(),wrapWords:S.Boolean()}))})])}
996const $a=Ua(["type","family"],[Of("text"),Of("multimedia")],"BlockCodeSnippet"),Yc=ga(S.Object({continueColor:S.String(),continueColorContrast:_,continueRadius:eo(),continueWidth:eo()})),wc=S.Composite([ja,S.Object({type:S.Literal("divider"),family:S.Literal("continue"),variant:S.Literal("continue"),items:S.Tuple([Xr]),settings:Yc})],{$id:"BlockContinue"});function _c(P){const j={type:S.Literal("divider"),family:S.Literal("divider"),variant:S.Literal(P),items:S.Optional(S.Union([S.Tuple([]),S.Tuple([Xr])]))};return P==="numbered divider"?S.Composite([ja,S.Object({...j,settings:ga(S.Object({restartNumbering:S.Boolean(),restartNumberingValue:S.Number()}))})]):S.Composite([ja,S.Object(j)])}const dd=Ua(["variant"],[_c("divider"),_c("numbered divider"),_c("spacing divider")],"BlockDivider"),fd=S.Union([S.Literal("0"),S.Literal("1"),S.Literal("2")],{$id:"MediaWidth"}),lr=S.Intersect([S.Number({minimum:0,maximum:30})],{$id:"MediaCornerRadius"});function Kr(P,j,He){return S.Composite([ja,S.Object({type:S.Literal("multimedia"),family:S.Literal("multimedia"),variant:S.Literal(P),items:S.Array(j,{minItems:1})})],He!==void 0?{$id:He}:{})}const dn=Kr("attachment",ac,"BlockAttachment"),ti=S.Intersect([Kr("audio",cf),S.Object({settings:ga(S.Object({forwardSeekRestricted:S.Boolean()}))})],{$id:"BlockAudio"}),Oi=S.Composite([Kr("embed",Wf),S.Object({settings:ga(S.Object({showBorder:S.Boolean(),mediaWidth:fd}))})],{$id:"BlockEmbed"}),ds=S.Composite([Kr("video",_f),S.Object({settings:ga(S.Object({forwardSeekRestricted:S.Boolean(),mediaWidth:fd,mediaCornerRadius:lr,showTranscript:S.Boolean(),showChapters:S.Boolean()}))})],{$id:"BlockVideo"}),Ls=S.Composite([ja,S.Object({type:S.Literal("multimedia"),family:S.Literal("multimedia"),variant:S.Literal("custom video"),items:S.Array(_f,{minItems:1}),settings:ga(S.Object({forwardSeekRestricted:S.Boolean(),mediaWidth:fd,mediaCornerRadius:lr,showTranscript:S.Boolean(),showChapters:S.Boolean()}))})],{$id:"BlockCustomVideo"}),is=S.Composite([Kr("ai_avatar",oc),S.Object({metadata:S.Optional(S.Partial(S.Object({characterId:S.String(),imageEditPrompt:S.String(),generationError:S.Boolean()})))})],{$id:"BlockAIAvatar"}),Fs=S.Composite([Kr("step",Af),S.Object({settings:ga(S.Object({headingLevel:xc,zoomOnClick:S.Boolean(),audioPosition:ml}))})],{$id:"BlockStep"}),ps=Ua(["variant"],[dn,ti,Oi,ds,Ls,is,Fs],"BlockMultimedia"),xr=S.Composite([ja,S.Object({type:S.Literal("html"),family:S.Literal("html"),settings:ga(S.Object({autoResize:S.Boolean(),hasCustomCompletion:S.Boolean(),height:S.Number(),width:fd})),items:S.Tuple([Ds])})]);function Ms(P){return S.Composite([xr,S.Object({variant:S.Literal(P)})])}const Ra=Ua(["variant"],[Ms("inline"),Ms("cdn")],"BlockHTML"),ka=S.Object({type:S.Literal("image"),settings:ga(S.Object({opacity:eo(),opacityColor:S.String(),zoomOnClick:S.Boolean(),imagePosition:S.Union([S.Literal("left"),S.Literal("right")]),imageSize:S.Union([S.Literal("small"),S.Literal("medium"),S.Literal("large")]),mediaCornerRadius:lr}))});function Ya(P,j,He){return S.Composite([ja,ka,S.Object({family:S.Literal(P),variant:S.Literal(j)}),S.Object({items:S.Array(He)})])}const Lo=Ua(["family","variant"],[Ya("image","hero",Ai),Ya("image","full",Ai),Ya("image","text aside",hs),Ya("image","text overlay",Ai),Ya("image","banner",Ai),Ya("gallery","centered",Ai),Ya("gallery","two column",Ai),Ya("gallery","three column",Ai),Ya("gallery","four column",Ai)],"BlockImage"),Xa=S.Union([S.Literal("freezeFirst"),S.Literal("freezeSecond")],{$id:"ColumnBehavior"}),wa=S.Composite([ja,S.Object({type:S.Literal("knowledgeCheck"),family:S.Literal("knowledgeCheck")})]),so=S.Object({columnBehavior:S.Optional(Xa),correctAnswerColor:S.String(),correctAnswerColorContrast:_,hideRetryOnCorrectAnswer:S.Boolean(),incorrectAnswerColor:S.String(),incorrectAnswerColorContrast:_,knowledgeCheckWidth:S.Integer({minimum:0}),requireCorrectAnswer:S.Boolean(),retryCount:S.Integer(),revealCorrectAnswers:S.Boolean()}),va=Ua(["type","feedbackType"],[rs,uo,Ys,Kn],"BlockItemKnowledgeCheckWithoutQuestionBank"),jo=S.Composite([wa,S.Object({variant:S.Literal("draw from question bank"),items:S.Tuple([vo]),settings:ga(so)})],{$id:"BlockKnowledgeCheckQuestionBank"}),Xc=S.Composite([wa,S.Object({variant:S.Literal("fillin"),items:S.Tuple([va]),settings:ga(so)})],{$id:"BlockKnowledgeCheckFillIn"}),tu=S.Composite([wa,S.Object({variant:S.Literal("matching"),items:S.Tuple([va]),settings:ga(so)})],{$id:"BlockKnowledgeCheckMatching"}),Pl=S.Composite([wa,S.Object({variant:S.Literal("multiple choice"),items:S.Tuple([va]),settings:ga(so)})],{$id:"BlockKnowledgeCheckMultipleChoice"}),Pd=S.Composite([wa,S.Object({variant:S.Literal("multiple response"),items:S.Tuple([va]),settings:ga(so)})],{$id:"BlockKnowledgeCheckMultipleResponse"}),Rl=S.Composite([ja,S.Object({type:S.Literal("interactive"),family:S.Literal("knowledge"),variant:S.Literal("knowledge"),items:S.Tuple([va]),settings:ga(so)})],{$id:"BlockKnowledge"}
996),Qc=Ua(["type","family","variant"],[jo,Xc,tu,Pl,Pd,Rl],"BlockKnowledgeCheck"),Rd=S.Composite([lu,S.Object({family:S.Literal("interactive-fullscreen"),variant:S.Literal("labeledgraphic"),items:S.Array(lo),media:Fi(to,"mediaRecord"),settings:ga(S.Object({markerColor:S.String(),markerColorContrast:_,zoomOnClick:S.Boolean(),mediaWidth:S.Union([S.Literal("0"),S.Literal("1"),S.Literal("2")]),audioPosition:ml}))})],{$id:"BlockLabeledGraphic"}),Na=S.Literal("list"),wu=S.Literal("list");function Jc(P){return S.Composite([ja,S.Object({type:Na,family:wu,variant:S.Literal(P),items:S.Array(io),settings:ga(S.Object({audioPosition:ml,bulletPadding:S.Integer({minimum:0}),listItemColor:S.String(),listItemColorContrast:_,listWidth:S.Integer({minimum:0})})),media:S.Optional(Fi(S.Partial(Vl),"mediaRecord"))})])}const al=Ua(["variant"],[Jc("bulleted"),Jc("checkboxes"),Jc("numbered")],"BlockList"),Mo=S.Composite([ja,S.Object({type:S.Literal("custom"),family:S.Literal("mondrian"),variant:S.Literal("mondrian"),items:S.Optional(S.Tuple([])),blockumentId:S.Optional(S.String()),settings:ga(S.Object({contentWidth:eo()}))})],{$id:"BlockMondrian"});function Ac(P){return S.Composite([S.Omit(ja,["settings"]),S.Partial(S.Pick(ja,["settings"])),S.Object({type:S.Literal(P),family:S.Literal(P),variant:S.Literal(P),items:S.Optional(S.Tuple([]))})])}const Vd=S.Composite([Ac("pending"),S.Object({pendingItemId:S.Optional(S.Union([S.String(),S.Number()]))})]),If=Ac("spacer"),Gf=Ua(["type","family","variant"],[Vd,If],"BlockPlaceholder"),Mh=ga(S.Object({headingLevel:xc,showStepLabel:S.Boolean(),stepLabel:Ka(),zoomOnClick:S.Boolean(),audioPosition:ml})),Kf=S.Composite([lu,S.Object({family:S.Literal("interactive-fullscreen"),variant:S.Literal("process"),items:S.Array(Il),settings:Mh})],{$id:"BlockProcess"}),kh=S.Literal("quote"),yp=S.Literal("quote");function df(P){return S.Composite([ja,S.Object({type:kh,family:yp,variant:S.Literal(P),items:S.Array(Su),settings:ga(S.Object({audioPosition:ml,avatar:S.Boolean(),avatarSize:S.Number({minimum:0}),divider:S.Boolean(),dividerSize:S.Integer({minimum:0}),quoteIcon:S.Boolean(),quotePadding:S.Integer({minimum:0}),quoteWidth:S.Integer({minimum:0}),quotesInline:S.Boolean(),showBorder:S.Boolean(),quoteAlignment:S.Union([S.Literal("left"),S.Literal("center"),S.Literal("right")])}))})])}const vh=Ua(["variant"],[df("a"),df("b"),df("background"),df("c"),df("carousel"),df("d")],"BlockQuote"),Pf=S.Composite([lu,S.Object({family:S.Literal("interactive-fullscreen"),variant:S.Literal("scenario"),items:S.Array(Gc),settings:ga(S.Object({headingLevel:xc}))})],{$id:"BlockScenario"}),Gd=S.Composite([lu,S.Object({family:S.Literal("interactive-fullscreen"),variant:S.Literal("sorting"),items:S.Array(af),piles:S.Array(S.Object({id:S.Union([S.String(),S.Number()]),title:Ka()}))})],{$id:"BlockSorting"});function hd(P){return S.Composite([ja,S.Object({type:S.Literal("text"),family:S.Literal("impact"),variant:S.Literal(P),items:S.Array(Tf),media:S.Optional(Fi(S.Partial(S.Composite([Vl])),"mediaRecord")),settings:ga(S.Object({audioPosition:ml,divider:S.Boolean(),dividerPadding:S.Number({minimum:0}),dividerSize:S.Number({minimum:0}),noteColor:S.String(),noteColorContrast:_,noteIcon:S.Boolean(),noteIconColor:S.String(),noteSize:S.Union([S.Literal("sm"),S.Literal("med"),S.Literal("lg")]),statementWidth:S.Integer({minimum:0})}))})])}const Nh=Ua(["variant"],[hd("a"),hd("b"),hd("c"),hd("d"),hd("note")],"BlockStatement"),yh=S.Composite([ja,S.Object({type:S.Literal("interactive"),family:S.Literal("360"),variant:S.Literal("storyline"),items:S.Tuple([sc]),settings:ga(S.Object({mediaWidth:S.Union([S.Literal("0"),S.Literal("1"),S.Literal("2")]),mediaCornerRadius:lr}))})],{$id:"BlockStoryline"}),bh=S.Composite([ja,S.Object({title:Zs(0),type:S.Literal("interactive"),family:S.Literal("survey"),variant:S.Literal("survey"),items:S.Array(Od)})],{$id:"BlockSurvey"}),Rf=S.Composite([lu,S.Object({family:S.Literal("interactive"),variant:S.Literal("tabs"),items:S.Array(of),settings:ga(S.Object({zoomOnClick:S.Boolean(),audioPosition:ml}))})],{$id:"BlockTabs"}),Yf=S.Object({type:S.Literal("text"),family:S.Literal("text"),media:S.Optional(Fi(S.Partial(Vl),"mediaRecord"))});function Kd(P,j,He){return S.Composite([ja,Yf,S.Object({variant:S.Literal(P),items:S.Array(He),settings:ga(S.Composite([S.Object({audioPosition:ml,cellPadding:S.Number({minimum:0}),textPadding:S.Number({minimum:0})}),S.Object({[j]:S.Integer({minimum:0})})]))})])}function Sh(P){return S.Composite([Kd(P,"textWidth",Ad),S.Object({settings:ga(S.Object({audioPosition:ml,images:S.Boolean(),zoomOnClick:S.Boolean()}))})])}const xh=Ua(["variant"],[Kd("paragraph","textWidth",Ad),Kd("heading","textWidth",Kc),Kd("subheading","textWidth",Kc),Kd("heading paragraph","textWidth",sl),Kd("subheading paragraph","textWidth",sl),Kd("table","tableWidth",Ad),Sh("two column"),Sh("three column"),Sh("four column"),Id("text"),Of("text")],"BlockText"),Fh=S.Composite([ja,S.Object({type:S.Literal("textToVideo"),family:S.Literal("textToVideo"),variant:S.Literal("textToVideo"),items:S.Array(Da)})],{$id:"BlockTextToVideo",deprecated:!0}),Df=S.Composite([lu,S.Object({family:S.Literal("interactive-fullscreen"),variant:S.Literal("timeline"),items:S.Array(wf),settings:ga(S.Object({headingLevel:xc,zoomOnClick:S.Boolean(),audioPosition:ml}))})],{$id:"BlockTimeline"}
996),Xf=Ua(["type","family","variant"],[z,b,se,Y,vr,cd,$a,wc,dd,Ra,at,Lo,Qc,Rd,al,Mo,ps,bh,Kf,vh,Pf,Gd,Gf,Nh,yh,Rf,Fh,xh,Df],"Block"),Bh=Ua(["type","family","variant"],[z,Y,se,at,Rd,Kf,Pf,Gd,yh,Rf,Df],"BlockInteractive"),Lf=S.Optional(S.Record(S.String(),S.Unknown())),Sl=S.Array(S.Union([S.String(),S.Integer(),S.Record(S.String(),S.Union([S.String(),S.Number()]))]),{$id:"ChangePath"}),Uh=S.Object({type:S.Literal("update"),oldValue:S.Unknown(),newValue:S.Unknown()},{$id:"UpdateCommand"}),ff=S.Object({type:S.Literal("add"),newValue:S.Unknown(),meta:Lf},{$id:"AddCommand"}),Eh=S.Object({type:S.Literal("delete"),oldValue:S.Unknown()},{$id:"DeleteCommand"}),jh=S.Object({type:S.Literal("move"),from:Sl},{$id:"MoveCommand"}),hf=S.Object({type:S.Literal("append"),newValue:S.Unknown()},{$id:"AppendCommand"}),zh=S.Union([Uh,ff,Eh,jh,hf],{$id:"Command"}),$h=S.Object({id:S.String(),path:Sl,proposedAt:S.String(),proposedBy:S.String(),source:S.Optional(S.Union([S.String(),S.Null()])),locale:S.Optional(S.Union([S.String(),S.Null()])),command:zh},{$id:"Change"}),bp=S.Array($h,{$id:"Changeset",minItems:1}),Qf=S.Union([S.Literal("ACCENT"),S.Literal("CENTERED"),S.Literal("CENTERED_ACCENT_TINT"),S.Literal("CENTERED_OVERLAY"),S.Literal("CENTERED_IMAGE"),S.Literal("IMAGE"),S.Literal("LEFT"),S.Literal("LEFT_OVERLAY"),S.Literal("SPLIT_LEFT"),S.Literal("SPLIT_LEFT_IMAGE"),S.Literal("SPLIT_RIGHT"),S.Literal("SPLIT_RIGHT_IMAGE"),S.Literal("TWO_THIRDS_LEFT_IMAGE"),S.Literal("TWO_THIRDS_RIGHT_IMAGE"),S.Literal("WHITE"),S.Literal("VIDEO")],{$id:"CoverPageLayout"}),Hh=S.Union([S.Literal("LARGE"),S.Literal("MEDIUM"),S.Literal("SMALL")],{$id:"LessonHeaderSize"}),Wh=S.Union([S.Literal("CONTINOUS"),S.Literal("STEPPED")],{$id:"BlockNavigation"}),Vh=S.Union([S.Literal("COMPACT"),S.Literal("OVERLAY"),S.Literal("SIDEBAR")],{$id:"Navigation"}),Yd=S.Union([S.Literal("ACCENT"),S.Literal("DARK"),S.Literal("DARK_ACCENT"),S.Literal("DARK_IMAGE"),S.Literal("GRAY"),S.Literal("IMAGE"),S.Literal("LIGHT"),S.Literal("LIGHT_ACCENT"),S.Literal("LIGHT_IMAGE"),S.Literal("TINT")],{$id:"NavigationStyle"}),Sp=S.Union([S.Literal("THEME_DEFAULT"),S.Literal("CIRCULAR_FILL"),S.Literal("INCOMPLETE_COMPLETE")],{$id:"ProgressIndicatorStyle"}),Gh=S.Union([S.Literal("ACCENT"),S.Literal("DARK"),S.Literal("LIGHT"),S.Literal("TINT")],{$id:"ButtonScheme"}),Kh=S.Union([S.Literal("FULL"),S.Literal("FLOATING"),S.Literal("FLOATING_FULL")],{$id:"ButtonNavigationStyle"}),xp=S.Union([S.Literal("ROUNDED"),S.Literal("SQUARED")],{$id:"ButtonInlineStyle"}),Mf=S.Union([S.Literal("ROUNDED"),S.Literal("SQUARED")],{$id:"BlockCorners"}),Yh=S.Union([S.Literal("ACCENT"),S.Literal("BLACK"),S.Literal("COLOR"),S.Literal("DARK"),S.Literal("GRAY"),S.Literal("IMAGE"),S.Literal("LIGHT"),S.Literal("TINT")],{$id:"LessonHeaderStyle"}),kf=S.Union([S.Literal("ACCENT"),S.Literal("DARK"),S.Literal("LIGHT")],{$id:"LessonHeaderImageColor"}),Jf=S.Union([S.Literal("ACCENT"),S.Literal("DARK"),S.Literal("LIGHT")],{$id:"CoverImageColor"}),Ep=S.Object({themeId:S.String(),accentContrast:fn(_),allowSearch:S.Boolean(),animateBlockEntrance:S.Boolean(),blockCorners:Mf,blockNavigationType:fn(Wh),blockPaddingBottom:S.Integer({minimum:0,deprecated:!0}),blockPaddingTop:S.Integer({minimum:0,deprecated:!0}),blockBackgroundColor:fn(S.String()),blockBackgroundColorContrast:fn(_),blockBackgroundType:fn(gl),blockContinueCompleteHint:fn(S.String()),blockContinueCompletionType:fn(S.String()),blockContinueLabel:fn(S.String()),blockPaddingEnd:fn(S.Number({minimum:0})),blockPaddingStart:fn(S.Number({minimum:0})),blockTextBackgroundColor:fn(S.String()),blockTextBackgroundColorContrast:fn(_),blockTextBackgroundType:fn(gl),blockTextBodyFontSize:fn(S.Number({minimum:1})),blockTextHeadingFontSize:fn(S.Number({minimum:1})),blockTextPaddingEnd:fn(S.Number({minimum:0})),blockTextPaddingStart:fn(S.Number({minimum:0})),blockTextSubheadingFontSize:fn(S.Number({minimum:1})),buttonInlineStyle:xp,buttonNavigationStyle:Kh,buttonScheme:Gh,colorAccent:S.String(),compactShowLessonCount:S.Boolean(),coverImage:S.String(),coverImageAlpha:S.Integer({minimum:0,maximum:100}),coverImageColor:fn(Jf),coverImageDefault:fn(S.String()),coverPageType:Qf,customColorLessonHeaderContrast:fn(_),enableVideoPlaybackSpeed:fn(S.Boolean()),hideCoverPage:fn(S.Boolean()),hideLessonHeaders:fn(S.Boolean()),lessonHeaderColor:fn(S.String()),lessonHeaderImage:S.String(),lessonHeaderImageAlpha:S.Number({minimum:0,maximum:1}),lessonHeaderImageColor:kf,lessonHeaderSize:Hh,lessonHeaderStyle:Yh,markLessonsComplete:fn(S.Boolean()),navigation:S.Boolean(),navigationRestricted:S.Boolean(),navigationSectionsExpanded:fn(S.Boolean()),navigationStyle:Yd,navigationType:Vh,progressIndicatorStyle:fn(Sp),showAuthor:S.Boolean(),showLessonCount:S.Boolean(),showNavigationButtons:S.Boolean(),showStartButton:fn(S.Boolean()),sidebarStartsOpen:S.Boolean(),bodyTypefaceId:fn(S.String()),headingTypefaceId:fn(S.String()),uiTypefaceId:fn(S.String()),colors:fn(S.Array(S.String(),{minItems:6,maxItems:6}))},{$id:"CourseTheme"}
996),Xh=S.Object({id:S.Union([S.String(),S.Number()]),originalId:fn(S.String()),author:fn(S.String()),selectedAuthorId:S.String(),color:S.String(),title:Ka(0),isShareDisabled:fn(S.Boolean()),sharePassword:S.String(),description:Zs(1),copyOf:fn(S.String()),order:S.String(),media:Fi(Du,"mediaRecord"),lessons:S.Array(S.String()),jobs:S.Array(S.String()),labelSetId:S.String(),deleted:S.Boolean(),createdAt:Cl(),updatedAt:Cl(),contentUpdatedAt:fn(Cl()),lastPublishedAt:fn(Cl()),markComplete:S.Boolean(),isDefault:S.Boolean(),ready:S.Boolean(),reviewId:S.String(),exportSettings:S.Record(S.String(),S.Any()),headingTypefaceId:fn(S.String()),bodyTypefaceId:fn(S.String()),uiTypefaceId:fn(S.String()),otherTypefaceIds:fn(S.Array(S.String())),tenantId:fn(S.String()),showLessonCount:S.Boolean(),showNavigationButtons:S.Boolean(),allowSearch:S.Boolean(),animateBlockEntrance:S.Boolean(),transferredAt:fn(Cl()),allowCopy:S.Boolean(),enableVideoPlaybackSpeed:S.Boolean(),jobType:fn(S.String()),partnerContentId:fn(S.String()),theme:fn(Ep),type:fn(S.Literal("onePage")),features:S.Record(S.String(),S.Boolean()),mondrian:fn(S.Unknown()),locale:fn(S.Union([S.String(),S.Null()])),sourceCourseLocaleId:S.Optional(S.Union([S.String(),S.Number(),S.Null()])),experiments:S.Optional(S.Union([S.Record(S.String(),S.Unknown()),S.Null()])),navigationMode:S.Union([S.Literal("restricted"),S.Literal("free")]),fonts:S.Optional(S.Object({ui:S.Record(S.Literal("font"),S.String()),body:S.Record(S.Literal("font"),S.String()),headings:S.Record(S.Literal("font"),S.String())})),coverImage:S.Optional(S.Partial(S.Object({alpha:fn(S.Integer({minimum:0,maximum:100})),displaySidebar:S.Boolean(),media:Fi(to,"mediaRecord",0)}))),sidebarMode:S.Union([S.Literal("closed"),S.Literal("open"),S.Literal("hidden")]),cardImage:S.Optional(S.Partial(S.Object({media:to}))),blockBackgroundImage:S.Optional(S.Partial(S.Object({media:Fi(S.Partial(to),"mediaRecord")}))),lessonHeaderImage:S.Optional(S.Partial(S.Object({alpha:fn(S.Number({minimum:0,maximum:1})),media:Fi(S.Partial(to),"mediaRecord",0),overlayColor:S.Optional(S.Union([S.Literal("LIGHT"),S.Literal("DARK"),S.Literal("ACCENT")]))}))),overlayNavigationImage:fn(S.Partial(S.Object({alpha:fn(S.Number({minimum:0,maximum:1})),media:Fi(to,"mediaRecord")}),{deprecated:!0})),lmsOptions:S.Optional(S.Object({enableExitCourse:S.Boolean(),disableCoverPage:S.Boolean()})),aiTutorImage:fn(S.Partial(S.Object({media:to}))),settings:S.Optional(ga(S.Object({startWithAI:S.Boolean(),isAIConceptToCourse:S.Boolean(),aiTutorEnabled:S.Boolean()}))),defaultLocaleId:fn(S.String()),metadata:S.Optional(S.Partial(S.Object({createdVia:S.String()})))},{$id:"Course"}),Tp=S.Object({default:S.Boolean(),id:S.Union([S.String(),S.Number()]),key:S.String(),name:S.String(),style:S.String(),weight:S.String()},{$id:"Font"}),Nf=S.Object({a11yAiTutorArticulateLogo:S.String(),a11yAiTutorAssistantMessage:S.String(),a11yAiTutorAskButton:S.String(),a11yAiTutorChatWindow:S.String(),a11yAiTutorCloseTipsModal:S.String(),a11yAiTutorFeedbackDismiss:S.String(),a11yAiTutorFeedbackInput:S.String(),a11yAiTutorFeedbackSubmit:S.String(),a11yAiTutorFeedbackWhyUnhelpful:S.String(),a11yAiTutorHide:S.String(),a11yAiTutorInput:S.String(),a11yAiTutorSection:S.String(),a11yAiTutorSendButton:S.String(),a11yAiTutorSeeTips:S.String(),a11yAiTutorStartOver:S.String(),a11yAiTutorThumbsDown:S.String(),a11yAiTutorThumbsDownSubmitted:S.String(),a11yAiTutorThumbsUp:S.String(),a11yAiTutorThumbsUpSubmitted:S.String(),a11yAiTutorUserMessage:S.String(),a11yAnswerLive:S.String(),a11yAuthorPrefix:S.String(),a11yBlockChartAxisX:S.String(),a11yBlockChartAxisY:S.String(),a11yBlockChartBar:S.String(),a11yBlockChartInstructions:S.String(),a11yBlockChartLine:S.String(),a11yBlockChartPie:S.String(),a11yBlockChartPreposition:S.String(),a11yBlockCode:S.String(),a11yBlockCodeSnippet:S.String(),a11yBlockEmbed:S.String(),a11yBlockFlashcardBack:S.String(),a11yBlockFlashcardFront:S.String(),a11yBlockFlashcardGrid:S.String(),a11yBlockFlashcardStack:S.String(),a11yBlockFlashcardStackRoleDescription:S.String(),a11yBlockFlashcardStackSlideControls:S.Str
996ing(),a11yBlockFlashcardStackSlideControlsGoToNext:S.String(),a11yBlockFlashcardStackSlideControlsGoToPrevious:S.String(),a11yBlockFlashcardStackSlideControlsGoToSlide:S.String(),a11yBlockFlashcardStackSlidePreposition:S.String(),a11yBlockFlashcardStackSlideRoleDescription:S.String(),a11yBlockImageCarousel:S.String(),a11yBlockImageCarouselRoleDescription:S.String(),a11yBlockImageCarouselSlideControls:S.String(),a11yBlockImageCarouselSlideControlsGoToNext:S.String(),a11yBlockImageCarouselSlideControlsGoToPrevious:S.String(),a11yBlockImageCarouselSlideControlsGoToSlide:S.String(),a11yBlockImageCarouselSlidePreposition:S.String(),a11yBlockImageCarouselSlideRoleDescription:S.String(),a11yBlockKnowledgeCheck:S.String(),a11yBlockKnowledgeCheckFIB:S.String(),a11yBlockKnowledgeCheckM:S.String(),a11yBlockKnowledgeCheckMC:S.String(),a11yBlockKnowledgeCheckMR:S.String(),a11yBlockQuoteCarousel:S.String(),a11yBlockQuoteCarouselRoleDescription:S.String(),a11yBlockQuoteCarouselSlideControls:S.String(),a11yBlockQuoteCarouselSlideControlsGoToNext:S.String(),a11yBlockQuoteCarouselSlideControlsGoToPrevious:S.String(),a11yBlockQuoteCarouselSlideControlsGoToSlide:S.String(),a11yBlockQuoteCarouselSlidePreposition:S.String(),a11yBlockQuoteCarouselSlideRoleDescription:S.String(),a11yBlockProcessCarousel:S.String(),a11yBlockProcessRoleDescription:S.String(),a11yBlockProcessSlideControls:S.String(),a11yBlockProcessSlideControlsGoToNext:S.String(),a11yBlockProcessSlideControlsGoToPrevious:S.String(),a11yBlockProcessSlideControlsGoToSlide:S.String(),a11yBlockProcessSlideControlsIntroduction:S.String(),a11yBlockProcessSlideControlsSummary:S.String(),a11yBlockProcessSlidePreposition:S.String(),a11yBlockProcessSlideRoleDescription:S.String(),a11yBlockStoryline:S.String(),a11yBlockSurveyCharCount:S.String(),a11yBlockSurveyConfirmation:S.String(),a11yBlockSurveySubmitting:S.String(),a11yBlockSurveyValidationError:S.String(),a11yBlockTimeline:S.String(),a11yBlockVideoSidePanelTablist:S.String(),a11yCarouselNext:S.String(),a11yCarouselPrevious:S.String(),a11yCertificateDownloadFailed:S.String(),a11yCorrectLive:S.String(),a11yCoverCourseCompleted:S.String(),a11yCoverCourseLength:S.String(),a11yCoverRequirementComplete:S.String(),a11yCoverRequirementFailed:S.String(),a11yCoverRequirementIncomplete:S.String(),a11yExcelIcon:S.String(),a11yFileIcon:S.String(),a11yGroupAudioPlayer:S.String(),a11yGroupScenario:S.String(),a11yGroupVideoPlayer:S.String(),a11yLabeledGraphicBlock:S.String(),a11yLabeledGraphicButtonMarker:S.String(),a11yLabeledGraphicIconArrowDown:S.String(),a11yLabeledGraphicIconArrowDownLeft:S.String(),a11yLabeledGraphicIconArrowDownRight:S.String(),a11yLabeledGraphicIconArrowLeft:S.String(),a11yLabeledGraphicIconArrowRight:S.String(),a11yLabeledGraphicIconArrowUp:S.String(),a11yLabeledGraphicIconArrowUpLeft:S.String(),a11yLabeledGraphicIconArrowUpRight:S.String(),a11yLabeledGraphicIconCheck:S.String(),a11yLabeledGraphicIconDot:S.String(),a11yLabeledGraphicIconHeart:S.String(),a11yLabeledGraphicIconInformation:S.String(),a11yLabeledGraphicIconPin:S.String(),a11yLabeledGraphicIconPlus:S.String(),a11yLabeledGraphicIconQuestion:S.String(),a11yLabeledGraphicIconX:S.String(),a11yLabeledGraphicUnviewed:S.String(),a11yLabeledGraphicViewed:S.String(),a11yMatchingColumn1:S.String(),a11yMatchingColumn2:S.String(),a11yMatchingItemMatchWith:S.String(),a11yMatchingItemMatchedWith:S.String(),a11yMatchingItemPrompt:S.Optional(S.String()),a11yMatchingItemSelectableItem:S.String(),a11yMatchingItemShowLess:S.String(),a11yMatchingItemShowMore:S.String(),a11yMediaCaptions:S.String(),a11yMediaCaptionsOff:S.String(),a11yMediaCurrentTime:S.String(),a11yMediaDuration:S.String(),a11yMediaExitFullscreen:S.String(),a11yMediaExitPictureInPicture:S.String(),a11yMediaFullscreen:S.String(),a11yMediaMute:S.String(),a11yMediaPause:S.String(),a11yMediaPictureInPicture:S.String(),a11yMediaPlay:S.String(),a11yMediaPlayVideo:S.String(),a11yMediaPlaybackRate:S.String(),a11yMediaRemainingTime:S.String(),a11yMediaSeek:S.String(),a11yMediaSeekDisabled:S.String(),a11yMediaUnmute:S.String(),a11yMediaVolume:S.String(),a11yNavigationMenuClose:S.String(),a11yNavigationMenuOpen:S.Str
996ing(),a11yNoticeLinkNewTab:S.String(),a11yPageMarker:S.String(),a11yPDFIcon:S.String(),a11yPPTIcon:S.String(),a11yPreposition:S.String(),a11yProgressSummaryRequirementCompleted:S.String(),a11yProgressSummaryRequirementNotCompleted:S.String(),a11yQuizFailed:S.String(),a11yQuizFeedback:S.String(),a11yQuizPassed:S.String(),a11yQuizReviewCorrectlyChecked:S.String(),a11yQuizReviewCorrectlySelected:S.String(),a11yQuizReviewCorrectlyUnchecked:S.String(),a11yQuizReviewCorrectlyUnselected:S.String(),a11yQuizReviewIncorrectlyChecked:S.String(),a11yQuizReviewIncorrectlySelected:S.String(),a11yQuizReviewIncorrectlyUnchecked:S.String(),a11yQuizReviewIncorrectlyUnselected:S.String(),a11yRegionMainLesson:S.String(),a11yRegionMainOverview:S.String(),a11yRegionNavLesson:S.String(),a11yRegionNavOverview:S.String(),a11yRestrictedNav:S.String(),a11yRTFIcon:S.String(),a11ySearchClose:S.String(),a11ySearchInput:S.String(),a11ySearchOpen:S.String(),a11yStatusAdditionalContent:S.String(),a11yStatusContinued:S.String(),a11yUnzoomImage:S.String(),a11yWordIcon:S.String(),a11yZipIcon:S.String(),a11yZoomImage:S.String(),aiTutorAskButton:S.String(),aiTutorBlankHeading:S.String(),aiTutorBlankPillExplain:S.String(),aiTutorBlankPillSearch:S.String(),aiTutorBlankPillSummarize:S.String(),aiTutorDisabledWhileQuiz:S.String(),aiTutorDisclaimer:S.String(),aiTutorErrorGeneral:S.String(),aiTutorErrorUnavailable:S.String(),aiTutorFeedbackDetailsPlaceholder:S.String(),aiTutorFeedbackImprovementNote:S.String(),aiTutorFeedbackLearnMore:S.String(),aiTutorFeedbackPopoverTitle:S.String(),aiTutorFeedbackReasonIncorrect:S.String(),aiTutorFeedbackReasonNoAnswer:S.String(),aiTutorFeedbackReasonNotHelpful:S.String(),aiTutorFeedbackReasonNotRelevant:S.String(),aiTutorFeedbackReasonOther:S.String(),aiTutorFeedbackSubmit:S.String(),aiTutorFeedbackThankYou:S.String(),aiTutorFeedbackToast:S.String(),aiTutorGeneratingResponse:S.String(),aiTutorHideTooltip:S.String(),aiTutorInputPlaceholder:S.String(),aiTutorPrivacyLink:S.String(),aiTutorSeeTips:S.String(),aiTutorStartOverTooltip:S.String(),aiTutorTermsLink:S.String(),aiTutorTermsPrefix:S.String(),aiTutorTipsGotIt:S.String(),aiTutorTipsTip1:S.String(),aiTutorTipsTip2:S.String(),aiTutorTipsTip3:S.String(),aiTutorTipsTitle:S.String(),audioShowTranscript:S.String(),audioHideTranscript:S.String(),audioTranscript:S.String(),audioNoTranscriptAvailable:S.String(),audioPlaySpeed:S.String(),audioExpandPlayer:S.String(),audioCollapsePlayer:S.String(),blocksClickToFlip:S.String(),blocksPreposition:S.String(),certificateDownload:S.String(),certificateDownloadInProgress:S.String(),certificateRetryDownload:S.String(),courseCompletionOverdue:S.String(),courseExit:S.String(),courseFinish:S.String(),courseHome:S.String(),courseResume:S.String(),courseSkipToLesson:S.String(),courseStart:S.String(),coverCompleteAllLessons:S.String(),coverCompleted:S.String(),coverCompleteLessonsName:S.String(),coverCompleteLessonsPreposition:S.String(),coverCompleteLessonsInCourse:S.String(),coverCourseRequirements:S.String(),coverHour:S.String(),coverHours:S.String(),coverLesson:S.String(),coverLessons:S.String(),coverMinute:S.String(),coverMinutes:S.String(),coverNoAttemptsRemaining:S.String(),coverPublished:S.String(),coverQuizScoreOf:S.String(),coverQuizPercentOrHigher:S.String(),curtainLoading:S.String(),curtainOffline:S.String(),curtainOfflineReconnecting:S.String(),curtainSessionTimedOut:S.String(),curtainSessionTimedOutRefresh:S.String(),curtainSessionTimedOutRestart:S.String(),curtainSomethingWrong:S.String(),curtainSomethingWrongRefresh:S.String(),curtainSomethingWrongTryAgain:S.String(),embedLinkGroup:S.String(),embedPlayerGroup:S.String(),embedReadMore:S.String(),embedViewOn:S.String(),exitMessage:S.String(),knowledgeCheckCorrectAnswerRequiredBlock:S.String(),knowledgeCheckCorrectAnswerRequiredNav:S.String(),knowledgeCheckMaxRetriesReached:S.String(),knowledgeCheckRetriesAttemptsRemaining:S.String(),labeledGraphicMarkerLabel:S.String(),lessonComplete:S.String(),lessonName:S.String(),lessonPreposition:S.String(),lessonRestricted:S.String(),noResults:S.Str
996ing(),numberedDividerGroup:S.String(),overviewPageTitleSuffix:S.String(),pauseButtonLabel:S.String(),playButtonLabel:S.String(),processComplete:S.String(),processLandmark:S.String(),processLessonName:S.String(),processNextStep:S.String(),processStart:S.String(),processStartAgain:S.String(),processStepName:S.String(),processStepPreposition:S.String(),processSwipe:S.String(),progressPieClickToComplete:S.String(),progressPieClickToReset:S.String(),progressPieCompleted:S.String(),progressPieQuizFailed:S.String(),progressPieUnstarted:S.String(),progressSummary:S.String(),progressSummaryBackToLearning:S.String(),progressSummaryCompleted:S.String(),progressSummaryCongratulations:S.String(),progressSummaryNextUp:S.String(),progressSummaryNoTitle:S.String(),progressSummaryPercentComplete:S.String(),progressSummaryRequirementsMet:S.String(),progressSummaryStartOver:S.String(),quizAcceptableResponses:S.String(),quizAnswerPlaceholder:S.String(),quizContinue:S.String(),quizCorrect:S.String(),quizIncorrect:S.String(),quizNext:S.String(),quizPassing:S.String(),quizQuestion:S.String(),quizRequireAnswer:S.String(),quizRequirePassingScore:S.String(),quizRestart:S.String(),quizResults:S.String(),quizScore:S.String(),quizSkipAhead:S.String(),quizStart:S.String(),quizSubmit:S.String(),quizTakeAgain:S.String(),quizTimerElapsed:S.String(),quizTimerExpired:S.String(),quizTimerExpiredAction:S.String(),quizTimerExpiredMessage:S.String(),quizTimerHide:S.String(),quizTimerLimit:S.String(),quizTimerMinute:S.String(),quizTimerMinutePlural:S.String(),quizTimerRemaining:S.String(),quizTimerShow:S.String(),result:S.String(),results:S.String(),salutation:S.String(),scenarioComplete:S.String(),scenarioContinue:S.String(),scenarioStartOver:S.String(),scenarioTryAgain:S.String(),search:S.String(),seekSliderLabel:S.String(),sortingCardsCorrect:S.String(),sortingLandmark:S.String(),sortingReplay:S.String(),surveyConfirmation:S.String(),surveyPlaceholder:S.String(),surveyRequired:S.String(),surveySubmit:S.String(),surveySubmitting:S.String(),surveyValidationError:S.String()},{$id:"Labels"}),Th=S.Object({author:S.Optional(S.String()),createdAt:S.String(),defaultId:S.Optional(S.Number()),defaultSet:S.Boolean(),deleted:S.Boolean(),id:S.String(),iso639Code:S.String(),labels:Nf,name:S.String(),transferredAt:S.Optional(S.String()),updatedAt:S.String()},{$id:"LabelSet"}),Zf=ga(S.Object({isGeneratingAIContent:S.Boolean(),isRequiredForCompletion:fn(S.Boolean())},{$id:"LessonBaseSettings"})),Dd=S.Object({author:S.String(),courseId:S.String(),createdAt:Cl(),deleted:S.Boolean(),description:Zs(1),id:S.Union([S.String(),S.Number()]),media:Du,piles:S.Array(S.Any()),ready:S.Boolean(),title:Ka(0),updatedAt:Cl(),duplicatedFromId:fn(S.String()),headerImage:fn(eu),icon:fn(S.Union([S.Literal("Article"),S.Literal("Interaction"),S.Literal("Quiz"),S.Literal("Video")])),isPartnerContentAuthor:fn(S.Boolean()),lastUpdatedBy:fn(S.String()),originalId:fn(S.String()),position:fn(S.Integer()),selectedAuthorId:fn(S.String()),transferredAt:fn(Cl()),sourceLessonLocaleId:fn(S.Union([S.String(),S.Number(),S.Null()])),settings:fn(Zf),metadata:fn(S.Partial(S.Object({createdVia:S.String()})))},{$id:"LessonBase"}),Ff=S.Composite([Dd,S.Object({type:S.Literal("blocks"),items:S.Array(Xf)})],{$id:"LessonBlocks"});function pd(P){return S.Composite([Dd,S.Object({type:S.Literal(P),items:S.Array(S.Object({id:S.Union([S.String(),S.Number()])}))})])}const pf=S.Union([pd("map"),pd("process"),pd("timeline"),pd("sorting"),pd("screencast"),pd("slidecast"),pd("video"),pd("embed")],{$id:"LegacyLesson"}),mf=S.Object({id:S.Union([S.String(),S.Number()]),title:S.Optional(Zs(1))},{$id:"QuizItemAnswerRich"}),Bf=S.Object({id:S.Union([S.String(),S.Number()]),title:S.Optional(Ka(1))},{$id:"QuizItemAnswerPlain"}),qf=S.Object({},{$id:"QuizItemSettings"}),wp=S.Union([S.Literal("ANY"),S.Literal("CORRECT_INCORRECT"),S.Literal("CHOICE")],{$id:"QuizItemFeedbackType"}),Qh=S.Object({id:S.Union([S.String(),S.Number()]),title:Zs(0),media:S.Optional(Fi(Du,"mediaRecord")),settings:S.Optional(qf),metadata:S.Optional(S.Partial(S.Object({createdVia:S.String()})))},{$id:"QuizItemBase"});function uc(P,j){const He=P?mf:Bf;let pr;switch(j){case"ANY":pr=S.Object({feedbackType:S.Optional(S.Union([S.Literal(j),S.Literal("")])),feedback:S.Optional(Zs(3)),answers:S.Array(He)});break;case"CORRECT_INCORRECT":pr=S.Object({feedbackType:S.Literal(j),feedbackCorrect:S.Optional(Zs(3)),feedbackIncorrect:S.Optional(Zs(4)),answers:S.Array(He)});break;case"CHOICE":pr=S.Object({feedbackType:S.Literal(j),answers:S.Array(S.Composite([He,S.Object({feedback:S.Optional(Zs(2))})]))});break}return S.Composite([Qh,pr])}const wh=S.Object({type:S.Literal("FILL_IN_THE_BLANK"),settings:S.Optional(S.Object({isCaseSensitive:S.Optional(S.Boolean())}))}),_h=S.Union([S.Composite([wh,uc(!1,"ANY")]),S.Composite([wh,uc(!1,"CORRECT_INCORRECT")])],{$id:"QuizItemFillin"}),Jh=S.Object({type:S.Literal("MATCHING"),settings:S.Optional(S.Object({columnBehavior:S.Optional(Xa)}))});function Ah(P){return S.Composite([S.Omit(uc(!1,P),["answers"]),S.Object({answers:S.Array(S.Composite([Bf,S.Object({matchTitle:S.Optional(Ka(1))})]))})])}const gf=S.Union([S.Composite([Jh,Ah("ANY")]),S.Composite([Jh,Ah("CORRECT_INCORRECT")])],{$id:"QuizItemMatching"}),eh=S.Object({type:S.Optional(S.Literal("MULTIPLE_CHOICE")),correct:S.Optional(S.Index(mf,["id"])),c
996orrects:S.Optional(S.Array(S.Index(mf,["id"])))}),th=S.Union([S.Composite([eh,uc(!0,"ANY")]),S.Composite([eh,uc(!0,"CORRECT_INCORRECT")]),S.Composite([eh,uc(!0,"CHOICE")])],{$id:"QuizItemMultipleChoice"}),_p=S.Object({type:S.Literal("MULTIPLE_RESPONSE"),corrects:S.Optional(S.Array(S.Index(mf,["id"])))}),Zh=S.Union([S.Composite([_p,uc(!0,"ANY")]),S.Composite([_p,uc(!0,"CORRECT_INCORRECT")])],{$id:"QuizItemMultipleResponse"}),qh=S.Composite([S.Pick(Qh,["id","metadata"]),S.Object({title:S.Optional(S.String()),type:S.Literal("DRAW_FROM_QUESTION_BANK"),questionBankId:S.String(),questionBankTitle:S.Optional(S.String()),questionBankUpdatedAt:S.Optional(S.String()),drawCount:S.Optional(S.Number()),questions:S.Array(Ua(["type","feedbackType"],[_h,Zh,th,gf]))})],{$id:"QuizItemQuestionBank"}),Ch=Ua(["type","feedbackType"],[_h,Zh,th,qh,gf],"QuizItem"),Ap=S.Composite([Zf,S.Object({asLesson:fn(S.Boolean()),continueType:fn(S.Union([S.Literal(""),S.Literal("continue")])),correctAnswerColor:fn(S.String()),correctAnswerColorContrast:fn(_),incorrectAnswerColor:fn(S.String()),incorrectAnswerColorContrast:fn(_),passingScore:fn(eo()),passToContinue:fn(S.Boolean()),randomizeQuestionOrder:fn(S.Boolean()),retryCount:fn(eo()),revealAnswers:fn(S.Union([S.Literal(!0),S.Literal("all"),S.Literal("none"),S.Literal("incorrect")])),shuffleAnswerChoices:fn(S.Boolean()),skipLessonsIfPassed:fn(S.Boolean()),skipToLessonId:fn(S.String()),timer:fn(S.Boolean()),timerDisplay:fn(S.Union([S.Literal("SUMMARY"),S.Literal("REMAINING"),S.Literal("ELAPSED"),S.Literal("ELAPSED_TOTAL"),S.Literal("HIDE_TIMER")])),timerDuration:fn(eo())})],{$id:"LessonQuizSettings"}),ep=S.Composite([Dd,S.Object({type:S.Literal("quiz"),items:S.Array(Ch),settings:fn(Ap)})],{$id:"LessonQuiz"}),Cc=S.Composite([Dd,S.Object({type:S.Literal("section"),items:S.Tuple([])})],{$id:"LessonSection"}),Cp=S.Composite([Dd,S.Object({type:S.Null(),items:S.Tuple([])})],{$id:"LessonUntyped"}),Op=Ua(["type"],[Ff,Cc,ep,Cp,pf],"Lesson"),Xd=S.Object({authorId:S.String(),deleted:S.Boolean(),folderId:S.Union([S.String(),S.Null()]),id:S.String(),lastEditedBy:S.String(),questions:S.Array(cu),title:Ka(),updatedAt:S.String(),version:S.Literal(1)},{$id:"QuestionBank"}),ya=S.Object({id:S.String(),author:fn(S.String()),name:S.String(),createdAt:Cl(),default:S.Boolean(),deleted:S.Boolean(),fonts:S.Array(S.Object({id:S.String(),type:S.String(),style:S.String(),key:S.String(),original:fn(S.String())}))},{$id:"Typeface"})},25553(f,d,e){"use strict";e.d(d,{TJ:()=>U,Ce:()=>X,pr:()=>as});var n={};e.r(n),e.d(n,{JsonPatchError:()=>Fe,_areEquals:()=>yr,applyOperation:()=>At,applyPatch:()=>yt,applyReducer:()=>kt,deepClone:()=>be,getValueByPointer:()=>Xe,validate:()=>Ir,validator:()=>Nt});var r={};e.r(r),e.d(r,{compare:()=>qt,generate:()=>Sr,observe:()=>Dr,unobserve:()=>wr});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 je=typeof Me.id;return je==="string"||je==="number"}function l(Me,je){return je.some(Ot=>u(Ot)&&Ot.id===Me)}class m extends Error{}function g(Me,je){return s(je)?Object.entries(Me).every(([Ot,Wt])=>je[Ot]===Wt):!1}function h(Me,je,Ot){try{return{type:"accepted",result:v(Me,je,Ot)}}catch(Wt){if(Wt instanceof E){const Br=Me.slice(0,Me.length-Wt.path.length+1);return{type:"discarded",reason:`Could not resolve path "${JSON.stringify(Br)}"`}}if(Wt instanceof m)return{type:"discarded",reason:Wt.message};throw Wt}}function v(Me,je,Ot){const[Wt,...Br]=Me;if(Wt==null)return Ot(je);if(typeof Wt=="number"&&i(je)&&Wt<je.length){const Vr=v(Br,je[Wt],Ot);return[...je.slice(0,Wt),Vr,...je.slice(Wt+1)]}if(typeof Wt=="string"&&s(je)&&Wt in je){const Vr=v(Br,je[Wt],Ot);return{...je,[Wt]:Vr}}if(s(Wt)&&i(je)){const Vr=je.findIndex(an=>g(Wt,an));if(Vr!==-1){const an=v(Br,je[Vr],Ot);return[...je.slice(0,Vr),an,...je.slice(Vr+1)]}}throw new E(Me)}class E extends Error{path;constructor(je){super(),this.path=je}}function w(Me,je,Ot){const Wt=Me.slice(0,-1),Br=Me.at(-1);return Br==null?{type:"discarded",reason:"Path cannot be empty when adding an item"}:h(Wt,Ot,Vr=>
996{if(i(Vr)&&u(je.newValue)&&l(je.newValue.id,Vr))throw new m(`Cannot append, id "${je.newValue.id}" already exists`);if(typeof Br=="number"&&i(Vr)){const an=Math.max(0,Math.min(Vr.length,Br));return[...Vr.slice(0,an),je.newValue,...Vr.slice(an)]}if(typeof Br=="string"&&s(Vr))return{...Vr,[Br]:je.newValue};if(s(Br)&&i(Vr)){const an=Vr.findIndex(ii=>g(Br,ii));if(an!==-1)return[...Vr.slice(0,an),je.newValue,...Vr.slice(an)]}throw new m(`Could not resolve path "${JSON.stringify(Me)}"`)})}function T(Me,je,Ot){return h(Me,Ot,Wt=>{if(!i(Wt))throw new m("Can only append arrays");if(u(je.newValue)&&l(je.newValue.id,Wt))throw new m(`Cannot append, id "${je.newValue.id}" already exists`);return[...Wt,je.newValue]})}function C(Me,je,Ot){const Wt=Me.slice(0,-1),Br=Me.at(-1);return Br==null?{type:"discarded",reason:"Path cannot be empty when adding an item"}:h(Wt,Ot,Vr=>{if(typeof Br=="number"&&i(Vr)&&Br<Vr.length)return[...Vr.slice(0,Br),...Vr.slice(Br+1)];if(typeof Br=="string"&&s(Vr)&&Br in Vr){const{[Br]:an,...ii}=Vr;return ii}if(s(Br)&&i(Vr)){const an=Vr.findIndex(ii=>g(Br,ii));if(an!==-1)return[...Vr.slice(0,an),...Vr.slice(an+1)]}throw new m(`Could not resolve path "${JSON.stringify(Me)}"`)})}function O(Me,je,Ot){const Wt=Me.slice(0,-1),Br=Me.at(-1),Vr=je.from.at(-1);return Br==null||Vr==null?{type:"discarded",reason:"Cannot move an empty path"}:a(Wt,je.from.slice(0,-1))?typeof Br=="string"||typeof Vr=="string"?{type:"discarded",reason:"Can only move array items"}:h(Wt,Ot,an=>{if(!i(an))throw new m("Can only move array items");const ii=s(Vr)?an.findIndex(ms=>g(Vr,ms)):Vr;if(ii===-1||ii>=an.length)throw new m(`Could not resolve path "${JSON.stringify(je.from)}"`);const Yi=s(Br)?an.findIndex(ms=>g(Br,ms)):Br;if(Yi===-1)throw new m(`Could not resolve path "${JSON.stringify(Me)}"`);const Ui=Math.max(0,Math.min(an.length,Yi));if(ii===Ui)throw new m(`Cannot move to the same target "${JSON.stringify(Me)}"`);const bi=an.slice(),[Ws]=bi.splice(ii,1);return bi.splice(Yi,0,Ws),bi}):{type:"discarded",reason:"Cannot move array item outside of its array"}}function R(...Me){const[je,Ot,Wt,Br]=Me.length===4?Me:[[],...Me];return je.length>0?a(je,Ot.slice(0,je.length))?R(Ot.slice(je.length),Wt,Br):{type:"discarded",reason:"Path does not begin with given prefix"}:h(Ot,Br,()=>Wt)}function B(Me,je,Ot){return R(Me,je.newValue,Ot)}function M(Me,je,Ot){switch(je.type){case"add":return w(Me,je,Ot);case"append":return T(Me,je,Ot);case"delete":return C(Me,je,Ot);case"move":return O(Me,je,Ot);case"update":return B(Me,je,Ot);default:return{type:"discarded",reason:`Command type "${je.type}" not supported`}}}const F=["allowCopy","author","bodyTypefaceId","createdAt","deleted","experiments","exportSettings","headingTypefaceId","id","jobs","labelSetId","originalId","partnerContentId","ready","reviewId","selectedAuthorId","sourceCourseLocaleId","tenantId","transferredAt","type","uiTypefaceId","updatedAt"],H=["author","courseId","createdAt","deleted","duplicatedFromId","id","lastUpdatedBy","originalId","ready","sourceLessonLocaleId","transferredAt","updatedAt"];function U(Me,je,Ot){let Wt=Ot;const Br=new Array,Vr=new Array;for(const an of je){const[ii]=an.path;if(ii==="course"){const[,bi]=an.path,Ws=typeof bi=="string"&&F.find(ms=>ms===bi);if(typeof Ws=="string"){Vr.push({change:an,reason:`Forbidden course property "${Ws}"`});continue}}else if(ii==="lessons"){const[,,bi]=an.path,Ws=typeof bi=="string"&&H.find(ms=>ms===bi);if(typeof Ws=="string"){Vr.push({change:an,reason:`Forbidden lesson property "${Ws}"`});continue}}if(!a(Me,an.path.slice(0,Me.length))){Vr.push({change:an,reason:"Path does not begin with given prefix"});continue}let Yi=an.command;if(an.command.type==="move"){if(!a(Me,an.command.from.slice(0,Me.length))){Vr.push({change:an,reason:"Cannot move outside of prefix"});continue}Yi={...an.command,from:an.command.from.slice(Me.length)}}const Ui=M(an.path.slice(Me.length),Yi,Wt);switch(Ui.type){case"accepted":Wt=Ui.result,Br.push(an);break;case"discarded":Vr.push({change:an,reason:Ui.reason});break}}return{result:Wt,accepted:Br,discarded:Vr}}function W(Me){return typeof Me=="object"?Me.id:void 0}function X(Me){const[je]=Me;if(je==="course")return{type:"course"};if(je==="lessons"){const[,Ot,Wt,Br]=Me,Vr=W(Ot);if(Vr!=null){const an=Wt==="items"?W(Br):void 0,ii=Me.findIndex(bi=>bi==="captions"),Yi=Me.findIndex(bi=>bi==="answers"),Ui=Yi!==-1?W(Me[Yi+1]):void 0;if(ii!==-1){const bi=W(Me[ii+1]);if(bi!=null)return{type:"caption",lessonId:Vr,itemId:an,captionId:bi.toString()}}return{type:"lesson",lessonId:Vr,itemId:an,answerId:Ui}}}if(je==="l10n"&&Me[1]==="translations"){const Ot=Me[2],Wt=Me[3],Br=Me.findIndex(Vr=>Vr==="captions");
996if(Br!==-1){const Vr=W(Me[Br+1]);if(Vr!=null)return{type:"caption",captionId:Vr.toString(),locale:Ot,l10nId:Wt}}return{type:"translation",locale:Ot,l10nId:Wt}}return null}/*! 997 * https://github.com/Starcounter-Jack/JSON-Patch 998 * (c) 2017-2022 Joachim Wester 999 * MIT licensed 1000 */var te=(function(){var Me=function(je,Ot){return Me=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Wt,Br){Wt.__proto__=Br}||function(Wt,Br){for(var Vr in Br)Br.hasOwnProperty(Vr)&&(Wt[Vr]=Br[Vr])},Me(je,Ot)};return function(je,Ot){Me(je,Ot);function Wt(){this.constructor=je}je.prototype=Ot===null?Object.create(Ot):(Wt.prototype=Ot.prototype,new Wt)}})(),q=Object.prototype.hasOwnProperty;function ae(Me,je){return q.call(Me,je)}function le(Me){if(Array.isArray(Me)){for(var je=new Array(Me.length),Ot=0;Ot<je.length;Ot++)je[Ot]=""+Ot;return je}if(Object.keys)return Object.keys(Me);var Wt=[];for(var Br in Me)ae(Me,Br)&&Wt.push(Br);return Wt}function pe(Me){switch(typeof Me){case"object":return JSON.parse(JSON.stringify(Me));case"undefined":return null;default:return Me}}function ge(Me){for(var je=0,Ot=Me.length,Wt;je<Ot;){if(Wt=Me.charCodeAt(je),Wt>=48&&Wt<=57){je++;continue}return!1}return!0}function Ie(Me){return Me.indexOf("/")===-1&&Me.indexOf("~")===-1?Me:Me.replace(/~/g,"~0").replace(/\//g,"~1")}function Ce(Me){return Me.replace(/~1/g,"/").replace(/~0/g,"~")}function Je(Me,je){var Ot;for(var Wt in Me)if(ae(Me,Wt)){if(Me[Wt]===je)return Ie(Wt)+"/";if(typeof Me[Wt]=="object"&&(Ot=Je(Me[Wt],je),Ot!=""))return Ie(Wt)+"/"+Ot}return""}function qe(Me,je){if(Me===je)return"/";var Ot=Je(Me,je);if(Ot==="")throw new Error("Object not found in root");return"/"+Ot}function ye(Me){if(Me===void 0)return!0;if(Me){if(Array.isArray(Me)){for(var je=0,Ot=Me.length;je<Ot;je++)if(ye(Me[je]))return!0}else if(typeof Me=="object"){for(var Wt=le(Me),Br=Wt.length,Vr=0;Vr<Br;Vr++)if(ye(Me[Wt[Vr]]))return!0}}return!1}function xe(Me,je){var Ot=[Me];for(var Wt in je){var Br=typeof je[Wt]=="object"?JSON.stringify(je[Wt],null,2):je[Wt];typeof Br<"u"&&Ot.push(Wt+": "+Br)}return Ot.join(` 1001`)}var De=(function(Me){te(je,Me);function je(Ot,Wt,Br,Vr,an){var ii=this.constructor,Yi=Me.call(this,xe(Ot,{name:Wt,index:Br,operation:Vr,tree:an}))||this;return Yi.name=Wt,Yi.index=Br,Yi.operation=Vr,Yi.tree=an,Object.setPrototypeOf(Yi,ii.prototype),Yi.message=xe(Ot,{name:Wt,index:Br,operation:Vr,tree:an}),Yi}return je})(Error),Fe=De,be=pe,ke={add:function(Me,je,Ot){return Me[je]=this.value,{newDocument:Ot}},remove:function(Me,je,Ot){var Wt=Me[je];return delete Me[je],{newDocument:Ot,removed:Wt}},replace:function(Me,je,Ot){var Wt=Me[je];return Me[je]=this.value,{newDocument:Ot,removed:Wt}},move:function(Me,je,Ot){var Wt=Xe(Ot,this.path);Wt&&(Wt=pe(Wt));var Br=At(Ot,{op:"remove",path:this.from}).removed;return At(Ot,{op:"add",path:this.path,value:Br}),{newDocument:Ot,removed:Wt}},copy:function(Me,je,Ot){var Wt=Xe(Ot,this.from);return At(Ot,{op:"add",path:this.path,value:pe(Wt)}),{newDocument:Ot}}
vendor: 5,621 bytes, line 1001
1001,test:function(Me,je,Ot){return{newDocument:Ot,test:yr(Me[je],this.value)}},_get:function(Me,je,Ot){return this.value=Me[je],{newDocument:Ot}}},Ge={add:function(Me,je,Ot){return ge(je)?Me.splice(je,0,this.value):Me[je]=this.value,{newDocument:Ot,index:je}},remove:function(Me,je,Ot){var Wt=Me.splice(je,1);return{newDocument:Ot,removed:Wt[0]}},replace:function(Me,je,Ot){var Wt=Me[je];return Me[je]=this.value,{newDocument:Ot,removed:Wt}},move:ke.move,copy:ke.copy,test:ke.test,_get:ke._get};function Xe(Me,je){if(je=="")return Me;var Ot={op:"_get",path:je};return At(Me,Ot),Ot.value}function At(Me,je,Ot,Wt,Br,Vr){if(Ot===void 0&&(Ot=!1),Wt===void 0&&(Wt=!0),Br===void 0&&(Br=!0),Vr===void 0&&(Vr=0),Ot&&(typeof Ot=="function"?Ot(je,0,Me,je.path):Nt(je,0)),je.path===""){var an={newDocument:Me};if(je.op==="add")return an.newDocument=je.value,an;if(je.op==="replace")return an.newDocument=je.value,an.removed=Me,an;if(je.op==="move"||je.op==="copy")return an.newDocument=Xe(Me,je.from),je.op==="move"&&(an.removed=Me),an;if(je.op==="test"){if(an.test=yr(Me,je.value),an.test===!1)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",Vr,je,Me);return an.newDocument=Me,an}else{if(je.op==="remove")return an.removed=Me,an.newDocument=null,an;if(je.op==="_get")return je.value=Me,an;if(Ot)throw new Fe("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",Vr,je,Me);return an}}else{Wt||(Me=pe(Me));var ii=je.path||"",Yi=ii.split("/"),Ui=Me,bi=1,Ws=Yi.length,ms=void 0,Le=void 0,Ye=void 0;for(typeof Ot=="function"?Ye=Ot:Ye=Nt;;){if(Le=Yi[bi],Le&&Le.indexOf("~")!=-1&&(Le=Ce(Le)),Br&&(Le=="__proto__"||Le=="prototype"&&bi>0&&Yi[bi-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(Ot&&ms===void 0&&(Ui[Le]===void 0?ms=Yi.slice(0,bi).join("/"):bi==Ws-1&&(ms=je.path),ms!==void 0&&Ye(je,0,Me,ms)),bi++,Array.isArray(Ui)){if(Le==="-")Le=Ui.length;else{if(Ot&&!ge(Le))throw new Fe("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",Vr,je,Me);ge(Le)&&(Le=~~Le)}if(bi>=Ws){if(Ot&&je.op==="add"&&Le>Ui.length)throw new Fe("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",Vr,je,Me);var an=Ge[je.op].call(je,Ui,Le,Me);if(an.test===!1)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",Vr,je,Me);return an}}else if(bi>=Ws){var an=ke[je.op].call(je,Ui,Le,Me);if(an.test===!1)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",Vr,je,Me);return an}if(Ui=Ui[Le],Ot&&bi<Ws&&(!Ui||typeof Ui!="object"))throw new Fe("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",Vr,je,Me)}}}function yt(Me,je,Ot,Wt,Br){if(Wt===void 0&&(Wt=!0),Br===void 0&&(Br=!0),Ot&&!Array.isArray(je))throw new Fe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");Wt||(Me=pe(Me));for(var Vr=new Array(je.length),an=0,ii=je.length;an<ii;an++)Vr[an]=At(Me,je[an],Ot,!0,Br,an),Me=Vr[an].newDocument;return Vr.newDocument=Me,Vr}function kt(Me,je,Ot){var Wt=At(Me,je);if(Wt.test===!1)throw new Fe("Test operation failed","TEST_OPERATION_FAILED",Ot,je,Me);return Wt.newDocument}function Nt(Me,je,Ot,Wt){if(typeof Me!="object"||Me===null||Array.isArray(Me))throw new Fe("Operation is not an object","OPERATION_NOT_AN_OBJECT",je,Me,Ot);if(ke[Me.op]){if(typeof Me.path!="string")throw new Fe("Operation `path` property is not a string","OPERATION_PATH_INVALID",je,Me,Ot);if(Me.path.indexOf("/")!==0&&Me.path.length>0)throw new Fe('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",je,Me,Ot);if((Me.op==="move"||Me.op==="copy")&&typeof Me.from!="string")throw new Fe("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",je,Me,Ot);if((Me.op==="add"||Me.op==="replace"||Me.op==="test")&&Me.value===void 0)throw new Fe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",je,Me,Ot);if((Me.op==="add"||Me.op==="replace"||Me.op==="test")&&ye(Me.value))throw new Fe("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",je,Me,Ot);if(Ot){if(Me.op=="add"){var Br=Me.path.split("/").length,Vr=Wt.split("/").length;if(Br!==Vr+1&&Br!==Vr)throw new Fe("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",je,Me,Ot)}else if(Me.op==="replace"||Me.op==="remove"||Me.op==="_get"){if(Me.path!==Wt)throw new Fe("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",je,Me,Ot)}else if(Me.op==="move"||Me.op==="copy"){var an={op:"_get",path:Me.from,value:void 0},ii=Ir([an],Ot);if(ii&&ii.name==="OPERATION_PATH_UNRESOLVABLE")throw new Fe("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",je,Me,Ot)}}}else throw new Fe("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",je,Me,Ot)}function Ir(Me,je,Ot){try{if(!Array.isArray(Me))throw new Fe("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(je)yt(pe(je),pe(Me),Ot||!0);else{Ot=Ot||Nt;for(var Wt=0;Wt<Me.length;Wt++)Ot(Me[Wt],Wt,je,void 0)}}catch(Br){if(Br instanceof Fe)return Br;throw Br}}function yr(Me,je){if(Me===je)return!0;
1001if(Me&&je&&typeof Me=="object"&&typeof je=="object"){var Ot=Array.isArray(Me),Wt=Array.isArray(je),Br,Vr,an;if(Ot&&Wt){if(Vr=Me.length,Vr!=je.length)return!1;for(Br=Vr;Br--!==0;)if(!yr(Me[Br],je[Br]))return!1;return!0}if(Ot!=Wt)return!1;var ii=Object.keys(Me);if(Vr=ii.length,Vr!==Object.keys(je).length)return!1;for(Br=Vr;Br--!==0;)if(!je.hasOwnProperty(ii[Br]))return!1;for(Br=Vr;Br--!==0;)if(an=ii[Br],!yr(Me[an],je[an]))return!1;return!0}return Me!==Me&&je!==je}/*! 1002 * https://github.com/Starcounter-Jack/JSON-Patch 1003 * (c) 2017-2021 Joachim Wester 1004 * MIT license 1005 */var Wr=new WeakMap,$r=(function(){function Me(je){this.observers=new Map,this.obj=je}return Me})(),sn=(function(){function Me(je,Ot){this.callback=je,this.observer=Ot}return Me})();function Hr(Me){return Wr.get(Me)}function pt(Me,je){return Me.observers.get(je)}function et(Me,je){Me.observers.delete(je.callback)}function wr(Me,je){je.unobserve()}function Dr(Me,je){var Ot=[],Wt,Br=Hr(Me);if(!Br)Br=new $r(Me),Wr.set(Me,Br);else{var Vr=pt(Br,je);Wt=Vr&&Vr.observer}if(Wt)return Wt;if(Wt={},Br.value=pe(Me),je){Wt.callback=je,Wt.next=null;var an=function(){Sr(Wt)},ii=function(){clearTimeout(Wt.next),Wt.next=setTimeout(an)};typeof window<"u"&&(window.addEventListener("mouseup",ii),window.addEventListener("keyup",ii),window.addEventListener("mousedown",ii),window.addEventListener("keydown",ii),window.addEventListener("change",ii))}return Wt.patches=Ot,Wt.object=Me,Wt.unobserve=function(){Sr(Wt),clearTimeout(Wt.next),et(Br,Wt),typeof window<"u"&&(window.removeEventListener("mouseup",ii),window.removeEventListener("keyup",ii),window.removeEventListener("mousedown",ii),window.removeEventListener("keydown",ii),window.removeEventListener("change",ii))},Br.observers.set(je,new sn(je,Wt)),Wt}function Sr(Me,je){je===void 0&&(je=!1);var Ot=Wr.get(Me.object);kr(Ot.value,Me.object,Me.patches,"",je),Me.patches.length&&yt(Ot.value,Me.patches);var Wt=Me.patches;return Wt.length>0&&(Me.patches=[],Me.callback&&Me.callback(Wt)),Wt}function kr(Me,je,Ot,Wt,Br){if(je!==Me){typeof je.toJSON=="function"&&(je=je.toJSON());for(var Vr=le(je),an=le(Me),ii=!1,Yi=!1,Ui=an.length-1;Ui>=0;Ui--){var bi=an[Ui],Ws=Me[bi];if(ae(je,bi)&&!(je[bi]===void 0&&Ws!==void 0&&Array.isArray(je)===!1)){var ms=je[bi];typeof Ws=="object"&&Ws!=null&&typeof ms=="object"&&ms!=null&&Array.isArray(Ws)===Array.isArray(ms)?kr(Ws,ms,Ot,Wt+"/"+Ie(bi),Br):Ws!==ms&&(ii=!0,Br&&Ot.push({op:"test",path:Wt+"/"+Ie(bi),value:pe(Ws)}),Ot.push({op:"replace",path:Wt+"/"+Ie(bi),value:pe(ms)}))}else Array.isArray(Me)===Array.isArray(je)?(Br&&Ot.push({op:"test",path:Wt+"/"+Ie(bi),value:pe(Ws)}),Ot.push({op:"remove",path:Wt+"/"+Ie(bi)}),Yi=!0):(Br&&Ot.push({op:"test",path:Wt,value:Me}),Ot.push({op:"replace",path:Wt,value:je}),ii=!0)}if(!(!Yi&&Vr.length==an.length))for(var Ui=0;Ui<Vr.length;Ui++){var bi=Vr[Ui];!ae(Me,bi)&&je[bi]!==void 0&&Ot.push({op:"add",path:Wt+"/"+Ie(bi),value:pe(je[bi])})}}}function qt(Me,je,Ot){Ot===void 0&&(Ot=!1);var Wt=[];return kr(Me,je,Wt,"",Ot),Wt}const Sn=Object.assign({},n,r,{JsonPatchError:De,deepClone:pe,escapePathComponent:Ie,unescapePathComponent:Ce});var dr,Nr,un;function Xt(Me,je){const[Ot,...Wt]=Me;if(Ot==null)return je;if(typeof Ot=="number"&&dr(je)&&Ot<je.length||typeof Ot=="string"&&Nr(je)&&Ot in je)return Xt(Wt,je[Ot]);if(Nr(Ot)&&dr(je)){const Br=je.findIndex(Vr=>un(Ot,Vr));if(Br!==-1)return Xt(Wt,je[Br])}throw new br(Me)}class br extends Error{path;constructor(je){super(),this.path=je}}var $t,wt,Ar,Q,ut;function*tr(Me,je){const Ot=structuredClone(Me),Wt=$t(Me,je,{similarity:rt});for(const Br of Wt){const Vr=_t(Br.path,Ot),an=Vr.at(-1),ii=an!=null?ut(Vr.slice(0,-1),Ot):void 0,Yi=ln(Vr,Ot);switch(Br.op){case"replace":yield{path:Yi,command:{type:"update",oldValue:ut(Vr,Ot),newValue:Br.value}};break;case"add":typeof an=="number"&&Ar(ii)&&an>=ii.length?yield{path:Yi.slice(0,-1),command:{type:"append",newValue:Br.value}}:yield{path:Yi,command:{type:"add",newValue:Br.value}};break;case"remove":yield{path:Yi,command:{type:"delete",oldValue:ut(Vr,Ot)}};break;case"move":yield{path:Yi,command:{type:"move",from:ln(_t(Br.from,Ot),Ot)}};break}wt.applyOperation(Ot,Br)}}function rt(Me,je){return Q(Me)&&Q(je)?Me.id===je.id?1:0:Me===je?1:0}function _t(Me,je){return Me===""?[]:Array.from(Yr(Me.substring(1).split("/"),je))}function*Yr(Me,je){const[Ot,...Wt]=Me;if(Ot==null)return;const Br=Ot.replaceAll("~0","~").replaceAll("~1","/"),Vr=Ar(je)?Number(Br):Br;yield Vr,yield*Yr(Wt,je[Vr])}function ln(Me,je){const[Ot,...Wt]=Me;if(Ot==null)return[];if(je==null||typeof je!="object")throw new Error(`cannot convert ${JSON.stringify(Me)} to change path`);return[typeof Ot=="number"&&Ar(je)&&Q(je[Ot])?{id:je[Ot].id}:Ot,...ln(Wt,je[Ot])]}var cn=e(50037),gn,wi,ki;function Ur(Me,je,Ot,Wt){const[Br,...Vr]=Ot;if(je.length>0)return wi(je,Ot.slice(0,je.length))?Ur(Me,[],Ot.slice(je.length),Wt):null;if(Br==null)return gn.Check(Me,Wt)?Wt:null;if(Wt==null||typeof Wt!="object")return null;if(typeof Br=="string")return Ur(Me,je,Vr,Wt[Br]);if(!Array.isArray(Wt))return null;if(typeof Br=="number"&&Br>=0&&Br<Wt.length)return Ur(Me,je,Vr,Wt[Br]);const an=Wt.findIndex(ii=>ki(Br,ii));return an===-1?null:Ur(Me,je,Vr,Wt[an])}var Bi,bs,Di;function on(Me,je,Ot){const Wt=je.findIndex(ii=>ii==="captions");
1005if(Wt===-1||Di(je[Wt+1])==null)return null;const Vr=je.slice(0,Wt+2),an=bs(Bi,Me,Vr,Ot);return an==null?null:{path:Vr,result:an}}var fi=e(83971),qi=e(16132),ri=e(82795);const Vi=Qe(mt(cn.aeh,"$.course")),si=Qe(mt(cn.Nke,"$.lessons")),ks="$.lessons[?(@.type=='blocks')].items[?(@.type=='custom'&&@.family=='mondrian'&&@.variant=='mondrian'&&@.blockumentId)].blockumentId",cr=Qe(mt(cn.Nke,"$")),fe=Qe(mt(cn.eBw,"$")),Re=Qe(mt(cn.j0T,"$"));function Qe(Me){const je=Array.from(Me).reduce((Ot,Wt)=>(Wt.pathExpression in Ot||(Ot[Wt.pathExpression]=Wt),Ot),{});return Object.values(je)}function*mt(Me,je=""){if(Me!==void 0&&(0,cn.Z6u)(Me)){yield{pathExpression:je,type:Me.contentType,order:Me.order};return}if(qi.QS(Me)&&(yield*mt(Me.items,`${je}[*]`)),qi.av(Me))for(const[Ot,Wt]of Object.entries(Me.properties))yield*mt(Wt,`${je}.${Ot}`);if(qi.cZ(Me))for(const[,Ot]of Object.entries(Me.patternProperties))yield*mt(Ot,je);if(qi.PN(Me)&&Me.items!=null)for(let Ot=0;Ot<Me.items.length;Ot++)yield*mt(Me.items[Ot],`${je}[${Ot}]`);if(qi.Yq(Me))for(const[,Ot]of Object.entries(Me.allOf))yield*mt(Ot,je);if(qi.my(Me))if((0,cn.AGQ)(Me)){const Ot=Me[cn.lVo],Wt=vn(Me);for(const Br of Wt){const Vr=Ut(Br);if(Vr===null)continue;const an=Mr(Vr,Ot),ii=je.replace(/\[(?:\*|\d+)\]$/,"");yield*mt(Br,`${ii}${an}`)}}else for(const Ot of Me.anyOf)yield*mt(Ot,je)}function xt(Me,je){if(Me!=null&&qi.X$(Me)){const{[ri.tJ]:Ot,...Wt}=Me;return`(!@.${je}||${xt(Wt,je)})`}return qi.gP(Me)?typeof Me.const=="string"?`@.${je}=='${Me.const}'`:`@.${je}==${Me.const}`:qi.Ef(Me)?`@.${je}==null`:qi.R1(Me)?`!@.${je}`:qi.my(Me)?`(${Me.anyOf.map(Wt=>xt(Wt,je)).filter(Boolean).join("||")})`:!1}function Mr(Me,je){return`[?(${je.map(Wt=>{const Br=Me[Wt];return xt(Br,Wt)}).filter(Boolean).join("&&")})]`}function vn(Me){return Me.anyOf.flatMap(je=>qi.my(je)?vn(je):[je])}function Ut(Me){return qi.av(Me)?Me.properties:qi.Yq(Me)?Me.allOf.reduce((je,Ot)=>{if(je===null)return null;const Wt=Ut(Ot);return Wt===null?null:Object.assign(je,Wt)},{}):null}var Yn,mi,yn,ji,Tn,Cs,$i;const gs=(Me,je=0)=>Me.reduce((Ot,Wt)=>{const Br=Wt.sortPath[je]??"";return Ot[Br]??=[],Ot[Br].push(Wt),Ot},{}),vs=(Me,je=0)=>{const Ot=gs(Me,je);return Object.keys(Ot).length===1&&Ot[""]!==void 0?Me:Object.keys(Ot).toSorted((Wt,Br)=>Wt.localeCompare(Br,void 0,{numeric:!0})).flatMap(Wt=>Ot[Wt]!==void 0?vs(Ot[Wt],je+1):[])};function Vt(Me,je){return Me.map((Wt,Br)=>{if(typeof Wt=="number"){const Vr=Yn.value(je,Yn.stringify(Me.slice(0,Br+1)));return Vr?.id!==void 0?{id:Vr.id}:Wt}return Wt}).slice(1)}const hr=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 rn(Me,je,Ot,Wt){const Br=je.flatMap(({pathExpression:an,type:ii,order:Yi})=>Yn.nodes(Me,an).flatMap(({value:Ui,path:bi})=>{const Ws=hr({content:Ui,path:Vt(bi,Me),pathExpression:an,type:ii});return Ws===void 0||!Wt&&ii==="mondrianPlaceholder"?[]:{...Ws,sortPath:[...bi.slice(0,-1),Yi],jsonPath:bi}}));return(Ot?vs(Br,1):Br).map(({sortPath:an,jsonPath:ii,...Yi})=>Yi)}const zn=(Me,je,Ot)=>rn([Me],je,Ot,!1).map(({path:[,...Wt],...Br})=>({...Br,path:Wt})),$n=(Me,je=!1)=>rn(Me,mi,je,!1),bn=(Me,je=!1)=>rn(Me,yn,je,!1),ni=(Me,je=!1)=>zn(Me,ji,je),ai=(Me,je=!1)=>zn(Me,Tn,je),yi=(Me,je=!1)=>zn(Me,Cs,je),es=(Me,je=!1)=>rn(Me,[...yn,{pathExpression:$i,type:"mondrianPlaceholder",order:0}],je,!0),Ei=Me=>Me!==null&&typeof Me=="object"&&!Array.isArray(Me),Hi=Me=>Ei(Me)&&"l10nId"in Me&&typeof Me.l10nId=="string",zi=Me=>Ei(Me)&&"id"in Me&&typeof Me.id=="string"&&Me.id;function*us(Me,je){for(let Ot=0;Ot<Me.length;Ot++){const Wt=Me[Ot],Br=zi(Wt),Vr=Br!==!1?{id:Br}:Ot,an=[...je,Vr];Hi(Wt)?yield{mutate:ii=>{Me[Ot]=ii},l10nId:Wt.l10nId,path:an}:yield*as(Wt,an)}}function*Ss(Me,je){for(const Ot of Object.keys(Me))Hi(Me[Ot])?yield{mutate:Wt=>{Me[Ot]=Wt},l10nId:Me[Ot].l10nId,path:[...je,Ot]}:yield*as(Me[Ot],[...je,Ot])}function*as(Me,je=[]){Array.isArray(Me)?yield*us(Me,je):Ei(Me)&&(yield*Ss(Me,je))}var oi=e(94670),$s,Es,ls;function Ts(Me){const je=ls.Create($s);je.id=Es(),je.variant=Me?.variant??"flashcard";const Wt=(Me?.items??[]).map(Br=>({...Br,id:Es()}));return je.items=Wt,je}var de,$e,Pt,or;function tn(Me){const je=or.Create(de);je.id=Pt(),je.variant=Me?.variant??"bulleted";const Wt=(Me?.items??[]).map((Br,Vr)=>{const an=or.Create($e);return an.id=Pt(),an.paragraph=Br,an.number=Me?.variant==="numbered"?(Vr+1).toString():void 0,an}
1005);return je.items=Wt,je}var Vn,Ri,ts;function ss(Me){const je=ts.Create(Vn);je.id=Ri(),je.variant=Me.variant;const Ot={id:Ri(),heading:Me.heading,paragraph:Me.paragraph};return je.items=[Ot],je}var Li=e(14814),Ia;function Sa(Me,je,Ot){return Ia(Me)?je==null?void 0:Ot?.[je]?.[Me.l10nId]:Me}function ha(Me,je){return Ia(Me)?je==null?{}:Object.entries(je).reduce((Ot,[Wt,Br])=>(Me.l10nId in Br&&(Ot[Wt]=Br[Me.l10nId]),Ot),{}):{"":Me}}var Qa,_s,fr,Aa,en,pa;const Pa=null,Xs=Me=>Me.type==="imageLink"&&typeof Me.value=="object"&&Me.value!==null&&"type"in Me.value&&"destination"in Me.value,Hs=Me=>(Me.type==="lessonId"||Me.type==="richText")&&typeof Me.value=="string";function*ao(Me){for(const[je,Ot]of Pa){const Wt=_s.nodes(Me,Ot);for(const{value:Br,path:Vr}of Wt){if(je==="richText"&&!/data-link-type=["']lesson["']/.test(String(Br)))continue;const an={type:je,path:_s.stringify(Vr),value:Br};(Xs(an)||Hs(an))&&(yield an)}}}function Wa(Me,je){const Ot=ao(Me),Wt=structuredClone(Me);for(const{path:Br,value:Vr,type:an}of Ot)switch(an){case"lessonId":{Vr in je&&(je[Vr]===null?_s.value(Wt,Br,""):_s.value(Wt,Br,je[Vr]));break}case"imageLink":Vr.destination in je&&(je[Vr.destination]===null?_s.value(Wt,Br,void 0):_s.value(Wt,Br+".destination",je[Vr.destination]));break;case"richText":{_s.value(Wt,Br,pa(Vr,je));break}}return Wt}function Co(Me,je,Ot,Wt){const Br=Me.map(je);return Wa(Br,Wt).map((an,ii)=>Ot(an,Me[ii]))}const _o=(Me,je,Ot)=>{const Wt=Me.filter(Vr=>!Qa(Vr.content)&&(Vr.type==="rich"||Vr.type==="buttonDestination"||Vr.type==="mediaRecord"));return Wa(Wt,Ot).reduce((Vr,an)=>{const{path:ii,content:Yi}=an,Ui=fr(ii,Yi,Vr);return Ui.type==="accepted"?Ui.result:Vr},je)};function Oo(Me,je){const{course:Ot}=_o(Aa({course:Me}),{course:Me},je);return Ot}function Ks(Me,je){const{lessons:Ot}=_o(en({lessons:Me}),{lessons:Me},je);return Ot}function Mi(Me,je,Ot){const[Wt]=Ks([{type:Me,items:je.map(Vr=>Vr.item)}],Ot),{items:Br}=Wt??{items:[]};return je.map((Vr,an)=>({...Vr,item:Br[an]}))}},14814(f,d,e){"use strict";e.d(d,{HX:()=>Br,uW:()=>Io});var n=e(50037),r=e(25481),a=e(35783),s=e(82795),i=e(87978);class u extends a.i{constructor(mr){super(`Unable to dereference schema with $id '${mr.$ref}'`),this.schema=mr}}function l(oe,mr){const ot=mr.find(gt=>gt.$id===oe.$ref);if(ot===void 0)throw new u(oe);return g(ot,mr)}function m(oe,mr){return!(0,i.IP)(oe.$id)||mr.some(ot=>ot.$id===oe.$id)||mr.push(oe),mr}function g(oe,mr){return oe[s.b8]==="This"||oe[s.b8]==="Ref"?l(oe,mr):oe}class h extends a.i{constructor(mr){super("Unable to hash value"),this.value=mr}}var v;(function(oe){oe[oe.Undefined=0]="Undefined",oe[oe.Null=1]="Null",oe[oe.Boolean=2]="Boolean",oe[oe.Number=3]="Number",oe[oe.String=4]="String",oe[oe.Object=5]="Object",oe[oe.Array=6]="Array",oe[oe.Date=7]="Date",oe[oe.Uint8Array=8]="Uint8Array",oe[oe.Symbol=9]="Symbol",oe[oe.BigInt=10]="BigInt"})(v||(v={}));let E=BigInt("14695981039346656037");const[w,T]=[BigInt("1099511628211"),BigInt("18446744073709551616")],C=Array.from({length:256}).map((oe,mr)=>BigInt(mr)),O=new Float64Array(1),R=new DataView(O.buffer),B=new Uint8Array(O.buffer);function*M(oe){const mr=oe===0?1:Math.ceil(Math.floor(Math.log2(oe)+1)/8);for(let ot=0;ot<mr;ot++)yield oe>>8*(mr-1-ot)&255}function F(oe){Ce(v.Array);for(const mr of oe)Ie(mr)}function H(oe){Ce(v.Boolean),Ce(oe?1:0)}function U(oe){Ce(v.BigInt),R.setBigInt64(0,oe);for(const mr of B)Ce(mr)}function W(oe){Ce(v.Date),Ie(oe.getTime())}function X(oe){Ce(v.Null)}function te(oe){Ce(v.Number),R.setFloat64(0,oe);for(const mr of B)Ce(mr)}function q(oe){Ce(v.Object);for(const mr of globalThis.Object.getOwnPropertyNames(oe).sort())Ie(mr),Ie(oe[mr])}function ae(oe){Ce(v.String);for(let mr=0;mr<oe.length;mr++)for(const ot of M(oe.charCodeAt(mr)))Ce(ot)}function le(oe){Ce(v.Symbol),Ie(oe.description)}function pe(oe){Ce(v.Uint8Array);for(let mr=0;mr<oe.length;mr++)Ce(oe[mr])}function ge(oe){return Ce(v.Undefined)}function Ie(oe){if((0,i.QS)(oe))return F(oe);if((0,i.Zx)(oe))return H(oe);if((0,i.cQ)(oe))return U(oe);if((0,i.XF)(oe))return W(oe);if((0,i.Ef)(oe))return X(oe);if((0,i.Mx)(oe))return te(oe);
1005if((0,i.av)(oe))return q(oe);if((0,i.IP)(oe))return ae(oe);if((0,i.nH)(oe))return le(oe);if((0,i.G4)(oe))return pe(oe);if((0,i.R1)(oe))return ge(oe);throw new h(oe)}function Ce(oe){E=E^C[oe],E=E*w%T}function Je(oe){return E=BigInt("14695981039346656037"),Ie(oe),E}var qe=e(31340);function ye(oe){return oe.allOf.every(mr=>Fe(mr))}function xe(oe){return oe.anyOf.some(mr=>Fe(mr))}function De(oe){return!Fe(oe.not)}function Fe(oe){return oe[s.b8]==="Intersect"?ye(oe):oe[s.b8]==="Union"?xe(oe):oe[s.b8]==="Not"?De(oe):oe[s.b8]==="Undefined"}const be=new Map;function ke(){return new Map(be)}function Ge(){return be.clear()}function Xe(oe){return be.delete(oe)}function At(oe){return be.has(oe)}function yt(oe,mr){be.set(oe,mr)}function kt(oe){return be.get(oe)}const Nt=new Map;function Ir(){return new Map(Nt)}function yr(){return Nt.clear()}function Wr(oe){return Nt.delete(oe)}function $r(oe){return Nt.has(oe)}function sn(oe,mr){Nt.set(oe,mr)}function Hr(oe){return Nt.get(oe)}var pt=e(80463),et=e(78542);class wr extends a.i{constructor(mr){super("Unknown type"),this.schema=mr}}function Dr(oe){return oe[s.b8]==="Any"||oe[s.b8]==="Unknown"}function Sr(oe){return oe!==void 0}function kr(oe,mr,ot){return!0}function qt(oe,mr,ot){return!0}function Sn(oe,mr,ot){if(!(0,i.QS)(ot)||Sr(oe.minItems)&&!(ot.length>=oe.minItems)||Sr(oe.maxItems)&&!(ot.length<=oe.maxItems))return!1;for(const Gn of ot)if(!fe(oe.items,mr,Gn))return!1;if(oe.uniqueItems===!0&&!(function(){const Gn=new Set;for(const fs of ot){const Rs=Je(fs);if(Gn.has(Rs))return!1;Gn.add(Rs)}return!0})())return!1;if(!(Sr(oe.contains)||(0,i.Mx)(oe.minContains)||(0,i.Mx)(oe.maxContains)))return!0;const gt=Sr(oe.contains)?oe.contains:(0,pt.p)(),mn=ot.reduce((Gn,fs)=>fe(gt,mr,fs)?Gn+1:Gn,0);return!(mn===0||(0,i.Mx)(oe.minContains)&&mn<oe.minContains||(0,i.Mx)(oe.maxContains)&&mn>oe.maxContains)}function dr(oe,mr,ot){return(0,i.H1)(ot)}function Nr(oe,mr,ot){return!(!(0,i.cQ)(ot)||Sr(oe.exclusiveMaximum)&&!(ot<oe.exclusiveMaximum)||Sr(oe.exclusiveMinimum)&&!(ot>oe.exclusiveMinimum)||Sr(oe.maximum)&&!(ot<=oe.maximum)||Sr(oe.minimum)&&!(ot>=oe.minimum)||Sr(oe.multipleOf)&&ot%oe.multipleOf!==BigInt(0))}function un(oe,mr,ot){return(0,i.Zx)(ot)}function Xt(oe,mr,ot){return fe(oe.returns,mr,ot.prototype)}function br(oe,mr,ot){return!(!(0,i.XF)(ot)||Sr(oe.exclusiveMaximumTimestamp)&&!(ot.getTime()<oe.exclusiveMaximumTimestamp)||Sr(oe.exclusiveMinimumTimestamp)&&!(ot.getTime()>oe.exclusiveMinimumTimestamp)||Sr(oe.maximumTimestamp)&&!(ot.getTime()<=oe.maximumTimestamp)||Sr(oe.minimumTimestamp)&&!(ot.getTime()>=oe.minimumTimestamp)||Sr(oe.multipleOfTimestamp)&&ot.getTime()%oe.multipleOfTimestamp!==0)}function $t(oe,mr,ot){return(0,i.hg)(ot)}function wt(oe,mr,ot){const gt=globalThis.Object.values(oe.$defs),mn=oe.$defs[oe.$ref];return fe(mn,[...mr,...gt],ot)}function Ar(oe,mr,ot){return!(!(0,i.$p)(ot)||Sr(oe.exclusiveMaximum)&&!(ot<oe.exclusiveMaximum)||Sr(oe.exclusiveMinimum)&&!(ot>oe.exclusiveMinimum)||Sr(oe.maximum)&&!(ot<=oe.maximum)||Sr(oe.minimum)&&!(ot>=oe.minimum)||Sr(oe.multipleOf)&&ot%oe.multipleOf!==0)}function Q(oe,mr,ot){const gt=oe.allOf.every(mn=>fe(mn,mr,ot));if(oe.unevaluatedProperties===!1){const mn=new RegExp((0,qe.n)(oe)),Gn=Object.getOwnPropertyNames(ot).every(fs=>mn.test(fs));return gt&&Gn}else if((0,et.Yi)(oe.unevaluatedProperties)){const mn=new RegExp((0,qe.n)(oe)),Gn=Object.getOwnPropertyNames(ot).every(fs=>mn.test(fs)||fe(oe.unevaluatedProperties,mr,ot[fs]));return gt&&Gn}else return gt}function ut(oe,mr,ot){return(0,i.jo)(ot)}function tr(oe,mr,ot){return ot===oe.const}function rt(oe,mr,ot){return!1}function _t(oe,mr,ot){return!fe(oe.not,mr,ot)}function Yr(oe,mr,ot){return(0,i.Ef)(ot)}function ln(oe,mr,ot){return!(!r.Q.IsNumberLike(ot)||Sr(oe.exclusiveMaximum)&&!(ot<oe.exclusiveMaximum)||Sr(oe.exclusiveMinimum)&&!(ot>oe.exclusiveMinimum)||Sr(oe.minimum)&&!(ot>=oe.minimum)||Sr(oe.maximum)&&!(ot<=oe.maximum)||Sr(oe.multipleOf)&&ot%oe.multipleOf!==0)}function cn(oe,mr,ot){if(!r.Q.IsObjectLike(ot)||Sr(oe.minProperties)&&!(Object.getOwnPropertyNames(ot).length>
1005=oe.minProperties)||Sr(oe.maxProperties)&&!(Object.getOwnPropertyNames(ot).length<=oe.maxProperties))return!1;const gt=Object.getOwnPropertyNames(oe.properties);for(const mn of gt){const Gn=oe.properties[mn];if(oe.required&&oe.required.includes(mn)){if(!fe(Gn,mr,ot[mn])||(Fe(Gn)||Dr(Gn))&&!(mn in ot))return!1}else if(r.Q.IsExactOptionalProperty(ot,mn)&&!fe(Gn,mr,ot[mn]))return!1}if(oe.additionalProperties===!1){const mn=Object.getOwnPropertyNames(ot);return oe.required&&oe.required.length===gt.length&&mn.length===gt.length?!0:mn.every(Gn=>gt.includes(Gn))}else return typeof oe.additionalProperties=="object"?Object.getOwnPropertyNames(ot).every(Gn=>gt.includes(Gn)||fe(oe.additionalProperties,mr,ot[Gn])):!0}function gn(oe,mr,ot){return(0,i.OD)(ot)}function wi(oe,mr,ot){if(!r.Q.IsRecordLike(ot)||Sr(oe.minProperties)&&!(Object.getOwnPropertyNames(ot).length>=oe.minProperties)||Sr(oe.maxProperties)&&!(Object.getOwnPropertyNames(ot).length<=oe.maxProperties))return!1;const[gt,mn]=Object.entries(oe.patternProperties)[0],Gn=new RegExp(gt),fs=Object.entries(ot).every(([Ho,po])=>Gn.test(Ho)?fe(mn,mr,po):!0),Rs=typeof oe.additionalProperties=="object"?Object.entries(ot).every(([Ho,po])=>Gn.test(Ho)?!0:fe(oe.additionalProperties,mr,po)):!0,fa=oe.additionalProperties===!1?Object.getOwnPropertyNames(ot).every(Ho=>Gn.test(Ho)):!0;return fs&&Rs&&fa}function ki(oe,mr,ot){return fe(g(oe,mr),mr,ot)}function Ur(oe,mr,ot){const gt=new RegExp(oe.source,oe.flags);return Sr(oe.minLength)&&!(ot.length>=oe.minLength)||Sr(oe.maxLength)&&!(ot.length<=oe.maxLength)?!1:gt.test(ot)}function Bi(oe,mr,ot){return!(0,i.IP)(ot)||Sr(oe.minLength)&&!(ot.length>=oe.minLength)||Sr(oe.maxLength)&&!(ot.length<=oe.maxLength)||Sr(oe.pattern)&&!new RegExp(oe.pattern).test(ot)?!1:Sr(oe.format)?At(oe.format)?kt(oe.format)(ot):!1:!0}function bs(oe,mr,ot){return(0,i.nH)(ot)}function Di(oe,mr,ot){return(0,i.IP)(ot)&&new RegExp(oe.pattern).test(ot)}function on(oe,mr,ot){return fe(g(oe,mr),mr,ot)}function fi(oe,mr,ot){if(!(0,i.QS)(ot)||oe.items===void 0&&ot.length!==0||ot.length!==oe.maxItems)return!1;if(!oe.items)return!0;for(let gt=0;gt<oe.items.length;gt++)if(!fe(oe.items[gt],mr,ot[gt]))return!1;return!0}function qi(oe,mr,ot){return(0,i.R1)(ot)}function ri(oe,mr,ot){return oe.anyOf.some(gt=>fe(gt,mr,ot))}function Vi(oe,mr,ot){return!(!(0,i.G4)(ot)||Sr(oe.maxByteLength)&&!(ot.length<=oe.maxByteLength)||Sr(oe.minByteLength)&&!(ot.length>=oe.minByteLength))}function si(oe,mr,ot){return!0}function ks(oe,mr,ot){return r.Q.IsVoidLike(ot)}function cr(oe,mr,ot){return $r(oe[s.b8])?Hr(oe[s.b8])(oe,ot):!1}function fe(oe,mr,ot){const gt=Sr(oe.$id)?m(oe,mr):mr,mn=oe;switch(mn[s.b8]){case"Any":return kr(mn,gt,ot);case"Argument":return qt(mn,gt,ot);case"Array":return Sn(mn,gt,ot);case"AsyncIterator":return dr(mn,gt,ot);case"BigInt":return Nr(mn,gt,ot);case"Boolean":return un(mn,gt,ot);case"Constructor":return Xt(mn,gt,ot);case"Date":return br(mn,gt,ot);case"Function":return $t(mn,gt,ot);case"Import":return wt(mn,gt,ot);case"Integer":return Ar(mn,gt,ot);case"Intersect":return Q(mn,gt,ot);case"Iterator":return ut(mn,gt,ot);case"Literal":return tr(mn,gt,ot);case"Never":return rt(mn,gt,ot);case"Not":return _t(mn,gt,ot);case"Null":return Yr(mn,gt,ot);case"Number":return ln(mn,gt,ot);case"Object":return cn(mn,gt,ot);case"Promise":return gn(mn,gt,ot);case"Record":return wi(mn,gt,ot);case"Ref":return ki(mn,gt,ot);case"RegExp":return Ur(mn,gt,ot);case"String":return Bi(mn,gt,ot);case"Symbol":return bs(mn,gt,ot);case"TemplateLiteral":return Di(mn,gt,ot);case"This":return on(mn,gt,ot);case"Tuple":return fi(mn,gt,ot);case"Undefined":return qi(mn,gt,ot);case"Union":return ri(mn,gt,ot);case"Uint8Array":return Vi(mn,gt,ot);case"Unknown":return si(mn,gt,ot);case"Void":return ks(mn,gt,ot);default:if(!$r(mn[s.b8]))throw new wr(mn);return cr(mn,gt,ot)}}function Re(...oe){return oe.length===3?fe(oe[0],oe[1],oe[2]):fe(oe[0],[],oe[1])}var Qe=e(16132);function mt(oe){switch(oe.errorType){case Ut.ArrayContains:return"Expected array to contain at least one matching value";case Ut.ArrayMaxContains:return`Expected array to contain no more than ${oe.sc
1005hema.maxContains} matching values`;case Ut.ArrayMinContains:return`Expected array to contain at least ${oe.schema.minContains} matching values`;case Ut.ArrayMaxItems:return`Expected array length to be less or equal to ${oe.schema.maxItems}`;case Ut.ArrayMinItems:return`Expected array length to be greater or equal to ${oe.schema.minItems}`;case Ut.ArrayUniqueItems:return"Expected array elements to be unique";case Ut.Array:return"Expected array";case Ut.AsyncIterator:return"Expected AsyncIterator";case Ut.BigIntExclusiveMaximum:return`Expected bigint to be less than ${oe.schema.exclusiveMaximum}`;case Ut.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${oe.schema.exclusiveMinimum}`;case Ut.BigIntMaximum:return`Expected bigint to be less or equal to ${oe.schema.maximum}`;case Ut.BigIntMinimum:return`Expected bigint to be greater or equal to ${oe.schema.minimum}`;case Ut.BigIntMultipleOf:return`Expected bigint to be a multiple of ${oe.schema.multipleOf}`;case Ut.BigInt:return"Expected bigint";case Ut.Boolean:return"Expected boolean";case Ut.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${oe.schema.exclusiveMinimumTimestamp}`;case Ut.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${oe.schema.exclusiveMaximumTimestamp}`;case Ut.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${oe.schema.minimumTimestamp}`;case Ut.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${oe.schema.maximumTimestamp}`;case Ut.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${oe.schema.multipleOfTimestamp}`;case Ut.Date:return"Expected Date";case Ut.Function:return"Expected function";case Ut.IntegerExclusiveMaximum:return`Expected integer to be less than ${oe.schema.exclusiveMaximum}`;case Ut.IntegerExclusiveMinimum:return`Expected integer to be greater than ${oe.schema.exclusiveMinimum}`;case Ut.IntegerMaximum:return`Expected integer to be less or equal to ${oe.schema.maximum}`;case Ut.IntegerMinimum:return`Expected integer to be greater or equal to ${oe.schema.minimum}`;case Ut.IntegerMultipleOf:return`Expected integer to be a multiple of ${oe.schema.multipleOf}`;case Ut.Integer:return"Expected integer";case Ut.IntersectUnevaluatedProperties:return"Unexpected property";case Ut.Intersect:return"Expected all values to match";case Ut.Iterator:return"Expected Iterator";case Ut.Literal:return`Expected ${typeof oe.schema.const=="string"?`'${oe.schema.const}'`:oe.schema.const}`;case Ut.Never:return"Never";case Ut.Not:return"Value should not match";case Ut.Null:return"Expected null";case Ut.NumberExclusiveMaximum:return`Expected number to be less than ${oe.schema.exclusiveMaximum}`;case Ut.NumberExclusiveMinimum:return`Expected number to be greater than ${oe.schema.exclusiveMinimum}`;case Ut.NumberMaximum:return`Expected number to be less or equal to ${oe.schema.maximum}`;case Ut.NumberMinimum:return`Expected number to be greater or equal to ${oe.schema.minimum}`;case Ut.NumberMultipleOf:return`Expected number to be a multiple of ${oe.schema.multipleOf}`;case Ut.Number:return"Expected number";case Ut.Object:return"Expected object";case Ut.ObjectAdditionalProperties:return"Unexpected property";case Ut.ObjectMaxProperties:return`Expected object to have no more than ${oe.schema.maxProperties} properties`;case Ut.ObjectMinProperties:return`Expected object to have at least ${oe.schema.minProperties} properties`;case Ut.ObjectRequiredProperty:return"Expected required property";case Ut.Promise:return"Expected Promise";case Ut.RegExp:return"Expected string to match regular expression";case Ut.StringFormatUnknown:return`Unknown format '${oe.schema.format}'`;case Ut.StringFormat:return`Expected string to match '${oe.schema.format}' format`;case Ut.StringMaxLength:return`Expected string length less or equal to ${oe.schema.maxLength}`;case Ut.StringMinLength:return`Expected string length greater or equal to ${oe.schema.minLength}`;case Ut.StringPattern:return`Expected string to match '${oe.schema.pattern}'`;case Ut.String:return"Expected string";
1005case Ut.Symbol:return"Expected symbol";case Ut.TupleLength:return`Expected tuple to have ${oe.schema.maxItems||0} elements`;case Ut.Tuple:return"Expected tuple";case Ut.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${oe.schema.maxByteLength}`;case Ut.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${oe.schema.minByteLength}`;case Ut.Uint8Array:return"Expected Uint8Array";case Ut.Undefined:return"Expected undefined";case Ut.Union:return"Expected union value";case Ut.Void:return"Expected void";case Ut.Kind:return`Expected kind '${oe.schema[s.b8]}'`;default:return"Unknown error type"}}let xt=mt;function Mr(oe){xt=oe}function vn(){return xt}var Ut;(function(oe){oe[oe.ArrayContains=0]="ArrayContains",oe[oe.ArrayMaxContains=1]="ArrayMaxContains",oe[oe.ArrayMaxItems=2]="ArrayMaxItems",oe[oe.ArrayMinContains=3]="ArrayMinContains",oe[oe.ArrayMinItems=4]="ArrayMinItems",oe[oe.ArrayUniqueItems=5]="ArrayUniqueItems",oe[oe.Array=6]="Array",oe[oe.AsyncIterator=7]="AsyncIterator",oe[oe.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",oe[oe.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",oe[oe.BigIntMaximum=10]="BigIntMaximum",oe[oe.BigIntMinimum=11]="BigIntMinimum",oe[oe.BigIntMultipleOf=12]="BigIntMultipleOf",oe[oe.BigInt=13]="BigInt",oe[oe.Boolean=14]="Boolean",oe[oe.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",oe[oe.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",oe[oe.DateMaximumTimestamp=17]="DateMaximumTimestamp",oe[oe.DateMinimumTimestamp=18]="DateMinimumTimestamp",oe[oe.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",oe[oe.Date=20]="Date",oe[oe.Function=21]="Function",oe[oe.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",oe[oe.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",oe[oe.IntegerMaximum=24]="IntegerMaximum",oe[oe.IntegerMinimum=25]="IntegerMinimum",oe[oe.IntegerMultipleOf=26]="IntegerMultipleOf",oe[oe.Integer=27]="Integer",oe[oe.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",oe[oe.Intersect=29]="Intersect",oe[oe.Iterator=30]="Iterator",oe[oe.Kind=31]="Kind",oe[oe.Literal=32]="Literal",oe[oe.Never=33]="Never",oe[oe.Not=34]="Not",oe[oe.Null=35]="Null",oe[oe.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",oe[oe.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",oe[oe.NumberMaximum=38]="NumberMaximum",oe[oe.NumberMinimum=39]="NumberMinimum",oe[oe.NumberMultipleOf=40]="NumberMultipleOf",oe[oe.Number=41]="Number",oe[oe.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",oe[oe.ObjectMaxProperties=43]="ObjectMaxProperties",oe[oe.ObjectMinProperties=44]="Ob
1005jectMinProperties",oe[oe.ObjectRequiredProperty=45]="ObjectRequiredProperty",oe[oe.Object=46]="Object",oe[oe.Promise=47]="Promise",oe[oe.RegExp=48]="RegExp",oe[oe.StringFormatUnknown=49]="StringFormatUnknown",oe[oe.StringFormat=50]="StringFormat",oe[oe.StringMaxLength=51]="StringMaxLength",oe[oe.StringMinLength=52]="StringMinLength",oe[oe.StringPattern=53]="StringPattern",oe[oe.String=54]="String",oe[oe.Symbol=55]="Symbol",oe[oe.TupleLength=56]="TupleLength",oe[oe.Tuple=57]="Tuple",oe[oe.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",oe[oe.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",oe[oe.Uint8Array=60]="Uint8Array",oe[oe.Undefined=61]="Undefined",oe[oe.Union=62]="Union",oe[oe.Void=63]="Void"})(Ut||(Ut={}));class Yn extends a.i{constructor(mr){super("Unknown type"),this.schema=mr}}function mi(oe){return oe.replace(/~/g,"~0").replace(/\//g,"~1")}function yn(oe){return oe!==void 0}class ji{constructor(mr){this.iterator=mr}[Symbol.iterator](){return this.iterator}First(){const mr=this.iterator.next();return mr.done?void 0:mr.value}}function Tn(oe,mr,ot,gt,mn=[]){return{type:oe,schema:mr,path:ot,value:gt,message:vn()({errorType:oe,path:ot,schema:mr,value:gt,errors:mn}),errors:mn}}function*Cs(oe,mr,ot,gt){}function*$i(oe,mr,ot,gt){}function*gs(oe,mr,ot,gt){if(!(0,i.QS)(gt))return yield Tn(Ut.Array,oe,ot,gt);yn(oe.minItems)&&!(gt.length>=oe.minItems)&&(yield Tn(Ut.ArrayMinItems,oe,ot,gt)),yn(oe.maxItems)&&!(gt.length<=oe.maxItems)&&(yield Tn(Ut.ArrayMaxItems,oe,ot,gt));for(let fs=0;fs<gt.length;fs++)yield*Li(oe.items,mr,`${ot}/${fs}`,gt[fs]);if(oe.uniqueItems===!0&&!(function(){const fs=new Set;for(const Rs of gt){const fa=Je(Rs);if(fs.has(fa))return!1;fs.add(fa)}return!0})()&&(yield Tn(Ut.ArrayUniqueItems,oe,ot,gt)),!(yn(oe.contains)||yn(oe.minContains)||yn(oe.maxContains)))return;const mn=yn(oe.contains)?oe.contains:(0,pt.p)(),Gn=gt.reduce((fs,Rs,fa)=>Li(mn,mr,`${ot}${fa}`,Rs).next().done===!0?fs+1:fs,0);Gn===0&&(yield Tn(Ut.ArrayContains,oe,ot,gt)),(0,i.Mx)(oe.minContains)&&Gn<oe.minContains&&(yield Tn(Ut.ArrayMinContains,oe,ot,gt)),(0,i.Mx)(oe.maxContains)&&Gn>oe.maxContains&&(yield Tn(Ut.ArrayMaxContains,oe,ot,gt))}function*vs(oe,mr,ot,gt){(0,i.H1)(gt)||(yield Tn(Ut.AsyncIterator,oe,ot,gt))}function*Vt(oe,mr,ot,gt){if(!(0,i.cQ)(gt))return yield Tn(Ut.BigInt,oe,ot,gt);yn(oe.exclusiveMaximum)&&!(gt<oe.exclusiveMaximum)&&(yield Tn(Ut.BigIntExclusiveMaximum,oe,ot,gt)),yn(oe.exclusiveMinimum)&&!(gt>oe.exclusiveMinimum)&&(yield Tn(Ut.BigIntExclusiveMinimum,oe,ot,gt)),yn(oe.maximum)&&!(gt<=oe.maximum)&&(yield Tn(Ut.BigIntMaximum,oe,ot,gt)),yn(oe.minimum)&&!(gt>=oe.minimum)&&(yield Tn(Ut.BigIntMinimum,oe,ot,gt)),yn(oe.multipleOf)&>%oe.multipleOf!==BigInt(0)&&(yield Tn(Ut.BigIntMultipleOf,oe,ot,gt))}function*hr(oe,mr,ot,gt){(0,i.Zx)(gt)||(yield Tn(Ut.Boolean,oe,ot,gt))}function*rn(oe,mr,ot,gt){yield*Li(oe.returns,mr,ot,gt.prototype)}function*zn(oe,mr,ot,gt){if(!(0,i.XF)(gt))return yield Tn(Ut.Date,oe,ot,gt);yn(oe.exclusiveMaximumTimestamp)&&!(gt.getTime()<oe.exclusiveMaximumTimestamp)&&(yield Tn(Ut.DateExclusiveMaximumTimestamp,oe,ot,gt)),yn(oe.exclusiveMinimumTimestamp)&&!(gt.getTime()>oe.exclusiveMinimumTimestamp)&&(yield Tn(Ut.DateExclusiveMinimumTimestamp,oe,ot,gt)),yn(oe.maximumTimestamp)&&!(gt.getTime()<=oe.maximumTimestamp)&&(yield Tn(Ut.DateMaximumTimestamp,oe,ot,gt)),yn(oe.minimumTimestamp)&&!(gt.getTime()>=oe.minimumTimestamp)&&(yield Tn(Ut.DateMinimumTimestamp,oe,ot,gt)),yn(oe.multipleOfTimestamp)&>.getTime()%oe.multipleOfTimestamp!==0&&(yield Tn(Ut.DateMultipleOfTimestamp,oe,ot,gt))}function*$n(oe,mr,ot,gt){(0,i.hg)(gt)||(yield Tn(Ut.Function,oe,ot,gt))}function*bn(oe,mr,ot,gt){const mn=globalThis.Object.values(oe.$defs),Gn=oe.$defs[oe.$ref];yield*Li(Gn,[...mr,...mn],ot,gt)}function*ni(oe,mr,ot,gt){if(!(0,i.$p)(gt))return yield Tn(Ut.Integer,oe,ot,gt);yn(oe.exclusiveMaximum)&&!(gt<oe.exclusiveMaximum)&&(yield Tn(Ut.IntegerExclusiveMaximum,oe,ot,gt)),yn(oe.exclusiveMinimum)&&!(gt>oe.exclusiveMinimum)&&(yield Tn(Ut.IntegerExclusiveMinimum,oe,ot,gt)),yn(oe.maximum)&&!(gt<=oe.maximum)&&(yield Tn(Ut.IntegerMaximum,oe,ot,gt)),yn(oe.minimum)&&!(gt>=oe.minimum)&&(yield Tn(Ut.IntegerMinimum,oe,ot,gt)),yn(oe.multipleOf)&>%oe.multipleOf!==0&&(yield Tn(Ut.IntegerMultipleOf,oe,ot,gt))}function*ai(oe,mr,ot,gt){let mn=!1;for(const Gn of oe.allOf)for(const fs of Li(Gn,mr,ot,gt))mn=!0,yield fs;if(mn)return yield Tn(Ut.Intersect,oe,ot,gt);if(oe.unevaluatedProperties===!1){const Gn=new RegExp((0,qe.n)(oe));for(const fs of Object.getOwnPropertyNames(gt))Gn.test(fs)||(yield Tn(Ut.IntersectUnevaluatedProperties,oe,`${ot}/${fs}`,gt))}if(typeof oe.unevaluatedProperties=="object"){const Gn=new RegExp((0,qe.n)(oe));for(const fs of Object.getOwnPropertyNames(gt))if(!Gn.test(fs)){const Rs=Li(oe.unevaluatedProperties,mr,`${ot}/${fs}`,gt[fs]).next();Rs.done||(yield Rs.value)}}}function*yi(oe,mr,ot,gt){(0,i.jo)(gt)||(yield Tn(Ut.Iterator,oe,ot,gt))}function*es(oe,mr,ot,gt){gt!==oe.const&&(yield Tn(Ut.Literal,oe,ot,gt))}function*Ei(oe,mr,ot,gt){yield Tn(Ut.Never,oe,ot,gt)}function*Hi(oe,mr,ot,gt){Li(oe.not,mr,ot,gt).next().done===!0&&(yield Tn(Ut.Not,oe,ot,gt))}function*zi(oe,mr,ot,gt){(0,i.Ef)(gt)||(yield Tn(Ut.Null,oe,ot,gt))}function*us(oe,mr,ot,gt){if(!r.Q.IsNumberLike(gt))return yield Tn(Ut.Number,oe,ot,gt);yn(oe.exclusiveMaximum)&&!(gt<oe.exclusiveMaximum)&&(yield Tn(Ut.NumberExclusiveMaximum,oe,ot,gt)),yn(oe.exclusiveMinimum)&&!(gt>oe.exclusiveMinimum)&&(yield Tn(Ut.NumberExclusiveMinimum,oe,ot,gt)),yn(oe.maximum)&&!(gt<=oe.maximum)&&(yield Tn(Ut.NumberMaximum,oe,ot,gt)),yn(oe.minimum)&&!(gt>=oe.minimum)&&(yield Tn(Ut.NumberMinimum,oe,ot,gt)),yn(oe.multipleOf)&>%oe.multipleOf!==0&&(yield Tn(Ut.NumberMultipleOf,oe,ot,gt))}function*Ss(oe,mr,ot,gt){if(!r.Q.IsObjectLike(gt))return yield Tn(Ut.Object,oe,ot,gt);yn(oe.minProperties)&&!(Object.getOwnPropertyNames(gt).length>=oe.minProperties)&&(yield Tn(Ut.ObjectMinProperties,oe,ot,gt)),yn(oe.maxPro
1005perties)&&!(Object.getOwnPropertyNames(gt).length<=oe.maxProperties)&&(yield Tn(Ut.ObjectMaxProperties,oe,ot,gt));const mn=Array.isArray(oe.required)?oe.required:[],Gn=Object.getOwnPropertyNames(oe.properties),fs=Object.getOwnPropertyNames(gt);for(const Rs of mn)fs.includes(Rs)||(yield Tn(Ut.ObjectRequiredProperty,oe.properties[Rs],`${ot}/${mi(Rs)}`,void 0));if(oe.additionalProperties===!1)for(const Rs of fs)Gn.includes(Rs)||(yield Tn(Ut.ObjectAdditionalProperties,oe,`${ot}/${mi(Rs)}`,gt[Rs]));if(typeof oe.additionalProperties=="object")for(const Rs of fs)Gn.includes(Rs)||(yield*Li(oe.additionalProperties,mr,`${ot}/${mi(Rs)}`,gt[Rs]));for(const Rs of Gn){const fa=oe.properties[Rs];oe.required&&oe.required.includes(Rs)?(yield*Li(fa,mr,`${ot}/${mi(Rs)}`,gt[Rs]),Fe(oe)&&!(Rs in gt)&&(yield Tn(Ut.ObjectRequiredProperty,fa,`${ot}/${mi(Rs)}`,void 0))):r.Q.IsExactOptionalProperty(gt,Rs)&&(yield*Li(fa,mr,`${ot}/${mi(Rs)}`,gt[Rs]))}}function*as(oe,mr,ot,gt){(0,i.OD)(gt)||(yield Tn(Ut.Promise,oe,ot,gt))}function*oi(oe,mr,ot,gt){if(!r.Q.IsRecordLike(gt))return yield Tn(Ut.Object,oe,ot,gt);yn(oe.minProperties)&&!(Object.getOwnPropertyNames(gt).length>=oe.minProperties)&&(yield Tn(Ut.ObjectMinProperties,oe,ot,gt)),yn(oe.maxProperties)&&!(Object.getOwnPropertyNames(gt).length<=oe.maxProperties)&&(yield Tn(Ut.ObjectMaxProperties,oe,ot,gt));const[mn,Gn]=Object.entries(oe.patternProperties)[0],fs=new RegExp(mn);for(const[Rs,fa]of Object.entries(gt))fs.test(Rs)&&(yield*Li(Gn,mr,`${ot}/${mi(Rs)}`,fa));if(typeof oe.additionalProperties=="object")for(const[Rs,fa]of Object.entries(gt))fs.test(Rs)||(yield*Li(oe.additionalProperties,mr,`${ot}/${mi(Rs)}`,fa));if(oe.additionalProperties===!1){for(const[Rs,fa]of Object.entries(gt))if(!fs.test(Rs))return yield Tn(Ut.ObjectAdditionalProperties,oe,`${ot}/${mi(Rs)}`,fa)}}function*$s(oe,mr,ot,gt){yield*Li(g(oe,mr),mr,ot,gt)}function*Es(oe,mr,ot,gt){if(!(0,i.IP)(gt))return yield Tn(Ut.String,oe,ot,gt);if(yn(oe.minLength)&&!(gt.length>=oe.minLength)&&(yield Tn(Ut.StringMinLength,oe,ot,gt)),yn(oe.maxLength)&&!(gt.length<=oe.maxLength)&&(yield Tn(Ut.StringMaxLength,oe,ot,gt)),!new RegExp(oe.source,oe.flags).test(gt))return yield Tn(Ut.RegExp,oe,ot,gt)}function*ls(oe,mr,ot,gt){if(!(0,i.IP)(gt))return yield Tn(Ut.String,oe,ot,gt);yn(oe.minLength)&&!(gt.length>=oe.minLength)&&(yield Tn(Ut.StringMinLength,oe,ot,gt)),yn(oe.maxLength)&&!(gt.length<=oe.maxLength)&&(yield Tn(Ut.StringMaxLength,oe,ot,gt)),(0,i.IP)(oe.pattern)&&(new RegExp(oe.pattern).test(gt)||(yield Tn(Ut.StringPattern,oe,ot,gt))),(0,i.IP)(oe.format)&&(At(oe.format)?kt(oe.format)(gt)||(yield Tn(Ut.StringFormat,oe,ot,gt)):yield Tn(Ut.StringFormatUnknown,oe,ot,gt))}function*Ts(oe,mr,ot,gt){(0,i.nH)(gt)||(yield Tn(Ut.Symbol,oe,ot,gt))}function*de(oe,mr,ot,gt){if(!(0,i.IP)(gt))return yield Tn(Ut.String,oe,ot,gt);new RegExp(oe.pattern).test(gt)||(yield Tn(Ut.StringPattern,oe,ot,gt))}function*$e(oe,mr,ot,gt){yield*Li(g(oe,mr),mr,ot,gt)}function*Pt(oe,mr,ot,gt){if(!(0,i.QS)(gt))return yield Tn(Ut.Tuple,oe,ot,gt);if(oe.items===void 0&>.length!==0)return yield Tn(Ut.TupleLength,oe,ot,gt);if(gt.length!==oe.maxItems)return yield Tn(Ut.TupleLength,oe,ot,gt);if(oe.items)for(let mn=0;mn<oe.items.length;mn++)yield*Li(oe.items[mn],mr,`${ot}/${mn}`,gt[mn])}function*or(oe,mr,ot,gt){(0,i.R1)(gt)||(yield Tn(Ut.Undefined,oe,ot,gt))}function*tn(oe,mr,ot,gt){if(Re(oe,mr,gt))return;const mn=oe.anyOf.map(Gn=>new ji(Li(Gn,mr,ot,gt)));yield Tn(Ut.Union,oe,ot,gt,mn)}function*Vn(oe,mr,ot,gt){if(!(0,i.G4)(gt))return yield Tn(Ut.Uint8Array,oe,ot,gt);yn(oe.maxByteLength)&&!(gt.length<=oe.maxByteLength)&&(yield Tn(Ut.Uint8ArrayMaxByteLength,oe,ot,gt)),yn(oe.minByteLength)&&!(gt.length>=oe.minByteLength)&&(yield Tn(Ut.Uint8ArrayMinByteLength,oe,ot,gt))}function*Ri(oe,mr,ot,gt){}function*ts(oe,mr,ot,gt){r.Q.IsVoidLike(gt)||(yield Tn(Ut.Void,oe,ot,gt))}function*ss(oe,mr,ot,gt){Hr(oe[s.b8])(oe,gt)||(yield Tn(Ut.Kind,oe,ot,gt))}function*Li(oe,mr,ot,gt){const mn=yn(oe.$id)?[...mr,oe]:mr,Gn=oe;switch(Gn[s.b8]){case"Any":return yield*Cs(Gn,mn,ot,gt);case"Argument":return yield*$i(Gn,mn,ot,gt);case"Array":return yield*gs(Gn,mn,ot,gt);case"AsyncIterator":return yield*vs(Gn,mn,ot,gt);case"BigInt":return yield*Vt(Gn,mn,ot,gt);case"Boolean":return yield*hr(Gn,mn,ot,gt);case"Constructor":return yield*rn(Gn,mn,ot,gt);case"Date":return yield*zn(Gn,mn,ot,gt);
1005case"Function":return yield*$n(Gn,mn,ot,gt);case"Import":return yield*bn(Gn,mn,ot,gt);case"Integer":return yield*ni(Gn,mn,ot,gt);case"Intersect":return yield*ai(Gn,mn,ot,gt);case"Iterator":return yield*yi(Gn,mn,ot,gt);case"Literal":return yield*es(Gn,mn,ot,gt);case"Never":return yield*Ei(Gn,mn,ot,gt);case"Not":return yield*Hi(Gn,mn,ot,gt);case"Null":return yield*zi(Gn,mn,ot,gt);case"Number":return yield*us(Gn,mn,ot,gt);case"Object":return yield*Ss(Gn,mn,ot,gt);case"Promise":return yield*as(Gn,mn,ot,gt);case"Record":return yield*oi(Gn,mn,ot,gt);case"Ref":return yield*$s(Gn,mn,ot,gt);case"RegExp":return yield*Es(Gn,mn,ot,gt);case"String":return yield*ls(Gn,mn,ot,gt);case"Symbol":return yield*Ts(Gn,mn,ot,gt);case"TemplateLiteral":return yield*de(Gn,mn,ot,gt);case"This":return yield*$e(Gn,mn,ot,gt);case"Tuple":return yield*Pt(Gn,mn,ot,gt);case"Undefined":return yield*or(Gn,mn,ot,gt);case"Union":return yield*tn(Gn,mn,ot,gt);case"Uint8Array":return yield*Vn(Gn,mn,ot,gt);case"Unknown":return yield*Ri(Gn,mn,ot,gt);case"Void":return yield*ts(Gn,mn,ot,gt);default:if(!$r(Gn[s.b8]))throw new Yn(oe);return yield*ss(Gn,mn,ot,gt)}}function Ia(...oe){const mr=oe.length===3?Li(oe[0],oe[1],"",oe[2]):Li(oe[0],[],"",oe[1]);return new ji(mr)}var Sa,ha,Qa=function(oe,mr,ot,gt,mn){if(gt==="m")throw new TypeError("Private method is not writable");if(gt==="a"&&!mn)throw new TypeError("Private accessor was defined without a setter");if(typeof mr=="function"?oe!==mr||!mn:!mr.has(oe))throw new TypeError("Cannot write private member to an object whose class did not declare it");return gt==="a"?mn.call(oe,ot):mn?mn.value=ot:mr.set(oe,ot),ot},_s=function(oe,mr,ot,gt){if(ot==="a"&&!gt)throw new TypeError("Private accessor was defined without a getter");if(typeof mr=="function"?oe!==mr||!gt:!mr.has(oe))throw new TypeError("Cannot read private member from an object whose class did not declare it");return ot==="m"?gt:ot==="a"?gt.call(oe):gt?gt.value:mr.get(oe)},fr,Aa,en;class pa extends a.i{constructor(mr){const ot=mr.First();super(ot===void 0?"Invalid Value":ot.message),fr.add(this),Aa.set(this,void 0),Qa(this,Aa,mr,"f"),this.error=ot}Errors(){return new ji(_s(this,fr,"m",en).call(this))}}Aa=new WeakMap,fr=new WeakSet,en=function*(){this.error&&(yield this.error),yield*_s(this,Aa,"f")};function Pa(oe,mr,ot){if(!ha(oe,mr,ot))throw new pa(Sa(oe,mr,ot))}function Xs(...oe){return oe.length===3?Pa(oe[0],oe[1],oe[2]):Pa(oe[0],[],oe[1])}class Hs extends pa{constructor(mr){super(mr),this.error!=null&&(this.message=this.error.path===""?this.error.message:`${this.error.path.substring(1)} - ${this.error.message}`)}}function ao(oe,mr){if(!Re(oe,mr))throw new Hs(new ji(Wa(oe,mr)))}function*Wa(oe,mr){for(const ot of Ia(oe,mr)){const gt=ot.schema;(0,n.AGQ)(gt)?yield*Co({...ot,schema:gt}):(0,n.iYA)(gt)?yield*Mi(ot.path,Wa(gt.anyOf[0],ot.value)):yield ot}}function*Co(oe){const{path:mr,schema:ot,value:gt}=oe;if(!_o(gt)){yield oe;return}const mn=ot[n.lVo];let Gn=Oo(ot),fs=!1;const Rs=new Map(Gn.map(fa=>[fa,Ks(fa)]));for(const fa of mn){const Ho=new Array;let po=!1;for(const Ja of Gn){const Bo=Rs.get(Ja)?.[fa];po||=Bo!=null&&Qe.X$(Bo),Qe.gP(Bo)&&(Bo.const===gt[fa]||po&>[fa]===void 0)&&Ho.push(Ja)}Gn=Ho,gt[fa]==null&&!po&&(yield{type:Ut.Union,schema:ot,value:gt,path:mr,message:`Could not satisfy discriminated union, missing property "${fa}"`,errors:[]},fs=!0)}if(!fs){if(Gn.length!==1){yield{type:Ut.Union,schema:ot,value:gt,path:mr,message:`Could not satisfy discriminated union, no match for properties ${mn.map(fa=>`"${fa}: ${String(gt[fa])}"`).join(", ")}`,errors:[]};return}yield*Mi(mr,Wa(Gn[0],gt))}}function _o(oe){return oe!=null&&typeof oe=="object"}function Oo(oe){return oe.anyOf.flatMap(mr=>Qe.my(mr)?Oo(mr):[mr])}function Ks(oe){return Qe.av(oe)?oe.properties:Qe.Yq(oe)?oe.allOf.reduce((mr,ot)=>{if(mr===null)return null;const gt=Ks(ot);return gt===null?null:Object.assign(mr,gt)},{}):null}function*Mi(oe,mr){for(const ot of mr)yield{...ot,path:oe+ot.path}}function Me(oe){return(mr=>Re(oe,mr))}function je(oe){return mr=>{ao(oe,mr)}}const Ot=Me(n.aeh),Wt=je(n.aeh),Br=oe=>!!oe.defaultLocaleId,Vr=oe=>!Br(oe),an=Me(n.Nke),ii=je(n.Nke),Yi=Me(n.JxH),Ui=je(n.JxH),bi=Me(n.aCm),Ws=je(n.aCm),ms=Me(n.eBw),Le=je(n.eBw),Ye=Me(n.aOL),ft=je(n.aOL),ht=Me(n.k_s),Mt=je(n.k_s),Jt=Me(n.u33),Er=je(n.u33),Lr=Me(n.cAr),Mn=je(n.cAr),Pn=Me(n._D9),kn=je(n._D9),Gi=Me(n.mrj),os=je(n.mrj),Os=Me(n.BlA),ir=je(n.BlA),Bt=Me(n.eKG),sr=je(n.eKG),Cr=Me(n.vSk),Fn=je(n.vSk),Pe=Me(n.d9Z),Be=je(n.d9Z),it=Me(n.$Wv),st=je(n.$Wv),jt=Me(n.n8i),Gt=je(n.n8i),ar=Me(n.WHl),ur=je(n.WHl),Un=Me(n.CXD),An=je(n.CXD),jn=Me(n.Hck),Wi=je(n.Hck),Vs=Me(n.m91),Pi=je(n.m91),ws=Me(n._FT),Ci=je(n._FT),ei=Me(n.PbZ),hi=je(n.PbZ),Ps=Me(n.B3m),Zi=je(n.B3m),Ti=Me(n.thO),xs=je(n.thO),ma=Me(n.GAO),Fo=je(n.GAO),ho=Me(n.Y0),la=je(n.Y
vendor: 5,159 bytes, line 1005
10050),Fa=Me(n.Qzd),V=je(n.Qzd),$=Me(n.ylx),ne=je(n.ylx),me=Me(n.ZfR),Oe=je(n.ZfR),ze=Me(n.HL2),nt=je(n.HL2),ct=Me(n.sMs),Dt=je(n.sMs),Zt=Me(n.evW),Ft=je(n.evW),Rr=Me(n.j7p),Jr=je(n.j7p),In=Me(n.fQW),Rn=je(n.fQW),Jn=Me(n.$zI),_i=je(n.$zI),qn=Me(n.j0T),Xi=je(n.j0T),cs=Me(n.J6u),nr=je(n.J6u),Fr=Me(n.qMG),_r=je(n.qMG),ui=Me(n.GYN),Ni=je(n.GYN),ci=Me(n.Mb1),ra=je(n.Mb1),na=Me(n.npW),hu=je(n.npW),zo=Me(n.b2U),bo=je(n.b2U),$o=Me(n.gCZ),Yu=je(n.gCZ),ua=Me(n.D2B),pu=je(n.D2B),Mu=Me(n.lYD),Ea=je(n.lYD),Yl=Me(n.Tot),ul=je(n.Tot),Io=Me(n.Wo_),Lc=je(n.Wo_),Xl=Me(n.YEc),Us=je(n.YEc),su=Me(n.Mik),oo=je(n.Mik),ku=Me(n.hJT),Ml=je(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});function 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}},36055(f,d,e){"use strict";e.d(d,{FZ:()=>i});var n=e(35807);const{Axios:r,AxiosError:a,CanceledError:s,isCancel:i,CancelToken:u,VERSION:l,all:m,Cancel:g,isAxiosError:h,spread:v,toFormData:E,AxiosHeaders:w,HttpStatusCode:T,formToJSON:C,getAdapter:O,mergeConfig:R,create:B}=n.A},35807(f,d,e){"use strict";e.d(d,{A:()=>Fn});var n={};e.r(n),e.d(n,{hasBrowserEnv:()=>rn,hasStandardBrowserEnv:()=>$n,hasStandardBrowserWebWorkerEnv:()=>bn,navigator:()=>zn,origin:()=>ni});function r(Pe,Be){return function(){return Pe.apply(Be,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:i,toStringTag:u}=Symbol,l=(Pe=>Be=>{const it=a.call(Be);return Pe[it]||(Pe[it]=it.slice(8,-1).toLowerCase())})(Object.create(null)),m=Pe=>(Pe=Pe.toLowerCase(),Be=>l(Be)===Pe),g=Pe=>Be=>typeof Be===Pe,{isArray:h}=Array,v=g("undefined");function E(Pe){return Pe!==null&&!v(Pe)&&Pe.constructor!==null&&!v(Pe.constructor)&&O(Pe.constructor.isBuffer)&&Pe.constructor.isBuffer(Pe)}const w=m("ArrayBuffer");function T(Pe){let Be;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?Be=ArrayBuffer.isView(Pe):Be=Pe&&Pe.buffer&&w(Pe.buffer),Be}const C=g("string"),O=g("function"),R=g("number"),B=Pe=>Pe!==null&&typeof Pe=="object",M=Pe=>Pe===!0||Pe===!1,F=Pe=>{if(l(Pe)!=="object")return!1;const Be=s(Pe);return(Be===null||Be===Object.prototype||Object.getPrototypeOf(Be)===null)&&!(u in Pe)&&!(i in Pe)},H=Pe=>{if(!B(Pe)||E(Pe))return!1;try{return Object.keys(Pe).length===0&&Object.getPrototypeOf(Pe)===Object.prototype}catch{return!1}},U=m("Date"),W=m("File"),X=Pe=>!!(Pe&&typeof Pe.uri<"u"),te=Pe=>Pe&&typeof Pe.getParts<"u",q=m("Blob"),ae=m("FileList"),le=Pe=>B(Pe)&&O(Pe.pipe);function pe(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const ge=pe(),Ie=typeof ge.FormData<"u"?ge.FormData:void 0,Ce=Pe=>{if(!Pe)return!1;if(Ie&&Pe instanceof Ie)return!0;const Be=s(Pe);if(!Be||Be===Object.prototype||!O(Pe.append))return!1;const it=l(Pe);return it==="formdata"||it==="object"&&O(Pe.toString)&&Pe.toString()==="[object FormData]"},Je=m("URLSearchParams"),[qe,ye,xe,De]=["ReadableStream","Request","Response","Headers"].map(m),Fe=Pe=>Pe.trim?Pe.trim():Pe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function be(Pe,Be,{allOwnKeys:it=!1}={}){if(Pe===null||typeof Pe>"u")return;let st,jt;if(typeof Pe!="object"&&(Pe=[Pe]),h(Pe))for(st=0,jt=Pe.length;st<jt;st++)Be.call(null,Pe[st],st,Pe);else{if(E(Pe))return;const Gt=it?Object.getOwnPropertyNames(Pe):Object.keys(Pe),ar=Gt.length;let ur;for(st=0;st<ar;st++)ur=Gt[st],Be.call(null,Pe[ur],ur,Pe)}}function ke(Pe,Be){if(E(Pe))return null;Be=Be.toLowerCase();const it=Object.keys(Pe);let st=it.length,jt;for(;st-- >0;)if(jt=it[st],Be===jt.toLowerCase())return jt;return null}const Ge=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:globalThis,Xe=Pe=>!v(Pe)&&Pe!==Ge;function At(...Pe){const{caseless:Be,skipUndefined:it}=Xe(this)&&this||{},st={},jt=(Gt,ar)=>{if(ar==="__proto__"||ar==="constructor"||ar==="prototype")return;const ur=Be&&ke(st,ar)||ar,Un=wr(st,ur)?st[ur]:void 0;F(Un)&&F(Gt)?st[ur]=At(Un,Gt):F(Gt)?st[ur]=At({},Gt):h(Gt)?st[ur]=Gt.slice():(!it||!v(Gt))&&(st[ur]=Gt)};for(let Gt=0,ar=Pe.length;Gt<ar;Gt++)Pe[Gt]&&be(Pe[Gt],jt);return st}const yt=(Pe,Be,it,{allOwnKeys:st}={})=>(be(Be,(jt,Gt)=>{it&&O(jt)?Object.defineProperty(Pe,Gt,{__proto__:null,value:r(jt,it),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(Pe,Gt,{__proto__:null,value:jt,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:st}),Pe),kt=Pe=>(Pe.charCodeAt(0)===65279&&(Pe=Pe.slice(1)),Pe),Nt=(Pe,Be,it,st)=>{Pe.prototype=Object.create(Be.prototype,st),Object.defineProperty(Pe.prototype,"constructor",{__proto__:null,value:Pe,writable:!0,enumerable:!1,
vendor: 4,215 bytes, lines 1005-1006
1005configurable:!0}),Object.defineProperty(Pe,"super",{__proto__:null,value:Be.prototype}),it&&Object.assign(Pe.prototype,it)},Ir=(Pe,Be,it,st)=>{let jt,Gt,ar;const ur={};if(Be=Be||{},Pe==null)return Be;do{for(jt=Object.getOwnPropertyNames(Pe),Gt=jt.length;Gt-- >0;)ar=jt[Gt],(!st||st(ar,Pe,Be))&&!ur[ar]&&(Be[ar]=Pe[ar],ur[ar]=!0);Pe=it!==!1&&s(Pe)}while(Pe&&(!it||it(Pe,Be))&&Pe!==Object.prototype);return Be},yr=(Pe,Be,it)=>{Pe=String(Pe),(it===void 0||it>Pe.length)&&(it=Pe.length),it-=Be.length;const st=Pe.indexOf(Be,it);return st!==-1&&st===it},Wr=Pe=>{if(!Pe)return null;if(h(Pe))return Pe;let Be=Pe.length;if(!R(Be))return null;const it=new Array(Be);for(;Be-- >0;)it[Be]=Pe[Be];return it},$r=(Pe=>Be=>Pe&&Be instanceof Pe)(typeof Uint8Array<"u"&&s(Uint8Array)),sn=(Pe,Be)=>{const st=(Pe&&Pe[i]).call(Pe);let jt;for(;(jt=st.next())&&!jt.done;){const Gt=jt.value;Be.call(Pe,Gt[0],Gt[1])}},Hr=(Pe,Be)=>{let it;const st=[];for(;(it=Pe.exec(Be))!==null;)st.push(it);return st},pt=m("HTMLFormElement"),et=Pe=>Pe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(it,st,jt){return st.toUpperCase()+jt}),wr=(({hasOwnProperty:Pe})=>(Be,it)=>Pe.call(Be,it))(Object.prototype),Dr=m("RegExp"),Sr=(Pe,Be)=>{const it=Object.getOwnPropertyDescriptors(Pe),st={};be(it,(jt,Gt)=>{let ar;(ar=Be(jt,Gt,Pe))!==!1&&(st[Gt]=ar||jt)}),Object.defineProperties(Pe,st)},kr=Pe=>{Sr(Pe,(Be,it)=>{if(O(Pe)&&["arguments","caller","callee"].includes(it))return!1;const st=Pe[it];if(O(st)){if(Be.enumerable=!1,"writable"in Be){Be.writable=!1;return}Be.set||(Be.set=()=>{throw Error("Can not rewrite read-only method '"+it+"'")})}})},qt=(Pe,Be)=>{const it={},st=jt=>{jt.forEach(Gt=>{it[Gt]=!0})};return h(Pe)?st(Pe):st(String(Pe).split(Be)),it},Sn=()=>{},dr=(Pe,Be)=>Pe!=null&&Number.isFinite(Pe=+Pe)?Pe:Be;function Nr(Pe){return!!(Pe&&O(Pe.append)&&Pe[u]==="FormData"&&Pe[i])}const un=Pe=>{const Be=new Array(10),it=(st,jt)=>{if(B(st)){if(Be.indexOf(st)>=0)return;if(E(st))return st;if(!("toJSON"in st)){Be[jt]=st;const Gt=h(st)?[]:{};return be(st,(ar,ur)=>{const Un=it(ar,jt+1);!v(Un)&&(Gt[ur]=Un)}),Be[jt]=void 0,Gt}}return st};return it(Pe,0)},Xt=m("AsyncFunction"),br=Pe=>Pe&&(B(Pe)||O(Pe))&&O(Pe.then)&&O(Pe.catch),$t=((Pe,Be)=>Pe?setImmediate:Be?((it,st)=>(Ge.addEventListener("message",({source:jt,data:Gt})=>{jt===Ge&&Gt===it&&st.length&&st.shift()()},!1),jt=>{st.push(jt),Ge.postMessage(it,"*")}))(`axios@${Math.random()}`,[]):it=>setTimeout(it))(typeof setImmediate=="function",O(Ge.postMessage)),wt=typeof queueMicrotask<"u"?queueMicrotask.bind(Ge):typeof process<"u"&&process.nextTick||$t,Q={isArray:h,isArrayBuffer:w,isBuffer:E,isFormData:Ce,isArrayBufferView:T,isString:C,isNumber:R,isBoolean:M,isObject:B,isPlainObject:F,isEmptyObject:H,isReadableStream:qe,isRequest:ye,isResponse:xe,isHeaders:De,isUndefined:v,isDate:U,isFile:W,isReactNativeBlob:X,isReactNative:te,isBlob:q,isRegExp:Dr,isFunction:O,isStream:le,isURLSearchParams:Je,isTypedArray:$r,isFileList:ae,forEach:be,merge:At,extend:yt,trim:Fe,stripBOM:kt,inherits:Nt,toFlatObject:Ir,kindOf:l,kindOfTest:m,endsWith:yr,toArray:Wr,forEachEntry:sn,matchAll:Hr,isHTMLForm:pt,hasOwnProperty:wr,hasOwnProp:wr,reduceDescriptors:Sr,freezeMethods:kr,toObjectSet:qt,toCamelCase:et,noop:Sn,toFiniteNumber:dr,findKey:ke,global:Ge,isContextDefined:Xe,isSpecCompliantForm:Nr,toJSONObject:un,isAsyncFn:Xt,isThenable:br,setImmediate:$t,asap:wt,isIterable:Pe=>Pe!=null&&O(Pe[i])},ut=Q.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"]),tr=(Pe=>{const Be={};let it,st,jt;return Pe&&Pe.split(` 1006`).forEach(function(ar){jt=ar.indexOf(":"),it=ar.substring(0,jt).trim().toLowerCase(),st=ar.substring(jt+1).trim(),!(!it||Be[it]&&ut[it])&&(it==="set-cookie"?Be[it]?Be[it].push(st):Be[it]=[st]:Be[it]=Be[it]?Be[it]+", "+st:st)}),Be});(Object.getOwnPropertyDescriptor(tr,"name")||{}).writable||Object.defineProperty(tr,"name",{value:"default",configurable:!0});const rt=Symbol("internals"),_t=/[^\x09\x20-\x7E\x80-\xFF]/g;function Yr(Pe){let Be=0,it=Pe.length;for(;Be<it;){const st=Pe.charCodeAt(Be);
vendor: 4,606 bytes, lines 1006-1007
1006if(st!==9&&st!==32)break;Be+=1}for(;it>Be;){const st=Pe.charCodeAt(it-1);if(st!==9&&st!==32)break;it-=1}return Be===0&&it===Pe.length?Pe:Pe.slice(Be,it)}function ln(Pe){return Pe&&String(Pe).trim().toLowerCase()}function cn(Pe){return Yr(Pe.replace(_t,""))}function gn(Pe){return Pe===!1||Pe==null?Pe:Q.isArray(Pe)?Pe.map(gn):cn(String(Pe))}function wi(Pe){const Be=Object.create(null),it=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let st;for(;st=it.exec(Pe);)Be[st[1]]=st[2];return Be}const ki=Pe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Pe.trim());function Ur(Pe,Be,it,st,jt){if(Q.isFunction(st))return st.call(this,Be,it);if(jt&&(Be=it),!!Q.isString(Be)){if(Q.isString(st))return Be.indexOf(st)!==-1;if(Q.isRegExp(st))return st.test(Be)}}function Bi(Pe){return Pe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Be,it,st)=>it.toUpperCase()+st)}function bs(Pe,Be){const it=Q.toCamelCase(" "+Be);["get","set","has"].forEach(st=>{Object.defineProperty(Pe,st+it,{__proto__:null,value:function(jt,Gt,ar){return this[st].call(this,Be,jt,Gt,ar)},configurable:!0})})}class Di{constructor(Be){Be&&this.set(Be)}set(Be,it,st){const jt=this;function Gt(ur,Un,An){const jn=ln(Un);if(!jn)throw new Error("header name must be a non-empty string");const Wi=Q.findKey(jt,jn);(!Wi||jt[Wi]===void 0||An===!0||An===void 0&&jt[Wi]!==!1)&&(jt[Wi||Un]=gn(ur))}const ar=(ur,Un)=>Q.forEach(ur,(An,jn)=>Gt(An,jn,Un));if(Q.isPlainObject(Be)||Be instanceof this.constructor)ar(Be,it);else if(Q.isString(Be)&&(Be=Be.trim())&&!ki(Be))ar(tr(Be),it);else if(Q.isObject(Be)&&Q.isIterable(Be)){let ur={},Un,An;for(const jn of Be){if(!Q.isArray(jn))throw TypeError("Object iterator must return a key-value pair");ur[An=jn[0]]=(Un=ur[An])?Q.isArray(Un)?[...Un,jn[1]]:[Un,jn[1]]:jn[1]}ar(ur,it)}else Be!=null&&Gt(it,Be,st);return this}get(Be,it){if(Be=ln(Be),Be){const st=Q.findKey(this,Be);if(st){const jt=this[st];if(!it)return jt;if(it===!0)return wi(jt);if(Q.isFunction(it))return it.call(this,jt,st);if(Q.isRegExp(it))return it.exec(jt);throw new TypeError("parser must be boolean|regexp|function")}}}has(Be,it){if(Be=ln(Be),Be){const st=Q.findKey(this,Be);return!!(st&&this[st]!==void 0&&(!it||Ur(this,this[st],st,it)))}return!1}delete(Be,it){const st=this;let jt=!1;function Gt(ar){if(ar=ln(ar),ar){const ur=Q.findKey(st,ar);ur&&(!it||Ur(st,st[ur],ur,it))&&(delete st[ur],jt=!0)}}return Q.isArray(Be)?Be.forEach(Gt):Gt(Be),jt}clear(Be){const it=Object.keys(this);let st=it.length,jt=!1;for(;st--;){const Gt=it[st];(!Be||Ur(this,this[Gt],Gt,Be,!0))&&(delete this[Gt],jt=!0)}return jt}normalize(Be){const it=this,st={};return Q.forEach(this,(jt,Gt)=>{const ar=Q.findKey(st,Gt);if(ar){it[ar]=gn(jt),delete it[Gt];return}const ur=Be?Bi(Gt):String(Gt).trim();ur!==Gt&&delete it[Gt],it[ur]=gn(jt),st[ur]=!0}),this}concat(...Be){return this.constructor.concat(this,...Be)}toJSON(Be){const it=Object.create(null);return Q.forEach(this,(st,jt)=>{st!=null&&st!==!1&&(it[jt]=Be&&Q.isArray(st)?st.join(", "):st)}),it}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([Be,it])=>Be+": "+it).join(` 1007`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(Be){return Be instanceof this?Be:new this(Be)}static concat(Be,...it){const st=new this(Be);return it.forEach(jt=>st.set(jt)),st}static accessor(Be){const st=(this[rt]=this[rt]={accessors:{}}).accessors,jt=this.prototype;function Gt(ar){const ur=ln(ar);st[ur]||(bs(jt,ar),st[ur]=!0)}return Q.isArray(Be)?Be.forEach(Gt):Gt(Be),this}}Di.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Q.reduceDescriptors(Di.prototype,({value:Pe},Be)=>{let it=Be[0].toUpperCase()+Be.slice(1);return{get:()=>Pe,set(st){this[it]=st}}}),Q.freezeMethods(Di);const on=Di,fi="[REDACTED ****]";function qi(Pe){if(Q.hasOwnProp(Pe,"toJSON"))return!0;let Be=Object.getPrototypeOf(Pe);for(;Be&&Be!==Object.prototype;){if(Q.hasOwnProp(Be,"toJSON"))return!0;Be=Object.getPrototypeOf(Be)}return!1}function ri(Pe,Be){const it=new Set(Be.map(Gt=>String(Gt).toLowerCase())),st=[],jt=Gt=>{if(Gt===null||typeof Gt!="object"||Q.isBuffer(Gt))return Gt;if(st.indexOf(Gt)!==-1)return;Gt instanceof on&&(Gt=Gt.toJSON()),st.push(Gt);let ar;if(Q.isArray(Gt))ar=[],Gt.forEach((ur,Un)=>{const An=jt(ur);Q.isUndefined(An)||(ar[Un]=An)});else{if(!Q.isPlainObject(Gt)&&qi(Gt))return st.pop(),Gt;ar=Object.create(null);for(const[ur,Un]of Object.entries(Gt)){const An=it.has(ur.toLowerCase())?fi:jt(Un);Q.isUndefined(An)||(ar[ur]=An)}}return st.pop(),ar};return jt(Pe)}
vendor: 5,100 bytes, line 1007
1007class Vi extends Error{static from(Be,it,st,jt,Gt,ar){const ur=new Vi(Be.message,it||Be.code,st,jt,Gt);return ur.cause=Be,ur.name=Be.name,Be.status!=null&&ur.status==null&&(ur.status=Be.status),ar&&Object.assign(ur,ar),ur}constructor(Be,it,st,jt,Gt){super(Be),Object.defineProperty(this,"message",{__proto__:null,value:Be,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,it&&(this.code=it),st&&(this.config=st),jt&&(this.request=jt),Gt&&(this.response=Gt,this.status=Gt.status)}toJSON(){const Be=this.config,it=Be&&Q.hasOwnProp(Be,"redact")?Be.redact:void 0,st=Q.isArray(it)&&it.length>0?ri(Be,it):Q.toJSONObject(Be);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:st,code:this.code,status:this.status}}}Vi.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Vi.ERR_BAD_OPTION="ERR_BAD_OPTION",Vi.ECONNABORTED="ECONNABORTED",Vi.ETIMEDOUT="ETIMEDOUT",Vi.ECONNREFUSED="ECONNREFUSED",Vi.ERR_NETWORK="ERR_NETWORK",Vi.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Vi.ERR_DEPRECATED="ERR_DEPRECATED",Vi.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Vi.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Vi.ERR_CANCELED="ERR_CANCELED",Vi.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Vi.ERR_INVALID_URL="ERR_INVALID_URL",Vi.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const si=Vi,ks=null;function cr(Pe){return Q.isPlainObject(Pe)||Q.isArray(Pe)}function fe(Pe){return Q.endsWith(Pe,"[]")?Pe.slice(0,-2):Pe}function Re(Pe,Be,it){return Pe?Pe.concat(Be).map(function(jt,Gt){return jt=fe(jt),!it&&Gt?"["+jt+"]":jt}).join(it?".":""):Be}function Qe(Pe){return Q.isArray(Pe)&&!Pe.some(cr)}const mt=Q.toFlatObject(Q,{},null,function(Be){return/^is[A-Z]/.test(Be)});function xt(Pe,Be,it){if(!Q.isObject(Pe))throw new TypeError("target must be an object");Be=Be||new(ks||FormData),it=Q.toFlatObject(it,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ei,hi){return!Q.isUndefined(hi[ei])});const st=it.metaTokens,jt=it.visitor||Wi,Gt=it.dots,ar=it.indexes,ur=it.Blob||typeof Blob<"u"&&Blob,Un=it.maxDepth===void 0?100:it.maxDepth,An=ur&&Q.isSpecCompliantForm(Be);if(!Q.isFunction(jt))throw new TypeError("visitor must be a function");function jn(Ci){if(Ci===null)return"";if(Q.isDate(Ci))return Ci.toISOString();if(Q.isBoolean(Ci))return Ci.toString();if(!An&&Q.isBlob(Ci))throw new si("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(Ci)||Q.isTypedArray(Ci)?An&&typeof Blob=="function"?new Blob([Ci]):Buffer.from(Ci):Ci}function Wi(Ci,ei,hi){let Ps=Ci;if(Q.isReactNative(Be)&&Q.isReactNativeBlob(Ci))return Be.append(Re(hi,ei,Gt),jn(Ci)),!1;if(Ci&&!hi&&typeof Ci=="object"){if(Q.endsWith(ei,"{}"))ei=st?ei:ei.slice(0,-2),Ci=JSON.stringify(Ci);else if(Q.isArray(Ci)&&Qe(Ci)||(Q.isFileList(Ci)||Q.endsWith(ei,"[]"))&&(Ps=Q.toArray(Ci)))return ei=fe(ei),Ps.forEach(function(Ti,xs){!(Q.isUndefined(Ti)||Ti===null)&&Be.append(ar===!0?Re([ei],xs,Gt):ar===null?ei:ei+"[]",jn(Ti))}),!1}return cr(Ci)?!0:(Be.append(Re(hi,ei,Gt),jn(Ci)),!1)}const Vs=[],Pi=Object.assign(mt,{defaultVisitor:Wi,convertValue:jn,isVisitable:cr});function ws(Ci,ei,hi=0){if(!Q.isUndefined(Ci)){if(hi>Un)throw new si("Object is too deeply nested ("+hi+" levels). Max depth: "+Un,si.ERR_FORM_DATA_DEPTH_EXCEEDED);if(Vs.indexOf(Ci)!==-1)throw Error("Circular reference detected in "+ei.join("."));Vs.push(Ci),Q.forEach(Ci,function(Zi,Ti){(!(Q.isUndefined(Zi)||Zi===null)&&jt.call(Be,Zi,Q.isString(Ti)?Ti.trim():Ti,ei,Pi))===!0&&ws(Zi,ei?ei.concat(Ti):[Ti],hi+1)}),Vs.pop()}}if(!Q.isObject(Pe))throw new TypeError("data must be an object");return ws(Pe),Be}const Mr=xt;function vn(Pe){const Be={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(Pe).replace(/[!'()~]|%20/g,function(st){return Be[st]})}function Ut(Pe,Be){this._pairs=[],Pe&&Mr(Pe,this,Be)}const Yn=Ut.prototype;Yn.append=function(Be,it){this._pairs.push([Be,it])},Yn.toString=function(Be){const it=Be?function(st){return Be.call(this,st,vn)}:vn;return this._pairs.map(function(jt){return it(jt[0])+"="+it(jt[1])},"").join("&")};const mi=Ut;function yn(Pe){return encodeURIComponent(Pe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ji(Pe,Be,it){if(!Be)return Pe;const st=it&&it.encode||yn,jt=Q.isFunction(it)?{serialize:it}:it,Gt=jt&&jt.serialize;let ar;if(Gt?ar=Gt(Be,jt):ar=Q.isURLSearchParams(Be)?Be.toString():new mi(Be,jt).toString(st),ar){const ur=Pe.indexOf("#");ur!==-1&&(Pe=Pe.slice(0,ur)),Pe+=(Pe.indexOf("?")===-1?"?":"&")+ar}return Pe}class Tn{constructor(){this.handlers=[]}use(Be,it,st){return this.handlers.push({fulfilled:Be,rejected:it,synchronous:st?st.synchronous:!1,runWhen:st?st.runWhen:null}),this.handlers.length-1}eject(Be){this.handlers[Be]&&(this.handlers[Be]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(Be){Q.forEach(this.handlers,function(st){st!==null&&Be(st)})}}const Cs=Tn,$i={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0}
vendor: 2,300 bytes, line 1007
1007,hr={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:mi,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},rn=typeof window<"u"&&typeof document<"u",zn=typeof navigator=="object"&&navigator||void 0,$n=rn&&(!zn||["ReactNative","NativeScript","NS"].indexOf(zn.product)<0),bn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ni=rn&&window.location.href||"http://localhost",ai={...n,...hr};function yi(Pe,Be){return Mr(Pe,new ai.classes.URLSearchParams,{visitor:function(it,st,jt,Gt){return ai.isNode&&Q.isBuffer(it)?(this.append(st,it.toString("base64")),!1):Gt.defaultVisitor.apply(this,arguments)},...Be})}function es(Pe){return Q.matchAll(/\w+|\[(\w*)]/g,Pe).map(Be=>Be[0]==="[]"?"":Be[1]||Be[0])}function Ei(Pe){const Be={},it=Object.keys(Pe);let st;const jt=it.length;let Gt;for(st=0;st<jt;st++)Gt=it[st],Be[Gt]=Pe[Gt];return Be}function Hi(Pe){function Be(it,st,jt,Gt){let ar=it[Gt++];if(ar==="__proto__")return!0;const ur=Number.isFinite(+ar),Un=Gt>=it.length;return ar=!ar&&Q.isArray(jt)?jt.length:ar,Un?(Q.hasOwnProp(jt,ar)?jt[ar]=Q.isArray(jt[ar])?jt[ar].concat(st):[jt[ar],st]:jt[ar]=st,!ur):((!jt[ar]||!Q.isObject(jt[ar]))&&(jt[ar]=[]),Be(it,st,jt[ar],Gt)&&Q.isArray(jt[ar])&&(jt[ar]=Ei(jt[ar])),!ur)}if(Q.isFormData(Pe)&&Q.isFunction(Pe.entries)){const it={};return Q.forEachEntry(Pe,(st,jt)=>{Be(es(st),jt,it,0)}),it}return null}const zi=Hi,us=(Pe,Be)=>Pe!=null&&Q.hasOwnProp(Pe,Be)?Pe[Be]:void 0;function Ss(Pe,Be,it){if(Q.isString(Pe))try{return(Be||JSON.parse)(Pe),Q.trim(Pe)}catch(st){if(st.name!=="SyntaxError")throw st}return(it||JSON.stringify)(Pe)}const as={transitional:$i,adapter:["xhr","http","fetch"],transformRequest:[function(Be,it){const st=it.getContentType()||"",jt=st.indexOf("application/json")>-1,Gt=Q.isObject(Be);if(Gt&&Q.isHTMLForm(Be)&&(Be=new FormData(Be)),Q.isFormData(Be))return jt?JSON.stringify(zi(Be)):Be;if(Q.isArrayBuffer(Be)||Q.isBuffer(Be)||Q.isStream(Be)||Q.isFile(Be)||Q.isBlob(Be)||Q.isReadableStream(Be))return Be;if(Q.isArrayBufferView(Be))return Be.buffer;if(Q.isURLSearchParams(Be))return it.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Be.toString();let ur;
vendor: 20,869 bytes, lines 1007-1013
1007if(Gt){const Un=us(this,"formSerializer");if(st.indexOf("application/x-www-form-urlencoded")>-1)return yi(Be,Un).toString();if((ur=Q.isFileList(Be))||st.indexOf("multipart/form-data")>-1){const An=us(this,"env"),jn=An&&An.FormData;return Mr(ur?{"files[]":Be}:Be,jn&&new jn,Un)}}return Gt||jt?(it.setContentType("application/json",!1),Ss(Be)):Be}],transformResponse:[function(Be){const it=us(this,"transitional")||as.transitional,st=it&&it.forcedJSONParsing,jt=us(this,"responseType"),Gt=jt==="json";if(Q.isResponse(Be)||Q.isReadableStream(Be))return Be;if(Be&&Q.isString(Be)&&(st&&!jt||Gt)){const ur=!(it&&it.silentJSONParsing)&≫try{return JSON.parse(Be,us(this,"parseReviver"))}catch(Un){if(ur)throw Un.name==="SyntaxError"?si.from(Un,si.ERR_BAD_RESPONSE,this,null,us(this,"response")):Un}}return Be}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ai.classes.FormData,Blob:ai.classes.Blob},validateStatus:function(Be){return Be>=200&&Be<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Q.forEach(["delete","get","head","post","put","patch","query"],Pe=>{as.headers[Pe]={}});const oi=as;function $s(Pe,Be){const it=this||oi,st=Be||it,jt=on.from(st.headers);let Gt=st.data;return Q.forEach(Pe,function(ur){Gt=ur.call(it,Gt,jt.normalize(),Be?Be.status:void 0)}),jt.normalize(),Gt}function Es(Pe){return!!(Pe&&Pe.__CANCEL__)}class ls extends si{constructor(Be,it,st){super(Be??"canceled",si.ERR_CANCELED,it,st),this.name="CanceledError",this.__CANCEL__=!0}}const Ts=ls;function de(Pe,Be,it){const st=it.config.validateStatus;!it.status||!st||st(it.status)?Pe(it):Be(new si("Request failed with status code "+it.status,it.status>=400&&it.status<500?si.ERR_BAD_REQUEST:si.ERR_BAD_RESPONSE,it.config,it.request,it))}function $e(Pe){const Be=/^([-+\w]{1,25}):(?:\/\/)?/.exec(Pe);return Be&&Be[1]||""}function Pt(Pe,Be){Pe=Pe||10;const it=new Array(Pe),st=new Array(Pe);let jt=0,Gt=0,ar;return Be=Be!==void 0?Be:1e3,function(Un){const An=Date.now(),jn=st[Gt];ar||(ar=An),it[jt]=Un,st[jt]=An;let Wi=Gt,Vs=0;for(;Wi!==jt;)Vs+=it[Wi++],Wi=Wi%Pe;if(jt=(jt+1)%Pe,jt===Gt&&(Gt=(Gt+1)%Pe),An-ar<Be)return;const Pi=jn&&An-jn;return Pi?Math.round(Vs*1e3/Pi):void 0}}const or=Pt;function tn(Pe,Be){let it=0,st=1e3/Be,jt,Gt;const ar=(An,jn=Date.now())=>{it=jn,jt=null,Gt&&(clearTimeout(Gt),Gt=null),Pe(...An)};return[(...An)=>{const jn=Date.now(),Wi=jn-it;Wi>=st?ar(An,jn):(jt=An,Gt||(Gt=setTimeout(()=>{Gt=null,ar(jt)},st-Wi)))},()=>jt&&ar(jt)]}const Vn=tn,Ri=(Pe,Be,it=3)=>{let st=0;const jt=or(50,250);return Vn(Gt=>{const ar=Gt.loaded,ur=Gt.lengthComputable?Gt.total:void 0,Un=ur!=null?Math.min(ar,ur):ar,An=Math.max(0,Un-st),jn=jt(An);st=Math.max(st,Un);const Wi={loaded:Un,total:ur,progress:ur?Un/ur:void 0,bytes:An,rate:jn||void 0,estimated:jn&&ur?(ur-Un)/jn:void 0,event:Gt,lengthComputable:ur!=null,[Be?"download":"upload"]:!0};Pe(Wi)},it)},ts=(Pe,Be)=>{const it=Pe!=null;return[st=>Be[0]({lengthComputable:it,total:Pe,loaded:st}),Be[1]]},ss=Pe=>(...Be)=>Q.asap(()=>Pe(...Be)),Li=ai.hasStandardBrowserEnv?((Pe,Be)=>it=>(it=new URL(it,ai.origin),Pe.protocol===it.protocol&&Pe.host===it.host&&(Be||Pe.port===it.port)))(new URL(ai.origin),ai.navigator&&/(msie|trident)/i.test(ai.navigator.userAgent)):()=>!0,Ia=ai.hasStandardBrowserEnv?{write(Pe,Be,it,st,jt,Gt,ar){if(typeof document>"u")return;const ur=[`${Pe}=${encodeURIComponent(Be)}`];Q.isNumber(it)&&ur.push(`expires=${new Date(it).toUTCString()}`),Q.isString(st)&&ur.push(`path=${st}`),Q.isString(jt)&&ur.push(`domain=${jt}`),Gt===!0&&ur.push("secure"),Q.isString(ar)&&ur.push(`SameSite=${ar}`),document.cookie=ur.join("; ")},read(Pe){if(typeof document>"u")return null;const Be=document.cookie.split(";");for(let it=0;it<Be.length;it++){const st=Be[it].replace(/^\s+/,""),jt=st.indexOf("=");if(jt!==-1&&st.slice(0,jt)===Pe)return decodeURIComponent(st.slice(jt+1))}return null},remove(Pe){this.write(Pe,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Sa(Pe){return typeof Pe!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Pe)}function ha(Pe,Be){return Be?Pe.replace(/\/?\/$/,"")+"/"+Be.replace(/^\/+/,""):Pe}function Qa(Pe,Be,it){let st=!Sa(Be);return Pe&&(st||it===!1)?ha(Pe,Be):Be}const _s=Pe=>Pe instanceof on?{...Pe}:Pe;function fr(Pe,Be){Be=Be||{};const it=Object.create(null);Object.defineProperty(it,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function st(An,jn,Wi,Vs){return Q.isPlainObject(An)&&Q.isPlainObject(jn)?Q.merge.call({caseless:Vs},An,jn):Q.isPlainObject(jn)?Q.merge({},jn):Q.isArray(jn)?jn.slice():jn}function jt(An,jn,Wi,Vs){if(Q.isUndefined(jn)){if(!Q.isUndefined(An))return st(void 0,An,Wi,Vs)}else return st(An,jn,Wi,Vs)}function Gt(An,jn){if(!Q.isUndefined(jn))return st(void 0,jn)}function ar(An,jn){if(Q.isUndefined(jn)){if(!Q.isUndefined(An))return st(void 0,An)}else return st(void 0,jn)}function ur(An,jn,Wi){if(Q.hasOwnProp(Be,Wi))return st(An,jn);if(Q.hasOwnProp(Pe,Wi))return st(void 0,An)}const Un={url:Gt,method:Gt,data:Gt,baseURL:ar,transformRequest:ar,transformResponse:ar,paramsSerializer:ar,timeout:ar,timeoutMessage:ar,withCredentials:ar,withXSRFToken:ar,adapter:ar,responseType:ar,xsrfCookieName:ar,xsrfHeaderName:ar,onUploadProgress:ar,onDownloadProgress:ar,decompress:ar,maxContentLength:ar,maxBodyLength:ar,beforeRedirect:ar,transport:ar,httpAgent:ar,httpsAgent:ar,cancelToken:ar,socketPath:ar,allowedSocketPaths:ar,responseEncoding:ar,validateStatus:ur,headers:(An,jn,Wi)=>jt(_s(An),_s(jn),Wi,!0)};return Q.forEach(Object.keys({...Pe,...Be}),function(jn){if(jn==="__proto__"||jn==="constructor"||jn==="prototype")return;const Wi=Q.hasOwnProp(Un,jn)?Un[jn]:jt,Vs=Q.hasOwnProp(Pe,jn)?Pe[jn]:void 0,Pi=Q.hasOwnProp(Be,jn)?Be[jn]:void 0,ws=Wi(Vs,Pi,jn);Q.isUndefined(ws)&&Wi!==ur||(it[jn]=ws)}),it}const Aa=["content-type","content-length"];function en(Pe,Be,it){if(it!=="content-only"){Pe.set(Be);return}Object.entries(Be).forEach(([st,jt])=>{Aa.includes(st.toLowerCase())&&Pe.set(st,jt)})}const pa=Pe=>encodeURIComponent(Pe).replace(/%([0-9A-F]{2})/gi,(Be,it)=>String.fromCharCode(parseInt(it,16))),Pa=(Pe=>{const Be=fr({},Pe),it=Vs=>Q.hasOwnProp(Be,Vs)?Be[Vs]:void 0,st=it("data");let jt=it("withXSRFToken");const Gt=it("xsrfHeaderName"),ar=it("xsrfCookieName");let ur=it("headers");const Un=it("auth"),An=it("baseURL"),jn=it("allowAbsoluteUrls"),Wi=it("url");if(Be.headers=ur=on.from(ur),Be.url=ji(Qa(An,Wi,jn),Pe.params,Pe.paramsSerializer),Un&&ur.set("Authorization","Basic "+btoa((Un.username||"")+":"+(Un.password?pa(Un.password):""))),Q.isFormData(st)&&(ai.hasStandardBrowserEnv||ai.hasStandardBrowserWebWorkerEnv?ur.setContentType(void 0):Q.isFunction(st.getHeaders)&&en(ur,st.getHeaders(),it("formDataHeaderPolicy"))),ai.hasStandardBrowserEnv&&(Q.isFunction(jt)&&(jt=jt(Be)),jt===!0||jt==null&&Li(Be.url))){const Pi=Gt&&ar&&Ia.read(ar);Pi&&ur.set(Gt,Pi)}return Be});(Object.getOwnPropertyDescriptor(Pa,"name")||{}).writable||Object.defineProperty(Pa,"name",{value:"default",configurable:!0});const Hs=typeof XMLHttpRequest<"u"&&function(Pe){return new Promise(function(it,st){const jt=Pa(Pe);let Gt=jt.data;const ar=on.from(jt.headers).normalize();let{responseType:ur,onUploadProgress:Un,onDownloadProgress:An}=jt,jn,Wi,Vs,Pi,ws;function Ci(){Pi&&Pi(),ws&&ws(),jt.cancelToken&&jt.cancelToken.unsubscribe(jn),jt.signal&&jt.signal.removeEventListener("abort",jn)}let ei=new XMLHttpRequest;ei.open(jt.method.toUpperCase(),jt.url,!0),ei.timeout=jt.timeout;function hi(){if(!ei)return;const Zi=on.from("getAllResponseHeaders"in ei&&ei.getAllResponseHeaders()),xs={data:!ur||ur==="text"||ur==="json"?ei.responseText:ei.response,status:ei.status,statusText:ei.statusText,headers:Zi,config:Pe,request:ei};de(function(Fo){it(Fo),Ci()},function(Fo){st(Fo),Ci()},xs),ei=null}"onloadend"in ei?ei.onloadend=hi:ei.onreadystatechange=function(){!ei||ei.readyState!==4||ei.status===0&&!(ei.responseURL&&ei.responseURL.startsWith("file:"))||setTimeout(hi)},ei.onabort=function(){ei&&(st(new si("Request aborted",si.ECONNABORTED,Pe,ei)),Ci(),ei=null)},ei.onerror=function(Ti){const xs=Ti&&Ti.message?Ti.message:"Network Error",ma=new si(xs,si.ERR_NETWORK,Pe,ei);ma.event=Ti||null,st(ma),Ci(),ei=null},ei.ontimeout=function(){let Ti=jt.timeout?"timeout of "+jt.timeout+"ms exceeded":"timeout exceeded";const xs=jt.transitional||$i;jt.timeoutErrorMessage&&(Ti=jt.timeoutErrorMessage),st(new si(Ti,xs.clarifyTimeoutError?si.ETIMEDOUT:si.ECONNABORTED,Pe,ei)),Ci(),ei=null},Gt===void 0&&ar.setContentType(null),"setRequestHeader"in ei&&Q.forEach(ar.toJSON(),function(Ti,xs){ei.setRequestHeader(xs,Ti)}),Q.isUndefined(jt.withCredentials)||(ei.withCredentials=!!jt.withCredentials),ur&&ur!=="json"&&(ei.responseType=jt.responseType),An&&([Vs,ws]=Ri(An,!0),ei.addEventListener("progress",Vs)),Un&&ei.upload&&([Wi,Pi]=Ri(Un),ei.upload.addEventListener("progress",Wi),ei.upload.addEventListener("loadend",Pi)),(jt.cancelToken||jt.signal)&&(jn=Zi=>{ei&&(st(!Zi||Zi.type?new Ts(null,Pe,ei):Zi),ei.abort(),Ci(),ei=null)},jt.cancelToken&&jt.cancelToken.subscribe(jn),jt.signal&&(jt.signal.aborted?jn():jt.signal.addEventListener("abort",jn)));const Ps=$e(jt.url);if(Ps&&!ai.protocols.includes(Ps)){st(new si("Unsupported protocol "+Ps+":",si.ERR_BAD_REQUEST,Pe));return}ei.send(Gt||null)})},Wa=(Pe,Be)=>{const{length:it}=Pe=Pe?Pe.filter(Boolean):[];if(Be||it){let st=new AbortController,jt;const Gt=function(An){if(!jt){jt=!0,ur();const jn=An instanceof Error?An:this.reason;st.abort(jn instanceof si?jn:new Ts(jn instanceof Error?jn.message:jn))}};let ar=Be&&setTimeout(()=>{ar=null,Gt(new si(`timeout of ${Be}ms exceeded`,si.ETIMEDOUT))},Be);const ur=()=>{Pe&&(ar&&clearTimeout(ar),ar=null,Pe.forEach(An=>{An.unsubscribe?An.unsubscribe(Gt):An.removeEventListener("abort",Gt)}),Pe=null)};Pe.forEach(An=>An.addEventListener("abort",Gt));const{signal:Un}=st;return Un.unsubscribe=()=>Q.asap(ur),Un}},Co=function*(Pe,Be){let it=Pe.byteLength;if(!Be||it<Be){yield Pe;return}let st=0,jt;for(;st<it;)jt=st+Be,yield Pe.slice(st,jt),st=jt},_o=async function*(Pe,Be){for await(const it of Oo(Pe))yield*Co(it,Be)},Oo=async function*(Pe){if(Pe[Symbol.asyncIterator]){yield*Pe;return}const Be=Pe.getReader();try{for(;;){const{done:it,value:st}=await Be.read();if(it)break;yield st}}finally{await Be.cancel()}},Ks=(Pe,Be,it,st)=>{const jt=_o(Pe,Be);let Gt=0,ar,ur=Un=>{ar||(ar=!0,st&&st(Un))};return new ReadableStream({async pull(Un){try{const{done:An,value:jn}=await jt.next();if(An){ur(),Un.close();return}let Wi=jn.byteLength;if(it){let Vs=Gt+=Wi;it(Vs)}Un.enqueue(new Uint8Array(jn))}catch(An){throw ur(An),An}},cancel(Un){return ur(Un),jt.return()}},{highWaterMark:2})};function Mi(Pe){if(!Pe||typeof Pe!="string"||!Pe.startsWith("data:"))return 0;const Be=Pe.indexOf(",");if(Be<0)return 0;const it=Pe.slice(5,Be),st=Pe.slice(Be+1);if(/;base64/i.test(it)){let ar=st.length;const ur=st.length;for(let Pi=0;Pi<ur;Pi++)if(st.charCodeAt(Pi)===37&&Pi+2<ur){const ws=st.charCodeAt(Pi+1),Ci=st.charCodeAt(Pi+2);(ws>=48&&ws<=57||ws>=65&&ws<=70||ws>=97&&ws<=102)&&(Ci>=48&&Ci<=57||Ci>=65&&Ci<=70||Ci>=97&&Ci<=102)&&(ar-=2,Pi+=2)}let Un=0,An=ur-1;const jn=Pi=>Pi>=2&&st.charCodeAt(Pi-2)===37&&st.charCodeAt(Pi-1)===51&&(st.charCodeAt(Pi)===68||st.charCodeAt(Pi)===100);An>=0&&(st.charCodeAt(An)===61?(Un++,An--):jn(An)&&(Un++,An-=3)),Un===1&&An>=0&&(st.charCodeAt(An)===61||jn(An))&&Un++;const Vs=Math.floor(ar/4)*3-(Un||0);return Vs>0?Vs:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(st,"utf8");let Gt=0;for(let ar=0,ur=st.length;ar<ur;ar++){const Un=st.charCodeAt(ar);if(Un<128)Gt+=1;else if(Un<2048)Gt+=2;else if(Un>=55296&&Un<=56319&&ar+1<ur){const An=st.charCodeAt(ar+1);An>=56320&&An<=57343?(Gt+=4,ar++):Gt+=3}else Gt+=3}return Gt}const Me="1.16.0",je=64*1024,{isFunction:Ot}=Q,Wt=(Pe,...Be)=>{try{return!!Pe(...Be)}catch{return!1}},Br=Pe=>{const Be=Q.global??globalThis,{ReadableStream:it,TextEncoder:st}=Be;Pe=Q.merge.call({skipUndefined:!0},{Request:Be.Request,Response:Be.Response},Pe);const{fetch:jt,Request:Gt,Response:ar}=Pe,ur=jt?Ot(jt):typeof fetch=="function",Un=Ot(Gt),An=Ot(ar);if(!ur)return!1;const jn=ur&&Ot(it),Wi=ur&&(typeof st=="function"?(hi=>Ps=>hi.encode(Ps))(new st):async hi=>new Uint8Array(await new Gt(hi).arrayBuffer())),Vs=Un&&jn&&Wt(()=>{let hi=!1;const Ps=new Gt(ai.origin,{body:new it,method:"POST",get duplex(){return hi=!0,"half"}}),Zi=Ps.headers.has("Content-Type");return Ps.body!=null&&Ps.body.cancel(),hi&&!Zi}),Pi=An&&jn&&Wt(()=>Q.isReadableStream(new ar("").body)),ws={stream:Pi&&(hi=>hi.body)};ur&&["text","arrayBuffer","blob","formData","stream"].forEach(hi=>{!ws[hi]&&(ws[hi]=(Ps,Zi)=>{let Ti=Ps&&Ps[hi];if(Ti)return Ti.call(Ps);throw new si(`Response type '${hi}' is not supported`,si.ERR_NOT_SUPPORT,Zi)})});const Ci=async hi=>{if(hi==null)return 0;if(Q.isBlob(hi))return hi.size;if(Q.isSpecCompliantForm(hi))return(await new Gt(ai.origin,{method:"POST",body:hi}).arrayBuffer()).byteLength;if(Q.isArrayBufferView(hi)||Q.isArrayBuffer(hi))return hi.byteLength;if(Q.isURLSearchParams(hi)&&(hi=hi+""),Q.isString(hi))return(await Wi(hi)).byteLength},ei=async(hi,Ps)=>{const Zi=Q.toFiniteNumber(hi.getContentLength());return Zi??Ci(Ps)};return async hi=>{let{url:Ps,method:Zi,data:Ti,signal:xs,cancelToken:ma,timeout:Fo,onDownloadProgress:ho,onUploadProgress:la,responseType:Fa,headers:V,withCredentials:$="same-origin",fetchOptions:ne,maxContentLength:me,maxBodyLength:Oe}=Pa(hi);const ze=Q.isNumber(me)&&me>-1,nt=Q.isNumber(Oe)&&Oe>-1;let ct=jt||fetch;Fa=Fa?(Fa+"").toLowerCase():"text";let Dt=Wa([xs,ma&&ma.toAbortSignal()],Fo),Zt=null;const Ft=Dt&&Dt.unsubscribe&&(()=>{Dt.unsubscribe()});let Rr;try{if(ze&&typeof Ps=="string"&&Ps.startsWith("data:")&&Mi(Ps)>me)throw new si("maxContentLength size of "+me+" exceeded",si.ERR_BAD_RESPONSE,hi,Zt);if(nt&&Zi!=="get"&&Zi!=="head"){const qn=await ei(V,Ti);if(typeof qn=="number"&&isFinite(qn)&&qn>Oe)throw new si("Request body larger than maxBodyLength limit",si.ERR_BAD_REQUEST,hi,Zt)}if(la&&Vs&&Zi!=="get"&&Zi!=="head"&&(Rr=await ei(V,Ti))!==0){let qn=new Gt(Ps,{method:"POST",body:Ti,duplex:"half"}),Xi;if(Q.isFormData(Ti)&&(Xi=qn.headers.get("content-type"))&&V.setContentType(Xi),qn.body){const[cs,nr]=ts(Rr,Ri(ss(la)));Ti=Ks(qn.body,je,cs,nr)}}Q.isString($)||($=$?"include":"omit");const Jr=Un&&"credentials"in Gt.prototype;if(Q.isFormData(Ti)){const qn=V.getContentType();qn&&/^multipart\/form-data/i.test(qn)&&!/boundary=/i.test(qn)&&V.delete("content-type")}V.set("User-Agent","axios/"+Me,!1);const In={...ne,signal:Dt,method:Zi.toUpperCase(),headers:V.normalize().toJSON(),body:Ti,duplex:"half",credentials:Jr?$:void 0};Zt=Un&&new Gt(Ps,In);let Rn=await(Un?ct(Zt,ne):ct(Ps,In));if(ze){const qn=Q.toFiniteNumber(Rn.headers.get("content-length"));if(qn!=null&&qn>me)throw new si("maxContentLength size of "+me+" exceeded",si.ERR_BAD_RESPONSE,hi,Zt)}const Jn=Pi&&(Fa==="stream"||Fa==="response");if(Pi&&Rn.body&&(ho||ze||Jn&&Ft)){const qn={};["status","statusText","headers"].forEach(ui=>{qn[ui]=Rn[ui]});const Xi=Q.toFiniteNumber(Rn.headers.get("content-length")),[cs,nr]=ho&&ts(Xi,Ri(ss(ho),!0))||[];let Fr=0;const _r=ui=>{if(ze&&(Fr=ui,Fr>me))throw new si("maxContentLength size of "+me+" exceeded",si.ERR_BAD_RESPONSE,hi,Zt);cs&&cs(ui)};Rn=new ar(Ks(Rn.body,je,_r,()=>{nr&&nr(),Ft&&Ft()}),qn)}Fa=Fa||"text";let _i=await ws[Q.findKey(ws,Fa)||"text"](Rn,hi);if(ze&&!Pi&&!Jn){let qn;if(_i!=null&&(typeof _i.byteLength=="number"?qn=_i.byteLength:typeof _i.size=="number"?qn=_i.size:typeof _i=="string"&&(qn=typeof st=="function"?new st().encode(_i).byteLength:_i.length)),typeof qn=="number"&&qn>me)throw new si("maxContentLength size of "+me+" exceeded",si.ERR_BAD_RESPONSE,hi,Zt)}return!Jn&&Ft&&Ft(),await new Promise((qn,Xi)=>{de(qn,Xi,{data:_i,headers:on.from(Rn.headers),status:Rn.status,statusText:Rn.statusText,config:hi,request:Zt})})}catch(Jr){if(Ft&&Ft(),Dt&&Dt.aborted&&Dt.reason instanceof si){const In=Dt.reason;throw In.config=hi,Zt&&(In.request=Zt),Jr!==In&&(In.cause=Jr),In}throw Jr&&Jr.name==="TypeError"&&/Load failed|fetch/i.test(Jr.message)?Object.assign(new si("Network Error",si.ERR_NETWORK,hi,Zt,Jr&&Jr.response),{cause:Jr.cause||Jr}):si.from(Jr,Jr&&Jr.code,hi,Zt,Jr&&Jr.response)}}},Vr=new Map,an=Pe=>{let Be=Pe&&Pe.env||{};const{fetch:it,Request:st,Response:jt}=Be,Gt=[st,jt,it];let ar=Gt.length,ur=ar,Un,An,jn=Vr;for(;ur--;)Un=Gt[ur],An=jn.get(Un),An===void 0&&jn.set(Un,An=ur?new Map:Br(Be)),jn=An;return An},ii=an(),Yi=null,Ui={http:ks,xhr:Hs,fetch:{get:an}};Q.forEach(Ui,(Pe,Be)=>{if(Pe){try{Object.defineProperty(Pe,"name",{__proto__:null,value:Be})}catch{}Object.defineProperty(Pe,"adapterName",{__proto__:null,value:Be})}});const bi=Pe=>`- ${Pe}`,Ws=Pe=>Q.isFunction(Pe)||Pe===null||Pe===!1;function ms(Pe,Be){Pe=Q.isArray(Pe)?Pe:[Pe];const{length:it}=Pe;let st,jt;const Gt={};for(let ar=0;ar<it;ar++){st=Pe[ar];let ur;if(jt=st,!Ws(st)&&(jt=Ui[(ur=String(st)).toLowerCase()],jt===void 0))throw new si(`Unknown adapter '${ur}'`);if(jt&&(Q.isFunction(jt)||(jt=jt.get(Be))))break;Gt[ur||"#"+ar]=jt}if(!jt){const ar=Object.entries(Gt).map(([Un,An])=>`adapter ${Un} `+(An===!1?"is not supported by the environment":"is not available in the build"));let ur=it?ar.length>1?`since : 1008`+ar.map(bi).join(` 1009`):" "+bi(ar[0]):"as no adapter specified";throw new si("There is no suitable adapter to dispatch the request "+ur,"ERR_NOT_SUPPORT")}return jt}const Le={getAdapter:ms,adapters:Ui};function Ye(Pe){if(Pe.cancelToken&&Pe.cancelToken.throwIfRequested(),Pe.signal&&Pe.signal.aborted)throw new Ts(null,Pe)}function ft(Pe){return Ye(Pe),Pe.headers=on.from(Pe.headers),Pe.data=$s.call(Pe,Pe.transformRequest),["post","put","patch"].indexOf(Pe.method)!==-1&&Pe.headers.setContentType("application/x-www-form-urlencoded",!1),Le.getAdapter(Pe.adapter||oi.adapter,Pe)(Pe).then(function(st){Ye(Pe),Pe.response=st;try{st.data=$s.call(Pe,Pe.transformResponse,st)}finally{delete Pe.response}return st.headers=on.from(st.headers),st},function(st){if(!Es(st)&&(Ye(Pe),st&&st.response)){Pe.response=st.response;try{st.response.data=$s.call(Pe,Pe.transformResponse,st.response)}finally{delete Pe.response}st.response.headers=on.from(st.response.headers)}return Promise.reject(st)})}const ht={};["object","boolean","number","function","string","symbol"].forEach((Pe,Be)=>{ht[Pe]=function(st){return typeof st===Pe||"a"+(Be<1?"n ":" ")+Pe}});const Mt={};ht.transitional=function(Be,it,st){function jt(Gt,ar){return"[Axios v"+Me+"] Transitional option '"+Gt+"'"+ar+(st?". "+st:"")}return(Gt,ar,ur)=>{if(Be===!1)throw new si(jt(ar," has been removed"+(it?" in "+it:"")),si.ERR_DEPRECATED);return it&&!Mt[ar]&&(Mt[ar]=!0,console.warn(jt(ar," has been deprecated since v"+it+" and will be removed in the near future"))),Be?Be(Gt,ar,ur):!0}},ht.spelling=function(Be){return(it,st)=>(console.warn(`${st} is likely a misspelling of ${Be}`),!0)};function Jt(Pe,Be,it){if(typeof Pe!="object")throw new si("options must be an object",si.ERR_BAD_OPTION_VALUE);const st=Object.keys(Pe);let jt=st.length;for(;jt-- >0;){const Gt=st[jt],ar=Object.prototype.hasOwnProperty.call(Be,Gt)?Be[Gt]:void 0;if(ar){const ur=Pe[Gt],Un=ur===void 0||ar(ur,Gt,Pe);if(Un!==!0)throw new si("option "+Gt+" must be "+Un,si.ERR_BAD_OPTION_VALUE);continue}if(it!==!0)throw new si("Unknown option "+Gt,si.ERR_BAD_OPTION)}}const Er={assertOptions:Jt,validators:ht},Lr=Er.validators;class Mn{constructor(Be){this.defaults=Be||{},this.interceptors={request:new Cs,response:new Cs}}async request(Be,it){try{return await this._request(Be,it)}catch(st){if(st instanceof Error){let jt={};Error.captureStackTrace?Error.captureStackTrace(jt):jt=new Error;const Gt=(()=>{if(!jt.stack)return"";const ar=jt.stack.indexOf(` 1010`);return ar===-1?"":jt.stack.slice(ar+1)})();try{if(!st.stack)st.stack=Gt;else if(Gt){const ar=Gt.indexOf(` 1011`),ur=ar===-1?-1:Gt.indexOf(` 1012`,ar+1),Un=ur===-1?"":Gt.slice(ur+1);String(st.stack).endsWith(Un)||(st.stack+=` 1013`+Gt)}}catch{}}throw st}}_request(Be,it){typeof Be=="string"?(it=it||{},it.url=Be):it=Be||{},it=fr(this.defaults,it);const{transitional:st,paramsSerializer:jt,headers:Gt}=it;st!==void 0&&Er.assertOptions(st,{silentJSONParsing:Lr.transitional(Lr.boolean),forcedJSONParsing:Lr.transitional(Lr.boolean),clarifyTimeoutError:Lr.transitional(Lr.boolean),legacyInterceptorReqResOrdering:Lr.transitional(Lr.boolean)},!1),jt!=null&&(Q.isFunction(jt)?it.paramsSerializer={serialize:jt}:Er.assertOptions(jt,{encode:Lr.function,serialize:Lr.function},!0)),it.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?it.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:it.allowAbsoluteUrls=!0),Er.assertOptions(it,{baseUrl:Lr.spelling("baseURL"),withXsrfToken:Lr.spelling("withXSRFToken")},!0),it.method=(it.method||this.defaults.method||"get").toLowerCase();
vendor: 2,906 bytes, line 1013
1013let ar=Gt&&Q.merge(Gt.common,Gt[it.method]);Gt&&Q.forEach(["delete","get","head","post","put","patch","query","common"],ws=>{delete Gt[ws]}),it.headers=on.concat(ar,Gt);const ur=[];let Un=!0;this.interceptors.request.forEach(function(Ci){if(typeof Ci.runWhen=="function"&&Ci.runWhen(it)===!1)return;Un=Un&&Ci.synchronous;const ei=it.transitional||$i;ei&&ei.legacyInterceptorReqResOrdering?ur.unshift(Ci.fulfilled,Ci.rejected):ur.push(Ci.fulfilled,Ci.rejected)});const An=[];this.interceptors.response.forEach(function(Ci){An.push(Ci.fulfilled,Ci.rejected)});let jn,Wi=0,Vs;if(!Un){const ws=[ft.bind(this),void 0];for(ws.unshift(...ur),ws.push(...An),Vs=ws.length,jn=Promise.resolve(it);Wi<Vs;)jn=jn.then(ws[Wi++],ws[Wi++]);return jn}Vs=ur.length;let Pi=it;for(;Wi<Vs;){const ws=ur[Wi++],Ci=ur[Wi++];try{Pi=ws(Pi)}catch(ei){Ci.call(this,ei);break}}try{jn=ft.call(this,Pi)}catch(ws){return Promise.reject(ws)}for(Wi=0,Vs=An.length;Wi<Vs;)jn=jn.then(An[Wi++],An[Wi++]);return jn}getUri(Be){Be=fr(this.defaults,Be);const it=Qa(Be.baseURL,Be.url,Be.allowAbsoluteUrls);return ji(it,Be.params,Be.paramsSerializer)}}Q.forEach(["delete","get","head","options"],function(Be){Mn.prototype[Be]=function(it,st){return this.request(fr(st||{},{method:Be,url:it,data:(st||{}).data}))}}),Q.forEach(["post","put","patch","query"],function(Be){function it(st){return function(Gt,ar,ur){return this.request(fr(ur||{},{method:Be,headers:st?{"Content-Type":"multipart/form-data"}:{},url:Gt,data:ar}))}}Mn.prototype[Be]=it(),Be!=="query"&&(Mn.prototype[Be+"Form"]=it(!0))});const Pn=Mn;class kn{constructor(Be){if(typeof Be!="function")throw new TypeError("executor must be a function.");let it;this.promise=new Promise(function(Gt){it=Gt});const st=this;this.promise.then(jt=>{if(!st._listeners)return;let Gt=st._listeners.length;for(;Gt-- >0;)st._listeners[Gt](jt);st._listeners=null}),this.promise.then=jt=>{let Gt;const ar=new Promise(ur=>{st.subscribe(ur),Gt=ur}).then(jt);return ar.cancel=function(){st.unsubscribe(Gt)},ar},Be(function(Gt,ar,ur){st.reason||(st.reason=new Ts(Gt,ar,ur),it(st.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(Be){if(this.reason){Be(this.reason);return}this._listeners?this._listeners.push(Be):this._listeners=[Be]}unsubscribe(Be){if(!this._listeners)return;const it=this._listeners.indexOf(Be);it!==-1&&this._listeners.splice(it,1)}toAbortSignal(){const Be=new AbortController,it=st=>{Be.abort(st)};return this.subscribe(it),Be.signal.unsubscribe=()=>this.unsubscribe(it),Be.signal}static source(){let Be;return{token:new kn(function(jt){Be=jt}),cancel:Be}}}const Gi=kn;function os(Pe){return function(it){return Pe.apply(null,it)}}function Os(Pe){return Q.isObject(Pe)&&Pe.isAxiosError===!0}const ir={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(ir).forEach(([Pe,Be])=>{ir[Be]=Pe});const Bt=ir;function sr(Pe){const Be=new Pn(Pe),it=r(Pn.prototype.request,Be);return Q.extend(it,Pn.prototype,Be,{allOwnKeys:!0}),Q.extend(it,Be,null,{allOwnKeys:!0}),it.create=function(jt){return sr(fr(Pe,jt))},it}const Cr=sr(oi);Cr.Axios=Pn,Cr.CanceledError=Ts,Cr.CancelToken=Gi,Cr.isCancel=Es,Cr.VERSION=Me,Cr.toFormData=Mr,Cr.AxiosError=si,Cr.Cancel=Cr.CanceledError,Cr.all=function(Be){return Promise.all(Be)},Cr.spread=os,Cr.isAxiosError=Os,Cr.mergeConfig=fr,Cr.AxiosHeaders=on,Cr.formToJSON=Pe=>zi(Q.isHTMLForm(Pe)?new FormData(Pe):Pe),Cr.getAdapter=Le.getAdapter,Cr.HttpStatusCode=Bt,Cr.default=Cr;const Fn=Cr},73659(f,d,e){"use strict";e.d(d,{i:()=>ye});var n=e(9608),r=e(58174);const a=xe=>{const De="-zoom",Fe=["clip-path","fill","mask","marker-start","marker-mid","marker-end"],be=new Map;if(xe.hasAttribute("id")){const{id:Ge}=xe,Xe=Ge+De;be.set(Ge,Xe);const At=xe;At.id=Xe}xe.querySelectorAll("[id]").forEach(Ge=>{const{id:Xe}=Ge,At=Xe+De;be.set(Xe,At);const yt=Ge;yt.id=At});const ke=Fe.map(Ge=>`[${Ge}]`).join(", ");xe.querySelectorAll(ke).forEach(Ge=>{for(const Xe of Fe){const At=Ge.getAttribute(Xe);if(At?.startsWith("url(#")===!0){const yt=At.slice(5,-1),kt=be.get(yt);kt!==void 0&&Ge.setAttribute(Xe,`url(#${kt})`)}}}),xe.querySelectorAll("style").forEach(Ge=>{const{textContent:Xe}=Ge;if(Xe!==""){let At=Xe;if(be.forEach((yt,kt)=>{At=At.replaceAll(`#${kt}`,`#${yt}`)}),At!==Xe){const yt=Ge;yt.textContent=At}}})};function s(xe){return typeof Element>"u"?!1:xe instanceof Element}const i=(xe,De)=>s(De)&&De.tagName.toUpperCase()===xe,u=xe=>i("DIV",xe)||i("SPAN",xe),l=xe=>i("IMG",xe),m=xe=>xe.complete&&xe.naturalHeight!==0,g=xe=>i("SVG",xe),h=xe=>{if(xe!==null)return l(xe)?xe.alt:xe.getAttribute("aria-label")??void 0},v=/url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/,E=xe=>{if(xe!==null){if(l(xe))return xe.currentSrc===""?void 0:xe.currentSrc;if(u(xe)){const{backgroundImage:De}=window.getComputedStyle(xe);if(De!=="")return v.exec(De)?.[1]}}},w=xe=>{if(xe==null)return{};if(g(xe)){const{parentElement:De}=xe,Fe=xe.getBoundingClientRect();if(De==null)return{height:Fe.height,left:Fe.left,width:Fe.width,top:Fe.top};{const be=De.getBoundingClientRect();return{height:Fe.height,left:be.left-Fe.left,top:be.top-Fe.top,width:Fe.width}}}else return{height:xe.offsetHeight,left:xe.offsetLeft,width:xe.offsetWidth,top:xe.offsetTop}},T=({height:xe,offset:De,width:Fe})=>Math.min((window.innerWidth-De*2)/Fe,(window.innerHeight-De*2)/xe),C=({containerHeight:xe,containerWidth:De,offset:Fe,targetHeight:be,targetWidth:ke})=>{const Ge=T({height:be,offset:Fe,width:ke}),Xe=ke>be?ke/De:be/xe;return Ge>1?Xe:Ge*Xe},O=({containerHeight:xe,containerWidth:De,hasScalableSrc:Fe,offset:be,targetHeight:ke,targetWidth:Ge})=>xe===0||De===0?1:!Fe&&ke!==0&&Ge!==0?C({containerHeight:xe,containerWidth:De,offset:be,targetHeight:ke,targetWidth:Ge}):T({height:xe,offset:be,width:De}),R=({containerHeight:xe,containerLeft:De,containerTop:Fe,containerWidth:be,hasScalableSrc:ke,offset:Ge,targetHeight:Xe,targetWidth:At})=>{const yt=O({containerHeight:xe,containerWidth:be,hasScalableSrc:ke,offset:Ge,targetHeight:Xe,targetWidth:At});return{top:Fe,left:De,width:be*yt,height:xe*yt,initialTransform:`translate(0,0) scale(${1/yt})`}},B=(xe,De)=>{const Fe=parseFloat(xe);return xe.endsWith("%")?De*Fe/100:Fe},M=({containerHeight:xe,containerLeft:De,containerTop:Fe,containerWidth:be,hasScalableSrc:ke,offset:Ge,position:Xe,targetHeight:At,targetWidth:yt,visibleHeight:kt,visibleWidth:Nt})=>{const[Ir="50%",yr="50%"]=Xe.split(" "),Wr=B(Ir,be-Nt),$r=B(yr,xe-kt),sn=O({containerHeight:kt,containerWidth:Nt,hasScalableSrc:ke,offset:Ge,targetHeight:At,targetWidth:yt});return{top:Fe+$r,left:De+Wr,width:Nt*sn,height:kt*sn,initialTransform:`translate(0,0) scale(${1/sn})`}},F=({containerHeight:xe,containerLeft:De,containerTop:Fe,containerWidth:be,hasScalableSrc:ke,objectFit:Ge,objectPosition:Xe,offset:At,targetHeight:yt,targetWidth:kt})=>{let Nt=Ge;Nt==="scale-down"&&(kt<=be&&yt<=xe?Nt="none":Nt="contain");const Ir={containerHeight:xe,containerLeft:De,containerTop:Fe,containerWidth:be,hasScalableSrc:ke,offset:At,position:Xe,targetHeight:yt,targetWidth:kt};if(Nt==="cover"||Nt==="contain"){const yr=be/kt,Wr=xe/yt,$r=Nt==="cover"?Math.max(yr,Wr):Math.min(yr,Wr);return M({...Ir,visibleWidth:kt*$r,visibleHeight:yt*$r})}else{if(Nt==="none")return M({...Ir,visibleWidth:kt,visibleHeight:yt});{const yr=be/kt,Wr=xe/yt,$r=Math.max(yr,Wr),sn=O({containerHeight:yt*$r,containerWidth:kt*$r,hasScalableSrc:ke,offset:At,targetHeight:yt,targetWidth:kt});return{top:Fe,left:De,width:be*sn,height:xe*sn,initialTransform:`translate(0,0) scale(${1/sn})`}}}},H=({backgroundPosition:xe,backgroundSize:De,containerHeight:Fe,containerLeft:be,containerTop:ke,containerWidth:Ge,hasScalableSrc:Xe,offset:At,targetHeight:yt,targetWidth:kt})=>{const Nt={containerHeight:Fe,containerLeft:be,containerTop:ke,containerWidth:Ge,hasScalableSrc:Xe,offset:At,position:xe,targetHeight:yt,targetWidth:kt};if(De==="cover"||De==="contain"){const Ir=Ge/kt,yr=Fe/yt,Wr=De==="cover"?Math.max(Ir,yr):Math.min(Ir,yr);return M({...Nt,visibleWidth:kt*Wr,visibleHeight:yt*Wr})}else{if(De==="auto")return M({...Nt,visibleWidth:kt,visibleHeight:yt});{const[Ir="50%",yr="50%"]=De.split(" "),Wr=B(Ir,Ge),$r=B(yr,Fe),sn=Wr/kt,Hr=$r/yt,pt=Math.min(sn,Hr);return M({...Nt,visibleWidth:kt*pt,visibleHeight:yt*pt})}}},U=({height:xe,initialTransform:De,isZoomed:Fe,left:be,top:ke,userTransform:Ge,width:Xe})=>{let At="";if(Ge!=="none"&&Ge!==""){const sn=Xe/2,Hr=xe/2;At=`translate(${sn}px,${Hr}px) ${Ge} translate(${-sn}px,${-Hr}px)`}if(!Fe)return At===""?De:`${De} ${At}`;const yt=window.innerWidth/2,kt=window.innerHeight/2,Nt=be+Xe/2,Ir=ke+xe/2,yr=yt-Nt,Wr=kt-Ir,$r=`translate(${yr}px,${Wr}px) scale(1)`;return At===""?$r:`${$r} ${At}`}
1013,W=({fallback:xe,natural:De})=>De!==void 0&&De!==0?De:xe,X=/\.svg$/i,te=({hasZoomImg:xe,imgSrc:De,isSvg:Fe})=>Fe||De?.slice(0,18)==="data:image/svg+xml"||xe||De!==void 0&&X.test(De),q=({hasZoomImg:xe,imgSrc:De,isSvg:Fe,isZoomed:be,loadedImgEl:ke,offset:Ge,shouldRefresh:Xe,targetEl:At})=>{const yt=te({hasZoomImg:xe,imgSrc:De,isSvg:Fe}),kt=At.getBoundingClientRect(),Nt=window.getComputedStyle(At),Ir=ke!=null&&u(At),yr=ke!=null&&!Ir,Wr=W({fallback:kt.height,natural:ke?.naturalHeight}),$r=W({fallback:kt.width,natural:ke?.naturalWidth}),{height:sn,left:Hr,top:pt,width:et}=kt,wr=Ir?H({backgroundPosition:Nt.backgroundPosition,backgroundSize:Nt.backgroundSize,containerHeight:sn,containerLeft:Hr,containerTop:pt,containerWidth:et,hasScalableSrc:yt,offset:Ge,targetHeight:Wr,targetWidth:$r}):yr?F({containerHeight:sn,containerLeft:Hr,containerTop:pt,containerWidth:et,hasScalableSrc:yt,objectFit:Nt.objectFit,objectPosition:Nt.objectPosition,offset:Ge,targetHeight:Wr,targetWidth:$r}):R({containerHeight:sn,containerLeft:Hr,containerTop:pt,containerWidth:et,hasScalableSrc:yt,offset:Ge,targetHeight:Wr,targetWidth:$r}),Dr={top:wr.top,left:wr.left,width:wr.width,height:wr.height,transform:U({...wr,isZoomed:be,userTransform:Nt.transform})};return be&&Xe&&(Dr.transitionDuration="0.01ms"),Dr},ae=["img","svg",'[role="img"]',"[data-zoom]"].map(xe=>`${xe}:not([aria-hidden="true"])`).join(","),le={overflow:"",position:"",top:"",width:""};function pe(){const xe=document.querySelector("[data-rmiz-portal]");if(xe!=null)return xe;const De=document.createElement("div");return De.setAttribute("data-rmiz-portal",""),document.body.appendChild(De),De}function ge(xe){xe.preventDefault()}function Ie(xe){return n.createElement(Ce,{...xe})}class Ce 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=De=>{const{state:{modalState:Fe}}=this;De!=="LOADING"&&Fe==="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)):De!=="LOADED"&&Fe==="LOADED"?window.addEventListener("wheel",this.handleWheel,{passive:!0}):De!=="UNLOADING"&&Fe==="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)):De!=="UNLOADED"&&Fe==="UNLOADED"&&(this.bodyScrollEnable(),window.removeEventListener("resize",this.handleResize),this.refDialog.current?.close())},this.setId=()=>{const De=()=>Math.random().toString(16).slice(-4);this.setState({id:De()+De()+De()})},this.setAndTrackImg=()=>{const{refContent:{current:De}}=this;De!=null&&(this.imgEl=De.querySelector(ae),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(Fe=>{const[be]=Fe;be?.target!==void 0&&(this.imgEl=be.target,this.setState({styleGhost:w(this.imgEl)}))}),this.imgElResizeObserver.observe(this.imgEl),this.contentChangeObserver==null&&(this.contentChangeObserver=new MutationObserver(()=>{this.setState({styleGhost:w(this.imgEl)})}),this.contentChangeObserver.observe(De,{attributes:!0,childList:!0,subtree:!0}))):this.contentNotFoundChangeObserver==null&&(this.contentNotFoundChangeObserver=new MutationObserver(this.setAndTrackImg),this.contentNotFoundChangeObserver.observe(De,{childList:!0,subtree:!0})))},this.handleIfZoomChanged=De=>{const{props:{isZoomed:Fe}}=this;!De&&Fe?this.zoom():De&&!Fe&&this.unzoom()},this.handleImgLoad=()=>{const De=E(this.imgEl);
1013if(De==null||De==="")return;const Fe=new Image,{imgEl:be}=this;if(l(be)){const{sizes:Ge,srcset:Xe,crossOrigin:At}=be;Fe.sizes=Ge,Fe.srcset=Xe,Fe.crossOrigin=At}Fe.src=De;const ke=()=>{this.setState({loadedImgEl:Fe,styleGhost:w(this.imgEl)})};Fe.decode().then(ke).catch(()=>{if(m(Fe)){ke();return}Fe.onload=ke})},this.handleZoom=De=>{this.props.isDisabled!==!0&&this.hasImage()&&this.props.onZoomChange?.(!0,{event:De})},this.handleUnzoom=De=>{this.props.isDisabled!==!0&&this.props.onZoomChange?.(!1,{event:De})},this.handleBtnUnzoomClick=De=>{De.preventDefault(),De.stopPropagation(),this.handleUnzoom(De)},this.handleDialogClick=De=>{(De.target===this.refModalContent.current||De.target===this.refModalImg.current)&&(De.stopPropagation(),this.handleUnzoom(De))},this.handleDialogClose=De=>{De.stopPropagation(),this.handleUnzoom(De)},this.handleKeyDown=De=>{De.key==="Escape"&&(De.preventDefault(),De.stopPropagation(),this.handleUnzoom(De))},this.handleWheel=De=>{De.ctrlKey||this.isScaling||(window.visualViewport?.scale??1)>1||(De.stopPropagation(),queueMicrotask(()=>{this.handleUnzoom(De)}))},this.handleTouchStart=De=>{if(De.touches.length>1){this.isScaling=!0;return}const{changedTouches:Fe}=De,[be]=Fe;if(Fe.length===1&&be!==void 0){const{screenY:ke}=be;this.touchYStart=ke}},this.handleTouchMove=De=>{const Fe=window.visualViewport?.scale??1,{changedTouches:be}=De,[ke]=be;if(this.props.canSwipeToUnzoom&&!this.isScaling&&Fe<=1&&this.touchYStart!=null&&ke!==void 0){const{screenY:Ge}=ke;this.touchYEnd=Ge;const Xe=Math.max(this.touchYStart,this.touchYEnd),At=Math.min(this.touchYStart,this.touchYEnd);Math.abs(Xe-At)>this.props.swipeToUnzoomThreshold&&(this.touchYStart=void 0,this.touchYEnd=void 0,this.handleUnzoom(De))}},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:De}=window.getComputedStyle(this.refModalImg.current),Fe=parseFloat(De);if(Fe!==0&&!Number.isNaN(Fe)){const be=Fe*(De.endsWith("ms")?1:1e3)+50;this.timeoutTransitionEnd=setTimeout(this.handleImgTransitionEnd,be)}}},this.bodyScrollDisable=()=>{const De=document.body.style;this.prevBodyAttrs={overflow:De.overflow,position:De.position,top:De.top,width:De.width};const Fe=window.scrollY;this.prevScrollY=Fe;const be=document.body.clientWidth;De.overflow="hidden",De.position="fixed",De.top=`-${Fe}px`,De.width=`${be}px`},this.bodyScrollEnable=()=>{const De=document.body.style,Fe=this.prevBodyAttrs;De.width=Fe.width,De.position=Fe.position,De.top=Fe.top,De.overflow=Fe.overflow,window.scrollTo(0,this.prevScrollY),this.prevBodyAttrs=le,this.prevScrollY=0},this.loadZoomImg=()=>{const{props:{zoomImg:De}}=this;if(De==null)return;const{src:Fe}=De;if(Fe!==void 0&&Fe!==""){const be=new Image;be.sizes=De.sizes??"",be.srcset=De.srcSet??"",be.crossOrigin=De.crossOrigin??void 0,be.src=Fe;const ke=()=>{this.setState({isZoomImgLoaded:!0})};be.decode().then(ke).catch(()=>{if(m(be)){ke();return}be.onload=ke})}},this.UNSAFE_handleSvg=()=>{const{imgEl:De,refModalImg:Fe,styleModalImg:be}=this;if(g(De)){const ke=De.cloneNode(!0);a(ke),ke.style.width=`${be.width??0}px`,ke.style.height=`${be.height??0}px`,ke.addEventListener("click",this.handleUnzoom),Fe.current?.firstChild?.remove(),Fe.current?.appendChild(ke)}}}render(){const{handleBtnUnzoomClick:De,handleDialogClick:Fe,handleDialogClose:be,handleUnzoom:ke,handleZoom:Ge,imgEl:Xe,props:{a11yNameButtonUnzoom:At,a11yNameButtonZoom:yt,children:kt,classDialog:Nt,IconUnzoom:Ir,IconZoom:yr,wrapElement:Wr,ZoomContent:$r,zoomImg:sn,zoomMargin:Hr},refContent:pt,refDialog:et,refModalContent:wr,refModalImg:Dr,refWrap:Sr,state:{id:kr,isZoomImgLoaded:qt,loadedImgEl:Sn,modalState:dr,shouldRefresh:Nr,styleGhost:un}}=this,Xt=`rmiz-modal-${kr}`,br=`rmiz-modal-img-${kr}`,$t=u(Xe),wt=l(Xe),Ar=g(Xe),Q=h(Xe),ut=E(Xe),tr=wt?Xe.sizes:void 0,rt=wt?Xe.srcset:void 0,_t=wt?Xe.crossOrigin:void 0,Yr=sn?.src!==void 0&&sn.src!=="",ln=this.hasImage(),cn=Q!==void 0&&Q!==""?`${yt}: ${Q}`:yt,gn=dr==="LOADING"||dr==="LOADED",wi=ln?"found":"not-found",ki=dr==="UNLOADED"||dr==="UNLOADING"?"hidden":"visible",Ur={visibility:dr==="UNLOADED"?"visible":"hidden"};this.styleModalImg=ln&&Xe!==null?q({hasZoomImg:Yr,imgSrc:ut,isSvg:Ar,isZoomed:gn,loadedImgEl:Sn,offset:Hr,shouldRefresh:Nr,targetEl:Xe}):{};let Bi=null;if(ln){const bs=wt||$t?n.createElement("img",{alt:Q,crossOrigin:_t,sizes:tr,src:ut,srcSet:rt,...qt&&dr==="LOADED"?sn:{},"data-rmiz-modal-img":"",height:this.styleModalImg.height??void 0,id:br,onTransitionEnd:this.handleImgTransitionEnd,ref:Dr,style:this.styleModalImg,width:this.styleModalImg.width??void 0}):Ar?n.createElement("div",{"data-rmiz-modal-img":!0,onTransitionEnd:this.handleImgTransitionEnd,ref:Dr,style:this.styleModalImg}):null,Di=n.createElement("button",{"aria-label":At,"data-rmiz-btn-unzoom":"",onClick:De,type:"button"},n.createElement(Ir,null));Bi=$r==null?n.createElement(n.Fragment,null,bs,Di):n.createElement($r,{buttonUnzoom:Di,modalState:dr,img:bs,isZoomImgLoaded:qt,onUnzoom:ke})}return n.createElement(Wr,{"aria-owns":Xt,"data-rmiz":"",ref:Sr},n.createElement(Wr,{"data-rmiz-content":wi,ref:pt,style:Ur},kt),ln&&n.createElement(Wr,{"data-rmiz-ghost":"",style:un},n.createElement("button",{"aria-label":cn,"data-rmiz-btn-zoom":"",onClick:Ge,type:"button"},n.createElement(yr,null))),ln&&r.createPortal(n.createElement("dialog",{"aria-labelledby":br,"aria-modal":"true",className:Nt,"data-rmiz-modal":"",id:Xt,onClick:Fe,onClose:be,onCancel:ge,ref:et,role:"dialog"},n.createElement("div",{"data-rmiz-modal-overlay":ki}),n.createElement("div",{"data-rmiz-modal-content":"",ref:wr},Bi)),pe()))}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(De,Fe){this.handleModalStateChange(Fe.modalState),this.UNSAFE_handleSvg(),this.handleIfZoomChanged(De.isZoomed)}}Ce.defaultProps={a11yNameButtonUnzoom:"Minimize image",a11yNameButtonZoom:"Expand image",canSwipeToUnzoom:!0,IconUnzoom:Je,IconZoom:qe,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 qe(){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 ye({onZoomChange:xe,...De}){const[Fe,be]=n.useState(!1),ke=n.useCallback((Ge,{event:Xe})=>{be(Ge),xe?.(Ge,{event:Xe})},[xe]);return n.createElement(Ie,{...De,isZoomed:Fe,onZoomChange:ke})}},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.