homebridge-config-ui-x 5.0.0-beta.7 → 5.0.0-beta.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/package.json +1 -1
  2. package/public/{chunk-EJKB2WDE.js → chunk-2JFSWT5B.js} +1 -1
  3. package/public/chunk-2L7ELAST.js +1 -0
  4. package/public/{chunk-CY55AES3.js → chunk-2S6LQXQQ.js} +1 -1
  5. package/public/chunk-33GSDLFJ.js +1 -0
  6. package/public/chunk-3OQBMVGJ.js +1 -0
  7. package/public/{chunk-WSYFRV2X.js → chunk-4G7JJKXC.js} +1 -1
  8. package/public/chunk-4W4R6Q5O.js +1 -0
  9. package/public/{chunk-V7D5U2P3.js → chunk-4YG6EOJW.js} +1 -1
  10. package/public/{chunk-WNVJPPO7.js → chunk-5ABRPQAO.js} +1 -1
  11. package/public/{chunk-LV2VCDOI.js → chunk-5JQMTC6B.js} +1 -1
  12. package/public/chunk-BKCPDNDQ.js +1 -0
  13. package/public/{chunk-QKWNCNRW.js → chunk-BVRAVCVU.js} +1 -1
  14. package/public/{chunk-AAVBU64J.js → chunk-CNLFTFGS.js} +1 -1
  15. package/public/{chunk-5KIRKUWH.js → chunk-COZI4IQZ.js} +1 -1
  16. package/public/{chunk-A4HS5JYI.js → chunk-DFKBPEBJ.js} +1 -1
  17. package/public/{chunk-NDNK3KHG.js → chunk-ENKVNFKF.js} +1 -1
  18. package/public/{chunk-WP6BKFEA.js → chunk-FIWNQUN6.js} +1 -1
  19. package/public/{chunk-KHNBODZR.js → chunk-GR5ZC55C.js} +1 -1
  20. package/public/{chunk-UWLLEMGO.js → chunk-JJL2MTZS.js} +1 -1
  21. package/public/chunk-JKN6S535.js +1 -0
  22. package/public/{chunk-NV6GUYHV.js → chunk-KSIUXDRS.js} +1 -1
  23. package/public/{chunk-XLY5QPTN.js → chunk-KZATMDCZ.js} +1 -1
  24. package/public/{chunk-XY74TB4S.js → chunk-L3MK74M5.js} +1 -1
  25. package/public/{chunk-BVNJ63AC.js → chunk-LWNID63H.js} +1 -1
  26. package/public/{chunk-6HR4EKFX.js → chunk-M2ME37TX.js} +1 -1
  27. package/public/{chunk-52L2LAHB.js → chunk-M3VCR6YB.js} +1 -1
  28. package/public/{chunk-UAQGK64S.js → chunk-M5AJDIBQ.js} +1 -1
  29. package/public/{chunk-UKAOVQ6N.js → chunk-MK7X7MS5.js} +1 -1
  30. package/public/{chunk-YP7JWH3J.js → chunk-MPLDW2J6.js} +1 -1
  31. package/public/{chunk-IW3HI4LO.js → chunk-NBOHFRJZ.js} +1 -1
  32. package/public/chunk-NHZHWKSG.js +1 -0
  33. package/public/{chunk-A76FDQKF.js → chunk-NQVE3PCO.js} +1 -1
  34. package/public/chunk-NWWJ57YP.js +1 -0
  35. package/public/{chunk-US5QSVJ2.js → chunk-QGKMS5A5.js} +1 -1
  36. package/public/{chunk-CJIFFTFC.js → chunk-QOGRNTPH.js} +1 -1
  37. package/public/{chunk-KVW76M4O.js → chunk-QXKNQTUO.js} +1 -1
  38. package/public/{chunk-TFEVMIHT.js → chunk-ROX65GNZ.js} +1 -1
  39. package/public/{chunk-2PMXH77A.js → chunk-RTYW4L3V.js} +1 -1
  40. package/public/{chunk-QGDVQDUP.js → chunk-SQRHRHFP.js} +1 -1
  41. package/public/{chunk-7LUCJVXB.js → chunk-T7JTTE4M.js} +1 -1
  42. package/public/chunk-T7R6ZVT6.js +1 -0
  43. package/public/{chunk-RDAMEJPR.js → chunk-THICF3SZ.js} +1 -1
  44. package/public/{chunk-IVORLBXB.js → chunk-TUWXLY3X.js} +1 -1
  45. package/public/chunk-U5ZKGWCF.js +1 -0
  46. package/public/{chunk-M6SHEAQY.js → chunk-UYFK7HVI.js} +1 -1
  47. package/public/{chunk-KRNQN3FT.js → chunk-UZOK2K35.js} +1 -1
  48. package/public/{chunk-DAYZQW6Q.js → chunk-VDCXEJXR.js} +1 -1
  49. package/public/{chunk-3C2OQ2W5.js → chunk-VEBWYZYZ.js} +1 -1
  50. package/public/chunk-VNARIZ6E.js +1 -0
  51. package/public/{chunk-4N3YQA7W.js → chunk-VP4MXPRG.js} +1 -1
  52. package/public/{chunk-OKKTO3UM.js → chunk-VPJTE4TI.js} +1 -1
  53. package/public/{chunk-UNVMI6CK.js → chunk-VPKOFODJ.js} +1 -1
  54. package/public/chunk-WQJUPQJT.js +1 -0
  55. package/public/{chunk-ED5XL3PD.js → chunk-XMYXVAEK.js} +1 -1
  56. package/public/{chunk-2JDN5J3P.js → chunk-XO7XB4PL.js} +1 -1
  57. package/public/{chunk-SK5UJRQU.js → chunk-XSDOEAMI.js} +1 -1
  58. package/public/{chunk-MPVSAJDU.js → chunk-XTVTI5YA.js} +1 -1
  59. package/public/{chunk-JU4PP2VY.js → chunk-YSQSVKZB.js} +1 -1
  60. package/public/chunk-Z5GB7FXV.js +1 -0
  61. package/public/index.html +1 -1
  62. package/public/{main-6PBYD25D.js → main-CNETRB3V.js} +1 -1
  63. package/public/chunk-26EDYJQW.js +0 -1
  64. package/public/chunk-3JROOWCZ.js +0 -1
  65. package/public/chunk-4LLA7QYB.js +0 -1
  66. package/public/chunk-AFRS7ZFI.js +0 -1
  67. package/public/chunk-BS2EMJX7.js +0 -1
  68. package/public/chunk-FA2N3XXT.js +0 -1
  69. package/public/chunk-IB5GZVXD.js +0 -1
  70. package/public/chunk-LMPCXQ23.js +0 -1
  71. package/public/chunk-MDDU475D.js +0 -1
  72. package/public/chunk-OOHFQB4Z.js +0 -1
  73. package/public/chunk-U2KJ2IEE.js +0 -1
  74. package/public/chunk-V2TYBIZV.js +0 -1
  75. package/public/chunk-ZOKILXR3.js +0 -1
@@ -1 +1 @@
1
- import"./chunk-3C2OQ2W5.js";import{q as s}from"./chunk-ORPWYWCL.js";import{z as p}from"./chunk-QHPDGSZ6.js";import{g as i}from"./chunk-NZNNTHFQ.js";import"./chunk-V7D5U2P3.js";import"./chunk-WNVJPPO7.js";import"./chunk-UG5DK2RQ.js";import{c as m}from"./chunk-3IX3CLER.js";import{ia as t,md as n,sb as r}from"./chunk-TXOB7R5K.js";var a=[{path:"",loadComponent:()=>import("./chunk-IW3HI4LO.js").then(o=>o.PowerOptionsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(a),i]})}return o})();var j=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,u,s,p,m]})}return o})();export{j as PowerOptionsModule};
1
+ import"./chunk-VEBWYZYZ.js";import{q as s}from"./chunk-ORPWYWCL.js";import{z as p}from"./chunk-QHPDGSZ6.js";import{g as i}from"./chunk-NZNNTHFQ.js";import"./chunk-4YG6EOJW.js";import"./chunk-5ABRPQAO.js";import"./chunk-UG5DK2RQ.js";import{c as m}from"./chunk-3IX3CLER.js";import{ia as t,md as n,sb as r}from"./chunk-TXOB7R5K.js";var a=[{path:"",loadComponent:()=>import("./chunk-NBOHFRJZ.js").then(o=>o.PowerOptionsComponent)}],u=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i.forChild(a),i]})}return o})();var j=(()=>{class o{static \u0275fac=function(e){return new(e||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[n,u,s,p,m]})}return o})();export{j as PowerOptionsModule};
@@ -1 +1 @@
1
- import{c as pe}from"./chunk-YP7JWH3J.js";import{a as he}from"./chunk-WNVJPPO7.js";import{f as We,ha as ue,k as fe,n as X,na as le}from"./chunk-TXOB7R5K.js";var d=Object.create(null);d.open="0";d.close="1";d.ping="2";d.pong="3";d.message="4";d.upgrade="5";d.noop="6";var S=Object.create(null);Object.keys(d).forEach(r=>{S[d[r]]=r});var O={type:"error",data:"parser error"};var ye=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",ge=typeof ArrayBuffer=="function",_e=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,B=({type:r,data:e},t,s)=>ye&&e instanceof Blob?t?s(e):de(e,s):ge&&(e instanceof ArrayBuffer||_e(e))?t?s(e):de(new Blob([e]),s):s(d[r]+(e||"")),de=(r,e)=>{let t=new FileReader;return t.onload=function(){let s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(r)};function me(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}var $;function be(r,e){if(ye&&r.data instanceof Blob)return r.data.arrayBuffer().then(me).then(e);if(ge&&(r.data instanceof ArrayBuffer||_e(r.data)))return e(me(r.data));B(r,!1,t=>{$||($=new TextEncoder),e($.encode(t))})}var we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<we.length;r++)N[we.charCodeAt(r)]=r;var ke=r=>{let e=r.length*.75,t=r.length,s,i=0,n,o,c,a;r[r.length-1]==="="&&(e--,r[r.length-2]==="="&&e--);let m=new ArrayBuffer(e),p=new Uint8Array(m);for(s=0;s<t;s+=4)n=N[r.charCodeAt(s)],o=N[r.charCodeAt(s+1)],c=N[r.charCodeAt(s+2)],a=N[r.charCodeAt(s+3)],p[i++]=n<<2|o>>4,p[i++]=(o&15)<<4|c>>2,p[i++]=(c&3)<<6|a&63;return m};var Ke=typeof ArrayBuffer=="function",L=(r,e)=>{if(typeof r!="string")return{type:"message",data:Ee(r,e)};let t=r.charAt(0);return t==="b"?{type:"message",data:Ye(r.substring(1),e)}:S[t]?r.length>1?{type:S[t],data:r.substring(1)}:{type:S[t]}:O},Ye=(r,e)=>{if(Ke){let t=ke(r);return Ee(t,e)}else return{base64:!0,data:r}},Ee=(r,e)=>{switch(e){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}};var ve="",xe=(r,e)=>{let t=r.length,s=new Array(t),i=0;r.forEach((n,o)=>{B(n,!1,c=>{s[o]=c,++i===t&&e(s.join(ve))})})},Te=(r,e)=>{let t=r.split(ve),s=[];for(let i=0;i<t.length;i++){let n=L(t[i],e);if(s.push(n),n.type==="error")break}return s};function Ae(){return new TransformStream({transform(r,e){be(r,t=>{let s=t.length,i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);let n=new DataView(i.buffer);n.setUint8(0,126),n.setUint16(1,s)}else{i=new Uint8Array(9);let n=new DataView(i.buffer);n.setUint8(0,127),n.setBigUint64(1,BigInt(s))}r.data&&typeof r.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}var Q;function U(r){return r.reduce((e,t)=>e+t.length,0)}function V(r,e){if(r[0].length===e)return r.shift();let t=new Uint8Array(e),s=0;for(let i=0;i<e;i++)t[i]=r[0][s++],s===r[0].length&&(r.shift(),s=0);return r.length&&s<r[0].length&&(r[0]=r[0].slice(s)),t}function Re(r,e){Q||(Q=new TextDecoder);let t=[],s=0,i=-1,n=!1;return new TransformStream({transform(o,c){for(t.push(o);;){if(s===0){if(U(t)<1)break;let a=V(t,1);n=(a[0]&128)===128,i=a[0]&127,i<126?s=3:i===126?s=1:s=2}else if(s===1){if(U(t)<2)break;let a=V(t,2);i=new DataView(a.buffer,a.byteOffset,a.length).getUint16(0),s=3}else if(s===2){if(U(t)<8)break;let a=V(t,8),m=new DataView(a.buffer,a.byteOffset,a.length),p=m.getUint32(0);if(p>Math.pow(2,21)-1){c.enqueue(O);break}i=p*Math.pow(2,32)+m.getUint32(4),s=3}else{if(U(t)<i)break;let a=V(t,i);c.enqueue(L(n?a:Q.decode(a),e)),s=0}if(i===0||i>r){c.enqueue(O);break}}}})}var j=4;function f(r){if(r)return Je(r)}function Je(r){for(var e in f.prototype)r[e]=f.prototype[e];return r}f.prototype.on=f.prototype.addEventListener=function(r,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(e),this};f.prototype.once=function(r,e){function t(){this.off(r,t),e.apply(this,arguments)}return t.fn=e,this.on(r,t),this};f.prototype.off=f.prototype.removeListener=f.prototype.removeAllListeners=f.prototype.removeEventListener=function(r,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+r];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var s,i=0;i<t.length;i++)if(s=t[i],s===e||s.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+r],this};f.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+r],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(t){t=t.slice(0);for(var s=0,i=t.length;s<i;++s)t[s].apply(this,e)}return this};f.prototype.emitReserved=f.prototype.emit;f.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};f.prototype.hasListeners=function(r){return!!this.listeners(r).length};var y=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),u=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Ce="arraybuffer";function M(r,...e){return e.reduce((t,s)=>(r.hasOwnProperty(s)&&(t[s]=r[s]),t),{})}var ze=u.setTimeout,Xe=u.clearTimeout;function g(r,e){e.useNativeTimers?(r.setTimeoutFn=ze.bind(u),r.clearTimeoutFn=Xe.bind(u)):(r.setTimeoutFn=u.setTimeout.bind(u),r.clearTimeoutFn=u.clearTimeout.bind(u))}var $e=1.33;function Se(r){return typeof r=="string"?Qe(r):Math.ceil((r.byteLength||r.size)*$e)}function Qe(r){let e=0,t=0;for(let s=0,i=r.length;s<i;s++)e=r.charCodeAt(s),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(s++,t+=4);return t}function H(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Oe(r){let e="";for(let t in r)r.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(r[t]));return e}function Be(r){let e={},t=r.split("&");for(let s=0,i=t.length;s<i;s++){let n=t[s].split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}var W=class extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}},_=class extends f{constructor(e){super(),this.writable=!1,g(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,s){return super.emitReserved("error",new W(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=L(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){let t=Oe(e);return t.length?"?"+t:""}};var P=class extends _{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){let t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Te(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,xe(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=H()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}};var Ne=!1;try{Ne=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}var Le=Ne;function je(){}var G=class extends P{constructor(e){if(super(e),typeof location<"u"){let t=location.protocol==="https:",s=location.port;s||(s=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,t){let s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,n)=>{this.onError("xhr post error",i,n)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}},K=(()=>{class r extends f{constructor(t,s,i){super(),this.createRequest=t,g(this,i),this._opts=i,this._method=i.method||"GET",this._uri=s,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var t;let s=M(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;let i=this._xhr=this.createRequest(s);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let n in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(n)&&i.setRequestHeader(n,this._opts.extraHeaders[n])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var n;i.readyState===3&&((n=this._opts.cookieJar)===null||n===void 0||n.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(n){this.setTimeoutFn(()=>{this._onError(n)},0);return}typeof document<"u"&&(this._index=r.requestsCount++,r.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=je,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete r.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}return r.requestsCount=0,r.requests={},r})();if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Pe);else if(typeof addEventListener=="function"){let r="onpagehide"in u?"pagehide":"unload";addEventListener(r,Pe,!1)}}function Pe(){for(let r in K.requests)K.requests.hasOwnProperty(r)&&K.requests[r].abort()}var Ge=function(){let r=qe({xdomain:!1});return r&&r.responseType!==null}(),w=class extends G{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=Ge&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new K(qe,this.uri(),e)}};function qe(r){let e=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Le))return new XMLHttpRequest}catch{}if(!e)try{return new u[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}var De=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",ee=class extends _{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,s=De?{}:M(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let s=e[t],i=t===e.length-1;B(s,this.supportsBinary,n=>{try{this.doWrite(s,n)}catch{}i&&y(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=H()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},Z=u.WebSocket||u.MozWebSocket,k=class extends ee{createSocket(e,t,s){return De?new Z(e,t,s):t?new Z(e,t):new Z(e)}doWrite(e,t){this.ws.send(t)}};var v=class extends _{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=Re(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=Ae();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();let n=()=>{s.read().then(({done:c,value:a})=>{c||(this.onPacket(a),n())}).catch(c=>{})};n();let o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let s=e[t],i=t===e.length-1;this._writer.write(s).then(()=>{i&&y(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}};var te={websocket:k,webtransport:v,polling:w};var Ze=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,et=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function x(r){if(r.length>8e3)throw"URI too long";let e=r,t=r.indexOf("["),s=r.indexOf("]");t!=-1&&s!=-1&&(r=r.substring(0,t)+r.substring(t,s).replace(/:/g,";")+r.substring(s,r.length));let i=Ze.exec(r||""),n={},o=14;for(;o--;)n[et[o]]=i[o]||"";return t!=-1&&s!=-1&&(n.source=e,n.host=n.host.substring(1,n.host.length-1).replace(/;/g,":"),n.authority=n.authority.replace("[","").replace("]","").replace(/;/g,":"),n.ipv6uri=!0),n.pathNames=tt(n,n.path),n.queryKey=st(n,n.query),n}function tt(r,e){let t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function st(r,e){let t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,n){i&&(t[i]=n)}),t}var se=typeof addEventListener=="function"&&typeof removeEventListener=="function",Y=[];se&&addEventListener("offline",()=>{Y.forEach(r=>r())},!1);var J=(()=>{class r extends f{constructor(t,s){if(super(),this.binaryType=Ce,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){let i=x(t);s.hostname=i.host,s.secure=i.protocol==="https"||i.protocol==="wss",s.port=i.port,i.query&&(s.query=i.query)}else s.host&&(s.hostname=x(s.host).host);g(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(i=>{let n=i.prototype.name;this.transports.push(n),this._transportsByName[n]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Be(this.opts.query)),se&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Y.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let s=Object.assign({},this.opts.query);s.EIO=j,s.transport=t,this.id&&(s.sid=this.id);let i=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}let t=this.opts.rememberUpgrade&&r.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";let s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",r.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let i=0;i<this.writeBuffer.length;i++){let n=this.writeBuffer[i].data;if(n&&(s+=Se(n)),i>0&&s>this._maxPayload)return this.writeBuffer.slice(0,i);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,y(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,i){return this._sendPacket("message",t,s,i),this}send(t,s,i){return this._sendPacket("message",t,s,i),this}_sendPacket(t,s,i,n){if(typeof s=="function"&&(n=s,s=void 0),typeof i=="function"&&(n=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;let o={type:t,data:s,options:i};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),n&&this.once("flush",n),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},i=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(r.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),se&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let i=Y.indexOf(this._offlineEventListener);i!==-1&&Y.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}return r.protocol=j,r})(),z=class extends J{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),s=!1;J.priorWebsocketSuccess=!1;let i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",b=>{if(!s)if(b.type==="pong"&&b.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;J.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(p(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let C=new Error("probe error");C.transport=t.name,this.emitReserved("upgradeError",C)}}))};function n(){s||(s=!0,p(),t.close(),t=null)}let o=b=>{let C=new Error("probe error: "+b);C.transport=t.name,n(),this.emitReserved("upgradeError",C)};function c(){o("transport closed")}function a(){o("socket closed")}function m(b){t&&b.name!==t.name&&n()}let p=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",c),this.off("close",a),this.off("upgrading",m)};t.once("open",i),t.once("error",o),t.once("close",c),this.once("close",a),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&t.push(e[s]);return t}},T=class extends z{constructor(e,t={}){let s=typeof e=="object"?e:t;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(i=>te[i]).filter(i=>!!i)),super(e,s)}};var ds=T.protocol;function Fe(r,e="",t){let s=r;t=t||typeof location<"u"&&location,r==null&&(r=t.protocol+"//"+t.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=t.protocol+r:r=t.host+r),/^(https?|wss?):\/\//.test(r)||(typeof t<"u"?r=t.protocol+"//"+r:r="https://"+r),s=x(r)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";let n=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+n+":"+s.port+e,s.href=s.protocol+"://"+n+(t&&t.port===s.port?"":":"+s.port),s}var ae={};We(ae,{Decoder:()=>oe,Encoder:()=>ne,PacketType:()=>h,protocol:()=>He});var it=typeof ArrayBuffer=="function",nt=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Ie=Object.prototype.toString,ot=typeof Blob=="function"||typeof Blob<"u"&&Ie.call(Blob)==="[object BlobConstructor]",ct=typeof File=="function"||typeof File<"u"&&Ie.call(File)==="[object FileConstructor]";function D(r){return it&&(r instanceof ArrayBuffer||nt(r))||ot&&r instanceof Blob||ct&&r instanceof File}function q(r,e){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let t=0,s=r.length;t<s;t++)if(q(r[t]))return!0;return!1}if(D(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return q(r.toJSON(),!0);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&q(r[t]))return!0;return!1}function Ue(r){let e=[],t=r.data,s=r;return s.data=re(t,e),s.attachments=e.length,{packet:s,buffers:e}}function re(r,e){if(!r)return r;if(D(r)){let t={_placeholder:!0,num:e.length};return e.push(r),t}else if(Array.isArray(r)){let t=new Array(r.length);for(let s=0;s<r.length;s++)t[s]=re(r[s],e);return t}else if(typeof r=="object"&&!(r instanceof Date)){let t={};for(let s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=re(r[s],e));return t}return r}function Ve(r,e){return r.data=ie(r.data,e),delete r.attachments,r}function ie(r,e){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<e.length)return e[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let t=0;t<r.length;t++)r[t]=ie(r[t],e);else if(typeof r=="object")for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(r[t]=ie(r[t],e));return r}var at=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],He=5,h=function(r){return r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK",r}(h||{}),ne=class{constructor(e){this.replacer=e}encode(e){return(e.type===h.EVENT||e.type===h.ACK)&&q(e)?this.encodeAsBinary({type:e.type===h.EVENT?h.BINARY_EVENT:h.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===h.BINARY_EVENT||e.type===h.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=Ue(e),s=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(s),i}};function Me(r){return Object.prototype.toString.call(r)==="[object Object]"}var oe=class r extends f{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);let s=t.type===h.BINARY_EVENT;s||t.type===h.BINARY_ACK?(t.type=s?h.EVENT:h.ACK,this.reconstructor=new ce(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(D(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0,s={type:Number(e.charAt(0))};if(h[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===h.BINARY_EVENT||s.type===h.BINARY_ACK){let n=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);let o=e.substring(n,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");s.attachments=Number(o)}if(e.charAt(t+1)==="/"){let n=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););s.nsp=e.substring(n,t)}else s.nsp="/";let i=e.charAt(t+1);if(i!==""&&Number(i)==i){let n=t+1;for(;++t;){let o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}s.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){let n=this.tryParse(e.substr(t));if(r.isPayloadValid(s.type,n))s.data=n;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case h.CONNECT:return Me(t);case h.DISCONNECT:return t===void 0;case h.CONNECT_ERROR:return typeof t=="string"||Me(t);case h.EVENT:case h.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&at.indexOf(t[0])===-1);case h.ACK:case h.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}},ce=class{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){let t=Ve(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}};function l(r,e,t){return r.on(e,t),function(){r.off(e,t)}}var ht=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),A=class extends f{constructor(e,t,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[l(e,"open",this.onopen.bind(this)),l(e,"packet",this.onpacket.bind(this)),l(e,"error",this.onerror.bind(this)),l(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var s,i,n;if(ht.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let o={type:h.EVENT,data:t};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){let p=this.ids++,b=t.pop();this._registerAckCallback(p,b),o.id=p}let c=(i=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||i===void 0?void 0:i.writable,a=this.connected&&!(!((n=this.io.engine)===null||n===void 0)&&n._hasPingExpired());return this.flags.volatile&&!c||(a?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var s;let i=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}let n=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===e&&this.sendBuffer.splice(c,1);t.call(this,new Error("operation has timed out"))},i),o=(...c)=>{this.io.clearTimeoutFn(n),t.apply(this,c)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((s,i)=>{let n=(o,c)=>o?i(o):s(c);n.withError=!0,t.push(n),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());let s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...n)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...n)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;let t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:h.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){let s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case h.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case h.EVENT:case h.BINARY_EVENT:this.onevent(e);break;case h.ACK:case h.BINARY_ACK:this.onack(e);break;case h.DISCONNECT:this.ondisconnect();break;case h.CONNECT_ERROR:this.destroy();let s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){let t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){let t=this._anyListeners.slice();for(let s of t)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,s=!1;return function(...i){s||(s=!0,t.packet({type:h.ACK,id:e,data:i}))}}onack(e){let t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:h.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let t=this._anyOutgoingListeners.slice();for(let s of t)s.apply(this,e.data)}}};function E(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}E.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*r);r=Math.floor(e*10)&1?r+t:r-t}return Math.min(r,this.max)|0};E.prototype.reset=function(){this.attempts=0};E.prototype.setMin=function(r){this.ms=r};E.prototype.setMax=function(r){this.max=r};E.prototype.setJitter=function(r){this.jitter=r};var R=class extends f{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,g(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new E({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;let i=t.parser||ae;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new T(this.uri,this.opts);let t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;let i=l(t,"open",function(){s.onopen(),e&&e()}),n=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},o=l(t,"error",n);if(this._timeout!==!1){let c=this._timeout,a=this.setTimeoutFn(()=>{i(),n(new Error("timeout")),t.close()},c);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(l(e,"ping",this.onping.bind(this)),l(e,"data",this.ondata.bind(this)),l(e,"error",this.onerror.bind(this)),l(e,"close",this.onclose.bind(this)),l(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){y(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new A(this,e,t),this.nsps[e]=s),s}_destroy(e){let t=Object.keys(this.nsps);for(let s of t)if(this.nsps[s].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let s=0;s<t.length;s++)this.engine.write(t[s],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}};var F={};function I(r,e){typeof r=="object"&&(e=r,r=void 0),e=e||{};let t=Fe(r,e.path||"/socket.io"),s=t.source,i=t.id,n=t.path,o=F[i]&&n in F[i].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||o,a;return c?a=new R(s,e):(F[i]||(F[i]=new R(s,e)),a=F[i]),t.query&&!e.query&&(e.query=t.queryKey),a.socket(t.path,e)}Object.assign(I,{Manager:R,Socket:A,io:I,connect:I});var cr=(()=>{class r{$auth=le(pe);namespaceConnectionCache={};connectToNamespace(t){if(this.namespaceConnectionCache[t]){let s=this.namespaceConnectionCache[t];return s.connected=new X,setTimeout(()=>{s.socket.connected&&s.connected.next(void 0)}),s.socket.on("connect",()=>{s.connected.next(void 0)}),s.end=()=>{s.socket.emit("end"),s.socket.removeAllListeners(),s.connected.complete()},this.namespaceConnectionCache[t]}else{let s=this.establishConnectionToNamespace(t);return s.connected=new X,s.socket.on("connect",()=>{s.connected.next(void 0)}),s.end=()=>{s.socket.emit("end"),s.socket.removeAllListeners(),s.connected.complete()},this.namespaceConnectionCache[t]=s,s}}getExistingNamespace(t){return this.namespaceConnectionCache[t]}establishConnectionToNamespace(t){let s=I(`${he.api.socket}/${t}`,{query:{token:this.$auth.token}});return{socket:s,request:(n,o)=>new fe(c=>{s.emit(n,o,a=>{typeof a=="object"&&a.error?c.error(a):c.next(a),c.complete()})})}}static \u0275fac=function(s){return new(s||r)};static \u0275prov=ue({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{cr as a};
1
+ import{c as pe}from"./chunk-MPLDW2J6.js";import{a as he}from"./chunk-5ABRPQAO.js";import{f as We,ha as ue,k as fe,n as X,na as le}from"./chunk-TXOB7R5K.js";var d=Object.create(null);d.open="0";d.close="1";d.ping="2";d.pong="3";d.message="4";d.upgrade="5";d.noop="6";var S=Object.create(null);Object.keys(d).forEach(r=>{S[d[r]]=r});var O={type:"error",data:"parser error"};var ye=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",ge=typeof ArrayBuffer=="function",_e=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer,B=({type:r,data:e},t,s)=>ye&&e instanceof Blob?t?s(e):de(e,s):ge&&(e instanceof ArrayBuffer||_e(e))?t?s(e):de(new Blob([e]),s):s(d[r]+(e||"")),de=(r,e)=>{let t=new FileReader;return t.onload=function(){let s=t.result.split(",")[1];e("b"+(s||""))},t.readAsDataURL(r)};function me(r){return r instanceof Uint8Array?r:r instanceof ArrayBuffer?new Uint8Array(r):new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}var $;function be(r,e){if(ye&&r.data instanceof Blob)return r.data.arrayBuffer().then(me).then(e);if(ge&&(r.data instanceof ArrayBuffer||_e(r.data)))return e(me(r.data));B(r,!1,t=>{$||($=new TextEncoder),e($.encode(t))})}var we="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",N=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let r=0;r<we.length;r++)N[we.charCodeAt(r)]=r;var ke=r=>{let e=r.length*.75,t=r.length,s,i=0,n,o,c,a;r[r.length-1]==="="&&(e--,r[r.length-2]==="="&&e--);let m=new ArrayBuffer(e),p=new Uint8Array(m);for(s=0;s<t;s+=4)n=N[r.charCodeAt(s)],o=N[r.charCodeAt(s+1)],c=N[r.charCodeAt(s+2)],a=N[r.charCodeAt(s+3)],p[i++]=n<<2|o>>4,p[i++]=(o&15)<<4|c>>2,p[i++]=(c&3)<<6|a&63;return m};var Ke=typeof ArrayBuffer=="function",L=(r,e)=>{if(typeof r!="string")return{type:"message",data:Ee(r,e)};let t=r.charAt(0);return t==="b"?{type:"message",data:Ye(r.substring(1),e)}:S[t]?r.length>1?{type:S[t],data:r.substring(1)}:{type:S[t]}:O},Ye=(r,e)=>{if(Ke){let t=ke(r);return Ee(t,e)}else return{base64:!0,data:r}},Ee=(r,e)=>{switch(e){case"blob":return r instanceof Blob?r:new Blob([r]);case"arraybuffer":default:return r instanceof ArrayBuffer?r:r.buffer}};var ve="",xe=(r,e)=>{let t=r.length,s=new Array(t),i=0;r.forEach((n,o)=>{B(n,!1,c=>{s[o]=c,++i===t&&e(s.join(ve))})})},Te=(r,e)=>{let t=r.split(ve),s=[];for(let i=0;i<t.length;i++){let n=L(t[i],e);if(s.push(n),n.type==="error")break}return s};function Ae(){return new TransformStream({transform(r,e){be(r,t=>{let s=t.length,i;if(s<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,s);else if(s<65536){i=new Uint8Array(3);let n=new DataView(i.buffer);n.setUint8(0,126),n.setUint16(1,s)}else{i=new Uint8Array(9);let n=new DataView(i.buffer);n.setUint8(0,127),n.setBigUint64(1,BigInt(s))}r.data&&typeof r.data!="string"&&(i[0]|=128),e.enqueue(i),e.enqueue(t)})}})}var Q;function U(r){return r.reduce((e,t)=>e+t.length,0)}function V(r,e){if(r[0].length===e)return r.shift();let t=new Uint8Array(e),s=0;for(let i=0;i<e;i++)t[i]=r[0][s++],s===r[0].length&&(r.shift(),s=0);return r.length&&s<r[0].length&&(r[0]=r[0].slice(s)),t}function Re(r,e){Q||(Q=new TextDecoder);let t=[],s=0,i=-1,n=!1;return new TransformStream({transform(o,c){for(t.push(o);;){if(s===0){if(U(t)<1)break;let a=V(t,1);n=(a[0]&128)===128,i=a[0]&127,i<126?s=3:i===126?s=1:s=2}else if(s===1){if(U(t)<2)break;let a=V(t,2);i=new DataView(a.buffer,a.byteOffset,a.length).getUint16(0),s=3}else if(s===2){if(U(t)<8)break;let a=V(t,8),m=new DataView(a.buffer,a.byteOffset,a.length),p=m.getUint32(0);if(p>Math.pow(2,21)-1){c.enqueue(O);break}i=p*Math.pow(2,32)+m.getUint32(4),s=3}else{if(U(t)<i)break;let a=V(t,i);c.enqueue(L(n?a:Q.decode(a),e)),s=0}if(i===0||i>r){c.enqueue(O);break}}}})}var j=4;function f(r){if(r)return Je(r)}function Je(r){for(var e in f.prototype)r[e]=f.prototype[e];return r}f.prototype.on=f.prototype.addEventListener=function(r,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+r]=this._callbacks["$"+r]||[]).push(e),this};f.prototype.once=function(r,e){function t(){this.off(r,t),e.apply(this,arguments)}return t.fn=e,this.on(r,t),this};f.prototype.off=f.prototype.removeListener=f.prototype.removeAllListeners=f.prototype.removeEventListener=function(r,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var t=this._callbacks["$"+r];if(!t)return this;if(arguments.length==1)return delete this._callbacks["$"+r],this;for(var s,i=0;i<t.length;i++)if(s=t[i],s===e||s.fn===e){t.splice(i,1);break}return t.length===0&&delete this._callbacks["$"+r],this};f.prototype.emit=function(r){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),t=this._callbacks["$"+r],s=1;s<arguments.length;s++)e[s-1]=arguments[s];if(t){t=t.slice(0);for(var s=0,i=t.length;s<i;++s)t[s].apply(this,e)}return this};f.prototype.emitReserved=f.prototype.emit;f.prototype.listeners=function(r){return this._callbacks=this._callbacks||{},this._callbacks["$"+r]||[]};f.prototype.hasListeners=function(r){return!!this.listeners(r).length};var y=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,t)=>t(e,0),u=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Ce="arraybuffer";function M(r,...e){return e.reduce((t,s)=>(r.hasOwnProperty(s)&&(t[s]=r[s]),t),{})}var ze=u.setTimeout,Xe=u.clearTimeout;function g(r,e){e.useNativeTimers?(r.setTimeoutFn=ze.bind(u),r.clearTimeoutFn=Xe.bind(u)):(r.setTimeoutFn=u.setTimeout.bind(u),r.clearTimeoutFn=u.clearTimeout.bind(u))}var $e=1.33;function Se(r){return typeof r=="string"?Qe(r):Math.ceil((r.byteLength||r.size)*$e)}function Qe(r){let e=0,t=0;for(let s=0,i=r.length;s<i;s++)e=r.charCodeAt(s),e<128?t+=1:e<2048?t+=2:e<55296||e>=57344?t+=3:(s++,t+=4);return t}function H(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function Oe(r){let e="";for(let t in r)r.hasOwnProperty(t)&&(e.length&&(e+="&"),e+=encodeURIComponent(t)+"="+encodeURIComponent(r[t]));return e}function Be(r){let e={},t=r.split("&");for(let s=0,i=t.length;s<i;s++){let n=t[s].split("=");e[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return e}var W=class extends Error{constructor(e,t,s){super(e),this.description=t,this.context=s,this.type="TransportError"}},_=class extends f{constructor(e){super(),this.writable=!1,g(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,s){return super.emitReserved("error",new W(e,t,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=L(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){let t=Oe(e);return t.length?"?"+t:""}};var P=class extends _{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||t()})),this.writable||(s++,this.once("drain",function(){--s||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){let t=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Te(e,this.socket.binaryType).forEach(t),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,xe(e,t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=H()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}};var Ne=!1;try{Ne=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}var Le=Ne;function je(){}var G=class extends P{constructor(e){if(super(e),typeof location<"u"){let t=location.protocol==="https:",s=location.port;s||(s=t?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||s!==e.port}}doWrite(e,t){let s=this.request({method:"POST",data:e});s.on("success",t),s.on("error",(i,n)=>{this.onError("xhr post error",i,n)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(t,s)=>{this.onError("xhr poll error",t,s)}),this.pollXhr=e}},K=(()=>{class r extends f{constructor(t,s,i){super(),this.createRequest=t,g(this,i),this._opts=i,this._method=i.method||"GET",this._uri=s,this._data=i.data!==void 0?i.data:null,this._create()}_create(){var t;let s=M(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this._opts.xd;let i=this._xhr=this.createRequest(s);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0);for(let n in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(n)&&i.setRequestHeader(n,this._opts.extraHeaders[n])}}catch{}if(this._method==="POST")try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{i.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var n;i.readyState===3&&((n=this._opts.cookieJar)===null||n===void 0||n.parseCookies(i.getResponseHeader("set-cookie"))),i.readyState===4&&(i.status===200||i.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof i.status=="number"?i.status:0)},0))},i.send(this._data)}catch(n){this.setTimeoutFn(()=>{this._onError(n)},0);return}typeof document<"u"&&(this._index=r.requestsCount++,r.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=je,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete r.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}return r.requestsCount=0,r.requests={},r})();if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Pe);else if(typeof addEventListener=="function"){let r="onpagehide"in u?"pagehide":"unload";addEventListener(r,Pe,!1)}}function Pe(){for(let r in K.requests)K.requests.hasOwnProperty(r)&&K.requests[r].abort()}var Ge=function(){let r=qe({xdomain:!1});return r&&r.responseType!==null}(),w=class extends G{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=Ge&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new K(qe,this.uri(),e)}};function qe(r){let e=r.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||Le))return new XMLHttpRequest}catch{}if(!e)try{return new u[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}var De=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",ee=class extends _{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,s=De?{}:M(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,s)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let s=e[t],i=t===e.length-1;B(s,this.supportsBinary,n=>{try{this.doWrite(s,n)}catch{}i&&y(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=H()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},Z=u.WebSocket||u.MozWebSocket,k=class extends ee{createSocket(e,t,s){return De?new Z(e,t,s):t?new Z(e,t):new Z(e)}doWrite(e,t){this.ws.send(t)}};var v=class extends _{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=Re(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=e.readable.pipeThrough(t).getReader(),i=Ae();i.readable.pipeTo(e.writable),this._writer=i.writable.getWriter();let n=()=>{s.read().then(({done:c,value:a})=>{c||(this.onPacket(a),n())}).catch(c=>{})};n();let o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let s=e[t],i=t===e.length-1;this._writer.write(s).then(()=>{i&&y(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}};var te={websocket:k,webtransport:v,polling:w};var Ze=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,et=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function x(r){if(r.length>8e3)throw"URI too long";let e=r,t=r.indexOf("["),s=r.indexOf("]");t!=-1&&s!=-1&&(r=r.substring(0,t)+r.substring(t,s).replace(/:/g,";")+r.substring(s,r.length));let i=Ze.exec(r||""),n={},o=14;for(;o--;)n[et[o]]=i[o]||"";return t!=-1&&s!=-1&&(n.source=e,n.host=n.host.substring(1,n.host.length-1).replace(/;/g,":"),n.authority=n.authority.replace("[","").replace("]","").replace(/;/g,":"),n.ipv6uri=!0),n.pathNames=tt(n,n.path),n.queryKey=st(n,n.query),n}function tt(r,e){let t=/\/{2,9}/g,s=e.replace(t,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function st(r,e){let t={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,i,n){i&&(t[i]=n)}),t}var se=typeof addEventListener=="function"&&typeof removeEventListener=="function",Y=[];se&&addEventListener("offline",()=>{Y.forEach(r=>r())},!1);var J=(()=>{class r extends f{constructor(t,s){if(super(),this.binaryType=Ce,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(s=t,t=null),t){let i=x(t);s.hostname=i.host,s.secure=i.protocol==="https"||i.protocol==="wss",s.port=i.port,i.query&&(s.query=i.query)}else s.host&&(s.hostname=x(s.host).host);g(this,s),this.secure=s.secure!=null?s.secure:typeof location<"u"&&location.protocol==="https:",s.hostname&&!s.port&&(s.port=this.secure?"443":"80"),this.hostname=s.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=s.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},s.transports.forEach(i=>{let n=i.prototype.name;this.transports.push(n),this._transportsByName[n]=i}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},s),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Be(this.opts.query)),se&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Y.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let s=Object.assign({},this.opts.query);s.EIO=j,s.transport=t,this.id&&(s.sid=this.id);let i=Object.assign({},this.opts,{query:s,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}let t=this.opts.rememberUpgrade&&r.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";let s=this.createTransport(t);s.open(),this.setTransport(s)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",s=>this._onClose("transport close",s))}onOpen(){this.readyState="open",r.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let s=new Error("server error");s.code=t.data,this._onError(s);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let s=1;for(let i=0;i<this.writeBuffer.length;i++){let n=this.writeBuffer[i].data;if(n&&(s+=Se(n)),i>0&&s>this._maxPayload)return this.writeBuffer.slice(0,i);s+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,y(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,s,i){return this._sendPacket("message",t,s,i),this}send(t,s,i){return this._sendPacket("message",t,s,i),this}_sendPacket(t,s,i,n){if(typeof s=="function"&&(n=s,s=void 0),typeof i=="function"&&(n=i,i=null),this.readyState==="closing"||this.readyState==="closed")return;i=i||{},i.compress=i.compress!==!1;let o={type:t,data:s,options:i};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),n&&this.once("flush",n),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},s=()=>{this.off("upgrade",s),this.off("upgradeError",s),t()},i=()=>{this.once("upgrade",s),this.once("upgradeError",s)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(r.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),se&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let i=Y.indexOf(this._offlineEventListener);i!==-1&&Y.splice(i,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,s),this.writeBuffer=[],this._prevBufferLen=0}}}return r.protocol=j,r})(),z=class extends J{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),s=!1;J.priorWebsocketSuccess=!1;let i=()=>{s||(t.send([{type:"ping",data:"probe"}]),t.once("packet",b=>{if(!s)if(b.type==="pong"&&b.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;J.priorWebsocketSuccess=t.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(p(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let C=new Error("probe error");C.transport=t.name,this.emitReserved("upgradeError",C)}}))};function n(){s||(s=!0,p(),t.close(),t=null)}let o=b=>{let C=new Error("probe error: "+b);C.transport=t.name,n(),this.emitReserved("upgradeError",C)};function c(){o("transport closed")}function a(){o("socket closed")}function m(b){t&&b.name!==t.name&&n()}let p=()=>{t.removeListener("open",i),t.removeListener("error",o),t.removeListener("close",c),this.off("close",a),this.off("upgrading",m)};t.once("open",i),t.once("error",o),t.once("close",c),this.once("close",a),this.once("upgrading",m),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{s||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let s=0;s<e.length;s++)~this.transports.indexOf(e[s])&&t.push(e[s]);return t}},T=class extends z{constructor(e,t={}){let s=typeof e=="object"?e:t;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(i=>te[i]).filter(i=>!!i)),super(e,s)}};var ds=T.protocol;function Fe(r,e="",t){let s=r;t=t||typeof location<"u"&&location,r==null&&(r=t.protocol+"//"+t.host),typeof r=="string"&&(r.charAt(0)==="/"&&(r.charAt(1)==="/"?r=t.protocol+r:r=t.host+r),/^(https?|wss?):\/\//.test(r)||(typeof t<"u"?r=t.protocol+"//"+r:r="https://"+r),s=x(r)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";let n=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+n+":"+s.port+e,s.href=s.protocol+"://"+n+(t&&t.port===s.port?"":":"+s.port),s}var ae={};We(ae,{Decoder:()=>oe,Encoder:()=>ne,PacketType:()=>h,protocol:()=>He});var it=typeof ArrayBuffer=="function",nt=r=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r.buffer instanceof ArrayBuffer,Ie=Object.prototype.toString,ot=typeof Blob=="function"||typeof Blob<"u"&&Ie.call(Blob)==="[object BlobConstructor]",ct=typeof File=="function"||typeof File<"u"&&Ie.call(File)==="[object FileConstructor]";function D(r){return it&&(r instanceof ArrayBuffer||nt(r))||ot&&r instanceof Blob||ct&&r instanceof File}function q(r,e){if(!r||typeof r!="object")return!1;if(Array.isArray(r)){for(let t=0,s=r.length;t<s;t++)if(q(r[t]))return!0;return!1}if(D(r))return!0;if(r.toJSON&&typeof r.toJSON=="function"&&arguments.length===1)return q(r.toJSON(),!0);for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&q(r[t]))return!0;return!1}function Ue(r){let e=[],t=r.data,s=r;return s.data=re(t,e),s.attachments=e.length,{packet:s,buffers:e}}function re(r,e){if(!r)return r;if(D(r)){let t={_placeholder:!0,num:e.length};return e.push(r),t}else if(Array.isArray(r)){let t=new Array(r.length);for(let s=0;s<r.length;s++)t[s]=re(r[s],e);return t}else if(typeof r=="object"&&!(r instanceof Date)){let t={};for(let s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=re(r[s],e));return t}return r}function Ve(r,e){return r.data=ie(r.data,e),delete r.attachments,r}function ie(r,e){if(!r)return r;if(r&&r._placeholder===!0){if(typeof r.num=="number"&&r.num>=0&&r.num<e.length)return e[r.num];throw new Error("illegal attachments")}else if(Array.isArray(r))for(let t=0;t<r.length;t++)r[t]=ie(r[t],e);else if(typeof r=="object")for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(r[t]=ie(r[t],e));return r}var at=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],He=5,h=function(r){return r[r.CONNECT=0]="CONNECT",r[r.DISCONNECT=1]="DISCONNECT",r[r.EVENT=2]="EVENT",r[r.ACK=3]="ACK",r[r.CONNECT_ERROR=4]="CONNECT_ERROR",r[r.BINARY_EVENT=5]="BINARY_EVENT",r[r.BINARY_ACK=6]="BINARY_ACK",r}(h||{}),ne=class{constructor(e){this.replacer=e}encode(e){return(e.type===h.EVENT||e.type===h.ACK)&&q(e)?this.encodeAsBinary({type:e.type===h.EVENT?h.BINARY_EVENT:h.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===h.BINARY_EVENT||e.type===h.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(t+=e.nsp+","),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=Ue(e),s=this.encodeAsString(t.packet),i=t.buffers;return i.unshift(s),i}};function Me(r){return Object.prototype.toString.call(r)==="[object Object]"}var oe=class r extends f{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);let s=t.type===h.BINARY_EVENT;s||t.type===h.BINARY_ACK?(t.type=s?h.EVENT:h.ACK,this.reconstructor=new ce(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(D(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let t=0,s={type:Number(e.charAt(0))};if(h[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===h.BINARY_EVENT||s.type===h.BINARY_ACK){let n=t+1;for(;e.charAt(++t)!=="-"&&t!=e.length;);let o=e.substring(n,t);if(o!=Number(o)||e.charAt(t)!=="-")throw new Error("Illegal attachments");s.attachments=Number(o)}if(e.charAt(t+1)==="/"){let n=t+1;for(;++t&&!(e.charAt(t)===","||t===e.length););s.nsp=e.substring(n,t)}else s.nsp="/";let i=e.charAt(t+1);if(i!==""&&Number(i)==i){let n=t+1;for(;++t;){let o=e.charAt(t);if(o==null||Number(o)!=o){--t;break}if(t===e.length)break}s.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){let n=this.tryParse(e.substr(t));if(r.isPayloadValid(s.type,n))s.data=n;else throw new Error("invalid payload")}return s}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case h.CONNECT:return Me(t);case h.DISCONNECT:return t===void 0;case h.CONNECT_ERROR:return typeof t=="string"||Me(t);case h.EVENT:case h.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&at.indexOf(t[0])===-1);case h.ACK:case h.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}},ce=class{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){let t=Ve(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}};function l(r,e,t){return r.on(e,t),function(){r.off(e,t)}}var ht=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),A=class extends f{constructor(e,t,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[l(e,"open",this.onopen.bind(this)),l(e,"packet",this.onpacket.bind(this)),l(e,"error",this.onerror.bind(this)),l(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var s,i,n;if(ht.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let o={type:h.EVENT,data:t};if(o.options={},o.options.compress=this.flags.compress!==!1,typeof t[t.length-1]=="function"){let p=this.ids++,b=t.pop();this._registerAckCallback(p,b),o.id=p}let c=(i=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||i===void 0?void 0:i.writable,a=this.connected&&!(!((n=this.io.engine)===null||n===void 0)&&n._hasPingExpired());return this.flags.volatile&&!c||(a?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(e,t){var s;let i=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(i===void 0){this.acks[e]=t;return}let n=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===e&&this.sendBuffer.splice(c,1);t.call(this,new Error("operation has timed out"))},i),o=(...c)=>{this.io.clearTimeoutFn(n),t.apply(this,c)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((s,i)=>{let n=(o,c)=>o?i(o):s(c);n.withError=!0,t.push(n),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]=="function"&&(t=e.pop());let s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((i,...n)=>s!==this._queue[0]?void 0:(i!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(i)):(this._queue.shift(),t&&t(null,...n)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;let t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:h.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(s=>String(s.id)===e)){let s=this.acks[e];delete this.acks[e],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case h.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case h.EVENT:case h.BINARY_EVENT:this.onevent(e);break;case h.ACK:case h.BINARY_ACK:this.onack(e);break;case h.DISCONNECT:this.ondisconnect();break;case h.CONNECT_ERROR:this.destroy();let s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){let t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){let t=this._anyListeners.slice();for(let s of t)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,s=!1;return function(...i){s||(s=!0,t.packet({type:h.ACK,id:e,data:i}))}}onack(e){let t=this.acks[e.id];typeof t=="function"&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:h.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let s=0;s<t.length;s++)if(e===t[s])return t.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let t=this._anyOutgoingListeners.slice();for(let s of t)s.apply(this,e.data)}}};function E(r){r=r||{},this.ms=r.min||100,this.max=r.max||1e4,this.factor=r.factor||2,this.jitter=r.jitter>0&&r.jitter<=1?r.jitter:0,this.attempts=0}E.prototype.duration=function(){var r=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),t=Math.floor(e*this.jitter*r);r=Math.floor(e*10)&1?r+t:r-t}return Math.min(r,this.max)|0};E.prototype.reset=function(){this.attempts=0};E.prototype.setMin=function(r){this.ms=r};E.prototype.setMax=function(r){this.max=r};E.prototype.setJitter=function(r){this.jitter=r};var R=class extends f{constructor(e,t){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(t=e,e=void 0),t=t||{},t.path=t.path||"/socket.io",this.opts=t,g(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor((s=t.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new E({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState="closed",this.uri=e;let i=t.parser||ae;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)===null||t===void 0||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)===null||t===void 0||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)===null||t===void 0||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new T(this.uri,this.opts);let t=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;let i=l(t,"open",function(){s.onopen(),e&&e()}),n=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),e?e(c):this.maybeReconnectOnOpen()},o=l(t,"error",n);if(this._timeout!==!1){let c=this._timeout,a=this.setTimeoutFn(()=>{i(),n(new Error("timeout")),t.close()},c);this.opts.autoUnref&&a.unref(),this.subs.push(()=>{this.clearTimeoutFn(a)})}return this.subs.push(i),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(l(e,"ping",this.onping.bind(this)),l(e,"data",this.ondata.bind(this)),l(e,"error",this.onerror.bind(this)),l(e,"close",this.onclose.bind(this)),l(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(t){this.onclose("parse error",t)}}ondecoded(e){y(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new A(this,e,t),this.nsps[e]=s),s}_destroy(e){let t=Object.keys(this.nsps);for(let s of t)if(this.nsps[s].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let s=0;s<t.length;s++)this.engine.write(t[s],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(i=>{i?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",i)):e.onreconnect()}))},t);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}};var F={};function I(r,e){typeof r=="object"&&(e=r,r=void 0),e=e||{};let t=Fe(r,e.path||"/socket.io"),s=t.source,i=t.id,n=t.path,o=F[i]&&n in F[i].nsps,c=e.forceNew||e["force new connection"]||e.multiplex===!1||o,a;return c?a=new R(s,e):(F[i]||(F[i]=new R(s,e)),a=F[i]),t.query&&!e.query&&(e.query=t.queryKey),a.socket(t.path,e)}Object.assign(I,{Manager:R,Socket:A,io:I,connect:I});var cr=(()=>{class r{$auth=le(pe);namespaceConnectionCache={};connectToNamespace(t){if(this.namespaceConnectionCache[t]){let s=this.namespaceConnectionCache[t];return s.connected=new X,setTimeout(()=>{s.socket.connected&&s.connected.next(void 0)}),s.socket.on("connect",()=>{s.connected.next(void 0)}),s.end=()=>{s.socket.emit("end"),s.socket.removeAllListeners(),s.connected.complete()},this.namespaceConnectionCache[t]}else{let s=this.establishConnectionToNamespace(t);return s.connected=new X,s.socket.on("connect",()=>{s.connected.next(void 0)}),s.end=()=>{s.socket.emit("end"),s.socket.removeAllListeners(),s.connected.complete()},this.namespaceConnectionCache[t]=s,s}}getExistingNamespace(t){return this.namespaceConnectionCache[t]}establishConnectionToNamespace(t){let s=I(`${he.api.socket}/${t}`,{query:{token:this.$auth.token}});return{socket:s,request:(n,o)=>new fe(c=>{s.emit(n,o,a=>{typeof a=="object"&&a.error?c.error(a):c.next(a),c.complete()})})}}static \u0275fac=function(s){return new(s||r)};static \u0275prov=ue({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{cr as a};
@@ -1,4 +1,4 @@
1
- import{a as b}from"./chunk-CCUID66K.js";import{a as p,b as w}from"./chunk-BKUGARB4.js";import{a as d}from"./chunk-SK5UJRQU.js";import{M as i,g as o,ha as m,n,na as h}from"./chunk-TXOB7R5K.js";var c=o(p(),1),a=o(w(),1),l=o(b(),1);var v=(()=>{class t{$ws=h(d);term;io;fitAddon;webLinksAddon;resize;elementResize;destroyTerminal(){this.io.end(),this.term.dispose(),this.resize.complete(),this.elementResize&&this.elementResize.complete()}startTerminal(r,s={},f){this.elementResize=f,this.io=this.$ws.connectToNamespace("platform-tools/terminal"),this.term=new c.Terminal(s),setTimeout(()=>{this.term.loadAddon(this.fitAddon),this.term.loadAddon(this.webLinksAddon)}),this.fitAddon=new a.FitAddon,this.webLinksAddon=new l.WebLinksAddon,this.resize=new n,this.term.open(r.nativeElement),setTimeout(()=>{this.fitAddon.activate(this.term),this.fitAddon.fit()}),this.io.connected.pipe(i(200)).subscribe(()=>{this.startSession()}),this.io.socket.on("disconnect",()=>{this.term.write(`
1
+ import{a as b}from"./chunk-CCUID66K.js";import{a as p,b as w}from"./chunk-BKUGARB4.js";import{a as d}from"./chunk-XSDOEAMI.js";import{M as i,g as o,ha as m,n,na as h}from"./chunk-TXOB7R5K.js";var c=o(p(),1),a=o(w(),1),l=o(b(),1);var v=(()=>{class t{$ws=h(d);term;io;fitAddon;webLinksAddon;resize;elementResize;destroyTerminal(){this.io.end(),this.term.dispose(),this.resize.complete(),this.elementResize&&this.elementResize.complete()}startTerminal(r,s={},f){this.elementResize=f,this.io=this.$ws.connectToNamespace("platform-tools/terminal"),this.term=new c.Terminal(s),setTimeout(()=>{this.term.loadAddon(this.fitAddon),this.term.loadAddon(this.webLinksAddon)}),this.fitAddon=new a.FitAddon,this.webLinksAddon=new l.WebLinksAddon,this.resize=new n,this.term.open(r.nativeElement),setTimeout(()=>{this.fitAddon.activate(this.term),this.fitAddon.fit()}),this.io.connected.pipe(i(200)).subscribe(()=>{this.startSession()}),this.io.socket.on("disconnect",()=>{this.term.write(`
2
2
  \r
3
3
  \rTerminal disconnected. Is the server running?
4
4
  \r
@@ -1,4 +1,4 @@
1
- import{a as At,b as GF}from"./chunk-KHNBODZR.js";import{a as Is}from"./chunk-7EUQWCP5.js";import{a as Qu,b as Xu}from"./chunk-WNWWUCCZ.js";import{a as As,b as Qi}from"./chunk-6HR4EKFX.js";import{a as ws}from"./chunk-QE7DO6J3.js";import{a as ys,b as vs}from"./chunk-BKUGARB4.js";import{a as io}from"./chunk-WHJOLAED.js";import{a as xs}from"./chunk-JZZQRLNW.js";import{a as Bs}from"./chunk-KQJ7ONUG.js";import{a as an,b as sn,c as ln,d as dn,e as cn,f as pn,g as Ju,m as he,n as Re,o as Zu}from"./chunk-ORPWYWCL.js";import{a as Fs,b as Uu,c as Wu,e as Dt,f as Cs,h as hs,i as gs,k as Es,l as fu,m as bs,o as Gu,r as Dn,s as Ji,t as Zi,x as _s,y as wt,z as uo}from"./chunk-QHPDGSZ6.js";import{a as Ku}from"./chunk-SK5UJRQU.js";import{d as iu}from"./chunk-NZNNTHFQ.js";import{a as ms}from"./chunk-YP7JWH3J.js";import{b as ke}from"./chunk-V7D5U2P3.js";import{a as uu,b as oe,j as de}from"./chunk-WNVJPPO7.js";import{e as ps}from"./chunk-UG5DK2RQ.js";import{a as le,b as Ce}from"./chunk-3IX3CLER.js";import{$b as H,Aa as fs,Ac as to,Bc as y,Cc as B,D as us,Dc as ot,Eb as Xf,Fa as et,Ga as ns,Gb as Yf,Hc as cs,Ja as Jf,Kb as $,Lb as U,M as Wf,Mb as h,Nb as xt,Ob as zu,Pb as J,Qb as Ds,Rb as A,Tb as tt,Ub as ut,Vb as it,Wb as d,Xb as c,Yb as w,Zb as as,_ as eo,_b as ss,a as Q,ad as jt,b as ve,ba as Wi,bd as wu,cc as O,cd as ft,db as Fe,dc as C,e as F,g as Oe,ga as is,gb as rs,h as W,ha as Bt,hc as en,ia as Gf,ib as s,ic as tn,id as rn,jb as ce,jc as un,k as Xa,kc as fn,lc as nn,ma as Kf,mb as Zf,md as on,n as mt,na as S,nc as E,oc as z,pc as V,q as Ya,qc as Me,rb as K,rc as ls,sb as Qf,sc as Ie,tb as Lu,tc as Se,ub as os,uc as $e,v as es,vc as ds,w as ne,wa as Gi,wc as qe,x as ts,xa as N,xc as Ki,ya as q,yc as Hu,zc as xu}from"./chunk-TXOB7R5K.js";var $s=F((tN,Ss)=>{function JF(){this.__data__=[],this.size=0}Ss.exports=JF});var mn=F((uN,ks)=>{function ZF(e,u){return e===u||e!==e&&u!==u}ks.exports=ZF});var Xi=F((iN,Ts)=>{var QF=mn();function XF(e,u){for(var t=e.length;t--;)if(QF(e[t][0],u))return t;return-1}Ts.exports=XF});var Os=F((fN,Ps)=>{var YF=Xi(),eC=Array.prototype,tC=eC.splice;function uC(e){var u=this.__data__,t=YF(u,e);if(t<0)return!1;var i=u.length-1;return t==i?u.pop():tC.call(u,t,1),--this.size,!0}Ps.exports=uC});var js=F((nN,Ms)=>{var iC=Xi();function fC(e){var u=this.__data__,t=iC(u,e);return t<0?void 0:u[t][1]}Ms.exports=fC});var qs=F((rN,Ns)=>{var nC=Xi();function rC(e){return nC(this.__data__,e)>-1}Ns.exports=rC});var Rs=F((oN,Vs)=>{var oC=Xi();function DC(e,u){var t=this.__data__,i=oC(t,e);return i<0?(++this.size,t.push([e,u])):t[i][1]=u,this}Vs.exports=DC});var Yi=F((DN,Ls)=>{var aC=$s(),sC=Os(),lC=js(),dC=qs(),cC=Rs();function Yu(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var i=e[u];this.set(i[0],i[1])}}Yu.prototype.clear=aC;Yu.prototype.delete=sC;Yu.prototype.get=lC;Yu.prototype.has=dC;Yu.prototype.set=cC;Ls.exports=Yu});var Hs=F((aN,zs)=>{var pC=Yi();function mC(){this.__data__=new pC,this.size=0}zs.exports=mC});var Ws=F((sN,Us)=>{function FC(e){var u=this.__data__,t=u.delete(e);return this.size=u.size,t}Us.exports=FC});var Ks=F((lN,Gs)=>{function CC(e){return this.__data__.get(e)}Gs.exports=CC});var Zs=F((dN,Js)=>{function hC(e){return this.__data__.has(e)}Js.exports=hC});var fo=F((cN,Qs)=>{var gC=typeof global=="object"&&global&&global.Object===Object&&global;Qs.exports=gC});var It=F((pN,Xs)=>{var EC=fo(),bC=typeof self=="object"&&self&&self.Object===Object&&self,_C=EC||bC||Function("return this")();Xs.exports=_C});var ei=F((mN,Ys)=>{var yC=It(),vC=yC.Symbol;Ys.exports=vC});var i0=F((FN,u0)=>{var e0=ei(),t0=Object.prototype,BC=t0.hasOwnProperty,xC=t0.toString,ef=e0?e0.toStringTag:void 0;function wC(e){var u=BC.call(e,ef),t=e[ef];try{e[ef]=void 0;var i=!0}catch{}var f=xC.call(e);return i&&(u?e[ef]=t:delete e[ef]),f}u0.exports=wC});var n0=F((CN,f0)=>{var AC=Object.prototype,IC=AC.toString;function SC(e){return IC.call(e)}f0.exports=SC});var Au=F((hN,D0)=>{var r0=ei(),$C=i0(),kC=n0(),TC="[object Null]",PC="[object Undefined]",o0=r0?r0.toStringTag:void 0;function OC(e){return e==null?e===void 0?PC:TC:o0&&o0 in Object(e)?$C(e):kC(e)}D0.exports=OC});var Iu=F((gN,a0)=>{function MC(e){var u=typeof e;return e!=null&&(u=="object"||u=="function")}a0.exports=MC});var no=F((EN,s0)=>{var jC=Au(),NC=Iu(),qC="[object AsyncFunction]",VC="[object Function]",RC="[object GeneratorFunction]",LC="[object Proxy]";function zC(e){if(!NC(e))return!1;var u=jC(e);return u==VC||u==RC||u==qC||u==LC}s0.exports=zC});var d0=F((bN,l0)=>{var HC=It(),UC=HC["__core-js_shared__"];l0.exports=UC});var m0=F((_N,p0)=>{var ro=d0(),c0=function(){var e=/[^.]+$/.exec(ro&&ro.keys&&ro.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function WC(e){return!!c0&&c0 in e}p0.exports=WC});var oo=F((yN,F0)=>{var GC=Function.prototype,KC=GC.toString;function JC(e){if(e!=null){try{return KC.call(e)}catch{}try{return e+""}catch{}}return""}F0.exports=JC});var h0=F((vN,C0)=>{var ZC=no(),QC=m0(),XC=Iu(),YC=oo(),e4=/[\\^$.*+?()[\]{}|]/g,t4=/^\[object .+?Constructor\]$/,u4=Function.prototype,i4=Object.prototype,f4=u4.toString,n4=i4.hasOwnProperty,r4=RegExp("^"+f4.call(n4).replace(e4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function o4(e){if(!XC(e)||QC(e))return!1;var u=ZC(e)?r4:t4;return u.test(YC(e))}C0.exports=o4});var E0=F((BN,g0)=>{function D4(e,u){return e==null?void 0:e[u]}g0.exports=D4});var ru=F((xN,b0)=>{var a4=h0(),s4=E0();function l4(e,u){var t=s4(e,u);return a4(t)?t:void 0}b0.exports=l4});var Fn=F((wN,_0)=>{var d4=ru(),c4=It(),p4=d4(c4,"Map");_0.exports=p4});var tf=F((AN,y0)=>{var m4=ru(),F4=m4(Object,"create");y0.exports=F4});var x0=F((IN,B0)=>{var v0=tf();function C4(){this.__data__=v0?v0(null):{},this.size=0}B0.exports=C4});var A0=F((SN,w0)=>{function h4(e){var u=this.has(e)&&delete this.__data__[e];return this.size-=u?1:0,u}w0.exports=h4});var S0=F(($N,I0)=>{var g4=tf(),E4="__lodash_hash_undefined__",b4=Object.prototype,_4=b4.hasOwnProperty;function y4(e){var u=this.__data__;if(g4){var t=u[e];return t===E4?void 0:t}return _4.call(u,e)?u[e]:void 0}I0.exports=y4});var k0=F((kN,$0)=>{var v4=tf(),B4=Object.prototype,x4=B4.hasOwnProperty;function w4(e){var u=this.__data__;return v4?u[e]!==void 0:x4.call(u,e)}$0.exports=w4});var P0=F((TN,T0)=>{var A4=tf(),I4="__lodash_hash_undefined__";function S4(e,u){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=A4&&u===void 0?I4:u,this}T0.exports=S4});var M0=F((PN,O0)=>{var $4=x0(),k4=A0(),T4=S0(),P4=k0(),O4=P0();function ti(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var i=e[u];this.set(i[0],i[1])}}ti.prototype.clear=$4;ti.prototype.delete=k4;ti.prototype.get=T4;ti.prototype.has=P4;ti.prototype.set=O4;O0.exports=ti});var q0=F((ON,N0)=>{var j0=M0(),M4=Yi(),j4=Fn();function N4(){this.size=0,this.__data__={hash:new j0,map:new(j4||M4),string:new j0}}N0.exports=N4});var R0=F((MN,V0)=>{function q4(e){var u=typeof e;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?e!=="__proto__":e===null}V0.exports=q4});var uf=F((jN,L0)=>{var V4=R0();function R4(e,u){var t=e.__data__;return V4(u)?t[typeof u=="string"?"string":"hash"]:t.map}L0.exports=R4});var H0=F((NN,z0)=>{var L4=uf();function z4(e){var u=L4(this,e).delete(e);return this.size-=u?1:0,u}z0.exports=z4});var W0=F((qN,U0)=>{var H4=uf();function U4(e){return H4(this,e).get(e)}U0.exports=U4});var K0=F((VN,G0)=>{var W4=uf();function G4(e){return W4(this,e).has(e)}G0.exports=G4});var Z0=F((RN,J0)=>{var K4=uf();function J4(e,u){var t=K4(this,e),i=t.size;return t.set(e,u),this.size+=t.size==i?0:1,this}J0.exports=J4});var Cn=F((LN,Q0)=>{var Z4=q0(),Q4=H0(),X4=W0(),Y4=K0(),e5=Z0();function ui(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var i=e[u];this.set(i[0],i[1])}}ui.prototype.clear=Z4;ui.prototype.delete=Q4;ui.prototype.get=X4;ui.prototype.has=Y4;ui.prototype.set=e5;Q0.exports=ui});var Y0=F((zN,X0)=>{var t5=Yi(),u5=Fn(),i5=Cn(),f5=200;function n5(e,u){var t=this.__data__;if(t instanceof t5){var i=t.__data__;if(!u5||i.length<f5-1)return i.push([e,u]),this.size=++t.size,this;t=this.__data__=new i5(i)}return t.set(e,u),this.size=t.size,this}X0.exports=n5});var hn=F((HN,e1)=>{var r5=Yi(),o5=Hs(),D5=Ws(),a5=Ks(),s5=Zs(),l5=Y0();function ii(e){var u=this.__data__=new r5(e);this.size=u.size}ii.prototype.clear=o5;ii.prototype.delete=D5;ii.prototype.get=a5;ii.prototype.has=s5;ii.prototype.set=l5;e1.exports=ii});var u1=F((UN,t1)=>{function d5(e,u){for(var t=-1,i=e==null?0:e.length;++t<i&&u(e[t],t,e)!==!1;);return e}t1.exports=d5});var f1=F((WN,i1)=>{var c5=ru(),p5=function(){try{var e=c5(Object,"defineProperty");return e({},"",{}),e}catch{}}();i1.exports=p5});var Do=F((GN,r1)=>{var n1=f1();function m5(e,u,t){u=="__proto__"&&n1?n1(e,u,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[u]=t}r1.exports=m5});var ao=F((KN,o1)=>{var F5=Do(),C5=mn(),h5=Object.prototype,g5=h5.hasOwnProperty;function E5(e,u,t){var i=e[u];(!(g5.call(e,u)&&C5(i,t))||t===void 0&&!(u in e))&&F5(e,u,t)}o1.exports=E5});var ff=F((JN,D1)=>{var b5=ao(),_5=Do();function y5(e,u,t,i){var f=!t;t||(t={});for(var n=-1,r=u.length;++n<r;){var o=u[n],D=i?i(t[o],e[o],o,t,e):void 0;D===void 0&&(D=e[o]),f?_5(t,o,D):b5(t,o,D)}return t}D1.exports=y5});var s1=F((ZN,a1)=>{function v5(e,u){for(var t=-1,i=Array(e);++t<e;)i[t]=u(t);return i}a1.exports=v5});var Ht=F((QN,l1)=>{function B5(e){return e!=null&&typeof e=="object"}l1.exports=B5});var c1=F((XN,d1)=>{var x5=Au(),w5=Ht(),A5="[object Arguments]";function I5(e){return w5(e)&&x5(e)==A5}d1.exports=I5});var so=F((YN,F1)=>{var p1=c1(),S5=Ht(),m1=Object.prototype,$5=m1.hasOwnProperty,k5=m1.propertyIsEnumerable,T5=p1(function(){return arguments}())?p1:function(e){return S5(e)&&$5.call(e,"callee")&&!k5.call(e,"callee")};F1.exports=T5});var Ft=F((eq,C1)=>{var P5=Array.isArray;C1.exports=P5});var g1=F((tq,h1)=>{function O5(){return!1}h1.exports=O5});var gn=F((nf,fi)=>{var M5=It(),j5=g1(),_1=typeof nf=="object"&&nf&&!nf.nodeType&&nf,E1=_1&&typeof fi=="object"&&fi&&!fi.nodeType&&fi,N5=E1&&E1.exports===_1,b1=N5?M5.Buffer:void 0,q5=b1?b1.isBuffer:void 0,V5=q5||j5;fi.exports=V5});var lo=F((uq,y1)=>{var R5=9007199254740991,L5=/^(?:0|[1-9]\d*)$/;function z5(e,u){var t=typeof e;return u=u==null?R5:u,!!u&&(t=="number"||t!="symbol"&&L5.test(e))&&e>-1&&e%1==0&&e<u}y1.exports=z5});var En=F((iq,v1)=>{var H5=9007199254740991;function U5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=H5}v1.exports=U5});var x1=F((fq,B1)=>{var W5=Au(),G5=En(),K5=Ht(),J5="[object Arguments]",Z5="[object Array]",Q5="[object Boolean]",X5="[object Date]",Y5="[object Error]",eh="[object Function]",th="[object Map]",uh="[object Number]",ih="[object Object]",fh="[object RegExp]",nh="[object Set]",rh="[object String]",oh="[object WeakMap]",Dh="[object ArrayBuffer]",ah="[object DataView]",sh="[object Float32Array]",lh="[object Float64Array]",dh="[object Int8Array]",ch="[object Int16Array]",ph="[object Int32Array]",mh="[object Uint8Array]",Fh="[object Uint8ClampedArray]",Ch="[object Uint16Array]",hh="[object Uint32Array]",Be={};Be[sh]=Be[lh]=Be[dh]=Be[ch]=Be[ph]=Be[mh]=Be[Fh]=Be[Ch]=Be[hh]=!0;Be[J5]=Be[Z5]=Be[Dh]=Be[Q5]=Be[ah]=Be[X5]=Be[Y5]=Be[eh]=Be[th]=Be[uh]=Be[ih]=Be[fh]=Be[nh]=Be[rh]=Be[oh]=!1;function gh(e){return K5(e)&&G5(e.length)&&!!Be[W5(e)]}B1.exports=gh});var bn=F((nq,w1)=>{function Eh(e){return function(u){return e(u)}}w1.exports=Eh});var _n=F((rf,ni)=>{var bh=fo(),A1=typeof rf=="object"&&rf&&!rf.nodeType&&rf,of=A1&&typeof ni=="object"&&ni&&!ni.nodeType&&ni,_h=of&&of.exports===A1,co=_h&&bh.process,yh=function(){try{var e=of&&of.require&&of.require("util").types;return e||co&&co.binding&&co.binding("util")}catch{}}();ni.exports=yh});var po=F((rq,$1)=>{var vh=x1(),Bh=bn(),I1=_n(),S1=I1&&I1.isTypedArray,xh=S1?Bh(S1):vh;$1.exports=xh});var mo=F((oq,k1)=>{var wh=s1(),Ah=so(),Ih=Ft(),Sh=gn(),$h=lo(),kh=po(),Th=Object.prototype,Ph=Th.hasOwnProperty;function Oh(e,u){var t=Ih(e),i=!t&&Ah(e),f=!t&&!i&&Sh(e),n=!t&&!i&&!f&&kh(e),r=t||i||f||n,o=r?wh(e.length,String):[],D=o.length;for(var a in e)(u||Ph.call(e,a))&&!(r&&(a=="length"||f&&(a=="offset"||a=="parent")||n&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||$h(a,D)))&&o.push(a);return o}k1.exports=Oh});var yn=F((Dq,T1)=>{var Mh=Object.prototype;function jh(e){var u=e&&e.constructor,t=typeof u=="function"&&u.prototype||Mh;return e===t}T1.exports=jh});var Fo=F((aq,P1)=>{function Nh(e,u){return function(t){return e(u(t))}}P1.exports=Nh});var M1=F((sq,O1)=>{var qh=Fo(),Vh=qh(Object.keys,Object);O1.exports=Vh});var N1=F((lq,j1)=>{var Rh=yn(),Lh=M1(),zh=Object.prototype,Hh=zh.hasOwnProperty;function Uh(e){if(!Rh(e))return Lh(e);var u=[];for(var t in Object(e))Hh.call(e,t)&&t!="constructor"&&u.push(t);return u}j1.exports=Uh});var Df=F((dq,q1)=>{var Wh=no(),Gh=En();function Kh(e){return e!=null&&Gh(e.length)&&!Wh(e)}q1.exports=Kh});var ri=F((cq,V1)=>{var Jh=mo(),Zh=N1(),Qh=Df();function Xh(e){return Qh(e)?Jh(e):Zh(e)}V1.exports=Xh});var L1=F((pq,R1)=>{var Yh=ff(),eg=ri();function tg(e,u){return e&&Yh(u,eg(u),e)}R1.exports=tg});var H1=F((mq,z1)=>{function ug(e){var u=[];if(e!=null)for(var t in Object(e))u.push(t);return u}z1.exports=ug});var W1=F((Fq,U1)=>{var ig=Iu(),fg=yn(),ng=H1(),rg=Object.prototype,og=rg.hasOwnProperty;function Dg(e){if(!ig(e))return ng(e);var u=fg(e),t=[];for(var i in e)i=="constructor"&&(u||!og.call(e,i))||t.push(i);return t}U1.exports=Dg});var vn=F((Cq,G1)=>{var ag=mo(),sg=W1(),lg=Df();function dg(e){return lg(e)?ag(e,!0):sg(e)}G1.exports=dg});var J1=F((hq,K1)=>{var cg=ff(),pg=vn();function mg(e,u){return e&&cg(u,pg(u),e)}K1.exports=mg});var el=F((af,oi)=>{var Fg=It(),Y1=typeof af=="object"&&af&&!af.nodeType&&af,Z1=Y1&&typeof oi=="object"&&oi&&!oi.nodeType&&oi,Cg=Z1&&Z1.exports===Y1,Q1=Cg?Fg.Buffer:void 0,X1=Q1?Q1.allocUnsafe:void 0;function hg(e,u){if(u)return e.slice();var t=e.length,i=X1?X1(t):new e.constructor(t);return e.copy(i),i}oi.exports=hg});var ul=F((gq,tl)=>{function gg(e,u){var t=-1,i=e.length;for(u||(u=Array(i));++t<i;)u[t]=e[t];return u}tl.exports=gg});var Co=F((Eq,il)=>{function Eg(e,u){for(var t=-1,i=e==null?0:e.length,f=0,n=[];++t<i;){var r=e[t];u(r,t,e)&&(n[f++]=r)}return n}il.exports=Eg});var ho=F((bq,fl)=>{function bg(){return[]}fl.exports=bg});var Bn=F((_q,rl)=>{var _g=Co(),yg=ho(),vg=Object.prototype,Bg=vg.propertyIsEnumerable,nl=Object.getOwnPropertySymbols,xg=nl?function(e){return e==null?[]:(e=Object(e),_g(nl(e),function(u){return Bg.call(e,u)}))}:yg;rl.exports=xg});var Dl=F((yq,ol)=>{var wg=ff(),Ag=Bn();function Ig(e,u){return wg(e,Ag(e),u)}ol.exports=Ig});var go=F((vq,al)=>{function Sg(e,u){for(var t=-1,i=u.length,f=e.length;++t<i;)e[f+t]=u[t];return e}al.exports=Sg});var xn=F((Bq,sl)=>{var $g=Fo(),kg=$g(Object.getPrototypeOf,Object);sl.exports=kg});var Eo=F((xq,ll)=>{var Tg=go(),Pg=xn(),Og=Bn(),Mg=ho(),jg=Object.getOwnPropertySymbols,Ng=jg?function(e){for(var u=[];e;)Tg(u,Og(e)),e=Pg(e);return u}:Mg;ll.exports=Ng});var cl=F((wq,dl)=>{var qg=ff(),Vg=Eo();function Rg(e,u){return qg(e,Vg(e),u)}dl.exports=Rg});var bo=F((Aq,pl)=>{var Lg=go(),zg=Ft();function Hg(e,u,t){var i=u(e);return zg(e)?i:Lg(i,t(e))}pl.exports=Hg});var _o=F((Iq,ml)=>{var Ug=bo(),Wg=Bn(),Gg=ri();function Kg(e){return Ug(e,Gg,Wg)}ml.exports=Kg});var Cl=F((Sq,Fl)=>{var Jg=bo(),Zg=Eo(),Qg=vn();function Xg(e){return Jg(e,Qg,Zg)}Fl.exports=Xg});var gl=F(($q,hl)=>{var Yg=ru(),e6=It(),t6=Yg(e6,"DataView");hl.exports=t6});var bl=F((kq,El)=>{var u6=ru(),i6=It(),f6=u6(i6,"Promise");El.exports=f6});var yl=F((Tq,_l)=>{var n6=ru(),r6=It(),o6=n6(r6,"Set");_l.exports=o6});var Bl=F((Pq,vl)=>{var D6=ru(),a6=It(),s6=D6(a6,"WeakMap");vl.exports=s6});var sf=F((Oq,kl)=>{var yo=gl(),vo=Fn(),Bo=bl(),xo=yl(),wo=Bl(),$l=Au(),Di=oo(),xl="[object Map]",l6="[object Object]",wl="[object Promise]",Al="[object Set]",Il="[object WeakMap]",Sl="[object DataView]",d6=Di(yo),c6=Di(vo),p6=Di(Bo),m6=Di(xo),F6=Di(wo),Su=$l;(yo&&Su(new yo(new ArrayBuffer(1)))!=Sl||vo&&Su(new vo)!=xl||Bo&&Su(Bo.resolve())!=wl||xo&&Su(new xo)!=Al||wo&&Su(new wo)!=Il)&&(Su=function(e){var u=$l(e),t=u==l6?e.constructor:void 0,i=t?Di(t):"";if(i)switch(i){case d6:return Sl;case c6:return xl;case p6:return wl;case m6:return Al;case F6:return Il}return u});kl.exports=Su});var Pl=F((Mq,Tl)=>{var C6=Object.prototype,h6=C6.hasOwnProperty;function g6(e){var u=e.length,t=new e.constructor(u);return u&&typeof e[0]=="string"&&h6.call(e,"index")&&(t.index=e.index,t.input=e.input),t}Tl.exports=g6});var Ao=F((jq,Ol)=>{var E6=It(),b6=E6.Uint8Array;Ol.exports=b6});var wn=F((Nq,jl)=>{var Ml=Ao();function _6(e){var u=new e.constructor(e.byteLength);return new Ml(u).set(new Ml(e)),u}jl.exports=_6});var ql=F((qq,Nl)=>{var y6=wn();function v6(e,u){var t=u?y6(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}Nl.exports=v6});var Rl=F((Vq,Vl)=>{var B6=/\w*$/;function x6(e){var u=new e.constructor(e.source,B6.exec(e));return u.lastIndex=e.lastIndex,u}Vl.exports=x6});var Wl=F((Rq,Ul)=>{var Ll=ei(),zl=Ll?Ll.prototype:void 0,Hl=zl?zl.valueOf:void 0;function w6(e){return Hl?Object(Hl.call(e)):{}}Ul.exports=w6});var Kl=F((Lq,Gl)=>{var A6=wn();function I6(e,u){var t=u?A6(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}Gl.exports=I6});var Zl=F((zq,Jl)=>{var S6=wn(),$6=ql(),k6=Rl(),T6=Wl(),P6=Kl(),O6="[object Boolean]",M6="[object Date]",j6="[object Map]",N6="[object Number]",q6="[object RegExp]",V6="[object Set]",R6="[object String]",L6="[object Symbol]",z6="[object ArrayBuffer]",H6="[object DataView]",U6="[object Float32Array]",W6="[object Float64Array]",G6="[object Int8Array]",K6="[object Int16Array]",J6="[object Int32Array]",Z6="[object Uint8Array]",Q6="[object Uint8ClampedArray]",X6="[object Uint16Array]",Y6="[object Uint32Array]";function eE(e,u,t){var i=e.constructor;switch(u){case z6:return S6(e);case O6:case M6:return new i(+e);case H6:return $6(e,t);case U6:case W6:case G6:case K6:case J6:case Z6:case Q6:case X6:case Y6:return P6(e,t);case j6:return new i;case N6:case R6:return new i(e);case q6:return k6(e);case V6:return new i;case L6:return T6(e)}}Jl.exports=eE});var Yl=F((Hq,Xl)=>{var tE=Iu(),Ql=Object.create,uE=function(){function e(){}return function(u){if(!tE(u))return{};if(Ql)return Ql(u);e.prototype=u;var t=new e;return e.prototype=void 0,t}}();Xl.exports=uE});var t3=F((Uq,e3)=>{var iE=Yl(),fE=xn(),nE=yn();function rE(e){return typeof e.constructor=="function"&&!nE(e)?iE(fE(e)):{}}e3.exports=rE});var i3=F((Wq,u3)=>{var oE=sf(),DE=Ht(),aE="[object Map]";function sE(e){return DE(e)&&oE(e)==aE}u3.exports=sE});var o3=F((Gq,r3)=>{var lE=i3(),dE=bn(),f3=_n(),n3=f3&&f3.isMap,cE=n3?dE(n3):lE;r3.exports=cE});var a3=F((Kq,D3)=>{var pE=sf(),mE=Ht(),FE="[object Set]";function CE(e){return mE(e)&&pE(e)==FE}D3.exports=CE});var c3=F((Jq,d3)=>{var hE=a3(),gE=bn(),s3=_n(),l3=s3&&s3.isSet,EE=l3?gE(l3):hE;d3.exports=EE});var h3=F((Zq,C3)=>{var bE=hn(),_E=u1(),yE=ao(),vE=L1(),BE=J1(),xE=el(),wE=ul(),AE=Dl(),IE=cl(),SE=_o(),$E=Cl(),kE=sf(),TE=Pl(),PE=Zl(),OE=t3(),ME=Ft(),jE=gn(),NE=o3(),qE=Iu(),VE=c3(),RE=ri(),LE=vn(),zE=1,HE=2,UE=4,p3="[object Arguments]",WE="[object Array]",GE="[object Boolean]",KE="[object Date]",JE="[object Error]",m3="[object Function]",ZE="[object GeneratorFunction]",QE="[object Map]",XE="[object Number]",F3="[object Object]",YE="[object RegExp]",eb="[object Set]",tb="[object String]",ub="[object Symbol]",ib="[object WeakMap]",fb="[object ArrayBuffer]",nb="[object DataView]",rb="[object Float32Array]",ob="[object Float64Array]",Db="[object Int8Array]",ab="[object Int16Array]",sb="[object Int32Array]",lb="[object Uint8Array]",db="[object Uint8ClampedArray]",cb="[object Uint16Array]",pb="[object Uint32Array]",_e={};_e[p3]=_e[WE]=_e[fb]=_e[nb]=_e[GE]=_e[KE]=_e[rb]=_e[ob]=_e[Db]=_e[ab]=_e[sb]=_e[QE]=_e[XE]=_e[F3]=_e[YE]=_e[eb]=_e[tb]=_e[ub]=_e[lb]=_e[db]=_e[cb]=_e[pb]=!0;_e[JE]=_e[m3]=_e[ib]=!1;function An(e,u,t,i,f,n){var r,o=u&zE,D=u&HE,a=u&UE;if(t&&(r=f?t(e,i,f,n):t(e)),r!==void 0)return r;if(!qE(e))return e;var l=ME(e);if(l){if(r=TE(e),!o)return wE(e,r)}else{var m=kE(e),p=m==m3||m==ZE;if(jE(e))return xE(e,o);if(m==F3||m==p3||p&&!f){if(r=D||p?{}:OE(e),!o)return D?IE(e,BE(r,e)):AE(e,vE(r,e))}else{if(!_e[m])return f?e:{};r=PE(e,m,o)}}n||(n=new bE);var b=n.get(e);if(b)return b;n.set(e,r),VE(e)?e.forEach(function(v){r.add(An(v,u,t,v,e,n))}):NE(e)&&e.forEach(function(v,I){r.set(I,An(v,u,t,I,e,n))});var g=a?D?$E:SE:D?LE:RE,_=l?void 0:g(e);return _E(_||e,function(v,I){_&&(I=v,v=e[I]),yE(r,I,An(v,u,t,I,e,n))}),r}C3.exports=An});var E3=F((Qq,g3)=>{var mb=h3(),Fb=1,Cb=4;function hb(e){return mb(e,Fb|Cb)}g3.exports=hb});var _3=F((Xq,b3)=>{var gb="__lodash_hash_undefined__";function Eb(e){return this.__data__.set(e,gb),this}b3.exports=Eb});var v3=F((Yq,y3)=>{function bb(e){return this.__data__.has(e)}y3.exports=bb});var x3=F((eV,B3)=>{var _b=Cn(),yb=_3(),vb=v3();function In(e){var u=-1,t=e==null?0:e.length;for(this.__data__=new _b;++u<t;)this.add(e[u])}In.prototype.add=In.prototype.push=yb;In.prototype.has=vb;B3.exports=In});var A3=F((tV,w3)=>{function Bb(e,u){for(var t=-1,i=e==null?0:e.length;++t<i;)if(u(e[t],t,e))return!0;return!1}w3.exports=Bb});var S3=F((uV,I3)=>{function xb(e,u){return e.has(u)}I3.exports=xb});var Io=F((iV,$3)=>{var wb=x3(),Ab=A3(),Ib=S3(),Sb=1,$b=2;function kb(e,u,t,i,f,n){var r=t&Sb,o=e.length,D=u.length;if(o!=D&&!(r&&D>o))return!1;var a=n.get(e),l=n.get(u);if(a&&l)return a==u&&l==e;var m=-1,p=!0,b=t&$b?new wb:void 0;for(n.set(e,u),n.set(u,e);++m<o;){var g=e[m],_=u[m];if(i)var v=r?i(_,g,m,u,e,n):i(g,_,m,e,u,n);if(v!==void 0){if(v)continue;p=!1;break}if(b){if(!Ab(u,function(I,P){if(!Ib(b,P)&&(g===I||f(g,I,t,i,n)))return b.push(P)})){p=!1;break}}else if(!(g===_||f(g,_,t,i,n))){p=!1;break}}return n.delete(e),n.delete(u),p}$3.exports=kb});var T3=F((fV,k3)=>{function Tb(e){var u=-1,t=Array(e.size);return e.forEach(function(i,f){t[++u]=[f,i]}),t}k3.exports=Tb});var O3=F((nV,P3)=>{function Pb(e){var u=-1,t=Array(e.size);return e.forEach(function(i){t[++u]=i}),t}P3.exports=Pb});var V3=F((rV,q3)=>{var M3=ei(),j3=Ao(),Ob=mn(),Mb=Io(),jb=T3(),Nb=O3(),qb=1,Vb=2,Rb="[object Boolean]",Lb="[object Date]",zb="[object Error]",Hb="[object Map]",Ub="[object Number]",Wb="[object RegExp]",Gb="[object Set]",Kb="[object String]",Jb="[object Symbol]",Zb="[object ArrayBuffer]",Qb="[object DataView]",N3=M3?M3.prototype:void 0,So=N3?N3.valueOf:void 0;function Xb(e,u,t,i,f,n,r){switch(t){case Qb:if(e.byteLength!=u.byteLength||e.byteOffset!=u.byteOffset)return!1;e=e.buffer,u=u.buffer;case Zb:return!(e.byteLength!=u.byteLength||!n(new j3(e),new j3(u)));case Rb:case Lb:case Ub:return Ob(+e,+u);case zb:return e.name==u.name&&e.message==u.message;case Wb:case Kb:return e==u+"";case Hb:var o=jb;case Gb:var D=i&qb;if(o||(o=Nb),e.size!=u.size&&!D)return!1;var a=r.get(e);if(a)return a==u;i|=Vb,r.set(e,u);var l=Mb(o(e),o(u),i,f,n,r);return r.delete(e),l;case Jb:if(So)return So.call(e)==So.call(u)}return!1}q3.exports=Xb});var z3=F((oV,L3)=>{var R3=_o(),Yb=1,e_=Object.prototype,t_=e_.hasOwnProperty;function u_(e,u,t,i,f,n){var r=t&Yb,o=R3(e),D=o.length,a=R3(u),l=a.length;if(D!=l&&!r)return!1;for(var m=D;m--;){var p=o[m];if(!(r?p in u:t_.call(u,p)))return!1}var b=n.get(e),g=n.get(u);if(b&&g)return b==u&&g==e;var _=!0;n.set(e,u),n.set(u,e);for(var v=r;++m<D;){p=o[m];var I=e[p],P=u[p];if(i)var R=r?i(P,I,p,u,e,n):i(I,P,p,e,u,n);if(!(R===void 0?I===P||f(I,P,t,i,n):R)){_=!1;break}v||(v=p=="constructor")}if(_&&!v){var L=e.constructor,M=u.constructor;L!=M&&"constructor"in e&&"constructor"in u&&!(typeof L=="function"&&L instanceof L&&typeof M=="function"&&M instanceof M)&&(_=!1)}return n.delete(e),n.delete(u),_}L3.exports=u_});var Q3=F((DV,Z3)=>{var $o=hn(),i_=Io(),f_=V3(),n_=z3(),H3=sf(),U3=Ft(),W3=gn(),r_=po(),o_=1,G3="[object Arguments]",K3="[object Array]",Sn="[object Object]",D_=Object.prototype,J3=D_.hasOwnProperty;function a_(e,u,t,i,f,n){var r=U3(e),o=U3(u),D=r?K3:H3(e),a=o?K3:H3(u);D=D==G3?Sn:D,a=a==G3?Sn:a;var l=D==Sn,m=a==Sn,p=D==a;if(p&&W3(e)){if(!W3(u))return!1;r=!0,l=!1}if(p&&!l)return n||(n=new $o),r||r_(e)?i_(e,u,t,i,f,n):f_(e,u,D,t,i,f,n);if(!(t&o_)){var b=l&&J3.call(e,"__wrapped__"),g=m&&J3.call(u,"__wrapped__");if(b||g){var _=b?e.value():e,v=g?u.value():u;return n||(n=new $o),f(_,v,t,i,n)}}return p?(n||(n=new $o),n_(e,u,t,i,f,n)):!1}Z3.exports=a_});var $n=F((aV,ed)=>{var s_=Q3(),X3=Ht();function Y3(e,u,t,i,f){return e===u?!0:e==null||u==null||!X3(e)&&!X3(u)?e!==e&&u!==u:s_(e,u,t,i,Y3,f)}ed.exports=Y3});var ud=F((sV,td)=>{var l_=$n();function d_(e,u){return l_(e,u)}td.exports=d_});var cf=F(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.regexpCode=ae.getEsmExportName=ae.getProperty=ae.safeStringify=ae.stringify=ae.strConcat=ae.addCodeArg=ae.str=ae._=ae.nil=ae._Code=ae.Name=ae.IDENTIFIER=ae._CodeOrName=void 0;var lf=class{};ae._CodeOrName=lf;ae.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var $u=class extends lf{constructor(u){if(super(),!ae.IDENTIFIER.test(u))throw new Error("CodeGen: name must be a valid identifier");this.str=u}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};ae.Name=$u;var gt=class extends lf{constructor(u){super(),this._items=typeof u=="string"?[u]:u}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let u=this._items[0];return u===""||u==='""'}get str(){var u;return(u=this._str)!==null&&u!==void 0?u:this._str=this._items.reduce((t,i)=>`${t}${i}`,"")}get names(){var u;return(u=this._names)!==null&&u!==void 0?u:this._names=this._items.reduce((t,i)=>(i instanceof $u&&(t[i.str]=(t[i.str]||0)+1),t),{})}};ae._Code=gt;ae.nil=new gt("");function id(e,...u){let t=[e[0]],i=0;for(;i<u.length;)To(t,u[i]),t.push(e[++i]);return new gt(t)}ae._=id;var ko=new gt("+");function fd(e,...u){let t=[df(e[0])],i=0;for(;i<u.length;)t.push(ko),To(t,u[i]),t.push(ko,df(e[++i]));return c_(t),new gt(t)}ae.str=fd;function To(e,u){u instanceof gt?e.push(...u._items):u instanceof $u?e.push(u):e.push(F_(u))}ae.addCodeArg=To;function c_(e){let u=1;for(;u<e.length-1;){if(e[u]===ko){let t=p_(e[u-1],e[u+1]);if(t!==void 0){e.splice(u-1,3,t);continue}e[u++]="+"}u++}}function p_(e,u){if(u==='""')return e;if(e==='""')return u;if(typeof e=="string")return u instanceof $u||e[e.length-1]!=='"'?void 0:typeof u!="string"?`${e.slice(0,-1)}${u}"`:u[0]==='"'?e.slice(0,-1)+u.slice(1):void 0;if(typeof u=="string"&&u[0]==='"'&&!(e instanceof $u))return`"${e}${u.slice(1)}`}function m_(e,u){return u.emptyStr()?e:e.emptyStr()?u:fd`${e}${u}`}ae.strConcat=m_;function F_(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:df(Array.isArray(e)?e.join(","):e)}function C_(e){return new gt(df(e))}ae.stringify=C_;function df(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}ae.safeStringify=df;function h_(e){return typeof e=="string"&&ae.IDENTIFIER.test(e)?new gt(`.${e}`):id`[${e}]`}ae.getProperty=h_;function g_(e){if(typeof e=="string"&&ae.IDENTIFIER.test(e))return new gt(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}ae.getEsmExportName=g_;function E_(e){return new gt(e.toString())}ae.regexpCode=E_});var Mo=F(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.ValueScope=st.ValueScopeName=st.Scope=st.varKinds=st.UsedValueState=void 0;var at=cf(),Po=class extends Error{constructor(u){super(`CodeGen: "code" for ${u} not defined`),this.value=u.value}},kn=function(e){return e[e.Started=0]="Started",e[e.Completed=1]="Completed",e}(kn||(st.UsedValueState=kn={}));st.varKinds={const:new at.Name("const"),let:new at.Name("let"),var:new at.Name("var")};var Tn=class{constructor({prefixes:u,parent:t}={}){this._names={},this._prefixes=u,this._parent=t}toName(u){return u instanceof at.Name?u:this.name(u)}name(u){return new at.Name(this._newName(u))}_newName(u){let t=this._names[u]||this._nameGroup(u);return`${u}${t.index++}`}_nameGroup(u){var t,i;if(!((i=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||i===void 0)&&i.has(u)||this._prefixes&&!this._prefixes.has(u))throw new Error(`CodeGen: prefix "${u}" is not allowed in this scope`);return this._names[u]={prefix:u,index:0}}};st.Scope=Tn;var Pn=class extends at.Name{constructor(u,t){super(t),this.prefix=u}setValue(u,{property:t,itemIndex:i}){this.value=u,this.scopePath=(0,at._)`.${new at.Name(t)}[${i}]`}};st.ValueScopeName=Pn;var b_=(0,at._)`\n`,Oo=class extends Tn{constructor(u){super(u),this._values={},this._scope=u.scope,this.opts=ve(Q({},u),{_n:u.lines?b_:at.nil})}get(){return this._scope}name(u){return new Pn(u,this._newName(u))}value(u,t){var i;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let f=this.toName(u),{prefix:n}=f,r=(i=t.key)!==null&&i!==void 0?i:t.ref,o=this._values[n];if(o){let l=o.get(r);if(l)return l}else o=this._values[n]=new Map;o.set(r,f);let D=this._scope[n]||(this._scope[n]=[]),a=D.length;return D[a]=t.ref,f.setValue(t,{property:n,itemIndex:a}),f}getValue(u,t){let i=this._values[u];if(i)return i.get(t)}scopeRefs(u,t=this._values){return this._reduceValues(t,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return(0,at._)`${u}${i.scopePath}`})}scopeCode(u=this._values,t,i){return this._reduceValues(u,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},t,i)}_reduceValues(u,t,i={},f){let n=at.nil;for(let r in u){let o=u[r];if(!o)continue;let D=i[r]=i[r]||new Map;o.forEach(a=>{if(D.has(a))return;D.set(a,kn.Started);let l=t(a);if(l){let m=this.opts.es5?st.varKinds.var:st.varKinds.const;n=(0,at._)`${n}${m} ${a} = ${l};${this.opts._n}`}else if(l=f==null?void 0:f(a))n=(0,at._)`${n}${l}${this.opts._n}`;else throw new Po(a);D.set(a,kn.Completed)})}return n}};st.ValueScope=Oo});var ue=F(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.or=te.and=te.not=te.CodeGen=te.operators=te.varKinds=te.ValueScopeName=te.ValueScope=te.Scope=te.Name=te.regexpCode=te.stringify=te.getProperty=te.nil=te.strConcat=te.str=te._=void 0;var re=cf(),St=Mo(),ou=cf();Object.defineProperty(te,"_",{enumerable:!0,get:function(){return ou._}});Object.defineProperty(te,"str",{enumerable:!0,get:function(){return ou.str}});Object.defineProperty(te,"strConcat",{enumerable:!0,get:function(){return ou.strConcat}});Object.defineProperty(te,"nil",{enumerable:!0,get:function(){return ou.nil}});Object.defineProperty(te,"getProperty",{enumerable:!0,get:function(){return ou.getProperty}});Object.defineProperty(te,"stringify",{enumerable:!0,get:function(){return ou.stringify}});Object.defineProperty(te,"regexpCode",{enumerable:!0,get:function(){return ou.regexpCode}});Object.defineProperty(te,"Name",{enumerable:!0,get:function(){return ou.Name}});var qn=Mo();Object.defineProperty(te,"Scope",{enumerable:!0,get:function(){return qn.Scope}});Object.defineProperty(te,"ValueScope",{enumerable:!0,get:function(){return qn.ValueScope}});Object.defineProperty(te,"ValueScopeName",{enumerable:!0,get:function(){return qn.ValueScopeName}});Object.defineProperty(te,"varKinds",{enumerable:!0,get:function(){return qn.varKinds}});te.operators={GT:new re._Code(">"),GTE:new re._Code(">="),LT:new re._Code("<"),LTE:new re._Code("<="),EQ:new re._Code("==="),NEQ:new re._Code("!=="),NOT:new re._Code("!"),OR:new re._Code("||"),AND:new re._Code("&&"),ADD:new re._Code("+")};var Ut=class{optimizeNodes(){return this}optimizeNames(u,t){return this}},jo=class extends Ut{constructor(u,t,i){super(),this.varKind=u,this.name=t,this.rhs=i}render({es5:u,_n:t}){let i=u?St.varKinds.var:this.varKind,f=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${f};`+t}optimizeNames(u,t){if(u[this.name.str])return this.rhs&&(this.rhs=ai(this.rhs,u,t)),this}get names(){return this.rhs instanceof re._CodeOrName?this.rhs.names:{}}},Mn=class extends Ut{constructor(u,t,i){super(),this.lhs=u,this.rhs=t,this.sideEffects=i}render({_n:u}){return`${this.lhs} = ${this.rhs};`+u}optimizeNames(u,t){if(!(this.lhs instanceof re.Name&&!u[this.lhs.str]&&!this.sideEffects))return this.rhs=ai(this.rhs,u,t),this}get names(){let u=this.lhs instanceof re.Name?{}:Q({},this.lhs.names);return Nn(u,this.rhs)}},No=class extends Mn{constructor(u,t,i,f){super(u,i,f),this.op=t}render({_n:u}){return`${this.lhs} ${this.op}= ${this.rhs};`+u}},qo=class extends Ut{constructor(u){super(),this.label=u,this.names={}}render({_n:u}){return`${this.label}:`+u}},Vo=class extends Ut{constructor(u){super(),this.label=u,this.names={}}render({_n:u}){return`break${this.label?` ${this.label}`:""};`+u}},Ro=class extends Ut{constructor(u){super(),this.error=u}render({_n:u}){return`throw ${this.error};`+u}get names(){return this.error.names}},Lo=class extends Ut{constructor(u){super(),this.code=u}render({_n:u}){return`${this.code};`+u}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(u,t){return this.code=ai(this.code,u,t),this}get names(){return this.code instanceof re._CodeOrName?this.code.names:{}}},pf=class extends Ut{constructor(u=[]){super(),this.nodes=u}render(u){return this.nodes.reduce((t,i)=>t+i.render(u),"")}optimizeNodes(){let{nodes:u}=this,t=u.length;for(;t--;){let i=u[t].optimizeNodes();Array.isArray(i)?u.splice(t,1,...i):i?u[t]=i:u.splice(t,1)}return u.length>0?this:void 0}optimizeNames(u,t){let{nodes:i}=this,f=i.length;for(;f--;){let n=i[f];n.optimizeNames(u,t)||(__(u,n.names),i.splice(f,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((u,t)=>ku(u,t.names),{})}},Wt=class extends pf{render(u){return"{"+u._n+super.render(u)+"}"+u._n}},zo=class extends pf{},Ho=(()=>{class e extends Wt{}return e.kind="else",e})(),On=(()=>{class e extends Wt{constructor(t,i){super(i),this.condition=t}render(t){let i=`if(${this.condition})`+super.render(t);return this.else&&(i+="else "+this.else.render(t)),i}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let i=this.else;if(i){let f=i.optimizeNodes();i=this.else=Array.isArray(f)?new Ho(f):f}if(i)return t===!1?i instanceof e?i:i.nodes:this.nodes.length?this:new e(ad(t),i instanceof e?[i]:i.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,i){var f;if(this.else=(f=this.else)===null||f===void 0?void 0:f.optimizeNames(t,i),!!(super.optimizeNames(t,i)||this.else))return this.condition=ai(this.condition,t,i),this}get names(){let t=super.names;return Nn(t,this.condition),this.else&&ku(t,this.else.names),t}}return e.kind="if",e})(),Vn=(()=>{class e extends Wt{}return e.kind="for",e})(),Uo=class extends Vn{constructor(u){super(),this.iteration=u}render(u){return`for(${this.iteration})`+super.render(u)}optimizeNames(u,t){if(super.optimizeNames(u,t))return this.iteration=ai(this.iteration,u,t),this}get names(){return ku(super.names,this.iteration.names)}},Wo=class extends Vn{constructor(u,t,i,f){super(),this.varKind=u,this.name=t,this.from=i,this.to=f}render(u){let t=u.es5?St.varKinds.var:this.varKind,{name:i,from:f,to:n}=this;return`for(${t} ${i}=${f}; ${i}<${n}; ${i}++)`+super.render(u)}get names(){let u=Nn(super.names,this.from);return Nn(u,this.to)}},jn=class extends Vn{constructor(u,t,i,f){super(),this.loop=u,this.varKind=t,this.name=i,this.iterable=f}render(u){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(u)}optimizeNames(u,t){if(super.optimizeNames(u,t))return this.iterable=ai(this.iterable,u,t),this}get names(){return ku(super.names,this.iterable.names)}},nd=(()=>{class e extends Wt{constructor(t,i,f){super(),this.name=t,this.args=i,this.async=f}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}}return e.kind="func",e})(),rd=(()=>{class e extends pf{render(t){return"return "+super.render(t)}}return e.kind="return",e})(),Go=class extends Wt{render(u){let t="try"+super.render(u);return this.catch&&(t+=this.catch.render(u)),this.finally&&(t+=this.finally.render(u)),t}optimizeNodes(){var u,t;return super.optimizeNodes(),(u=this.catch)===null||u===void 0||u.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(u,t){var i,f;return super.optimizeNames(u,t),(i=this.catch)===null||i===void 0||i.optimizeNames(u,t),(f=this.finally)===null||f===void 0||f.optimizeNames(u,t),this}get names(){let u=super.names;return this.catch&&ku(u,this.catch.names),this.finally&&ku(u,this.finally.names),u}},od=(()=>{class e extends Wt{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}}return e.kind="catch",e})(),Dd=(()=>{class e extends Wt{render(t){return"finally"+super.render(t)}}return e.kind="finally",e})(),Ko=class{constructor(u,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts=ve(Q({},t),{_n:t.lines?`
1
+ import{a as At,b as GF}from"./chunk-GR5ZC55C.js";import{a as Is}from"./chunk-7EUQWCP5.js";import{a as Qu,b as Xu}from"./chunk-WNWWUCCZ.js";import{a as As,b as Qi}from"./chunk-M2ME37TX.js";import{a as ws}from"./chunk-QE7DO6J3.js";import{a as ys,b as vs}from"./chunk-BKUGARB4.js";import{a as io}from"./chunk-WHJOLAED.js";import{a as xs}from"./chunk-JZZQRLNW.js";import{a as Bs}from"./chunk-KQJ7ONUG.js";import{a as an,b as sn,c as ln,d as dn,e as cn,f as pn,g as Ju,m as he,n as Re,o as Zu}from"./chunk-ORPWYWCL.js";import{a as Fs,b as Uu,c as Wu,e as Dt,f as Cs,h as hs,i as gs,k as Es,l as fu,m as bs,o as Gu,r as Dn,s as Ji,t as Zi,x as _s,y as wt,z as uo}from"./chunk-QHPDGSZ6.js";import{a as Ku}from"./chunk-XSDOEAMI.js";import{d as iu}from"./chunk-NZNNTHFQ.js";import{a as ms}from"./chunk-MPLDW2J6.js";import{b as ke}from"./chunk-4YG6EOJW.js";import{a as uu,b as oe,j as de}from"./chunk-5ABRPQAO.js";import{e as ps}from"./chunk-UG5DK2RQ.js";import{a as le,b as Ce}from"./chunk-3IX3CLER.js";import{$b as H,Aa as fs,Ac as to,Bc as y,Cc as B,D as us,Dc as ot,Eb as Xf,Fa as et,Ga as ns,Gb as Yf,Hc as cs,Ja as Jf,Kb as $,Lb as U,M as Wf,Mb as h,Nb as xt,Ob as zu,Pb as J,Qb as Ds,Rb as A,Tb as tt,Ub as ut,Vb as it,Wb as d,Xb as c,Yb as w,Zb as as,_ as eo,_b as ss,a as Q,ad as jt,b as ve,ba as Wi,bd as wu,cc as O,cd as ft,db as Fe,dc as C,e as F,g as Oe,ga as is,gb as rs,h as W,ha as Bt,hc as en,ia as Gf,ib as s,ic as tn,id as rn,jb as ce,jc as un,k as Xa,kc as fn,lc as nn,ma as Kf,mb as Zf,md as on,n as mt,na as S,nc as E,oc as z,pc as V,q as Ya,qc as Me,rb as K,rc as ls,sb as Qf,sc as Ie,tb as Lu,tc as Se,ub as os,uc as $e,v as es,vc as ds,w as ne,wa as Gi,wc as qe,x as ts,xa as N,xc as Ki,ya as q,yc as Hu,zc as xu}from"./chunk-TXOB7R5K.js";var $s=F((tN,Ss)=>{function JF(){this.__data__=[],this.size=0}Ss.exports=JF});var mn=F((uN,ks)=>{function ZF(e,u){return e===u||e!==e&&u!==u}ks.exports=ZF});var Xi=F((iN,Ts)=>{var QF=mn();function XF(e,u){for(var t=e.length;t--;)if(QF(e[t][0],u))return t;return-1}Ts.exports=XF});var Os=F((fN,Ps)=>{var YF=Xi(),eC=Array.prototype,tC=eC.splice;function uC(e){var u=this.__data__,t=YF(u,e);if(t<0)return!1;var i=u.length-1;return t==i?u.pop():tC.call(u,t,1),--this.size,!0}Ps.exports=uC});var js=F((nN,Ms)=>{var iC=Xi();function fC(e){var u=this.__data__,t=iC(u,e);return t<0?void 0:u[t][1]}Ms.exports=fC});var qs=F((rN,Ns)=>{var nC=Xi();function rC(e){return nC(this.__data__,e)>-1}Ns.exports=rC});var Rs=F((oN,Vs)=>{var oC=Xi();function DC(e,u){var t=this.__data__,i=oC(t,e);return i<0?(++this.size,t.push([e,u])):t[i][1]=u,this}Vs.exports=DC});var Yi=F((DN,Ls)=>{var aC=$s(),sC=Os(),lC=js(),dC=qs(),cC=Rs();function Yu(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var i=e[u];this.set(i[0],i[1])}}Yu.prototype.clear=aC;Yu.prototype.delete=sC;Yu.prototype.get=lC;Yu.prototype.has=dC;Yu.prototype.set=cC;Ls.exports=Yu});var Hs=F((aN,zs)=>{var pC=Yi();function mC(){this.__data__=new pC,this.size=0}zs.exports=mC});var Ws=F((sN,Us)=>{function FC(e){var u=this.__data__,t=u.delete(e);return this.size=u.size,t}Us.exports=FC});var Ks=F((lN,Gs)=>{function CC(e){return this.__data__.get(e)}Gs.exports=CC});var Zs=F((dN,Js)=>{function hC(e){return this.__data__.has(e)}Js.exports=hC});var fo=F((cN,Qs)=>{var gC=typeof global=="object"&&global&&global.Object===Object&&global;Qs.exports=gC});var It=F((pN,Xs)=>{var EC=fo(),bC=typeof self=="object"&&self&&self.Object===Object&&self,_C=EC||bC||Function("return this")();Xs.exports=_C});var ei=F((mN,Ys)=>{var yC=It(),vC=yC.Symbol;Ys.exports=vC});var i0=F((FN,u0)=>{var e0=ei(),t0=Object.prototype,BC=t0.hasOwnProperty,xC=t0.toString,ef=e0?e0.toStringTag:void 0;function wC(e){var u=BC.call(e,ef),t=e[ef];try{e[ef]=void 0;var i=!0}catch{}var f=xC.call(e);return i&&(u?e[ef]=t:delete e[ef]),f}u0.exports=wC});var n0=F((CN,f0)=>{var AC=Object.prototype,IC=AC.toString;function SC(e){return IC.call(e)}f0.exports=SC});var Au=F((hN,D0)=>{var r0=ei(),$C=i0(),kC=n0(),TC="[object Null]",PC="[object Undefined]",o0=r0?r0.toStringTag:void 0;function OC(e){return e==null?e===void 0?PC:TC:o0&&o0 in Object(e)?$C(e):kC(e)}D0.exports=OC});var Iu=F((gN,a0)=>{function MC(e){var u=typeof e;return e!=null&&(u=="object"||u=="function")}a0.exports=MC});var no=F((EN,s0)=>{var jC=Au(),NC=Iu(),qC="[object AsyncFunction]",VC="[object Function]",RC="[object GeneratorFunction]",LC="[object Proxy]";function zC(e){if(!NC(e))return!1;var u=jC(e);return u==VC||u==RC||u==qC||u==LC}s0.exports=zC});var d0=F((bN,l0)=>{var HC=It(),UC=HC["__core-js_shared__"];l0.exports=UC});var m0=F((_N,p0)=>{var ro=d0(),c0=function(){var e=/[^.]+$/.exec(ro&&ro.keys&&ro.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function WC(e){return!!c0&&c0 in e}p0.exports=WC});var oo=F((yN,F0)=>{var GC=Function.prototype,KC=GC.toString;function JC(e){if(e!=null){try{return KC.call(e)}catch{}try{return e+""}catch{}}return""}F0.exports=JC});var h0=F((vN,C0)=>{var ZC=no(),QC=m0(),XC=Iu(),YC=oo(),e4=/[\\^$.*+?()[\]{}|]/g,t4=/^\[object .+?Constructor\]$/,u4=Function.prototype,i4=Object.prototype,f4=u4.toString,n4=i4.hasOwnProperty,r4=RegExp("^"+f4.call(n4).replace(e4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function o4(e){if(!XC(e)||QC(e))return!1;var u=ZC(e)?r4:t4;return u.test(YC(e))}C0.exports=o4});var E0=F((BN,g0)=>{function D4(e,u){return e==null?void 0:e[u]}g0.exports=D4});var ru=F((xN,b0)=>{var a4=h0(),s4=E0();function l4(e,u){var t=s4(e,u);return a4(t)?t:void 0}b0.exports=l4});var Fn=F((wN,_0)=>{var d4=ru(),c4=It(),p4=d4(c4,"Map");_0.exports=p4});var tf=F((AN,y0)=>{var m4=ru(),F4=m4(Object,"create");y0.exports=F4});var x0=F((IN,B0)=>{var v0=tf();function C4(){this.__data__=v0?v0(null):{},this.size=0}B0.exports=C4});var A0=F((SN,w0)=>{function h4(e){var u=this.has(e)&&delete this.__data__[e];return this.size-=u?1:0,u}w0.exports=h4});var S0=F(($N,I0)=>{var g4=tf(),E4="__lodash_hash_undefined__",b4=Object.prototype,_4=b4.hasOwnProperty;function y4(e){var u=this.__data__;if(g4){var t=u[e];return t===E4?void 0:t}return _4.call(u,e)?u[e]:void 0}I0.exports=y4});var k0=F((kN,$0)=>{var v4=tf(),B4=Object.prototype,x4=B4.hasOwnProperty;function w4(e){var u=this.__data__;return v4?u[e]!==void 0:x4.call(u,e)}$0.exports=w4});var P0=F((TN,T0)=>{var A4=tf(),I4="__lodash_hash_undefined__";function S4(e,u){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=A4&&u===void 0?I4:u,this}T0.exports=S4});var M0=F((PN,O0)=>{var $4=x0(),k4=A0(),T4=S0(),P4=k0(),O4=P0();function ti(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var i=e[u];this.set(i[0],i[1])}}ti.prototype.clear=$4;ti.prototype.delete=k4;ti.prototype.get=T4;ti.prototype.has=P4;ti.prototype.set=O4;O0.exports=ti});var q0=F((ON,N0)=>{var j0=M0(),M4=Yi(),j4=Fn();function N4(){this.size=0,this.__data__={hash:new j0,map:new(j4||M4),string:new j0}}N0.exports=N4});var R0=F((MN,V0)=>{function q4(e){var u=typeof e;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?e!=="__proto__":e===null}V0.exports=q4});var uf=F((jN,L0)=>{var V4=R0();function R4(e,u){var t=e.__data__;return V4(u)?t[typeof u=="string"?"string":"hash"]:t.map}L0.exports=R4});var H0=F((NN,z0)=>{var L4=uf();function z4(e){var u=L4(this,e).delete(e);return this.size-=u?1:0,u}z0.exports=z4});var W0=F((qN,U0)=>{var H4=uf();function U4(e){return H4(this,e).get(e)}U0.exports=U4});var K0=F((VN,G0)=>{var W4=uf();function G4(e){return W4(this,e).has(e)}G0.exports=G4});var Z0=F((RN,J0)=>{var K4=uf();function J4(e,u){var t=K4(this,e),i=t.size;return t.set(e,u),this.size+=t.size==i?0:1,this}J0.exports=J4});var Cn=F((LN,Q0)=>{var Z4=q0(),Q4=H0(),X4=W0(),Y4=K0(),e5=Z0();function ui(e){var u=-1,t=e==null?0:e.length;for(this.clear();++u<t;){var i=e[u];this.set(i[0],i[1])}}ui.prototype.clear=Z4;ui.prototype.delete=Q4;ui.prototype.get=X4;ui.prototype.has=Y4;ui.prototype.set=e5;Q0.exports=ui});var Y0=F((zN,X0)=>{var t5=Yi(),u5=Fn(),i5=Cn(),f5=200;function n5(e,u){var t=this.__data__;if(t instanceof t5){var i=t.__data__;if(!u5||i.length<f5-1)return i.push([e,u]),this.size=++t.size,this;t=this.__data__=new i5(i)}return t.set(e,u),this.size=t.size,this}X0.exports=n5});var hn=F((HN,e1)=>{var r5=Yi(),o5=Hs(),D5=Ws(),a5=Ks(),s5=Zs(),l5=Y0();function ii(e){var u=this.__data__=new r5(e);this.size=u.size}ii.prototype.clear=o5;ii.prototype.delete=D5;ii.prototype.get=a5;ii.prototype.has=s5;ii.prototype.set=l5;e1.exports=ii});var u1=F((UN,t1)=>{function d5(e,u){for(var t=-1,i=e==null?0:e.length;++t<i&&u(e[t],t,e)!==!1;);return e}t1.exports=d5});var f1=F((WN,i1)=>{var c5=ru(),p5=function(){try{var e=c5(Object,"defineProperty");return e({},"",{}),e}catch{}}();i1.exports=p5});var Do=F((GN,r1)=>{var n1=f1();function m5(e,u,t){u=="__proto__"&&n1?n1(e,u,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[u]=t}r1.exports=m5});var ao=F((KN,o1)=>{var F5=Do(),C5=mn(),h5=Object.prototype,g5=h5.hasOwnProperty;function E5(e,u,t){var i=e[u];(!(g5.call(e,u)&&C5(i,t))||t===void 0&&!(u in e))&&F5(e,u,t)}o1.exports=E5});var ff=F((JN,D1)=>{var b5=ao(),_5=Do();function y5(e,u,t,i){var f=!t;t||(t={});for(var n=-1,r=u.length;++n<r;){var o=u[n],D=i?i(t[o],e[o],o,t,e):void 0;D===void 0&&(D=e[o]),f?_5(t,o,D):b5(t,o,D)}return t}D1.exports=y5});var s1=F((ZN,a1)=>{function v5(e,u){for(var t=-1,i=Array(e);++t<e;)i[t]=u(t);return i}a1.exports=v5});var Ht=F((QN,l1)=>{function B5(e){return e!=null&&typeof e=="object"}l1.exports=B5});var c1=F((XN,d1)=>{var x5=Au(),w5=Ht(),A5="[object Arguments]";function I5(e){return w5(e)&&x5(e)==A5}d1.exports=I5});var so=F((YN,F1)=>{var p1=c1(),S5=Ht(),m1=Object.prototype,$5=m1.hasOwnProperty,k5=m1.propertyIsEnumerable,T5=p1(function(){return arguments}())?p1:function(e){return S5(e)&&$5.call(e,"callee")&&!k5.call(e,"callee")};F1.exports=T5});var Ft=F((eq,C1)=>{var P5=Array.isArray;C1.exports=P5});var g1=F((tq,h1)=>{function O5(){return!1}h1.exports=O5});var gn=F((nf,fi)=>{var M5=It(),j5=g1(),_1=typeof nf=="object"&&nf&&!nf.nodeType&&nf,E1=_1&&typeof fi=="object"&&fi&&!fi.nodeType&&fi,N5=E1&&E1.exports===_1,b1=N5?M5.Buffer:void 0,q5=b1?b1.isBuffer:void 0,V5=q5||j5;fi.exports=V5});var lo=F((uq,y1)=>{var R5=9007199254740991,L5=/^(?:0|[1-9]\d*)$/;function z5(e,u){var t=typeof e;return u=u==null?R5:u,!!u&&(t=="number"||t!="symbol"&&L5.test(e))&&e>-1&&e%1==0&&e<u}y1.exports=z5});var En=F((iq,v1)=>{var H5=9007199254740991;function U5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=H5}v1.exports=U5});var x1=F((fq,B1)=>{var W5=Au(),G5=En(),K5=Ht(),J5="[object Arguments]",Z5="[object Array]",Q5="[object Boolean]",X5="[object Date]",Y5="[object Error]",eh="[object Function]",th="[object Map]",uh="[object Number]",ih="[object Object]",fh="[object RegExp]",nh="[object Set]",rh="[object String]",oh="[object WeakMap]",Dh="[object ArrayBuffer]",ah="[object DataView]",sh="[object Float32Array]",lh="[object Float64Array]",dh="[object Int8Array]",ch="[object Int16Array]",ph="[object Int32Array]",mh="[object Uint8Array]",Fh="[object Uint8ClampedArray]",Ch="[object Uint16Array]",hh="[object Uint32Array]",Be={};Be[sh]=Be[lh]=Be[dh]=Be[ch]=Be[ph]=Be[mh]=Be[Fh]=Be[Ch]=Be[hh]=!0;Be[J5]=Be[Z5]=Be[Dh]=Be[Q5]=Be[ah]=Be[X5]=Be[Y5]=Be[eh]=Be[th]=Be[uh]=Be[ih]=Be[fh]=Be[nh]=Be[rh]=Be[oh]=!1;function gh(e){return K5(e)&&G5(e.length)&&!!Be[W5(e)]}B1.exports=gh});var bn=F((nq,w1)=>{function Eh(e){return function(u){return e(u)}}w1.exports=Eh});var _n=F((rf,ni)=>{var bh=fo(),A1=typeof rf=="object"&&rf&&!rf.nodeType&&rf,of=A1&&typeof ni=="object"&&ni&&!ni.nodeType&&ni,_h=of&&of.exports===A1,co=_h&&bh.process,yh=function(){try{var e=of&&of.require&&of.require("util").types;return e||co&&co.binding&&co.binding("util")}catch{}}();ni.exports=yh});var po=F((rq,$1)=>{var vh=x1(),Bh=bn(),I1=_n(),S1=I1&&I1.isTypedArray,xh=S1?Bh(S1):vh;$1.exports=xh});var mo=F((oq,k1)=>{var wh=s1(),Ah=so(),Ih=Ft(),Sh=gn(),$h=lo(),kh=po(),Th=Object.prototype,Ph=Th.hasOwnProperty;function Oh(e,u){var t=Ih(e),i=!t&&Ah(e),f=!t&&!i&&Sh(e),n=!t&&!i&&!f&&kh(e),r=t||i||f||n,o=r?wh(e.length,String):[],D=o.length;for(var a in e)(u||Ph.call(e,a))&&!(r&&(a=="length"||f&&(a=="offset"||a=="parent")||n&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||$h(a,D)))&&o.push(a);return o}k1.exports=Oh});var yn=F((Dq,T1)=>{var Mh=Object.prototype;function jh(e){var u=e&&e.constructor,t=typeof u=="function"&&u.prototype||Mh;return e===t}T1.exports=jh});var Fo=F((aq,P1)=>{function Nh(e,u){return function(t){return e(u(t))}}P1.exports=Nh});var M1=F((sq,O1)=>{var qh=Fo(),Vh=qh(Object.keys,Object);O1.exports=Vh});var N1=F((lq,j1)=>{var Rh=yn(),Lh=M1(),zh=Object.prototype,Hh=zh.hasOwnProperty;function Uh(e){if(!Rh(e))return Lh(e);var u=[];for(var t in Object(e))Hh.call(e,t)&&t!="constructor"&&u.push(t);return u}j1.exports=Uh});var Df=F((dq,q1)=>{var Wh=no(),Gh=En();function Kh(e){return e!=null&&Gh(e.length)&&!Wh(e)}q1.exports=Kh});var ri=F((cq,V1)=>{var Jh=mo(),Zh=N1(),Qh=Df();function Xh(e){return Qh(e)?Jh(e):Zh(e)}V1.exports=Xh});var L1=F((pq,R1)=>{var Yh=ff(),eg=ri();function tg(e,u){return e&&Yh(u,eg(u),e)}R1.exports=tg});var H1=F((mq,z1)=>{function ug(e){var u=[];if(e!=null)for(var t in Object(e))u.push(t);return u}z1.exports=ug});var W1=F((Fq,U1)=>{var ig=Iu(),fg=yn(),ng=H1(),rg=Object.prototype,og=rg.hasOwnProperty;function Dg(e){if(!ig(e))return ng(e);var u=fg(e),t=[];for(var i in e)i=="constructor"&&(u||!og.call(e,i))||t.push(i);return t}U1.exports=Dg});var vn=F((Cq,G1)=>{var ag=mo(),sg=W1(),lg=Df();function dg(e){return lg(e)?ag(e,!0):sg(e)}G1.exports=dg});var J1=F((hq,K1)=>{var cg=ff(),pg=vn();function mg(e,u){return e&&cg(u,pg(u),e)}K1.exports=mg});var el=F((af,oi)=>{var Fg=It(),Y1=typeof af=="object"&&af&&!af.nodeType&&af,Z1=Y1&&typeof oi=="object"&&oi&&!oi.nodeType&&oi,Cg=Z1&&Z1.exports===Y1,Q1=Cg?Fg.Buffer:void 0,X1=Q1?Q1.allocUnsafe:void 0;function hg(e,u){if(u)return e.slice();var t=e.length,i=X1?X1(t):new e.constructor(t);return e.copy(i),i}oi.exports=hg});var ul=F((gq,tl)=>{function gg(e,u){var t=-1,i=e.length;for(u||(u=Array(i));++t<i;)u[t]=e[t];return u}tl.exports=gg});var Co=F((Eq,il)=>{function Eg(e,u){for(var t=-1,i=e==null?0:e.length,f=0,n=[];++t<i;){var r=e[t];u(r,t,e)&&(n[f++]=r)}return n}il.exports=Eg});var ho=F((bq,fl)=>{function bg(){return[]}fl.exports=bg});var Bn=F((_q,rl)=>{var _g=Co(),yg=ho(),vg=Object.prototype,Bg=vg.propertyIsEnumerable,nl=Object.getOwnPropertySymbols,xg=nl?function(e){return e==null?[]:(e=Object(e),_g(nl(e),function(u){return Bg.call(e,u)}))}:yg;rl.exports=xg});var Dl=F((yq,ol)=>{var wg=ff(),Ag=Bn();function Ig(e,u){return wg(e,Ag(e),u)}ol.exports=Ig});var go=F((vq,al)=>{function Sg(e,u){for(var t=-1,i=u.length,f=e.length;++t<i;)e[f+t]=u[t];return e}al.exports=Sg});var xn=F((Bq,sl)=>{var $g=Fo(),kg=$g(Object.getPrototypeOf,Object);sl.exports=kg});var Eo=F((xq,ll)=>{var Tg=go(),Pg=xn(),Og=Bn(),Mg=ho(),jg=Object.getOwnPropertySymbols,Ng=jg?function(e){for(var u=[];e;)Tg(u,Og(e)),e=Pg(e);return u}:Mg;ll.exports=Ng});var cl=F((wq,dl)=>{var qg=ff(),Vg=Eo();function Rg(e,u){return qg(e,Vg(e),u)}dl.exports=Rg});var bo=F((Aq,pl)=>{var Lg=go(),zg=Ft();function Hg(e,u,t){var i=u(e);return zg(e)?i:Lg(i,t(e))}pl.exports=Hg});var _o=F((Iq,ml)=>{var Ug=bo(),Wg=Bn(),Gg=ri();function Kg(e){return Ug(e,Gg,Wg)}ml.exports=Kg});var Cl=F((Sq,Fl)=>{var Jg=bo(),Zg=Eo(),Qg=vn();function Xg(e){return Jg(e,Qg,Zg)}Fl.exports=Xg});var gl=F(($q,hl)=>{var Yg=ru(),e6=It(),t6=Yg(e6,"DataView");hl.exports=t6});var bl=F((kq,El)=>{var u6=ru(),i6=It(),f6=u6(i6,"Promise");El.exports=f6});var yl=F((Tq,_l)=>{var n6=ru(),r6=It(),o6=n6(r6,"Set");_l.exports=o6});var Bl=F((Pq,vl)=>{var D6=ru(),a6=It(),s6=D6(a6,"WeakMap");vl.exports=s6});var sf=F((Oq,kl)=>{var yo=gl(),vo=Fn(),Bo=bl(),xo=yl(),wo=Bl(),$l=Au(),Di=oo(),xl="[object Map]",l6="[object Object]",wl="[object Promise]",Al="[object Set]",Il="[object WeakMap]",Sl="[object DataView]",d6=Di(yo),c6=Di(vo),p6=Di(Bo),m6=Di(xo),F6=Di(wo),Su=$l;(yo&&Su(new yo(new ArrayBuffer(1)))!=Sl||vo&&Su(new vo)!=xl||Bo&&Su(Bo.resolve())!=wl||xo&&Su(new xo)!=Al||wo&&Su(new wo)!=Il)&&(Su=function(e){var u=$l(e),t=u==l6?e.constructor:void 0,i=t?Di(t):"";if(i)switch(i){case d6:return Sl;case c6:return xl;case p6:return wl;case m6:return Al;case F6:return Il}return u});kl.exports=Su});var Pl=F((Mq,Tl)=>{var C6=Object.prototype,h6=C6.hasOwnProperty;function g6(e){var u=e.length,t=new e.constructor(u);return u&&typeof e[0]=="string"&&h6.call(e,"index")&&(t.index=e.index,t.input=e.input),t}Tl.exports=g6});var Ao=F((jq,Ol)=>{var E6=It(),b6=E6.Uint8Array;Ol.exports=b6});var wn=F((Nq,jl)=>{var Ml=Ao();function _6(e){var u=new e.constructor(e.byteLength);return new Ml(u).set(new Ml(e)),u}jl.exports=_6});var ql=F((qq,Nl)=>{var y6=wn();function v6(e,u){var t=u?y6(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}Nl.exports=v6});var Rl=F((Vq,Vl)=>{var B6=/\w*$/;function x6(e){var u=new e.constructor(e.source,B6.exec(e));return u.lastIndex=e.lastIndex,u}Vl.exports=x6});var Wl=F((Rq,Ul)=>{var Ll=ei(),zl=Ll?Ll.prototype:void 0,Hl=zl?zl.valueOf:void 0;function w6(e){return Hl?Object(Hl.call(e)):{}}Ul.exports=w6});var Kl=F((Lq,Gl)=>{var A6=wn();function I6(e,u){var t=u?A6(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}Gl.exports=I6});var Zl=F((zq,Jl)=>{var S6=wn(),$6=ql(),k6=Rl(),T6=Wl(),P6=Kl(),O6="[object Boolean]",M6="[object Date]",j6="[object Map]",N6="[object Number]",q6="[object RegExp]",V6="[object Set]",R6="[object String]",L6="[object Symbol]",z6="[object ArrayBuffer]",H6="[object DataView]",U6="[object Float32Array]",W6="[object Float64Array]",G6="[object Int8Array]",K6="[object Int16Array]",J6="[object Int32Array]",Z6="[object Uint8Array]",Q6="[object Uint8ClampedArray]",X6="[object Uint16Array]",Y6="[object Uint32Array]";function eE(e,u,t){var i=e.constructor;switch(u){case z6:return S6(e);case O6:case M6:return new i(+e);case H6:return $6(e,t);case U6:case W6:case G6:case K6:case J6:case Z6:case Q6:case X6:case Y6:return P6(e,t);case j6:return new i;case N6:case R6:return new i(e);case q6:return k6(e);case V6:return new i;case L6:return T6(e)}}Jl.exports=eE});var Yl=F((Hq,Xl)=>{var tE=Iu(),Ql=Object.create,uE=function(){function e(){}return function(u){if(!tE(u))return{};if(Ql)return Ql(u);e.prototype=u;var t=new e;return e.prototype=void 0,t}}();Xl.exports=uE});var t3=F((Uq,e3)=>{var iE=Yl(),fE=xn(),nE=yn();function rE(e){return typeof e.constructor=="function"&&!nE(e)?iE(fE(e)):{}}e3.exports=rE});var i3=F((Wq,u3)=>{var oE=sf(),DE=Ht(),aE="[object Map]";function sE(e){return DE(e)&&oE(e)==aE}u3.exports=sE});var o3=F((Gq,r3)=>{var lE=i3(),dE=bn(),f3=_n(),n3=f3&&f3.isMap,cE=n3?dE(n3):lE;r3.exports=cE});var a3=F((Kq,D3)=>{var pE=sf(),mE=Ht(),FE="[object Set]";function CE(e){return mE(e)&&pE(e)==FE}D3.exports=CE});var c3=F((Jq,d3)=>{var hE=a3(),gE=bn(),s3=_n(),l3=s3&&s3.isSet,EE=l3?gE(l3):hE;d3.exports=EE});var h3=F((Zq,C3)=>{var bE=hn(),_E=u1(),yE=ao(),vE=L1(),BE=J1(),xE=el(),wE=ul(),AE=Dl(),IE=cl(),SE=_o(),$E=Cl(),kE=sf(),TE=Pl(),PE=Zl(),OE=t3(),ME=Ft(),jE=gn(),NE=o3(),qE=Iu(),VE=c3(),RE=ri(),LE=vn(),zE=1,HE=2,UE=4,p3="[object Arguments]",WE="[object Array]",GE="[object Boolean]",KE="[object Date]",JE="[object Error]",m3="[object Function]",ZE="[object GeneratorFunction]",QE="[object Map]",XE="[object Number]",F3="[object Object]",YE="[object RegExp]",eb="[object Set]",tb="[object String]",ub="[object Symbol]",ib="[object WeakMap]",fb="[object ArrayBuffer]",nb="[object DataView]",rb="[object Float32Array]",ob="[object Float64Array]",Db="[object Int8Array]",ab="[object Int16Array]",sb="[object Int32Array]",lb="[object Uint8Array]",db="[object Uint8ClampedArray]",cb="[object Uint16Array]",pb="[object Uint32Array]",_e={};_e[p3]=_e[WE]=_e[fb]=_e[nb]=_e[GE]=_e[KE]=_e[rb]=_e[ob]=_e[Db]=_e[ab]=_e[sb]=_e[QE]=_e[XE]=_e[F3]=_e[YE]=_e[eb]=_e[tb]=_e[ub]=_e[lb]=_e[db]=_e[cb]=_e[pb]=!0;_e[JE]=_e[m3]=_e[ib]=!1;function An(e,u,t,i,f,n){var r,o=u&zE,D=u&HE,a=u&UE;if(t&&(r=f?t(e,i,f,n):t(e)),r!==void 0)return r;if(!qE(e))return e;var l=ME(e);if(l){if(r=TE(e),!o)return wE(e,r)}else{var m=kE(e),p=m==m3||m==ZE;if(jE(e))return xE(e,o);if(m==F3||m==p3||p&&!f){if(r=D||p?{}:OE(e),!o)return D?IE(e,BE(r,e)):AE(e,vE(r,e))}else{if(!_e[m])return f?e:{};r=PE(e,m,o)}}n||(n=new bE);var b=n.get(e);if(b)return b;n.set(e,r),VE(e)?e.forEach(function(v){r.add(An(v,u,t,v,e,n))}):NE(e)&&e.forEach(function(v,I){r.set(I,An(v,u,t,I,e,n))});var g=a?D?$E:SE:D?LE:RE,_=l?void 0:g(e);return _E(_||e,function(v,I){_&&(I=v,v=e[I]),yE(r,I,An(v,u,t,I,e,n))}),r}C3.exports=An});var E3=F((Qq,g3)=>{var mb=h3(),Fb=1,Cb=4;function hb(e){return mb(e,Fb|Cb)}g3.exports=hb});var _3=F((Xq,b3)=>{var gb="__lodash_hash_undefined__";function Eb(e){return this.__data__.set(e,gb),this}b3.exports=Eb});var v3=F((Yq,y3)=>{function bb(e){return this.__data__.has(e)}y3.exports=bb});var x3=F((eV,B3)=>{var _b=Cn(),yb=_3(),vb=v3();function In(e){var u=-1,t=e==null?0:e.length;for(this.__data__=new _b;++u<t;)this.add(e[u])}In.prototype.add=In.prototype.push=yb;In.prototype.has=vb;B3.exports=In});var A3=F((tV,w3)=>{function Bb(e,u){for(var t=-1,i=e==null?0:e.length;++t<i;)if(u(e[t],t,e))return!0;return!1}w3.exports=Bb});var S3=F((uV,I3)=>{function xb(e,u){return e.has(u)}I3.exports=xb});var Io=F((iV,$3)=>{var wb=x3(),Ab=A3(),Ib=S3(),Sb=1,$b=2;function kb(e,u,t,i,f,n){var r=t&Sb,o=e.length,D=u.length;if(o!=D&&!(r&&D>o))return!1;var a=n.get(e),l=n.get(u);if(a&&l)return a==u&&l==e;var m=-1,p=!0,b=t&$b?new wb:void 0;for(n.set(e,u),n.set(u,e);++m<o;){var g=e[m],_=u[m];if(i)var v=r?i(_,g,m,u,e,n):i(g,_,m,e,u,n);if(v!==void 0){if(v)continue;p=!1;break}if(b){if(!Ab(u,function(I,P){if(!Ib(b,P)&&(g===I||f(g,I,t,i,n)))return b.push(P)})){p=!1;break}}else if(!(g===_||f(g,_,t,i,n))){p=!1;break}}return n.delete(e),n.delete(u),p}$3.exports=kb});var T3=F((fV,k3)=>{function Tb(e){var u=-1,t=Array(e.size);return e.forEach(function(i,f){t[++u]=[f,i]}),t}k3.exports=Tb});var O3=F((nV,P3)=>{function Pb(e){var u=-1,t=Array(e.size);return e.forEach(function(i){t[++u]=i}),t}P3.exports=Pb});var V3=F((rV,q3)=>{var M3=ei(),j3=Ao(),Ob=mn(),Mb=Io(),jb=T3(),Nb=O3(),qb=1,Vb=2,Rb="[object Boolean]",Lb="[object Date]",zb="[object Error]",Hb="[object Map]",Ub="[object Number]",Wb="[object RegExp]",Gb="[object Set]",Kb="[object String]",Jb="[object Symbol]",Zb="[object ArrayBuffer]",Qb="[object DataView]",N3=M3?M3.prototype:void 0,So=N3?N3.valueOf:void 0;function Xb(e,u,t,i,f,n,r){switch(t){case Qb:if(e.byteLength!=u.byteLength||e.byteOffset!=u.byteOffset)return!1;e=e.buffer,u=u.buffer;case Zb:return!(e.byteLength!=u.byteLength||!n(new j3(e),new j3(u)));case Rb:case Lb:case Ub:return Ob(+e,+u);case zb:return e.name==u.name&&e.message==u.message;case Wb:case Kb:return e==u+"";case Hb:var o=jb;case Gb:var D=i&qb;if(o||(o=Nb),e.size!=u.size&&!D)return!1;var a=r.get(e);if(a)return a==u;i|=Vb,r.set(e,u);var l=Mb(o(e),o(u),i,f,n,r);return r.delete(e),l;case Jb:if(So)return So.call(e)==So.call(u)}return!1}q3.exports=Xb});var z3=F((oV,L3)=>{var R3=_o(),Yb=1,e_=Object.prototype,t_=e_.hasOwnProperty;function u_(e,u,t,i,f,n){var r=t&Yb,o=R3(e),D=o.length,a=R3(u),l=a.length;if(D!=l&&!r)return!1;for(var m=D;m--;){var p=o[m];if(!(r?p in u:t_.call(u,p)))return!1}var b=n.get(e),g=n.get(u);if(b&&g)return b==u&&g==e;var _=!0;n.set(e,u),n.set(u,e);for(var v=r;++m<D;){p=o[m];var I=e[p],P=u[p];if(i)var R=r?i(P,I,p,u,e,n):i(I,P,p,e,u,n);if(!(R===void 0?I===P||f(I,P,t,i,n):R)){_=!1;break}v||(v=p=="constructor")}if(_&&!v){var L=e.constructor,M=u.constructor;L!=M&&"constructor"in e&&"constructor"in u&&!(typeof L=="function"&&L instanceof L&&typeof M=="function"&&M instanceof M)&&(_=!1)}return n.delete(e),n.delete(u),_}L3.exports=u_});var Q3=F((DV,Z3)=>{var $o=hn(),i_=Io(),f_=V3(),n_=z3(),H3=sf(),U3=Ft(),W3=gn(),r_=po(),o_=1,G3="[object Arguments]",K3="[object Array]",Sn="[object Object]",D_=Object.prototype,J3=D_.hasOwnProperty;function a_(e,u,t,i,f,n){var r=U3(e),o=U3(u),D=r?K3:H3(e),a=o?K3:H3(u);D=D==G3?Sn:D,a=a==G3?Sn:a;var l=D==Sn,m=a==Sn,p=D==a;if(p&&W3(e)){if(!W3(u))return!1;r=!0,l=!1}if(p&&!l)return n||(n=new $o),r||r_(e)?i_(e,u,t,i,f,n):f_(e,u,D,t,i,f,n);if(!(t&o_)){var b=l&&J3.call(e,"__wrapped__"),g=m&&J3.call(u,"__wrapped__");if(b||g){var _=b?e.value():e,v=g?u.value():u;return n||(n=new $o),f(_,v,t,i,n)}}return p?(n||(n=new $o),n_(e,u,t,i,f,n)):!1}Z3.exports=a_});var $n=F((aV,ed)=>{var s_=Q3(),X3=Ht();function Y3(e,u,t,i,f){return e===u?!0:e==null||u==null||!X3(e)&&!X3(u)?e!==e&&u!==u:s_(e,u,t,i,Y3,f)}ed.exports=Y3});var ud=F((sV,td)=>{var l_=$n();function d_(e,u){return l_(e,u)}td.exports=d_});var cf=F(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.regexpCode=ae.getEsmExportName=ae.getProperty=ae.safeStringify=ae.stringify=ae.strConcat=ae.addCodeArg=ae.str=ae._=ae.nil=ae._Code=ae.Name=ae.IDENTIFIER=ae._CodeOrName=void 0;var lf=class{};ae._CodeOrName=lf;ae.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var $u=class extends lf{constructor(u){if(super(),!ae.IDENTIFIER.test(u))throw new Error("CodeGen: name must be a valid identifier");this.str=u}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};ae.Name=$u;var gt=class extends lf{constructor(u){super(),this._items=typeof u=="string"?[u]:u}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let u=this._items[0];return u===""||u==='""'}get str(){var u;return(u=this._str)!==null&&u!==void 0?u:this._str=this._items.reduce((t,i)=>`${t}${i}`,"")}get names(){var u;return(u=this._names)!==null&&u!==void 0?u:this._names=this._items.reduce((t,i)=>(i instanceof $u&&(t[i.str]=(t[i.str]||0)+1),t),{})}};ae._Code=gt;ae.nil=new gt("");function id(e,...u){let t=[e[0]],i=0;for(;i<u.length;)To(t,u[i]),t.push(e[++i]);return new gt(t)}ae._=id;var ko=new gt("+");function fd(e,...u){let t=[df(e[0])],i=0;for(;i<u.length;)t.push(ko),To(t,u[i]),t.push(ko,df(e[++i]));return c_(t),new gt(t)}ae.str=fd;function To(e,u){u instanceof gt?e.push(...u._items):u instanceof $u?e.push(u):e.push(F_(u))}ae.addCodeArg=To;function c_(e){let u=1;for(;u<e.length-1;){if(e[u]===ko){let t=p_(e[u-1],e[u+1]);if(t!==void 0){e.splice(u-1,3,t);continue}e[u++]="+"}u++}}function p_(e,u){if(u==='""')return e;if(e==='""')return u;if(typeof e=="string")return u instanceof $u||e[e.length-1]!=='"'?void 0:typeof u!="string"?`${e.slice(0,-1)}${u}"`:u[0]==='"'?e.slice(0,-1)+u.slice(1):void 0;if(typeof u=="string"&&u[0]==='"'&&!(e instanceof $u))return`"${e}${u.slice(1)}`}function m_(e,u){return u.emptyStr()?e:e.emptyStr()?u:fd`${e}${u}`}ae.strConcat=m_;function F_(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:df(Array.isArray(e)?e.join(","):e)}function C_(e){return new gt(df(e))}ae.stringify=C_;function df(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}ae.safeStringify=df;function h_(e){return typeof e=="string"&&ae.IDENTIFIER.test(e)?new gt(`.${e}`):id`[${e}]`}ae.getProperty=h_;function g_(e){if(typeof e=="string"&&ae.IDENTIFIER.test(e))return new gt(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}ae.getEsmExportName=g_;function E_(e){return new gt(e.toString())}ae.regexpCode=E_});var Mo=F(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.ValueScope=st.ValueScopeName=st.Scope=st.varKinds=st.UsedValueState=void 0;var at=cf(),Po=class extends Error{constructor(u){super(`CodeGen: "code" for ${u} not defined`),this.value=u.value}},kn=function(e){return e[e.Started=0]="Started",e[e.Completed=1]="Completed",e}(kn||(st.UsedValueState=kn={}));st.varKinds={const:new at.Name("const"),let:new at.Name("let"),var:new at.Name("var")};var Tn=class{constructor({prefixes:u,parent:t}={}){this._names={},this._prefixes=u,this._parent=t}toName(u){return u instanceof at.Name?u:this.name(u)}name(u){return new at.Name(this._newName(u))}_newName(u){let t=this._names[u]||this._nameGroup(u);return`${u}${t.index++}`}_nameGroup(u){var t,i;if(!((i=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||i===void 0)&&i.has(u)||this._prefixes&&!this._prefixes.has(u))throw new Error(`CodeGen: prefix "${u}" is not allowed in this scope`);return this._names[u]={prefix:u,index:0}}};st.Scope=Tn;var Pn=class extends at.Name{constructor(u,t){super(t),this.prefix=u}setValue(u,{property:t,itemIndex:i}){this.value=u,this.scopePath=(0,at._)`.${new at.Name(t)}[${i}]`}};st.ValueScopeName=Pn;var b_=(0,at._)`\n`,Oo=class extends Tn{constructor(u){super(u),this._values={},this._scope=u.scope,this.opts=ve(Q({},u),{_n:u.lines?b_:at.nil})}get(){return this._scope}name(u){return new Pn(u,this._newName(u))}value(u,t){var i;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let f=this.toName(u),{prefix:n}=f,r=(i=t.key)!==null&&i!==void 0?i:t.ref,o=this._values[n];if(o){let l=o.get(r);if(l)return l}else o=this._values[n]=new Map;o.set(r,f);let D=this._scope[n]||(this._scope[n]=[]),a=D.length;return D[a]=t.ref,f.setValue(t,{property:n,itemIndex:a}),f}getValue(u,t){let i=this._values[u];if(i)return i.get(t)}scopeRefs(u,t=this._values){return this._reduceValues(t,i=>{if(i.scopePath===void 0)throw new Error(`CodeGen: name "${i}" has no value`);return(0,at._)`${u}${i.scopePath}`})}scopeCode(u=this._values,t,i){return this._reduceValues(u,f=>{if(f.value===void 0)throw new Error(`CodeGen: name "${f}" has no value`);return f.value.code},t,i)}_reduceValues(u,t,i={},f){let n=at.nil;for(let r in u){let o=u[r];if(!o)continue;let D=i[r]=i[r]||new Map;o.forEach(a=>{if(D.has(a))return;D.set(a,kn.Started);let l=t(a);if(l){let m=this.opts.es5?st.varKinds.var:st.varKinds.const;n=(0,at._)`${n}${m} ${a} = ${l};${this.opts._n}`}else if(l=f==null?void 0:f(a))n=(0,at._)`${n}${l}${this.opts._n}`;else throw new Po(a);D.set(a,kn.Completed)})}return n}};st.ValueScope=Oo});var ue=F(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.or=te.and=te.not=te.CodeGen=te.operators=te.varKinds=te.ValueScopeName=te.ValueScope=te.Scope=te.Name=te.regexpCode=te.stringify=te.getProperty=te.nil=te.strConcat=te.str=te._=void 0;var re=cf(),St=Mo(),ou=cf();Object.defineProperty(te,"_",{enumerable:!0,get:function(){return ou._}});Object.defineProperty(te,"str",{enumerable:!0,get:function(){return ou.str}});Object.defineProperty(te,"strConcat",{enumerable:!0,get:function(){return ou.strConcat}});Object.defineProperty(te,"nil",{enumerable:!0,get:function(){return ou.nil}});Object.defineProperty(te,"getProperty",{enumerable:!0,get:function(){return ou.getProperty}});Object.defineProperty(te,"stringify",{enumerable:!0,get:function(){return ou.stringify}});Object.defineProperty(te,"regexpCode",{enumerable:!0,get:function(){return ou.regexpCode}});Object.defineProperty(te,"Name",{enumerable:!0,get:function(){return ou.Name}});var qn=Mo();Object.defineProperty(te,"Scope",{enumerable:!0,get:function(){return qn.Scope}});Object.defineProperty(te,"ValueScope",{enumerable:!0,get:function(){return qn.ValueScope}});Object.defineProperty(te,"ValueScopeName",{enumerable:!0,get:function(){return qn.ValueScopeName}});Object.defineProperty(te,"varKinds",{enumerable:!0,get:function(){return qn.varKinds}});te.operators={GT:new re._Code(">"),GTE:new re._Code(">="),LT:new re._Code("<"),LTE:new re._Code("<="),EQ:new re._Code("==="),NEQ:new re._Code("!=="),NOT:new re._Code("!"),OR:new re._Code("||"),AND:new re._Code("&&"),ADD:new re._Code("+")};var Ut=class{optimizeNodes(){return this}optimizeNames(u,t){return this}},jo=class extends Ut{constructor(u,t,i){super(),this.varKind=u,this.name=t,this.rhs=i}render({es5:u,_n:t}){let i=u?St.varKinds.var:this.varKind,f=this.rhs===void 0?"":` = ${this.rhs}`;return`${i} ${this.name}${f};`+t}optimizeNames(u,t){if(u[this.name.str])return this.rhs&&(this.rhs=ai(this.rhs,u,t)),this}get names(){return this.rhs instanceof re._CodeOrName?this.rhs.names:{}}},Mn=class extends Ut{constructor(u,t,i){super(),this.lhs=u,this.rhs=t,this.sideEffects=i}render({_n:u}){return`${this.lhs} = ${this.rhs};`+u}optimizeNames(u,t){if(!(this.lhs instanceof re.Name&&!u[this.lhs.str]&&!this.sideEffects))return this.rhs=ai(this.rhs,u,t),this}get names(){let u=this.lhs instanceof re.Name?{}:Q({},this.lhs.names);return Nn(u,this.rhs)}},No=class extends Mn{constructor(u,t,i,f){super(u,i,f),this.op=t}render({_n:u}){return`${this.lhs} ${this.op}= ${this.rhs};`+u}},qo=class extends Ut{constructor(u){super(),this.label=u,this.names={}}render({_n:u}){return`${this.label}:`+u}},Vo=class extends Ut{constructor(u){super(),this.label=u,this.names={}}render({_n:u}){return`break${this.label?` ${this.label}`:""};`+u}},Ro=class extends Ut{constructor(u){super(),this.error=u}render({_n:u}){return`throw ${this.error};`+u}get names(){return this.error.names}},Lo=class extends Ut{constructor(u){super(),this.code=u}render({_n:u}){return`${this.code};`+u}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(u,t){return this.code=ai(this.code,u,t),this}get names(){return this.code instanceof re._CodeOrName?this.code.names:{}}},pf=class extends Ut{constructor(u=[]){super(),this.nodes=u}render(u){return this.nodes.reduce((t,i)=>t+i.render(u),"")}optimizeNodes(){let{nodes:u}=this,t=u.length;for(;t--;){let i=u[t].optimizeNodes();Array.isArray(i)?u.splice(t,1,...i):i?u[t]=i:u.splice(t,1)}return u.length>0?this:void 0}optimizeNames(u,t){let{nodes:i}=this,f=i.length;for(;f--;){let n=i[f];n.optimizeNames(u,t)||(__(u,n.names),i.splice(f,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((u,t)=>ku(u,t.names),{})}},Wt=class extends pf{render(u){return"{"+u._n+super.render(u)+"}"+u._n}},zo=class extends pf{},Ho=(()=>{class e extends Wt{}return e.kind="else",e})(),On=(()=>{class e extends Wt{constructor(t,i){super(i),this.condition=t}render(t){let i=`if(${this.condition})`+super.render(t);return this.else&&(i+="else "+this.else.render(t)),i}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let i=this.else;if(i){let f=i.optimizeNodes();i=this.else=Array.isArray(f)?new Ho(f):f}if(i)return t===!1?i instanceof e?i:i.nodes:this.nodes.length?this:new e(ad(t),i instanceof e?[i]:i.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,i){var f;if(this.else=(f=this.else)===null||f===void 0?void 0:f.optimizeNames(t,i),!!(super.optimizeNames(t,i)||this.else))return this.condition=ai(this.condition,t,i),this}get names(){let t=super.names;return Nn(t,this.condition),this.else&&ku(t,this.else.names),t}}return e.kind="if",e})(),Vn=(()=>{class e extends Wt{}return e.kind="for",e})(),Uo=class extends Vn{constructor(u){super(),this.iteration=u}render(u){return`for(${this.iteration})`+super.render(u)}optimizeNames(u,t){if(super.optimizeNames(u,t))return this.iteration=ai(this.iteration,u,t),this}get names(){return ku(super.names,this.iteration.names)}},Wo=class extends Vn{constructor(u,t,i,f){super(),this.varKind=u,this.name=t,this.from=i,this.to=f}render(u){let t=u.es5?St.varKinds.var:this.varKind,{name:i,from:f,to:n}=this;return`for(${t} ${i}=${f}; ${i}<${n}; ${i}++)`+super.render(u)}get names(){let u=Nn(super.names,this.from);return Nn(u,this.to)}},jn=class extends Vn{constructor(u,t,i,f){super(),this.loop=u,this.varKind=t,this.name=i,this.iterable=f}render(u){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(u)}optimizeNames(u,t){if(super.optimizeNames(u,t))return this.iterable=ai(this.iterable,u,t),this}get names(){return ku(super.names,this.iterable.names)}},nd=(()=>{class e extends Wt{constructor(t,i,f){super(),this.name=t,this.args=i,this.async=f}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}}return e.kind="func",e})(),rd=(()=>{class e extends pf{render(t){return"return "+super.render(t)}}return e.kind="return",e})(),Go=class extends Wt{render(u){let t="try"+super.render(u);return this.catch&&(t+=this.catch.render(u)),this.finally&&(t+=this.finally.render(u)),t}optimizeNodes(){var u,t;return super.optimizeNodes(),(u=this.catch)===null||u===void 0||u.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(u,t){var i,f;return super.optimizeNames(u,t),(i=this.catch)===null||i===void 0||i.optimizeNames(u,t),(f=this.finally)===null||f===void 0||f.optimizeNames(u,t),this}get names(){let u=super.names;return this.catch&&ku(u,this.catch.names),this.finally&&ku(u,this.finally.names),u}},od=(()=>{class e extends Wt{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}}return e.kind="catch",e})(),Dd=(()=>{class e extends Wt{render(t){return"finally"+super.render(t)}}return e.kind="finally",e})(),Ko=class{constructor(u,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts=ve(Q({},t),{_n:t.lines?`
2
2
  `:""}),this._extScope=u,this._scope=new St.Scope({parent:u}),this._nodes=[new zo]}toString(){return this._root.render(this.opts)}name(u){return this._scope.name(u)}scopeName(u){return this._extScope.name(u)}scopeValue(u,t){let i=this._extScope.value(u,t);return(this._values[i.prefix]||(this._values[i.prefix]=new Set)).add(i),i}getScopeValue(u,t){return this._extScope.getValue(u,t)}scopeRefs(u){return this._extScope.scopeRefs(u,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(u,t,i,f){let n=this._scope.toName(t);return i!==void 0&&f&&(this._constants[n.str]=i),this._leafNode(new jo(u,n,i)),n}const(u,t,i){return this._def(St.varKinds.const,u,t,i)}let(u,t,i){return this._def(St.varKinds.let,u,t,i)}var(u,t,i){return this._def(St.varKinds.var,u,t,i)}assign(u,t,i){return this._leafNode(new Mn(u,t,i))}add(u,t){return this._leafNode(new No(u,te.operators.ADD,t))}code(u){return typeof u=="function"?u():u!==re.nil&&this._leafNode(new Lo(u)),this}object(...u){let t=["{"];for(let[i,f]of u)t.length>1&&t.push(","),t.push(i),(i!==f||this.opts.es5)&&(t.push(":"),(0,re.addCodeArg)(t,f));return t.push("}"),new re._Code(t)}if(u,t,i){if(this._blockNode(new On(u)),t&&i)this.code(t).else().code(i).endIf();else if(t)this.code(t).endIf();else if(i)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(u){return this._elseNode(new On(u))}else(){return this._elseNode(new Ho)}endIf(){return this._endBlockNode(On,Ho)}_for(u,t){return this._blockNode(u),t&&this.code(t).endFor(),this}for(u,t){return this._for(new Uo(u),t)}forRange(u,t,i,f,n=this.opts.es5?St.varKinds.var:St.varKinds.let){let r=this._scope.toName(u);return this._for(new Wo(n,r,t,i),()=>f(r))}forOf(u,t,i,f=St.varKinds.const){let n=this._scope.toName(u);if(this.opts.es5){let r=t instanceof re.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,re._)`${r}.length`,o=>{this.var(n,(0,re._)`${r}[${o}]`),i(n)})}return this._for(new jn("of",f,n,t),()=>i(n))}forIn(u,t,i,f=this.opts.es5?St.varKinds.var:St.varKinds.const){if(this.opts.ownProperties)return this.forOf(u,(0,re._)`Object.keys(${t})`,i);let n=this._scope.toName(u);return this._for(new jn("in",f,n,t),()=>i(n))}endFor(){return this._endBlockNode(Vn)}label(u){return this._leafNode(new qo(u))}break(u){return this._leafNode(new Vo(u))}return(u){let t=new rd;if(this._blockNode(t),this.code(u),t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(rd)}try(u,t,i){if(!t&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let f=new Go;if(this._blockNode(f),this.code(u),t){let n=this.name("e");this._currNode=f.catch=new od(n),t(n)}return i&&(this._currNode=f.finally=new Dd,this.code(i)),this._endBlockNode(od,Dd)}throw(u){return this._leafNode(new Ro(u))}block(u,t){return this._blockStarts.push(this._nodes.length),u&&this.code(u).endBlock(t),this}endBlock(u){let t=this._blockStarts.pop();if(t===void 0)throw new Error("CodeGen: not in self-balancing block");let i=this._nodes.length-t;if(i<0||u!==void 0&&i!==u)throw new Error(`CodeGen: wrong number of nodes: ${i} vs ${u} expected`);return this._nodes.length=t,this}func(u,t=re.nil,i,f){return this._blockNode(new nd(u,t,i)),f&&this.code(f).endFunc(),this}endFunc(){return this._endBlockNode(nd)}optimize(u=1){for(;u-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(u){return this._currNode.nodes.push(u),this}_blockNode(u){this._currNode.nodes.push(u),this._nodes.push(u)}_endBlockNode(u,t){let i=this._currNode;if(i instanceof u||t&&i instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${u.kind}/${t.kind}`:u.kind}"`)}_elseNode(u){let t=this._currNode;if(!(t instanceof On))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=u,this}get _root(){return this._nodes[0]}get _currNode(){let u=this._nodes;return u[u.length-1]}set _currNode(u){let t=this._nodes;t[t.length-1]=u}};te.CodeGen=Ko;function ku(e,u){for(let t in u)e[t]=(e[t]||0)+(u[t]||0);return e}function Nn(e,u){return u instanceof re._CodeOrName?ku(e,u.names):e}function ai(e,u,t){if(e instanceof re.Name)return i(e);if(!f(e))return e;return new re._Code(e._items.reduce((n,r)=>(r instanceof re.Name&&(r=i(r)),r instanceof re._Code?n.push(...r._items):n.push(r),n),[]));function i(n){let r=t[n.str];return r===void 0||u[n.str]!==1?n:(delete u[n.str],r)}function f(n){return n instanceof re._Code&&n._items.some(r=>r instanceof re.Name&&u[r.str]===1&&t[r.str]!==void 0)}}function __(e,u){for(let t in u)e[t]=(e[t]||0)-(u[t]||0)}function ad(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,re._)`!${Jo(e)}`}te.not=ad;var y_=sd(te.operators.AND);function v_(...e){return e.reduce(y_)}te.and=v_;var B_=sd(te.operators.OR);function x_(...e){return e.reduce(B_)}te.or=x_;function sd(e){return(u,t)=>u===re.nil?t:t===re.nil?u:(0,re._)`${Jo(u)} ${e} ${Jo(t)}`}function Jo(e){return e instanceof re.Name?e:(0,re._)`(${e})`}});var se=F(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.checkStrictMode=ie.getErrorPath=ie.Type=ie.useFunc=ie.setEvaluated=ie.evaluatedPropsToName=ie.mergeEvaluated=ie.eachItem=ie.unescapeJsonPointer=ie.escapeJsonPointer=ie.escapeFragment=ie.unescapeFragment=ie.schemaRefOrVal=ie.schemaHasRulesButRef=ie.schemaHasRules=ie.checkUnknownRules=ie.alwaysValidSchema=ie.toHash=void 0;var Ee=ue(),w_=cf();function A_(e){let u={};for(let t of e)u[t]=!0;return u}ie.toHash=A_;function I_(e,u){return typeof u=="boolean"?u:Object.keys(u).length===0?!0:(cd(e,u),!pd(u,e.self.RULES.all))}ie.alwaysValidSchema=I_;function cd(e,u=e.schema){let{opts:t,self:i}=e;if(!t.strictSchema||typeof u=="boolean")return;let f=i.RULES.keywords;for(let n in u)f[n]||Cd(e,`unknown keyword: "${n}"`)}ie.checkUnknownRules=cd;function pd(e,u){if(typeof e=="boolean")return!e;for(let t in e)if(u[t])return!0;return!1}ie.schemaHasRules=pd;function S_(e,u){if(typeof e=="boolean")return!e;for(let t in e)if(t!=="$ref"&&u.all[t])return!0;return!1}ie.schemaHasRulesButRef=S_;function $_({topSchemaRef:e,schemaPath:u},t,i,f){if(!f){if(typeof t=="number"||typeof t=="boolean")return t;if(typeof t=="string")return(0,Ee._)`${t}`}return(0,Ee._)`${e}${u}${(0,Ee.getProperty)(i)}`}ie.schemaRefOrVal=$_;function k_(e){return md(decodeURIComponent(e))}ie.unescapeFragment=k_;function T_(e){return encodeURIComponent(Qo(e))}ie.escapeFragment=T_;function Qo(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}ie.escapeJsonPointer=Qo;function md(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}ie.unescapeJsonPointer=md;function P_(e,u){if(Array.isArray(e))for(let t of e)u(t);else u(e)}ie.eachItem=P_;function ld({mergeNames:e,mergeToName:u,mergeValues:t,resultToName:i}){return(f,n,r,o)=>{let D=r===void 0?n:r instanceof Ee.Name?(n instanceof Ee.Name?e(f,n,r):u(f,n,r),r):n instanceof Ee.Name?(u(f,r,n),n):t(n,r);return o===Ee.Name&&!(D instanceof Ee.Name)?i(f,D):D}}ie.mergeEvaluated={props:ld({mergeNames:(e,u,t)=>e.if((0,Ee._)`${t} !== true && ${u} !== undefined`,()=>{e.if((0,Ee._)`${u} === true`,()=>e.assign(t,!0),()=>e.assign(t,(0,Ee._)`${t} || {}`).code((0,Ee._)`Object.assign(${t}, ${u})`))}),mergeToName:(e,u,t)=>e.if((0,Ee._)`${t} !== true`,()=>{u===!0?e.assign(t,!0):(e.assign(t,(0,Ee._)`${t} || {}`),Xo(e,t,u))}),mergeValues:(e,u)=>e===!0?!0:Q(Q({},e),u),resultToName:Fd}),items:ld({mergeNames:(e,u,t)=>e.if((0,Ee._)`${t} !== true && ${u} !== undefined`,()=>e.assign(t,(0,Ee._)`${u} === true ? true : ${t} > ${u} ? ${t} : ${u}`)),mergeToName:(e,u,t)=>e.if((0,Ee._)`${t} !== true`,()=>e.assign(t,u===!0?!0:(0,Ee._)`${t} > ${u} ? ${t} : ${u}`)),mergeValues:(e,u)=>e===!0?!0:Math.max(e,u),resultToName:(e,u)=>e.var("items",u)})};function Fd(e,u){if(u===!0)return e.var("props",!0);let t=e.var("props",(0,Ee._)`{}`);return u!==void 0&&Xo(e,t,u),t}ie.evaluatedPropsToName=Fd;function Xo(e,u,t){Object.keys(t).forEach(i=>e.assign((0,Ee._)`${u}${(0,Ee.getProperty)(i)}`,!0))}ie.setEvaluated=Xo;var dd={};function O_(e,u){return e.scopeValue("func",{ref:u,code:dd[u.code]||(dd[u.code]=new w_._Code(u.code))})}ie.useFunc=O_;var Zo=function(e){return e[e.Num=0]="Num",e[e.Str=1]="Str",e}(Zo||(ie.Type=Zo={}));function M_(e,u,t){if(e instanceof Ee.Name){let i=u===Zo.Num;return t?i?(0,Ee._)`"[" + ${e} + "]"`:(0,Ee._)`"['" + ${e} + "']"`:i?(0,Ee._)`"/" + ${e}`:(0,Ee._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return t?(0,Ee.getProperty)(e).toString():"/"+Qo(e)}ie.getErrorPath=M_;function Cd(e,u,t=e.opts.strictSchema){if(t){if(u=`strict mode: ${u}`,t===!0)throw new Error(u);e.self.logger.warn(u)}}ie.checkStrictMode=Cd});var Gt=F(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});var Ke=ue(),j_={data:new Ke.Name("data"),valCxt:new Ke.Name("valCxt"),instancePath:new Ke.Name("instancePath"),parentData:new Ke.Name("parentData"),parentDataProperty:new Ke.Name("parentDataProperty"),rootData:new Ke.Name("rootData"),dynamicAnchors:new Ke.Name("dynamicAnchors"),vErrors:new Ke.Name("vErrors"),errors:new Ke.Name("errors"),this:new Ke.Name("this"),self:new Ke.Name("self"),scope:new Ke.Name("scope"),json:new Ke.Name("json"),jsonPos:new Ke.Name("jsonPos"),jsonLen:new Ke.Name("jsonLen"),jsonPart:new Ke.Name("jsonPart")};Yo.default=j_});var mf=F(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});Je.extendErrors=Je.resetErrorsCount=Je.reportExtraError=Je.reportError=Je.keyword$DataError=Je.keywordError=void 0;var De=ue(),Rn=se(),nt=Gt();Je.keywordError={message:({keyword:e})=>(0,De.str)`must pass "${e}" keyword validation`};Je.keyword$DataError={message:({keyword:e,schemaType:u})=>u?(0,De.str)`"${e}" keyword must be ${u} ($data)`:(0,De.str)`"${e}" keyword is invalid ($data)`};function N_(e,u=Je.keywordError,t,i){let{it:f}=e,{gen:n,compositeRule:r,allErrors:o}=f,D=Ed(e,u,t);(i!=null?i:r||o)?hd(n,D):gd(f,(0,De._)`[${D}]`)}Je.reportError=N_;function q_(e,u=Je.keywordError,t){let{it:i}=e,{gen:f,compositeRule:n,allErrors:r}=i,o=Ed(e,u,t);hd(f,o),n||r||gd(i,nt.default.vErrors)}Je.reportExtraError=q_;function V_(e,u){e.assign(nt.default.errors,u),e.if((0,De._)`${nt.default.vErrors} !== null`,()=>e.if(u,()=>e.assign((0,De._)`${nt.default.vErrors}.length`,u),()=>e.assign(nt.default.vErrors,null)))}Je.resetErrorsCount=V_;function R_({gen:e,keyword:u,schemaValue:t,data:i,errsCount:f,it:n}){if(f===void 0)throw new Error("ajv implementation error");let r=e.name("err");e.forRange("i",f,nt.default.errors,o=>{e.const(r,(0,De._)`${nt.default.vErrors}[${o}]`),e.if((0,De._)`${r}.instancePath === undefined`,()=>e.assign((0,De._)`${r}.instancePath`,(0,De.strConcat)(nt.default.instancePath,n.errorPath))),e.assign((0,De._)`${r}.schemaPath`,(0,De.str)`${n.errSchemaPath}/${u}`),n.opts.verbose&&(e.assign((0,De._)`${r}.schema`,t),e.assign((0,De._)`${r}.data`,i))})}Je.extendErrors=R_;function hd(e,u){let t=e.const("err",u);e.if((0,De._)`${nt.default.vErrors} === null`,()=>e.assign(nt.default.vErrors,(0,De._)`[${t}]`),(0,De._)`${nt.default.vErrors}.push(${t})`),e.code((0,De._)`${nt.default.errors}++`)}function gd(e,u){let{gen:t,validateName:i,schemaEnv:f}=e;f.$async?t.throw((0,De._)`new ${e.ValidationError}(${u})`):(t.assign((0,De._)`${i}.errors`,u),t.return(!1))}var Tu={keyword:new De.Name("keyword"),schemaPath:new De.Name("schemaPath"),params:new De.Name("params"),propertyName:new De.Name("propertyName"),message:new De.Name("message"),schema:new De.Name("schema"),parentSchema:new De.Name("parentSchema")};function Ed(e,u,t){let{createErrors:i}=e.it;return i===!1?(0,De._)`{}`:L_(e,u,t)}function L_(e,u,t={}){let{gen:i,it:f}=e,n=[z_(f,t),H_(e,t)];return U_(e,u,n),i.object(...n)}function z_({errorPath:e},{instancePath:u}){let t=u?(0,De.str)`${e}${(0,Rn.getErrorPath)(u,Rn.Type.Str)}`:e;return[nt.default.instancePath,(0,De.strConcat)(nt.default.instancePath,t)]}function H_({keyword:e,it:{errSchemaPath:u}},{schemaPath:t,parentSchema:i}){let f=i?u:(0,De.str)`${u}/${e}`;return t&&(f=(0,De.str)`${f}${(0,Rn.getErrorPath)(t,Rn.Type.Str)}`),[Tu.schemaPath,f]}function U_(e,{params:u,message:t},i){let{keyword:f,data:n,schemaValue:r,it:o}=e,{opts:D,propertyName:a,topSchemaRef:l,schemaPath:m}=o;i.push([Tu.keyword,f],[Tu.params,typeof u=="function"?u(e):u||(0,De._)`{}`]),D.messages&&i.push([Tu.message,typeof t=="function"?t(e):t]),D.verbose&&i.push([Tu.schema,r],[Tu.parentSchema,(0,De._)`${l}${m}`],[nt.default.data,n]),a&&i.push([Tu.propertyName,a])}});var _d=F(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.boolOrEmptySchema=si.topBoolOrEmptySchema=void 0;var W_=mf(),G_=ue(),K_=Gt(),J_={message:"boolean schema is false"};function Z_(e){let{gen:u,schema:t,validateName:i}=e;t===!1?bd(e,!1):typeof t=="object"&&t.$async===!0?u.return(K_.default.data):(u.assign((0,G_._)`${i}.errors`,null),u.return(!0))}si.topBoolOrEmptySchema=Z_;function Q_(e,u){let{gen:t,schema:i}=e;i===!1?(t.var(u,!1),bd(e)):t.var(u,!0)}si.boolOrEmptySchema=Q_;function bd(e,u){let{gen:t,data:i}=e,f={gen:t,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,W_.reportError)(f,J_,void 0,u)}});var eD=F(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.getRules=li.isJSONType=void 0;var X_=["string","number","integer","boolean","null","object","array"],Y_=new Set(X_);function e9(e){return typeof e=="string"&&Y_.has(e)}li.isJSONType=e9;function t9(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:ve(Q({},e),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}li.getRules=t9});var tD=F(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.shouldUseRule=Du.shouldUseGroup=Du.schemaHasRulesForType=void 0;function u9({schema:e,self:u},t){let i=u.RULES.types[t];return i&&i!==!0&&yd(e,i)}Du.schemaHasRulesForType=u9;function yd(e,u){return u.rules.some(t=>vd(e,t))}Du.shouldUseGroup=yd;function vd(e,u){var t;return e[u.keyword]!==void 0||((t=u.definition.implements)===null||t===void 0?void 0:t.some(i=>e[i]!==void 0))}Du.shouldUseRule=vd});var Ff=F(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});Ze.reportTypeError=Ze.checkDataTypes=Ze.checkDataType=Ze.coerceAndCheckDataType=Ze.getJSONTypes=Ze.getSchemaTypes=Ze.DataType=void 0;var i9=eD(),f9=tD(),n9=mf(),ee=ue(),Bd=se(),di=function(e){return e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong",e}(di||(Ze.DataType=di={}));function r9(e){let u=xd(e.type);if(u.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!u.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&u.push("null")}return u}Ze.getSchemaTypes=r9;function xd(e){let u=Array.isArray(e)?e:e?[e]:[];if(u.every(i9.isJSONType))return u;throw new Error("type must be JSONType or JSONType[]: "+u.join(","))}Ze.getJSONTypes=xd;function o9(e,u){let{gen:t,data:i,opts:f}=e,n=D9(u,f.coerceTypes),r=u.length>0&&!(n.length===0&&u.length===1&&(0,f9.schemaHasRulesForType)(e,u[0]));if(r){let o=iD(u,i,f.strictNumbers,di.Wrong);t.if(o,()=>{n.length?a9(e,u,n):fD(e)})}return r}Ze.coerceAndCheckDataType=o9;var wd=new Set(["string","number","integer","boolean","null"]);function D9(e,u){return u?e.filter(t=>wd.has(t)||u==="array"&&t==="array"):[]}function a9(e,u,t){let{gen:i,data:f,opts:n}=e,r=i.let("dataType",(0,ee._)`typeof ${f}`),o=i.let("coerced",(0,ee._)`undefined`);n.coerceTypes==="array"&&i.if((0,ee._)`${r} == 'object' && Array.isArray(${f}) && ${f}.length == 1`,()=>i.assign(f,(0,ee._)`${f}[0]`).assign(r,(0,ee._)`typeof ${f}`).if(iD(u,f,n.strictNumbers),()=>i.assign(o,f))),i.if((0,ee._)`${o} !== undefined`);for(let a of t)(wd.has(a)||a==="array"&&n.coerceTypes==="array")&&D(a);i.else(),fD(e),i.endIf(),i.if((0,ee._)`${o} !== undefined`,()=>{i.assign(f,o),s9(e,o)});function D(a){switch(a){case"string":i.elseIf((0,ee._)`${r} == "number" || ${r} == "boolean"`).assign(o,(0,ee._)`"" + ${f}`).elseIf((0,ee._)`${f} === null`).assign(o,(0,ee._)`""`);return;case"number":i.elseIf((0,ee._)`${r} == "boolean" || ${f} === null
3
3
  || (${r} == "string" && ${f} && ${f} == +${f})`).assign(o,(0,ee._)`+${f}`);return;case"integer":i.elseIf((0,ee._)`${r} === "boolean" || ${f} === null
4
4
  || (${r} === "string" && ${f} && ${f} == +${f} && !(${f} % 1))`).assign(o,(0,ee._)`+${f}`);return;case"boolean":i.elseIf((0,ee._)`${f} === "false" || ${f} === 0 || ${f} === null`).assign(o,!1).elseIf((0,ee._)`${f} === "true" || ${f} === 1`).assign(o,!0);return;case"null":i.elseIf((0,ee._)`${f} === "" || ${f} === 0 || ${f} === false`),i.assign(o,null);return;case"array":i.elseIf((0,ee._)`${r} === "string" || ${r} === "number"
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-UYFK7HVI.js";import"./chunk-QHPDGSZ6.js";import"./chunk-NZNNTHFQ.js";import"./chunk-MPLDW2J6.js";import"./chunk-4YG6EOJW.js";import"./chunk-5ABRPQAO.js";import"./chunk-UG5DK2RQ.js";import"./chunk-3IX3CLER.js";import"./chunk-TXOB7R5K.js";export{a as LoginComponent};
package/public/index.html CHANGED
@@ -20,5 +20,5 @@
20
20
 
21
21
  <body>
22
22
  <app-root></app-root>
23
- <link rel="modulepreload" href="chunk-US5QSVJ2.js"><link rel="modulepreload" href="chunk-TFEVMIHT.js"><link rel="modulepreload" href="chunk-EA5J2VEJ.js"><link rel="modulepreload" href="chunk-CY55AES3.js"><link rel="modulepreload" href="chunk-M6SHEAQY.js"><link rel="modulepreload" href="chunk-UWLLEMGO.js"><link rel="modulepreload" href="chunk-XLY5QPTN.js"><link rel="modulepreload" href="chunk-MPVSAJDU.js"><link rel="modulepreload" href="chunk-UAQGK64S.js"><link rel="modulepreload" href="chunk-WHJSVGC7.js"><script src="polyfills-C6JHVXJJ.js" type="module" crossorigin="use-credentials"></script><script src="scripts-6GVLYD7F.js" defer crossorigin="use-credentials"></script><script src="main-6PBYD25D.js" type="module" crossorigin="use-credentials"></script></body>
23
+ <link rel="modulepreload" href="chunk-QGKMS5A5.js"><link rel="modulepreload" href="chunk-ROX65GNZ.js"><link rel="modulepreload" href="chunk-EA5J2VEJ.js"><link rel="modulepreload" href="chunk-2S6LQXQQ.js"><link rel="modulepreload" href="chunk-UYFK7HVI.js"><link rel="modulepreload" href="chunk-JJL2MTZS.js"><link rel="modulepreload" href="chunk-KZATMDCZ.js"><link rel="modulepreload" href="chunk-XTVTI5YA.js"><link rel="modulepreload" href="chunk-M5AJDIBQ.js"><link rel="modulepreload" href="chunk-WHJSVGC7.js"><script src="polyfills-C6JHVXJJ.js" type="module" crossorigin="use-credentials"></script><script src="scripts-6GVLYD7F.js" defer crossorigin="use-credentials"></script><script src="main-CNETRB3V.js" type="module" crossorigin="use-credentials"></script></body>
24
24
  </html>