qumra-cli 1.1.32 → 1.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.cjs +1 -1
- package/build/cli.cjs.map +1 -1
- package/package.json +1 -1
package/build/cli.cjs
CHANGED
|
@@ -392,5 +392,5 @@ const f$=y,m$=n$,g$=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),y$=e=>"nu
|
|
|
392
392
|
* @author Dan DeFelippi <dan@driverdan.com>
|
|
393
393
|
* @contributor David Ellis <d.f.ellis@ieee.org>
|
|
394
394
|
* @license MIT
|
|
395
|
-
*/var xX=s,wX=S,EX=d.spawn,SX=TX;function TX(e){e=e||{};var t,n,r=this,i=w,s=E,o={},a=!1,c={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},l=Object.assign({},c),u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],p=["TRACE","TRACK","CONNECT"],h=!1,d=!1,f=!1,m={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null;this.open=function(e,t,n,r,i){if(this.abort(),d=!1,f=!1,!function(e){return e&&-1===p.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");o={method:e,url:t.toString(),async:"boolean"!=typeof n||n,user:r||null,password:i||null},g(this.OPENED)},this.setDisableHeaderCheck=function(e){a=e},this.setRequestHeader=function(e,t){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");if(!function(e){return a||e&&-1===u.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(h)throw new Error("INVALID_STATE_ERR: send flag is true");return l[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&n.headers[e.toLowerCase()]&&!d?n.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||d)return"";var e="";for(var t in n.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+n.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&l[e]?l[e]:""},this.send=function(a){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: connection must be opened before send() is called");if(h)throw new Error("INVALID_STATE_ERR: send has already been called");var c,u=!1,p=!1,f=wX.parse(o.url);switch(f.protocol){case"https:":u=!0;case"http:":c=f.hostname;break;case"file:":p=!0;break;case void 0:case"":c="localhost";break;default:throw new Error("Protocol not supported.")}if(p){if("GET"!==o.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(o.async)xX.readFile(unescape(f.pathname),"utf8",(function(e,t){e?r.handleError(e,e.errno||-1):(r.status=200,r.responseText=t,g(r.DONE))}));else try{this.responseText=xX.readFileSync(unescape(f.pathname),"utf8"),this.status=200,g(r.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var m=f.port||(u?443:80),y=f.pathname+(f.search?f.search:"");if(l.Host=c,u&&443===m||80===m||(l.Host+=":"+f.port),o.user){void 0===o.password&&(o.password="");var v=new Buffer(o.user+":"+o.password);l.Authorization="Basic "+v.toString("base64")}"GET"===o.method||"HEAD"===o.method?a=null:a?(l["Content-Length"]=Buffer.isBuffer(a)?a.length:Buffer.byteLength(a),l["Content-Type"]||(l["Content-Type"]="text/plain;charset=UTF-8")):"POST"===o.method&&(l["Content-Length"]=0);var b=e.agent||!1,_={host:c,port:m,path:y,method:o.method,headers:l,agent:b};if(u&&(_.pfx=e.pfx,_.key=e.key,_.passphrase=e.passphrase,_.cert=e.cert,_.ca=e.ca,_.ciphers=e.ciphers,_.rejectUnauthorized=!1!==e.rejectUnauthorized),d=!1,o.async){var x=u?s.request:i.request;h=!0,r.dispatchEvent("readystatechange");var w=function(i){if(302===(n=i).statusCode||303===n.statusCode||307===n.statusCode){o.url=n.headers.location;var s=wX.parse(o.url);c=s.hostname;var a={hostname:s.hostname,port:s.port,path:s.path,method:303===n.statusCode?"GET":o.method,headers:l};return u&&(a.pfx=e.pfx,a.key=e.key,a.passphrase=e.passphrase,a.cert=e.cert,a.ca=e.ca,a.ciphers=e.ciphers,a.rejectUnauthorized=!1!==e.rejectUnauthorized),void(t=x(a,w).on("error",E)).end()}n&&n.setEncoding&&n.setEncoding("utf8"),g(r.HEADERS_RECEIVED),r.status=n.statusCode,n.on("data",(function(e){e&&(r.responseText+=e),h&&g(r.LOADING)})),n.on("end",(function(){h&&(h=!1,g(r.DONE))})),n.on("error",(function(e){r.handleError(e)}))},E=function(e){r.handleError(e)};t=x(_,w).on("error",E),e.autoUnref&&t.on("socket",(e=>{e.unref()})),a&&t.write(a),t.end(),r.dispatchEvent("loadstart")}else{var S=".node-xmlhttprequest-content-"+process.pid,T=".node-xmlhttprequest-sync-"+process.pid;xX.writeFileSync(T,"","utf8");for(var D="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(u?"s":"")+".request;var options = "+JSON.stringify(_)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+S+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+T+"');});response.on('error', function(error) {fs.writeFileSync('"+S+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+T+"');});}).on('error', function(error) {fs.writeFileSync('"+S+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+T+"');});"+(a?"req.write('"+JSON.stringify(a).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",k=EX(process.argv[0],["-e",D]);xX.existsSync(T););if(r.responseText=xX.readFileSync(S,"utf8"),k.stdin.end(),xX.unlinkSync(S),r.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var A=r.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");r.handleError(A,503)}else r.status=r.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),r.responseText=r.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),g(r.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,d=!0,g(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),l=Object.assign({},c),this.responseText="",this.responseXML="",d=f=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!h||this.readyState===this.DONE||(h=!1,g(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,t){e in m||(m[e]=[]),m[e].push(t)},this.removeEventListener=function(e,t){e in m&&(m[e]=m[e].filter((function(e){return e!==t})))},this.dispatchEvent=function(e){if("function"==typeof r["on"+e]&&(this.readyState===this.DONE?setImmediate((function(){r["on"+e]()})):r["on"+e]()),e in m)for(let t=0,n=m[e].length;t<n;t++)this.readyState===this.DONE?setImmediate((function(){m[e][t].call(r)})):m[e][t].call(r)};var g=function(e){if(!(r.readyState===e||r.readyState===r.UNSENT&&f)&&(r.readyState=e,(o.async||r.readyState<r.OPENED||r.readyState===r.DONE)&&r.dispatchEvent("readystatechange"),r.readyState===r.DONE)){let e;e=f?"abort":d?"error":"load",r.dispatchEvent(e),r.dispatchEvent("loadend")}}}TX.XMLHttpRequest=TX;var DX=q(SX);const kX=DX||B({__proto__:null,default:DX},[SX]);class AX{constructor(){this.cookies=new Map}parseCookies(e){const t=e.getResponseHeader("set-cookie");t&&t.forEach((e=>{const t=function(e){const t=e.split("; "),n=t[0].indexOf("=");if(-1===n)return;const r=t[0].substring(0,n).trim();if(!r.length)return;let i=t[0].substring(n+1).trim();34===i.charCodeAt(0)&&(i=i.slice(1,-1));const s={name:r,value:i};for(let e=1;e<t.length;e++){const n=t[e].split("=");if(2!==n.length)continue;const r=n[0].trim(),i=n[1].trim();switch(r){case"Expires":s.expires=new Date(i);break;case"Max-Age":const e=new Date;e.setUTCSeconds(e.getUTCSeconds()+parseInt(i,10)),s.expires=e}}return s}(e);t&&this.cookies.set(t.name,t)}))}addCookies(e){const t=[];this.cookies.forEach(((e,n)=>{var r;(null===(r=e.expires)||void 0===r?void 0:r.getTime())<Date.now()?this.cookies.delete(n):t.push(`${n}=${e.value}`)})),t.length&&(e.setDisableHeaderCheck(!0),e.setRequestHeader("cookie",t.join("; ")))}}function CX(){}const RX=null!=new kX({xdomain:!1}).responseType;let OX=class e extends OQ{constructor(e,t){super(),uX(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var t;const n=aX(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new kX(n);try{r.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&r.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{r.setRequestHeader("Accept","*/*")}catch(e){}null===(t=this.opts.cookieJar)||void 0===t||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=()=>{var e;3===r.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(r)),4===r.readyState&&(200===r.status||1223===r.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof r.status?r.status:0)}),0))},r.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=e.requestsCount++,e.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=CX,t)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete e.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}};if(OX.requestsCount=0,OX.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",LX);else if("function"==typeof addEventListener){addEventListener("onpagehide"in oX?"pagehide":"unload",LX,!1)}function LX(){for(let e in OX.requests)OX.requests.hasOwnProperty(e)&&OX.requests[e].abort()}const IX=fZ,PX=process.nextTick,NX="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();const jX={websocket:class extends hX{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=NX?{}:aX(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=new IX(e,t,n)}catch(e){return this.emitReserved("error",e)}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++){const n=e[t],r=t===e.length-1;ZJ(n,this.supportsBinary,(e=>{const t={};if(n.options&&(t.compress=n.options.compress),this.opts.perMessageDeflate){("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1)}try{this.ws.send(e,t)}catch(e){}r&&PX((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=_X()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!IX}},webtransport:class extends hX{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=function(e,t){rX||(rX=new TextDecoder);const n=[];let r=0,i=-1,s=!1;return new TransformStream({transform(o,a){for(n.push(o);;){if(0===r){if(iX(n)<1)break;const e=sX(n,1);s=!(128&~e[0]),i=127&e[0],r=i<126?3:126===i?1:2}else if(1===r){if(iX(n)<2)break;const e=sX(n,2);i=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(iX(n)<8)break;const e=sX(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),s=t.getUint32(0);if(s>Math.pow(2,21)-1){a.enqueue(YJ);break}i=s*Math.pow(2,32)+t.getUint32(4),r=3}else{if(iX(n)<i)break;const e=sX(n,i);a.enqueue(XJ(s?e:rX.decode(e),t)),r=0}if(0===i||i>e){a.enqueue(YJ);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=nX();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const i=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),i())})).catch((e=>{}))};i();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this.writer.write(s).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;this.writer.write(n).then((()=>{r&&PX((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends hX{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=RX&&!t,this.opts.withCredentials&&(this.cookieJar=new AX)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(tX),r=[];for(let e=0;e<n.length;e++){const i=XJ(n[e],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach(((e,s)=>{ZJ(e,!1,(e=>{r[s]=e,++i===n&&t(r.join(tX))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=_X()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new OX(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},FX=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,BX=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function MX(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=FX.exec(e||""),s={},o=14;for(;o--;)s[BX[o]]=i[o]||"";return-1!=n&&-1!=r&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=function(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,s.path),s.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,s.query),s}let UX=class e extends OQ{constructor(e,t={}){super(),this.binaryType="nodebuffer",this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=MX(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=MX(t.host).host),uX(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,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},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new jX[e](n)}open(){let t;if(this.opts.rememberUpgrade&&e.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(e){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(t){let n=this.createTransport(t),r=!1;e.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(t=>{if(!r)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;e.priorWebsocketSuccess="websocket"===n.name,this.transport.pause((()=>{r||"closed"!==this.readyState&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=n.name,this.emitReserved("upgradeError",e)}})))};function s(){r||(r=!0,u(),n.close(),n=null)}const o=e=>{const t=new Error("probe error: "+e);t.transport=n.name,s(),this.emitReserved("upgradeError",t)};function a(){o("transport closed")}function c(){o("socket closed")}function l(e){n&&e.name!==n.name&&s()}const u=()=>{n.removeListener("open",i),n.removeListener("error",o),n.removeListener("close",a),this.off("close",c),this.off("upgrading",l)};n.once("open",i),n.once("error",o),n.once("close",a),this.once("close",c),this.once("upgrading",l),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn((()=>{r||n.open()}),200):n.open()}onOpen(){if(this.readyState="open",e.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n<this.writeBuffer.length;n++){const r=this.writeBuffer[n].data;if(r&&(e+="string"==typeof(t=r)?function(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(t){e.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}};UX.protocol=4,UX.protocol;const qX="function"==typeof ArrayBuffer,HX=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,$X=Object.prototype.toString,zX="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===$X.call(Blob),WX="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===$X.call(File);function GX(e){return qX&&(e instanceof ArrayBuffer||HX(e))||zX&&e instanceof Blob||WX&&e instanceof File}function VX(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(VX(e[t]))return!0;return!1}if(GX(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return VX(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&VX(e[t]))return!0;return!1}function KX(e){const t=[],n=e.data,r=e;return r.data=YX(n,t),r.attachments=t.length,{packet:r,buffers:t}}function YX(e,t){if(!e)return e;if(GX(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=YX(e[r],t);return n}if("object"==typeof e&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=YX(e[r],t));return n}return e}function ZX(e,t){return e.data=QX(e.data,t),delete e.attachments,e}function QX(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=QX(e[n],t);else if("object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=QX(e[n],t));return e}const JX=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var XX;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(XX||(XX={}));function e0(e){return"[object Object]"===Object.prototype.toString.call(e)}class t0 extends OQ{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===XX.BINARY_EVENT;n||t.type===XX.BINARY_ACK?(t.type=n?XX.EVENT:XX.ACK,this.reconstructor=new n0(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!GX(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===XX[n.type])throw new Error("unknown packet type "+n.type);if(n.type===XX.BINARY_EVENT||n.type===XX.BINARY_ACK){const r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(i)}if("/"===e.charAt(t+1)){const r=t+1;for(;++t;){if(","===e.charAt(t))break;if(t===e.length)break}n.nsp=e.substring(r,t)}else n.nsp="/";const r=e.charAt(t+1);if(""!==r&&Number(r)==r){const r=t+1;for(;++t;){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=this.tryParse(e.substr(t));if(!t0.isPayloadValid(n.type,r))throw new Error("invalid payload");n.data=r}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case XX.CONNECT:return e0(t);case XX.DISCONNECT:return void 0===t;case XX.CONNECT_ERROR:return"string"==typeof t||e0(t);case XX.EVENT:case XX.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===JX.indexOf(t[0]));case XX.ACK:case XX.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class n0{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=ZX(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}var r0=Object.freeze({__proto__:null,Decoder:t0,Encoder:class{constructor(e){this.replacer=e}encode(e){return e.type!==XX.EVENT&&e.type!==XX.ACK||!VX(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===XX.EVENT?XX.BINARY_EVENT:XX.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==XX.BINARY_EVENT&&e.type!==XX.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=KX(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}},get PacketType(){return XX},protocol:5});function i0(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const s0=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class o0 extends OQ{constructor(e,t,n){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,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[i0(e,"open",this.onopen.bind(this)),i0(e,"packet",this.onpacket.bind(this)),i0(e,"error",this.onerror.bind(this)),i0(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(s0.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;const n={type:XX.EVENT,data:t,options:{}};if(n.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++,r=t.pop();this._registerAckCallback(e,r),n.id=e}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){var n;const r=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===r)return void(this.acks[e]=t);const i=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))}),r),s=(...e)=>{this.io.clearTimeoutFn(i),t.apply(this,e)};s.withError=!0,this.acks[e]=s}emitWithAck(e,...t){return new Promise(((n,r)=>{const i=(e,t)=>e?r(e):n(t);i.withError=!0,t.push(i),this.emit(e,...t)}))}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n!==this._queue[0])return;return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const 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(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:XX.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((t=>String(t.id)===e))){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case XX.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 XX.EVENT:case XX.BINARY_EVENT:this.onevent(e);break;case XX.ACK:case XX.BINARY_ACK:this.onack(e);break;case XX.DISCONNECT:this.ondisconnect();break;case XX.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&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){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:XX.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(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:XX.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){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,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){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function a0(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}a0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},a0.prototype.reset=function(){this.attempts=0},a0.prototype.setMin=function(e){this.ms=e},a0.prototype.setMax=function(e){this.max=e},a0.prototype.setJitter=function(e){this.jitter=e};class c0 extends OQ{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,uX(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new a0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||r0;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new UX(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=i0(t,"open",(function(){n.onopen(),e&&e()})),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},s=i0(t,"error",i);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),i(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(s),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(i0(e,"ping",this.onping.bind(this)),i0(e,"data",this.ondata.bind(this)),i0(e,"error",this.onerror.bind(this)),i0(e,"close",this.onclose.bind(this)),i0(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){PX((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new o0(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t){if(this.nsps[e].active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],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"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),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;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const l0={};function u0(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=MX(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,i=n.id,s=n.path,o=l0[i]&&s in l0[i].nsps;let a;return t.forceNew||t["force new connection"]||!1===t.multiplex||o?a=new c0(r,t):(l0[i]||(l0[i]=new c0(r,t)),a=l0[i]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(u0,{Manager:c0,Socket:o0,io:u0,connect:u0});const p0=async()=>{const e=zr("Login Init...").start();try{console.log(`${tf}/login`);const t=await fetch(`${tf}/login`,{method:"POST"});if(!t.ok)throw new Error("Network response was not ok");const n=await t.json(),{room:r,sessionId:i}=n;e.succeed();const s=zr("Wait User Auth").start();$J(`https://partner.qumra.cloud/cli/auth?sessionId=${i}`).then((()=>{const e=u0("https://api.qumra.cloud");e.on("connect",(()=>{e.emit("authRoom",r)})),e.on("login",(({data:t,token:n})=>{rf("user",t),rf("token",n),s.succeed("success"),e.disconnect()}))})).catch((e=>console.error("Failed to open URL:",e)))}catch(t){e.stop(),console.error("Failed to fetch data:",t)}};new ke("user").command("login").description("Run development server with Webpack and BrowserSync").action(p0);df.parseFont("Standard","flf2a$ 6 5 16 15 13 0 24463 229\nStandard by Glenn Chappell & Ian Chai 3/93 -- based on Frank's .sig\nIncludes ISO Latin-1\nfiglet release 2.1 -- 12 Aug 1994\nModified for figlet 2.2 by John Cowan <cowan@ccil.org>\n to add Latin-{2,3,4,5} support (Unicode U+0100-017F).\nPermission is hereby given to modify this font, as long as the\nmodifier's name is placed on a comment line.\n\nModified by Paul Burton <solution@earthlink.net> 12/96 to include new parameter\nsupported by FIGlet and FIGWin. May also be slightly modified for better use\nof new full-width/kern/smush alternatives, but default output is NOT changed.\n\nFont modified May 20, 2012 by patorjk to add the 0xCA0 character\n $@\n $@\n $@\n $@\n $@\n $@@\n _ @\n | |@\n | |@\n |_|@\n (_)@\n @@\n _ _ @\n ( | )@\n V V @\n $ @\n $ @\n @@\n _ _ @\n _| || |_ @\n |_ .. _|@\n |_ _|@\n |_||_| @\n @@\n _ @\n | | @\n / __)@\n \\__ \\@\n ( /@\n |_| @@\n _ __@\n (_)/ /@\n / / @\n / /_ @\n /_/(_)@\n @@\n ___ @\n ( _ ) @\n / _ \\/\\@\n | (_> <@\n \\___/\\/@\n @@\n _ @\n ( )@\n |/ @\n $ @\n $ @\n @@\n __@\n / /@\n | | @\n | | @\n | | @\n \\_\\@@\n __ @\n \\ \\ @\n | |@\n | |@\n | |@\n /_/ @@\n @\n __/\\__@\n \\ /@\n /_ _\\@\n \\/ @\n @@\n @\n _ @\n _| |_ @\n |_ _|@\n |_| @\n @@\n @\n @\n @\n _ @\n ( )@\n |/ @@\n @\n @\n _____ @\n |_____|@\n $ @\n @@\n @\n @\n @\n _ @\n (_)@\n @@\n __@\n / /@\n / / @\n / / @\n /_/ @\n @@\n ___ @\n / _ \\ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n _ @\n / |@\n | |@\n | |@\n |_|@\n @@\n ____ @\n |___ \\ @\n __) |@\n / __/ @\n |_____|@\n @@\n _____ @\n |___ / @\n |_ \\ @\n ___) |@\n |____/ @\n @@\n _ _ @\n | || | @\n | || |_ @\n |__ _|@\n |_| @\n @@\n ____ @\n | ___| @\n |___ \\ @\n ___) |@\n |____/ @\n @@\n __ @\n / /_ @\n | '_ \\ @\n | (_) |@\n \\___/ @\n @@\n _____ @\n |___ |@\n / / @\n / / @\n /_/ @\n @@\n ___ @\n ( _ ) @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n ___ @\n / _ \\ @\n | (_) |@\n \\__, |@\n /_/ @\n @@\n @\n _ @\n (_)@\n _ @\n (_)@\n @@\n @\n _ @\n (_)@\n _ @\n ( )@\n |/ @@\n __@\n / /@\n / / @\n \\ \\ @\n \\_\\@\n @@\n @\n _____ @\n |_____|@\n |_____|@\n $ @\n @@\n __ @\n \\ \\ @\n \\ \\@\n / /@\n /_/ @\n @@\n ___ @\n |__ \\@\n / /@\n |_| @\n (_) @\n @@\n ____ @\n / __ \\ @\n / / _` |@\n | | (_| |@\n \\ \\__,_|@\n \\____/ @@\n _ @\n / \\ @\n / _ \\ @\n / ___ \\ @\n /_/ \\_\\@\n @@\n ____ @\n | __ ) @\n | _ \\ @\n | |_) |@\n |____/ @\n @@\n ____ @\n / ___|@\n | | @\n | |___ @\n \\____|@\n @@\n ____ @\n | _ \\ @\n | | | |@\n | |_| |@\n |____/ @\n @@\n _____ @\n | ____|@\n | _| @\n | |___ @\n |_____|@\n @@\n _____ @\n | ___|@\n | |_ @\n | _| @\n |_| @\n @@\n ____ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n _ _ @\n | | | |@\n | |_| |@\n | _ |@\n |_| |_|@\n @@\n ___ @\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n _ @\n | |@\n _ | |@\n | |_| |@\n \\___/ @\n @@\n _ __@\n | |/ /@\n | ' / @\n | . \\ @\n |_|\\_\\@\n @@\n _ @\n | | @\n | | @\n | |___ @\n |_____|@\n @@\n __ __ @\n | \\/ |@\n | |\\/| |@\n | | | |@\n |_| |_|@\n @@\n _ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n @@\n ___ @\n / _ \\ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n ____ @\n | _ \\ @\n | |_) |@\n | __/ @\n |_| @\n @@\n ___ @\n / _ \\ @\n | | | |@\n | |_| |@\n \\__\\_\\@\n @@\n ____ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n @@\n ____ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n _____ @\n |_ _|@\n | | @\n | | @\n |_| @\n @@\n _ _ @\n | | | |@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n __ __@\n \\ \\ / /@\n \\ \\ / / @\n \\ V / @\n \\_/ @\n @@\n __ __@\n \\ \\ / /@\n \\ \\ /\\ / / @\n \\ V V / @\n \\_/\\_/ @\n @@\n __ __@\n \\ \\/ /@\n \\ / @\n / \\ @\n /_/\\_\\@\n @@\n __ __@\n \\ \\ / /@\n \\ V / @\n | | @\n |_| @\n @@\n _____@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n __ @\n | _|@\n | | @\n | | @\n | | @\n |__|@@\n __ @\n \\ \\ @\n \\ \\ @\n \\ \\ @\n \\_\\@\n @@\n __ @\n |_ |@\n | |@\n | |@\n | |@\n |__|@@\n /\\ @\n |/\\|@\n $ @\n $ @\n $ @\n @@\n @\n @\n @\n @\n _____ @\n |_____|@@\n _ @\n ( )@\n \\|@\n $ @\n $ @\n @@\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n _ @\n | |__ @\n | '_ \\ @\n | |_) |@\n |_.__/ @\n @@\n @\n ___ @\n / __|@\n | (__ @\n \\___|@\n @@\n _ @\n __| |@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n @\n ___ @\n / _ \\@\n | __/@\n \\___|@\n @@\n __ @\n / _|@\n | |_ @\n | _|@\n |_| @\n @@\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n _ @\n | |__ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n _ @\n (_)@\n | |@\n | |@\n |_|@\n @@\n _ @\n (_)@\n | |@\n | |@\n _/ |@\n |__/ @@\n _ @\n | | __@\n | |/ /@\n | < @\n |_|\\_\\@\n @@\n _ @\n | |@\n | |@\n | |@\n |_|@\n @@\n @\n _ __ ___ @\n | '_ ` _ \\ @\n | | | | | |@\n |_| |_| |_|@\n @@\n @\n _ __ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n @\n ___ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n @\n _ __ @\n | '_ \\ @\n | |_) |@\n | .__/ @\n |_| @@\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |_|@@\n @\n _ __ @\n | '__|@\n | | @\n |_| @\n @@\n @\n ___ @\n / __|@\n \\__ \\@\n |___/@\n @@\n _ @\n | |_ @\n | __|@\n | |_ @\n \\__|@\n @@\n @\n _ _ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n @\n __ __@\n \\ \\ / /@\n \\ V / @\n \\_/ @\n @@\n @\n __ __@\n \\ \\ /\\ / /@\n \\ V V / @\n \\_/\\_/ @\n @@\n @\n __ __@\n \\ \\/ /@\n > < @\n /_/\\_\\@\n @@\n @\n _ _ @\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n @\n ____@\n |_ /@\n / / @\n /___|@\n @@\n __@\n / /@\n | | @\n < < @\n | | @\n \\_\\@@\n _ @\n | |@\n | |@\n | |@\n | |@\n |_|@@\n __ @\n \\ \\ @\n | | @\n > >@\n | | @\n /_/ @@\n /\\/|@\n |/\\/ @\n $ @\n $ @\n $ @\n @@\n _ _ @\n (_)_(_)@\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n _ _ @\n (_)_(_)@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n _ _ @\n (_)_(_)@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n _ _ @\n (_)_(_)@\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n ___ @\n / _ \\@\n | |/ /@\n | |\\ \\@\n | ||_/@\n |_| @@\n160 NO-BREAK SPACE\n $@\n $@\n $@\n $@\n $@\n $@@\n161 INVERTED EXCLAMATION MARK\n _ @\n (_)@\n | |@\n | |@\n |_|@\n @@\n162 CENT SIGN\n _ @\n | | @\n / __)@\n | (__ @\n \\ )@\n |_| @@\n163 POUND SIGN\n ___ @\n / ,_\\ @\n _| |_ @\n | |___ @\n (_,____|@\n @@\n164 CURRENCY SIGN\n /\\___/\\@\n \\ _ /@\n | (_) |@\n / ___ \\@\n \\/ \\/@\n @@\n165 YEN SIGN\n __ __ @\n \\ V / @\n |__ __|@\n |__ __|@\n |_| @\n @@\n166 BROKEN BAR\n _ @\n | |@\n |_|@\n _ @\n | |@\n |_|@@\n167 SECTION SIGN\n __ @\n _/ _)@\n / \\ \\ @\n \\ \\\\ \\@\n \\ \\_/@\n (__/ @@\n168 DIAERESIS\n _ _ @\n (_) (_)@\n $ $ @\n $ $ @\n $ $ @\n @@\n169 COPYRIGHT SIGN\n _____ @\n / ___ \\ @\n / / __| \\ @\n | | (__ |@\n \\ \\___| / @\n \\_____/ @@\n170 FEMININE ORDINAL INDICATOR\n __ _ @\n / _` |@\n \\__,_|@\n |____|@\n $ @\n @@\n171 LEFT-POINTING DOUBLE ANGLE QUOTATION MARK\n ____@\n / / /@\n / / / @\n \\ \\ \\ @\n \\_\\_\\@\n @@\n172 NOT SIGN\n @\n _____ @\n |___ |@\n |_|@\n $ @\n @@\n173 SOFT HYPHEN\n @\n @\n ____ @\n |____|@\n $ @\n @@\n174 REGISTERED SIGN\n _____ @\n / ___ \\ @\n / | _ \\ \\ @\n | | / |@\n \\ |_|_\\ / @\n \\_____/ @@\n175 MACRON\n _____ @\n |_____|@\n $ @\n $ @\n $ @\n @@\n176 DEGREE SIGN\n __ @\n / \\ @\n | () |@\n \\__/ @\n $ @\n @@\n177 PLUS-MINUS SIGN\n _ @\n _| |_ @\n |_ _|@\n _|_|_ @\n |_____|@\n @@\n178 SUPERSCRIPT TWO\n ___ @\n |_ )@\n / / @\n /___|@\n $ @\n @@\n179 SUPERSCRIPT THREE\n ____@\n |__ /@\n |_ \\@\n |___/@\n $ @\n @@\n180 ACUTE ACCENT\n __@\n /_/@\n $ @\n $ @\n $ @\n @@\n181 MICRO SIGN\n @\n _ _ @\n | | | |@\n | |_| |@\n | ._,_|@\n |_| @@\n182 PILCROW SIGN\n _____ @\n / |@\n | (| | |@\n \\__ | |@\n |_|_|@\n @@\n183 MIDDLE DOT\n @\n _ @\n (_)@\n $ @\n $ @\n @@\n184 CEDILLA\n @\n @\n @\n @\n _ @\n )_)@@\n185 SUPERSCRIPT ONE\n _ @\n / |@\n | |@\n |_|@\n $ @\n @@\n186 MASCULINE ORDINAL INDICATOR\n ___ @\n / _ \\@\n \\___/@\n |___|@\n $ @\n @@\n187 RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK\n ____ @\n \\ \\ \\ @\n \\ \\ \\@\n / / /@\n /_/_/ @\n @@\n188 VULGAR FRACTION ONE QUARTER\n _ __ @\n / | / / _ @\n | |/ / | | @\n |_/ /|_ _|@\n /_/ |_| @\n @@\n189 VULGAR FRACTION ONE HALF\n _ __ @\n / | / /__ @\n | |/ /_ )@\n |_/ / / / @\n /_/ /___|@\n @@\n190 VULGAR FRACTION THREE QUARTERS\n ____ __ @\n |__ / / / _ @\n |_ \\/ / | | @\n |___/ /|_ _|@\n /_/ |_| @\n @@\n191 INVERTED QUESTION MARK\n _ @\n (_) @\n | | @\n / /_ @\n \\___|@\n @@\n192 LATIN CAPITAL LETTER A WITH GRAVE\n __ @\n \\_\\ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n193 LATIN CAPITAL LETTER A WITH ACUTE\n __ @\n /_/ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n194 LATIN CAPITAL LETTER A WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n195 LATIN CAPITAL LETTER A WITH TILDE\n /\\/| @\n |/\\/ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n196 LATIN CAPITAL LETTER A WITH DIAERESIS\n _ _ @\n (_)_(_)@\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n197 LATIN CAPITAL LETTER A WITH RING ABOVE\n _ @\n (o) @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n198 LATIN CAPITAL LETTER AE\n ______ @\n / ____|@\n / _ _| @\n / __ |___ @\n /_/ |_____|@\n @@\n199 LATIN CAPITAL LETTER C WITH CEDILLA\n ____ @\n / ___|@\n | | @\n | |___ @\n \\____|@\n )_) @@\n200 LATIN CAPITAL LETTER E WITH GRAVE\n __ @\n _\\_\\_ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n201 LATIN CAPITAL LETTER E WITH ACUTE\n __ @\n _/_/_ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n202 LATIN CAPITAL LETTER E WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n | ____|@\n | _|_ @\n |_____|@\n @@\n203 LATIN CAPITAL LETTER E WITH DIAERESIS\n _ _ @\n (_)_(_)@\n | ____|@\n | _|_ @\n |_____|@\n @@\n204 LATIN CAPITAL LETTER I WITH GRAVE\n __ @\n \\_\\ @\n |_ _|@\n | | @\n |___|@\n @@\n205 LATIN CAPITAL LETTER I WITH ACUTE\n __ @\n /_/ @\n |_ _|@\n | | @\n |___|@\n @@\n206 LATIN CAPITAL LETTER I WITH CIRCUMFLEX\n //\\ @\n |/_\\|@\n |_ _|@\n | | @\n |___|@\n @@\n207 LATIN CAPITAL LETTER I WITH DIAERESIS\n _ _ @\n (_)_(_)@\n |_ _| @\n | | @\n |___| @\n @@\n208 LATIN CAPITAL LETTER ETH\n ____ @\n | _ \\ @\n _| |_| |@\n |__ __| |@\n |____/ @\n @@\n209 LATIN CAPITAL LETTER N WITH TILDE\n /\\/|@\n |/\\/ @\n | \\| |@\n | .` |@\n |_|\\_|@\n @@\n210 LATIN CAPITAL LETTER O WITH GRAVE\n __ @\n \\_\\ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n211 LATIN CAPITAL LETTER O WITH ACUTE\n __ @\n /_/ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n212 LATIN CAPITAL LETTER O WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n213 LATIN CAPITAL LETTER O WITH TILDE\n /\\/| @\n |/\\/ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n214 LATIN CAPITAL LETTER O WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n215 MULTIPLICATION SIGN\n @\n @\n /\\/\\@\n > <@\n \\/\\/@\n @@\n216 LATIN CAPITAL LETTER O WITH STROKE\n ____ @\n / _// @\n | |// |@\n | //| |@\n //__/ @\n @@\n217 LATIN CAPITAL LETTER U WITH GRAVE\n __ @\n _\\_\\_ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n218 LATIN CAPITAL LETTER U WITH ACUTE\n __ @\n _/_/_ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n219 LATIN CAPITAL LETTER U WITH CIRCUMFLEX\n //\\ @\n |/ \\| @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n220 LATIN CAPITAL LETTER U WITH DIAERESIS\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n221 LATIN CAPITAL LETTER Y WITH ACUTE\n __ @\n __/_/__@\n \\ \\ / /@\n \\ V / @\n |_| @\n @@\n222 LATIN CAPITAL LETTER THORN\n _ @\n | |___ @\n | __ \\@\n | ___/@\n |_| @\n @@\n223 LATIN SMALL LETTER SHARP S\n ___ @\n / _ \\@\n | |/ /@\n | |\\ \\@\n | ||_/@\n |_| @@\n224 LATIN SMALL LETTER A WITH GRAVE\n __ @\n \\_\\_ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n225 LATIN SMALL LETTER A WITH ACUTE\n __ @\n /_/_ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n226 LATIN SMALL LETTER A WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n227 LATIN SMALL LETTER A WITH TILDE\n /\\/| @\n |/\\/_ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n228 LATIN SMALL LETTER A WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n229 LATIN SMALL LETTER A WITH RING ABOVE\n __ @\n (()) @\n / _ '|@\n | (_| |@\n \\__,_|@\n @@\n230 LATIN SMALL LETTER AE\n @\n __ ____ @\n / _` _ \\@\n | (_| __/@\n \\__,____|@\n @@\n231 LATIN SMALL LETTER C WITH CEDILLA\n @\n ___ @\n / __|@\n | (__ @\n \\___|@\n )_) @@\n232 LATIN SMALL LETTER E WITH GRAVE\n __ @\n \\_\\ @\n / _ \\@\n | __/@\n \\___|@\n @@\n233 LATIN SMALL LETTER E WITH ACUTE\n __ @\n /_/ @\n / _ \\@\n | __/@\n \\___|@\n @@\n234 LATIN SMALL LETTER E WITH CIRCUMFLEX\n //\\ @\n |/_\\|@\n / _ \\@\n | __/@\n \\___|@\n @@\n235 LATIN SMALL LETTER E WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _ \\ @\n | __/ @\n \\___| @\n @@\n236 LATIN SMALL LETTER I WITH GRAVE\n __ @\n \\_\\@\n | |@\n | |@\n |_|@\n @@\n237 LATIN SMALL LETTER I WITH ACUTE\n __@\n /_/@\n | |@\n | |@\n |_|@\n @@\n238 LATIN SMALL LETTER I WITH CIRCUMFLEX\n //\\ @\n |/_\\|@\n | | @\n | | @\n |_| @\n @@\n239 LATIN SMALL LETTER I WITH DIAERESIS\n _ _ @\n (_)_(_)@\n | | @\n | | @\n |_| @\n @@\n240 LATIN SMALL LETTER ETH\n /\\/\\ @\n > < @\n _\\/\\ |@\n / __` |@\n \\____/ @\n @@\n241 LATIN SMALL LETTER N WITH TILDE\n /\\/| @\n |/\\/ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n242 LATIN SMALL LETTER O WITH GRAVE\n __ @\n \\_\\ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n243 LATIN SMALL LETTER O WITH ACUTE\n __ @\n /_/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n244 LATIN SMALL LETTER O WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n245 LATIN SMALL LETTER O WITH TILDE\n /\\/| @\n |/\\/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n246 LATIN SMALL LETTER O WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n247 DIVISION SIGN\n @\n _ @\n _(_)_ @\n |_____|@\n (_) @\n @@\n248 LATIN SMALL LETTER O WITH STROKE\n @\n ____ @\n / _//\\ @\n | (//) |@\n \\//__/ @\n @@\n249 LATIN SMALL LETTER U WITH GRAVE\n __ @\n _\\_\\_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n250 LATIN SMALL LETTER U WITH ACUTE\n __ @\n _/_/_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n251 LATIN SMALL LETTER U WITH CIRCUMFLEX\n //\\ @\n |/ \\| @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n252 LATIN SMALL LETTER U WITH DIAERESIS\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n253 LATIN SMALL LETTER Y WITH ACUTE\n __ @\n _/_/_ @\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n254 LATIN SMALL LETTER THORN\n _ @\n | |__ @\n | '_ \\ @\n | |_) |@\n | .__/ @\n |_| @@\n255 LATIN SMALL LETTER Y WITH DIAERESIS\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n0x0100 LATIN CAPITAL LETTER A WITH MACRON\n ____ @\n /___/ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n0x0101 LATIN SMALL LETTER A WITH MACRON\n ___ @\n /_ _/@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0102 LATIN CAPITAL LETTER A WITH BREVE\n _ _ @\n \\\\_// @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n0x0103 LATIN SMALL LETTER A WITH BREVE\n \\_/ @\n ___ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0104 LATIN CAPITAL LETTER A WITH OGONEK\n @\n _ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n (_(@@\n0x0105 LATIN SMALL LETTER A WITH OGONEK\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__,_|@\n (_(@@\n0x0106 LATIN CAPITAL LETTER C WITH ACUTE\n __ @\n _/_/ @\n / ___|@\n | |___ @\n \\____|@\n @@\n0x0107 LATIN SMALL LETTER C WITH ACUTE\n __ @\n /__/@\n / __|@\n | (__ @\n \\___|@\n @@\n0x0108 LATIN CAPITAL LETTER C WITH CIRCUMFLEX\n /\\ @\n _//\\\\@\n / ___|@\n | |___ @\n \\____|@\n @@\n0x0109 LATIN SMALL LETTER C WITH CIRCUMFLEX\n /\\ @\n /_\\ @\n / __|@\n | (__ @\n \\___|@\n @@\n0x010A LATIN CAPITAL LETTER C WITH DOT ABOVE\n [] @\n ____ @\n / ___|@\n | |___ @\n \\____|@\n @@\n0x010B LATIN SMALL LETTER C WITH DOT ABOVE\n [] @\n ___ @\n / __|@\n | (__ @\n \\___|@\n @@\n0x010C LATIN CAPITAL LETTER C WITH CARON\n \\\\// @\n _\\/_ @\n / ___|@\n | |___ @\n \\____|@\n @@\n0x010D LATIN SMALL LETTER C WITH CARON\n \\\\//@\n _\\/ @\n / __|@\n | (__ @\n \\___|@\n @@\n0x010E LATIN CAPITAL LETTER D WITH CARON\n \\\\// @\n __\\/ @\n | _ \\ @\n | |_| |@\n |____/ @\n @@\n0x010F LATIN SMALL LETTER D WITH CARON\n \\/ _ @\n __| |@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0110 LATIN CAPITAL LETTER D WITH STROKE\n ____ @\n |_ __ \\ @\n /| |/ | |@\n /|_|/_| |@\n |_____/ @\n @@\n0x0111 LATIN SMALL LETTER D WITH STROKE\n ---|@\n __| |@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0112 LATIN CAPITAL LETTER E WITH MACRON\n ____ @\n /___/ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x0113 LATIN SMALL LETTER E WITH MACRON\n ____@\n /_ _/@\n / _ \\ @\n | __/ @\n \\___| @\n @@\n0x0114 LATIN CAPITAL LETTER E WITH BREVE\n _ _ @\n \\\\_// @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x0115 LATIN SMALL LETTER E WITH BREVE\n \\\\ //@\n -- @\n / _ \\ @\n | __/ @\n \\___| @\n @@\n0x0116 LATIN CAPITAL LETTER E WITH DOT ABOVE\n [] @\n _____ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x0117 LATIN SMALL LETTER E WITH DOT ABOVE\n [] @\n __ @\n / _ \\@\n | __/@\n \\___|@\n @@\n0x0118 LATIN CAPITAL LETTER E WITH OGONEK\n @\n _____ @\n | ____|@\n | _|_ @\n |_____|@\n (__(@@\n0x0119 LATIN SMALL LETTER E WITH OGONEK\n @\n ___ @\n / _ \\@\n | __/@\n \\___|@\n (_(@@\n0x011A LATIN CAPITAL LETTER E WITH CARON\n \\\\// @\n __\\/_ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x011B LATIN SMALL LETTER E WITH CARON\n \\\\//@\n \\/ @\n / _ \\@\n | __/@\n \\___|@\n @@\n0x011C LATIN CAPITAL LETTER G WITH CIRCUMFLEX\n _/\\_ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n0x011D LATIN SMALL LETTER G WITH CIRCUMFLEX\n /\\ @\n _/_ \\@\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n0x011E LATIN CAPITAL LETTER G WITH BREVE\n _\\/_ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n0x011F LATIN SMALL LETTER G WITH BREVE\n \\___/ @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n0x0120 LATIN CAPITAL LETTER G WITH DOT ABOVE\n _[]_ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n0x0121 LATIN SMALL LETTER G WITH DOT ABOVE\n [] @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n0x0122 LATIN CAPITAL LETTER G WITH CEDILLA\n ____ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n )__) @@\n0x0123 LATIN SMALL LETTER G WITH CEDILLA\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |_))))@@\n0x0124 LATIN CAPITAL LETTER H WITH CIRCUMFLEX\n _/ \\_ @\n | / \\ |@\n | |_| |@\n | _ |@\n |_| |_|@\n @@\n0x0125 LATIN SMALL LETTER H WITH CIRCUMFLEX\n _ /\\ @\n | |//\\ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0126 LATIN CAPITAL LETTER H WITH STROKE\n _ _ @\n | |=| |@\n | |_| |@\n | _ |@\n |_| |_|@\n @@\n0x0127 LATIN SMALL LETTER H WITH STROKE\n _ @\n |=|__ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0128 LATIN CAPITAL LETTER I WITH TILDE\n /\\//@\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x0129 LATIN SMALL LETTER I WITH TILDE\n @\n /\\/@\n | |@\n | |@\n |_|@\n @@\n0x012A LATIN CAPITAL LETTER I WITH MACRON\n /___/@\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x012B LATIN SMALL LETTER I WITH MACRON\n ____@\n /___/@\n | | @\n | | @\n |_| @\n @@\n0x012C LATIN CAPITAL LETTER I WITH BREVE\n \\__/@\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x012D LATIN SMALL LETTER I WITH BREVE\n @\n \\_/@\n | |@\n | |@\n |_|@\n @@\n0x012E LATIN CAPITAL LETTER I WITH OGONEK\n ___ @\n |_ _|@\n | | @\n | | @\n |___|@\n (__(@@\n0x012F LATIN SMALL LETTER I WITH OGONEK\n _ @\n (_) @\n | | @\n | | @\n |_|_@\n (_(@@\n0x0130 LATIN CAPITAL LETTER I WITH DOT ABOVE\n _[] @\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x0131 LATIN SMALL LETTER DOTLESS I\n @\n _ @\n | |@\n | |@\n |_|@\n @@\n0x0132 LATIN CAPITAL LIGATURE IJ\n ___ _ @\n |_ _|| |@\n | | | |@\n | |_| |@\n |__|__/ @\n @@\n0x0133 LATIN SMALL LIGATURE IJ\n _ _ @\n (_) (_)@\n | | | |@\n | | | |@\n |_|_/ |@\n |__/ @@\n0x0134 LATIN CAPITAL LETTER J WITH CIRCUMFLEX\n /\\ @\n /_\\|@\n _ | | @\n | |_| | @\n \\___/ @\n @@\n0x0135 LATIN SMALL LETTER J WITH CIRCUMFLEX\n /\\@\n /_\\@\n | |@\n | |@\n _/ |@\n |__/ @@\n0x0136 LATIN CAPITAL LETTER K WITH CEDILLA\n _ _ @\n | |/ / @\n | ' / @\n | . \\ @\n |_|\\_\\ @\n )__)@@\n0x0137 LATIN SMALL LETTER K WITH CEDILLA\n _ @\n | | __@\n | |/ /@\n | < @\n |_|\\_\\@\n )_)@@\n0x0138 LATIN SMALL LETTER KRA\n @\n _ __ @\n | |/ \\@\n | < @\n |_|\\_\\@\n @@\n0x0139 LATIN CAPITAL LETTER L WITH ACUTE\n _ //@\n | | // @\n | | @\n | |___ @\n |_____|@\n @@\n0x013A LATIN SMALL LETTER L WITH ACUTE\n //@\n | |@\n | |@\n | |@\n |_|@\n @@\n0x013B LATIN CAPITAL LETTER L WITH CEDILLA\n _ @\n | | @\n | | @\n | |___ @\n |_____|@\n )__)@@\n0x013C LATIN SMALL LETTER L WITH CEDILLA\n _ @\n | | @\n | | @\n | | @\n |_| @\n )_)@@\n0x013D LATIN CAPITAL LETTER L WITH CARON\n _ \\\\//@\n | | \\/ @\n | | @\n | |___ @\n |_____|@\n @@\n0x013E LATIN SMALL LETTER L WITH CARON\n _ \\\\//@\n | | \\/ @\n | | @\n | | @\n |_| @\n @@\n0x013F LATIN CAPITAL LETTER L WITH MIDDLE DOT\n _ @\n | | @\n | | [] @\n | |___ @\n |_____|@\n @@\n0x0140 LATIN SMALL LETTER L WITH MIDDLE DOT\n _ @\n | | @\n | | []@\n | | @\n |_| @\n @@\n0x0141 LATIN CAPITAL LETTER L WITH STROKE\n __ @\n | // @\n |//| @\n // |__ @\n |_____|@\n @@\n0x0142 LATIN SMALL LETTER L WITH STROKE\n _ @\n | |@\n |//@\n //|@\n |_|@\n @@\n0x0143 LATIN CAPITAL LETTER N WITH ACUTE\n _/ /_ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n @@\n0x0144 LATIN SMALL LETTER N WITH ACUTE\n _ @\n _ /_/ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0145 LATIN CAPITAL LETTER N WITH CEDILLA\n _ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n )_) @@\n0x0146 LATIN SMALL LETTER N WITH CEDILLA\n @\n _ __ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n )_) @@\n0x0147 LATIN CAPITAL LETTER N WITH CARON\n _\\/ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n @@\n0x0148 LATIN SMALL LETTER N WITH CARON\n \\\\// @\n _\\/_ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0149 LATIN SMALL LETTER N PRECEDED BY APOSTROPHE\n @\n _ __ @\n ( )| '_\\ @\n |/| | | |@\n |_| |_|@\n @@\n0x014A LATIN CAPITAL LETTER ENG\n _ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\ |@\n )_)@@\n0x014B LATIN SMALL LETTER ENG\n _ __ @\n | '_ \\ @\n | | | |@\n |_| | |@\n | |@\n |__ @@\n0x014C LATIN CAPITAL LETTER O WITH MACRON\n ____ @\n /_ _/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n0x014D LATIN SMALL LETTER O WITH MACRON\n ____ @\n /_ _/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n0x014E LATIN CAPITAL LETTER O WITH BREVE\n \\ / @\n _-_ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x014F LATIN SMALL LETTER O WITH BREVE\n \\ / @\n _-_ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x0150 LATIN CAPITAL LETTER O WITH DOUBLE ACUTE\n ___ @\n /_/_/@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x0151 LATIN SMALL LETTER O WITH DOUBLE ACUTE\n ___ @\n /_/_/@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x0152 LATIN CAPITAL LIGATURE OE\n ___ ___ @\n / _ \\| __|@\n | | | | | @\n | |_| | |__@\n \\___/|____@\n @@\n0x0153 LATIN SMALL LIGATURE OE\n @\n ___ ___ @\n / _ \\ / _ \\@\n | (_) | __/@\n \\___/ \\___|@\n @@\n0x0154 LATIN CAPITAL LETTER R WITH ACUTE\n _/_/ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n @@\n0x0155 LATIN SMALL LETTER R WITH ACUTE\n __@\n _ /_/@\n | '__|@\n | | @\n |_| @\n @@\n0x0156 LATIN CAPITAL LETTER R WITH CEDILLA\n ____ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n )_) @@\n0x0157 LATIN SMALL LETTER R WITH CEDILLA\n @\n _ __ @\n | '__|@\n | | @\n |_| @\n )_) @@\n0x0158 LATIN CAPITAL LETTER R WITH CARON\n _\\_/ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n @@\n0x0159 LATIN SMALL LETTER R WITH CARON\n \\\\// @\n _\\/_ @\n | '__|@\n | | @\n |_| @\n @@\n0x015A LATIN CAPITAL LETTER S WITH ACUTE\n _/_/ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n0x015B LATIN SMALL LETTER S WITH ACUTE\n __@\n _/_/@\n / __|@\n \\__ \\@\n |___/@\n @@\n0x015C LATIN CAPITAL LETTER S WITH CIRCUMFLEX\n _/\\_ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n0x015D LATIN SMALL LETTER S WITH CIRCUMFLEX\n @\n /_\\_@\n / __|@\n \\__ \\@\n |___/@\n @@\n0x015E LATIN CAPITAL LETTER S WITH CEDILLA\n ____ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n )__)@@\n0x015F LATIN SMALL LETTER S WITH CEDILLA\n @\n ___ @\n / __|@\n \\__ \\@\n |___/@\n )_)@@\n0x0160 LATIN CAPITAL LETTER S WITH CARON\n _\\_/ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n0x0161 LATIN SMALL LETTER S WITH CARON\n \\\\//@\n _\\/ @\n / __|@\n \\__ \\@\n |___/@\n @@\n0x0162 LATIN CAPITAL LETTER T WITH CEDILLA\n _____ @\n |_ _|@\n | | @\n | | @\n |_| @\n )__)@@\n0x0163 LATIN SMALL LETTER T WITH CEDILLA\n _ @\n | |_ @\n | __|@\n | |_ @\n \\__|@\n )_)@@\n0x0164 LATIN CAPITAL LETTER T WITH CARON\n _____ @\n |_ _|@\n | | @\n | | @\n |_| @\n @@\n0x0165 LATIN SMALL LETTER T WITH CARON\n \\/ @\n | |_ @\n | __|@\n | |_ @\n \\__|@\n @@\n0x0166 LATIN CAPITAL LETTER T WITH STROKE\n _____ @\n |_ _|@\n | | @\n -|-|- @\n |_| @\n @@\n0x0167 LATIN SMALL LETTER T WITH STROKE\n _ @\n | |_ @\n | __|@\n |-|_ @\n \\__|@\n @@\n0x0168 LATIN CAPITAL LETTER U WITH TILDE\n @\n _/\\/_ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x0169 LATIN SMALL LETTER U WITH TILDE\n @\n _/\\/_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x016A LATIN CAPITAL LETTER U WITH MACRON\n ____ @\n /__ _/@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x016B LATIN SMALL LETTER U WITH MACRON\n ____ @\n / _ /@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x016C LATIN CAPITAL LETTER U WITH BREVE\n @\n \\_/_ @\n | | | |@\n | |_| |@\n \\____|@\n @@\n0x016D LATIN SMALL LETTER U WITH BREVE\n @\n \\_/_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x016E LATIN CAPITAL LETTER U WITH RING ABOVE\n O @\n __ _ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x016F LATIN SMALL LETTER U WITH RING ABOVE\n O @\n __ __ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x0170 LATIN CAPITAL LETTER U WITH DOUBLE ACUTE\n -- --@\n /_//_/@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x0171 LATIN SMALL LETTER U WITH DOUBLE ACUTE\n ____@\n _/_/_/@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x0172 LATIN CAPITAL LETTER U WITH OGONEK\n _ _ @\n | | | |@\n | | | |@\n | |_| |@\n \\___/ @\n (__(@@\n0x0173 LATIN SMALL LETTER U WITH OGONEK\n @\n _ _ @\n | | | |@\n | |_| |@\n \\__,_|@\n (_(@@\n0x0174 LATIN CAPITAL LETTER W WITH CIRCUMFLEX\n __ /\\ __@\n \\ \\ //\\\\/ /@\n \\ \\ /\\ / / @\n \\ V V / @\n \\_/\\_/ @\n @@\n0x0175 LATIN SMALL LETTER W WITH CIRCUMFLEX\n /\\ @\n __ //\\\\__@\n \\ \\ /\\ / /@\n \\ V V / @\n \\_/\\_/ @\n @@\n0x0176 LATIN CAPITAL LETTER Y WITH CIRCUMFLEX\n /\\ @\n __//\\\\ @\n \\ \\ / /@\n \\ V / @\n |_| @\n @@\n0x0177 LATIN SMALL LETTER Y WITH CIRCUMFLEX\n /\\ @\n //\\\\ @\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n0x0178 LATIN CAPITAL LETTER Y WITH DIAERESIS\n [] []@\n __ _@\n \\ \\ / /@\n \\ V / @\n |_| @\n @@\n0x0179 LATIN CAPITAL LETTER Z WITH ACUTE\n __/_/@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n0x017A LATIN SMALL LETTER Z WITH ACUTE\n _ @\n _/_/@\n |_ /@\n / / @\n /___|@\n @@\n0x017B LATIN CAPITAL LETTER Z WITH DOT ABOVE\n __[]_@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n0x017C LATIN SMALL LETTER Z WITH DOT ABOVE\n [] @\n ____@\n |_ /@\n / / @\n /___|@\n @@\n0x017D LATIN CAPITAL LETTER Z WITH CARON\n _\\_/_@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n0x017E LATIN SMALL LETTER Z WITH CARON\n \\\\//@\n _\\/_@\n |_ /@\n / / @\n /___|@\n @@\n0x017F LATIN SMALL LETTER LONG S\n __ @\n / _|@\n |-| | @\n |-| | @\n |_| @\n @@\n0x02C7 CARON\n \\\\//@\n \\/ @\n $@\n $@\n $@\n $@@\n0x02D8 BREVE\n \\\\_//@\n \\_/ @\n $@\n $@\n $@\n $@@\n0x02D9 DOT ABOVE\n []@\n $@\n $@\n $@\n $@\n $@@\n0x02DB OGONEK\n $@\n $@\n $@\n $@\n $@\n )_) @@\n0x02DD DOUBLE ACUTE ACCENT\n _ _ @\n /_/_/@\n $@\n $@\n $@\n $@@\n0xCA0 KANNADA LETTER TTHA\n _____)@\n /_ ___/@\n / _ \\ @\n | (_) | @\n $\\___/$ @\n @@\n ");const h0=new ke;h0.version(ef).description("CLI to create a new project"),h0.command("status").description("cli status").action((async()=>{const e=(e,t)=>e.split("\n").map((e=>{const n=Math.max(0,Math.floor((t-e.length)/2));return" ".repeat(n)+e})).join("\n"),t=100,n=df.textSync("Qumra Cloud CLI",{font:"Standard",horizontalLayout:"default",verticalLayout:"default",width:t,whitespaceBreak:!0}),r=df.textSync("Version 1.0.0",{font:"Standard",horizontalLayout:"default",verticalLayout:"default",width:t,whitespaceBreak:!0}),i=e(n,t),s=e(r,t),o=e("\n Welcome to Qumra Cloud CLI!\n \n At Qumra, we offer innovative cloud solutions to streamline your tech needs.\n Our tools are designed to make technology work for you with ease and efficiency.\n \n Learn more about our partners and how we collaborate to deliver the best:\n https://partners.qumra.cloud\n ",t);console.log(_t.green(i)),console.log(_t.green(s)),console.log(_t.green(o))})),h0.command("create-new-app").description("Create a new project").action(gf),h0.command("build").description("Build a project").action((()=>{const e=process.cwd(),t=o.join(e,"src","views"),n=o.join(e,"build"),r=o.join(n,"views.zip");s.existsSync(t)||(console.log(_t.red('Error: The "views" folder does not exist.')),process.exit(1)),s.existsSync(n)||s.mkdirSync(n);const i=zr('Compressing the "views" folder...').start(),a=s.createWriteStream(r),c=UO("zip",{zlib:{level:9}});a.on("close",(()=>{i.succeed(_t.blue(`"views" folder compressed successfully into ${r}`))})),c.on("warning",(e=>{if("ENOENT"!==e.code)throw e;console.warn(e)})),c.on("error",(e=>{throw i.fail(_t.red(`Failed to compress "views" folder: ${e.message}`)),e})),c.pipe(a),c.directory(t,!1),c.finalize()})),h0.command("publish").description("Publish your project").action((async function(){const e=function(){s.existsSync(YO)||(console.log('File "qumra.config.json" not found!'),process.exit(1));const e=s.readFileSync(YO,"utf-8");try{return JSON.parse(e)}catch(e){throw new Error('Failed to parse "qumra.config.json". Invalid JSON format.')}}(),t=zr("Checking files...").start();try{const n=await qO(GO),r=await qO(VO,"views"),i=await qO(KO,"locales"),a={...r,...i};HO(Object.keys(a),t).then((i=>{(async function(e,t){console.log("🚀 ~ uploadRequest ~ paths,config:",e,t);try{return(await of.post("/themes/uploadRequest",{paths:e,config:t})).data}catch(e){throw e}})(i.paths,e).then((e=>{(async function(e,t,n){const r=new sp;r.append("encryptionKey",e),r.append("paths",JSON.stringify(t));for(const[e,t]of Object.entries(n))console.log("🚀 ~ uploadTheme ~ filePath:",t),r.append("files",s.createReadStream(t),{filename:o.basename(t),filepath:e}),r.append("filePaths",e);const i=zr(_t.cyan("Uploading theme...")).start();try{const e=await $O.post("/theme/upload",r,{onUploadProgress:e=>{const t=Math.round(100*e.loaded/e.total);i.text=_t.cyan(`Uploading theme... ${t}%`)}});return i.succeed(_t.green("Upload successful!")),e.data}catch(e){throw i.fail(_t.red("Upload failed.")),console.error("🚀 ~ uploadTheme ~ error:",e.message),e.message}})(e.encryptionKey,i.paths,r).then((r=>{(async function(e,t,n){const r=new sp;r.append("encryptionKey",e),r.append("paths",JSON.stringify(t));for(const[e,t]of Object.entries(n))r.append("files",s.createReadStream(t),{filename:o.basename(t),filepath:e}),r.append("filePaths",e);const i=zr(_t.cyan("Uploading theme...")).start();try{const e=await zO.post("/upload/assets",r,{onUploadProgress:e=>{const t=Math.round(100*e.loaded/e.total);i.text=_t.cyan(`Uploading theme... ${t}%`)}});return i.succeed(_t.green("Upload successful!")),e.data}catch(e){throw i.fail(_t.red("Upload failed.")),console.error("🚀 ~ uploadAssets ~ error:",e.message),e}})(e.encryptionKey,Object.keys(n),n).then((e=>{})).then((()=>{t.succeed("Theme Uploaded")}))}))}))})).catch((e=>{}))}catch(e){console.error(`Failed to publish files - Error: ${e.message}`)}})),h0.command("login").description("developer login").action(p0),h0.addCommand(GJ),h0.command("save").action((async()=>{await sf("token"),await rf("token",{test:"asdasdasd"})})),h0.parse(process.argv);
|
|
395
|
+
*/var xX=s,wX=S,EX=d.spawn,SX=TX;function TX(e){e=e||{};var t,n,r=this,i=w,s=E,o={},a=!1,c={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},l=Object.assign({},c),u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],p=["TRACE","TRACK","CONNECT"],h=!1,d=!1,f=!1,m={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null;this.open=function(e,t,n,r,i){if(this.abort(),d=!1,f=!1,!function(e){return e&&-1===p.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");o={method:e,url:t.toString(),async:"boolean"!=typeof n||n,user:r||null,password:i||null},g(this.OPENED)},this.setDisableHeaderCheck=function(e){a=e},this.setRequestHeader=function(e,t){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");if(!function(e){return a||e&&-1===u.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(h)throw new Error("INVALID_STATE_ERR: send flag is true");return l[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&n.headers[e.toLowerCase()]&&!d?n.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||d)return"";var e="";for(var t in n.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+n.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&l[e]?l[e]:""},this.send=function(a){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: connection must be opened before send() is called");if(h)throw new Error("INVALID_STATE_ERR: send has already been called");var c,u=!1,p=!1,f=wX.parse(o.url);switch(f.protocol){case"https:":u=!0;case"http:":c=f.hostname;break;case"file:":p=!0;break;case void 0:case"":c="localhost";break;default:throw new Error("Protocol not supported.")}if(p){if("GET"!==o.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(o.async)xX.readFile(unescape(f.pathname),"utf8",(function(e,t){e?r.handleError(e,e.errno||-1):(r.status=200,r.responseText=t,g(r.DONE))}));else try{this.responseText=xX.readFileSync(unescape(f.pathname),"utf8"),this.status=200,g(r.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var m=f.port||(u?443:80),y=f.pathname+(f.search?f.search:"");if(l.Host=c,u&&443===m||80===m||(l.Host+=":"+f.port),o.user){void 0===o.password&&(o.password="");var v=new Buffer(o.user+":"+o.password);l.Authorization="Basic "+v.toString("base64")}"GET"===o.method||"HEAD"===o.method?a=null:a?(l["Content-Length"]=Buffer.isBuffer(a)?a.length:Buffer.byteLength(a),l["Content-Type"]||(l["Content-Type"]="text/plain;charset=UTF-8")):"POST"===o.method&&(l["Content-Length"]=0);var b=e.agent||!1,_={host:c,port:m,path:y,method:o.method,headers:l,agent:b};if(u&&(_.pfx=e.pfx,_.key=e.key,_.passphrase=e.passphrase,_.cert=e.cert,_.ca=e.ca,_.ciphers=e.ciphers,_.rejectUnauthorized=!1!==e.rejectUnauthorized),d=!1,o.async){var x=u?s.request:i.request;h=!0,r.dispatchEvent("readystatechange");var w=function(i){if(302===(n=i).statusCode||303===n.statusCode||307===n.statusCode){o.url=n.headers.location;var s=wX.parse(o.url);c=s.hostname;var a={hostname:s.hostname,port:s.port,path:s.path,method:303===n.statusCode?"GET":o.method,headers:l};return u&&(a.pfx=e.pfx,a.key=e.key,a.passphrase=e.passphrase,a.cert=e.cert,a.ca=e.ca,a.ciphers=e.ciphers,a.rejectUnauthorized=!1!==e.rejectUnauthorized),void(t=x(a,w).on("error",E)).end()}n&&n.setEncoding&&n.setEncoding("utf8"),g(r.HEADERS_RECEIVED),r.status=n.statusCode,n.on("data",(function(e){e&&(r.responseText+=e),h&&g(r.LOADING)})),n.on("end",(function(){h&&(h=!1,g(r.DONE))})),n.on("error",(function(e){r.handleError(e)}))},E=function(e){r.handleError(e)};t=x(_,w).on("error",E),e.autoUnref&&t.on("socket",(e=>{e.unref()})),a&&t.write(a),t.end(),r.dispatchEvent("loadstart")}else{var S=".node-xmlhttprequest-content-"+process.pid,T=".node-xmlhttprequest-sync-"+process.pid;xX.writeFileSync(T,"","utf8");for(var D="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(u?"s":"")+".request;var options = "+JSON.stringify(_)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+S+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+T+"');});response.on('error', function(error) {fs.writeFileSync('"+S+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+T+"');});}).on('error', function(error) {fs.writeFileSync('"+S+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+T+"');});"+(a?"req.write('"+JSON.stringify(a).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",k=EX(process.argv[0],["-e",D]);xX.existsSync(T););if(r.responseText=xX.readFileSync(S,"utf8"),k.stdin.end(),xX.unlinkSync(S),r.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var A=r.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");r.handleError(A,503)}else r.status=r.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),r.responseText=r.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),g(r.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,d=!0,g(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),l=Object.assign({},c),this.responseText="",this.responseXML="",d=f=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!h||this.readyState===this.DONE||(h=!1,g(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,t){e in m||(m[e]=[]),m[e].push(t)},this.removeEventListener=function(e,t){e in m&&(m[e]=m[e].filter((function(e){return e!==t})))},this.dispatchEvent=function(e){if("function"==typeof r["on"+e]&&(this.readyState===this.DONE?setImmediate((function(){r["on"+e]()})):r["on"+e]()),e in m)for(let t=0,n=m[e].length;t<n;t++)this.readyState===this.DONE?setImmediate((function(){m[e][t].call(r)})):m[e][t].call(r)};var g=function(e){if(!(r.readyState===e||r.readyState===r.UNSENT&&f)&&(r.readyState=e,(o.async||r.readyState<r.OPENED||r.readyState===r.DONE)&&r.dispatchEvent("readystatechange"),r.readyState===r.DONE)){let e;e=f?"abort":d?"error":"load",r.dispatchEvent(e),r.dispatchEvent("loadend")}}}TX.XMLHttpRequest=TX;var DX=q(SX);const kX=DX||B({__proto__:null,default:DX},[SX]);class AX{constructor(){this.cookies=new Map}parseCookies(e){const t=e.getResponseHeader("set-cookie");t&&t.forEach((e=>{const t=function(e){const t=e.split("; "),n=t[0].indexOf("=");if(-1===n)return;const r=t[0].substring(0,n).trim();if(!r.length)return;let i=t[0].substring(n+1).trim();34===i.charCodeAt(0)&&(i=i.slice(1,-1));const s={name:r,value:i};for(let e=1;e<t.length;e++){const n=t[e].split("=");if(2!==n.length)continue;const r=n[0].trim(),i=n[1].trim();switch(r){case"Expires":s.expires=new Date(i);break;case"Max-Age":const e=new Date;e.setUTCSeconds(e.getUTCSeconds()+parseInt(i,10)),s.expires=e}}return s}(e);t&&this.cookies.set(t.name,t)}))}addCookies(e){const t=[];this.cookies.forEach(((e,n)=>{var r;(null===(r=e.expires)||void 0===r?void 0:r.getTime())<Date.now()?this.cookies.delete(n):t.push(`${n}=${e.value}`)})),t.length&&(e.setDisableHeaderCheck(!0),e.setRequestHeader("cookie",t.join("; ")))}}function CX(){}const RX=null!=new kX({xdomain:!1}).responseType;let OX=class e extends OQ{constructor(e,t){super(),uX(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.data=void 0!==t.data?t.data:null,this.create()}create(){var t;const n=aX(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;const r=this.xhr=new kX(n);try{r.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&r.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{r.setRequestHeader("Accept","*/*")}catch(e){}null===(t=this.opts.cookieJar)||void 0===t||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=()=>{var e;3===r.readyState&&(null===(e=this.opts.cookieJar)||void 0===e||e.parseCookies(r)),4===r.readyState&&(200===r.status||1223===r.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof r.status?r.status:0)}),0))},r.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=e.requestsCount++,e.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=CX,t)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete e.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}};if(OX.requestsCount=0,OX.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",LX);else if("function"==typeof addEventListener){addEventListener("onpagehide"in oX?"pagehide":"unload",LX,!1)}function LX(){for(let e in OX.requests)OX.requests.hasOwnProperty(e)&&OX.requests[e].abort()}const IX=fZ,PX=process.nextTick,NX="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();const jX={websocket:class extends hX{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,n=NX?{}:aX(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=new IX(e,t,n)}catch(e){return this.emitReserved("error",e)}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++){const n=e[t],r=t===e.length-1;ZJ(n,this.supportsBinary,(e=>{const t={};if(n.options&&(t.compress=n.options.compress),this.opts.perMessageDeflate){("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1)}try{this.ws.send(e,t)}catch(e){}r&&PX((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=_X()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}check(){return!!IX}},webtransport:class extends hX{get name(){return"webtransport"}doOpen(){"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((()=>{this.onClose()})).catch((e=>{this.onError("webtransport error",e)})),this.transport.ready.then((()=>{this.transport.createBidirectionalStream().then((e=>{const t=function(e,t){rX||(rX=new TextDecoder);const n=[];let r=0,i=-1,s=!1;return new TransformStream({transform(o,a){for(n.push(o);;){if(0===r){if(iX(n)<1)break;const e=sX(n,1);s=!(128&~e[0]),i=127&e[0],r=i<126?3:126===i?1:2}else if(1===r){if(iX(n)<2)break;const e=sX(n,2);i=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(iX(n)<8)break;const e=sX(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),s=t.getUint32(0);if(s>Math.pow(2,21)-1){a.enqueue(YJ);break}i=s*Math.pow(2,32)+t.getUint32(4),r=3}else{if(iX(n)<i)break;const e=sX(n,i);a.enqueue(XJ(s?e:rX.decode(e),t)),r=0}if(0===i||i>e){a.enqueue(YJ);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=nX();r.readable.pipeTo(e.writable),this.writer=r.writable.getWriter();const i=()=>{n.read().then((({done:e,value:t})=>{e||(this.onPacket(t),i())})).catch((e=>{}))};i();const s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this.writer.write(s).then((()=>this.onOpen()))}))})))}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const n=e[t],r=t===e.length-1;this.writer.write(n).then((()=>{r&&PX((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){var e;null===(e=this.transport)||void 0===e||e.close()}},polling:class extends hX{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}const t=e&&e.forceBase64;this.supportsBinary=RX&&!t,this.opts.withCredentials&&(this.cookieJar=new AX)}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(e++,this.once("pollComplete",(function(){--e||t()}))),this.writable||(e++,this.once("drain",(function(){--e||t()})))}else t()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const n=e.split(tX),r=[];for(let e=0;e<n.length;e++){const i=XJ(n[e],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach(((e,s)=>{ZJ(e,!1,(e=>{r[s]=e,++i===n&&t(r.join(tX))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=_X()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}request(e={}){return Object.assign(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new OX(this.uri(),e)}doWrite(e,t){const n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},FX=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,BX=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function MX(e){if(e.length>2e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=FX.exec(e||""),s={},o=14;for(;o--;)s[BX[o]]=i[o]||"";return-1!=n&&-1!=r&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=function(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,s.path),s.queryKey=function(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,r){t&&(n[t]=r)})),n}(0,s.query),s}let UX=class e extends OQ{constructor(e,t={}){super(),this.binaryType="nodebuffer",this.writeBuffer=[],e&&"object"==typeof e&&(t=e,e=null),e?(e=MX(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=MX(t.host).host),uX(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,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},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new jX[e](n)}open(){let t;if(this.opts.rememberUpgrade&&e.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(e){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(t){let n=this.createTransport(t),r=!1;e.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(t=>{if(!r)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;e.priorWebsocketSuccess="websocket"===n.name,this.transport.pause((()=>{r||"closed"!==this.readyState&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())}))}else{const e=new Error("probe error");e.transport=n.name,this.emitReserved("upgradeError",e)}})))};function s(){r||(r=!0,u(),n.close(),n=null)}const o=e=>{const t=new Error("probe error: "+e);t.transport=n.name,s(),this.emitReserved("upgradeError",t)};function a(){o("transport closed")}function c(){o("socket closed")}function l(e){n&&e.name!==n.name&&s()}const u=()=>{n.removeListener("open",i),n.removeListener("error",o),n.removeListener("close",a),this.off("close",c),this.off("upgrading",l)};n.once("open",i),n.once("error",o),n.once("close",a),this.once("close",c),this.once("upgrading",l),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn((()=>{r||n.open()}),200):n.open()}onOpen(){if(this.readyState="open",e.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade){let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let n=0;n<this.writeBuffer.length;n++){const r=this.writeBuffer[n].data;if(r&&(e+="string"==typeof(t=r)?function(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(t):Math.ceil(1.33*(t.byteLength||t.size))),n>0&&e>this.maxPayload)return this.writeBuffer.slice(0,n);e+=2}var t;return this.writeBuffer}write(e,t,n){return this.sendPacket("message",e,t,n),this}send(e,t,n){return this.sendPacket("message",e,t,n),this}sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;const i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?n():e()})):this.upgrading?n():e()),this}onError(t){e.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let n=0;const r=e.length;for(;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}};UX.protocol=4,UX.protocol;const qX="function"==typeof ArrayBuffer,HX=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,$X=Object.prototype.toString,zX="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===$X.call(Blob),WX="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===$X.call(File);function GX(e){return qX&&(e instanceof ArrayBuffer||HX(e))||zX&&e instanceof Blob||WX&&e instanceof File}function VX(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(VX(e[t]))return!0;return!1}if(GX(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return VX(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&VX(e[t]))return!0;return!1}function KX(e){const t=[],n=e.data,r=e;return r.data=YX(n,t),r.attachments=t.length,{packet:r,buffers:t}}function YX(e,t){if(!e)return e;if(GX(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=YX(e[r],t);return n}if("object"==typeof e&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=YX(e[r],t));return n}return e}function ZX(e,t){return e.data=QX(e.data,t),delete e.attachments,e}function QX(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=QX(e[n],t);else if("object"==typeof e)for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=QX(e[n],t));return e}const JX=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var XX;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(XX||(XX={}));function e0(e){return"[object Object]"===Object.prototype.toString.call(e)}class t0 extends OQ{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const n=t.type===XX.BINARY_EVENT;n||t.type===XX.BINARY_ACK?(t.type=n?XX.EVENT:XX.ACK,this.reconstructor=new n0(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!GX(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const n={type:Number(e.charAt(0))};if(void 0===XX[n.type])throw new Error("unknown packet type "+n.type);if(n.type===XX.BINARY_EVENT||n.type===XX.BINARY_ACK){const r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(i)}if("/"===e.charAt(t+1)){const r=t+1;for(;++t;){if(","===e.charAt(t))break;if(t===e.length)break}n.nsp=e.substring(r,t)}else n.nsp="/";const r=e.charAt(t+1);if(""!==r&&Number(r)==r){const r=t+1;for(;++t;){const n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){const r=this.tryParse(e.substr(t));if(!t0.isPayloadValid(n.type,r))throw new Error("invalid payload");n.data=r}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case XX.CONNECT:return e0(t);case XX.DISCONNECT:return void 0===t;case XX.CONNECT_ERROR:return"string"==typeof t||e0(t);case XX.EVENT:case XX.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===JX.indexOf(t[0]));case XX.ACK:case XX.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class n0{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=ZX(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}var r0=Object.freeze({__proto__:null,Decoder:t0,Encoder:class{constructor(e){this.replacer=e}encode(e){return e.type!==XX.EVENT&&e.type!==XX.ACK||!VX(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===XX.EVENT?XX.BINARY_EVENT:XX.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==XX.BINARY_EVENT&&e.type!==XX.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=KX(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}},get PacketType(){return XX},protocol:5});function i0(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const s0=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class o0 extends OQ{constructor(e,t,n){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,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[i0(e,"open",this.onopen.bind(this)),i0(e,"packet",this.onpacket.bind(this)),i0(e,"error",this.onerror.bind(this)),i0(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(s0.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;const n={type:XX.EVENT,data:t,options:{}};if(n.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++,r=t.pop();this._registerAckCallback(e,r),n.id=e}const r=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!r||!this.connected)||(this.connected?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){var n;const r=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0===r)return void(this.acks[e]=t);const i=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))}),r),s=(...e)=>{this.io.clearTimeoutFn(i),t.apply(this,e)};s.withError=!0,this.acks[e]=s}emitWithAck(e,...t){return new Promise(((n,r)=>{const i=(e,t)=>e?r(e):n(t);i.withError=!0,t.push(i),this.emit(e,...t)}))}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push(((e,...r)=>{if(n!==this._queue[0])return;return null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue()})),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const 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(){"function"==typeof this.auth?this.auth((e=>{this._sendConnectPacket(e)})):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:XX.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((t=>String(t.id)===e))){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}}))}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case XX.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 XX.EVENT:case XX.BINARY_EVENT:this.onevent(e);break;case XX.ACK:case XX.BINARY_ACK:this.onack(e);break;case XX.DISCONNECT:this.ondisconnect();break;case XX.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&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){const t=this._anyListeners.slice();for(const n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let n=!1;return function(...r){n||(n=!0,t.packet({type:XX.ACK,id:e,data:r}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(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:XX.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){const t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,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){const t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const n of t)n.apply(this,e.data)}}}function a0(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}a0.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},a0.prototype.reset=function(){this.attempts=0},a0.prototype.setMin=function(e){this.ms=e},a0.prototype.setMax=function(e){this.max=e},a0.prototype.setJitter=function(e){this.jitter=e};class c0 extends OQ{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,uX(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=t.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new a0({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;const r=t.parser||r0;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new UX(this.uri,this.opts);const t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const r=i0(t,"open",(function(){n.onopen(),e&&e()})),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},s=i0(t,"error",i);if(!1!==this._timeout){const e=this._timeout,n=this.setTimeoutFn((()=>{r(),i(new Error("timeout")),t.close()}),e);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}return this.subs.push(r),this.subs.push(s),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(i0(e,"ping",this.onping.bind(this)),i0(e,"data",this.ondata.bind(this)),i0(e,"error",this.onerror.bind(this)),i0(e,"close",this.onclose.bind(this)),i0(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){PX((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new o0(this,e,t),this.nsps[e]=n),n}_destroy(e){const t=Object.keys(this.nsps);for(const e of t){if(this.nsps[e].active)return}this._close()}_packet(e){const t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],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"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){this.cleanup(),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;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn((()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()})))}),t);this.opts.autoUnref&&n.unref(),this.subs.push((()=>{this.clearTimeoutFn(n)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const l0={};function u0(e,t){"object"==typeof e&&(t=e,e=void 0);const n=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=MX(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),r=n.source,i=n.id,s=n.path,o=l0[i]&&s in l0[i].nsps;let a;return t.forceNew||t["force new connection"]||!1===t.multiplex||o?a=new c0(r,t):(l0[i]||(l0[i]=new c0(r,t)),a=l0[i]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(u0,{Manager:c0,Socket:o0,io:u0,connect:u0});const p0=async()=>{const e=zr("Login Init...").start();try{console.log(`${tf}/login`);const t=await fetch(`${tf}/login`,{method:"POST"});if(!t.ok)throw new Error("Network response was not ok");const n=await t.json(),{room:r,sessionId:i}=n;e.succeed();const s=zr("Wait User Auth").start();$J(`https://partner.qumra.cloud/cli/auth?sessionId=${i}`).then((()=>{const e=u0("https://api.qumra.cloud");e.on("connect",(()=>{e.emit("authRoom",r)})),e.on("login",(({data:t,token:n})=>{rf("user",t),rf("token",n),s.succeed("success"),e.disconnect()}))})).catch((e=>console.error("Failed to open URL:",e)))}catch(t){e.stop(),console.error("Failed to fetch data:",t)}};new ke("user").command("login").description("Run development server with Webpack and BrowserSync").action(p0);df.parseFont("Standard","flf2a$ 6 5 16 15 13 0 24463 229\nStandard by Glenn Chappell & Ian Chai 3/93 -- based on Frank's .sig\nIncludes ISO Latin-1\nfiglet release 2.1 -- 12 Aug 1994\nModified for figlet 2.2 by John Cowan <cowan@ccil.org>\n to add Latin-{2,3,4,5} support (Unicode U+0100-017F).\nPermission is hereby given to modify this font, as long as the\nmodifier's name is placed on a comment line.\n\nModified by Paul Burton <solution@earthlink.net> 12/96 to include new parameter\nsupported by FIGlet and FIGWin. May also be slightly modified for better use\nof new full-width/kern/smush alternatives, but default output is NOT changed.\n\nFont modified May 20, 2012 by patorjk to add the 0xCA0 character\n $@\n $@\n $@\n $@\n $@\n $@@\n _ @\n | |@\n | |@\n |_|@\n (_)@\n @@\n _ _ @\n ( | )@\n V V @\n $ @\n $ @\n @@\n _ _ @\n _| || |_ @\n |_ .. _|@\n |_ _|@\n |_||_| @\n @@\n _ @\n | | @\n / __)@\n \\__ \\@\n ( /@\n |_| @@\n _ __@\n (_)/ /@\n / / @\n / /_ @\n /_/(_)@\n @@\n ___ @\n ( _ ) @\n / _ \\/\\@\n | (_> <@\n \\___/\\/@\n @@\n _ @\n ( )@\n |/ @\n $ @\n $ @\n @@\n __@\n / /@\n | | @\n | | @\n | | @\n \\_\\@@\n __ @\n \\ \\ @\n | |@\n | |@\n | |@\n /_/ @@\n @\n __/\\__@\n \\ /@\n /_ _\\@\n \\/ @\n @@\n @\n _ @\n _| |_ @\n |_ _|@\n |_| @\n @@\n @\n @\n @\n _ @\n ( )@\n |/ @@\n @\n @\n _____ @\n |_____|@\n $ @\n @@\n @\n @\n @\n _ @\n (_)@\n @@\n __@\n / /@\n / / @\n / / @\n /_/ @\n @@\n ___ @\n / _ \\ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n _ @\n / |@\n | |@\n | |@\n |_|@\n @@\n ____ @\n |___ \\ @\n __) |@\n / __/ @\n |_____|@\n @@\n _____ @\n |___ / @\n |_ \\ @\n ___) |@\n |____/ @\n @@\n _ _ @\n | || | @\n | || |_ @\n |__ _|@\n |_| @\n @@\n ____ @\n | ___| @\n |___ \\ @\n ___) |@\n |____/ @\n @@\n __ @\n / /_ @\n | '_ \\ @\n | (_) |@\n \\___/ @\n @@\n _____ @\n |___ |@\n / / @\n / / @\n /_/ @\n @@\n ___ @\n ( _ ) @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n ___ @\n / _ \\ @\n | (_) |@\n \\__, |@\n /_/ @\n @@\n @\n _ @\n (_)@\n _ @\n (_)@\n @@\n @\n _ @\n (_)@\n _ @\n ( )@\n |/ @@\n __@\n / /@\n / / @\n \\ \\ @\n \\_\\@\n @@\n @\n _____ @\n |_____|@\n |_____|@\n $ @\n @@\n __ @\n \\ \\ @\n \\ \\@\n / /@\n /_/ @\n @@\n ___ @\n |__ \\@\n / /@\n |_| @\n (_) @\n @@\n ____ @\n / __ \\ @\n / / _` |@\n | | (_| |@\n \\ \\__,_|@\n \\____/ @@\n _ @\n / \\ @\n / _ \\ @\n / ___ \\ @\n /_/ \\_\\@\n @@\n ____ @\n | __ ) @\n | _ \\ @\n | |_) |@\n |____/ @\n @@\n ____ @\n / ___|@\n | | @\n | |___ @\n \\____|@\n @@\n ____ @\n | _ \\ @\n | | | |@\n | |_| |@\n |____/ @\n @@\n _____ @\n | ____|@\n | _| @\n | |___ @\n |_____|@\n @@\n _____ @\n | ___|@\n | |_ @\n | _| @\n |_| @\n @@\n ____ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n _ _ @\n | | | |@\n | |_| |@\n | _ |@\n |_| |_|@\n @@\n ___ @\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n _ @\n | |@\n _ | |@\n | |_| |@\n \\___/ @\n @@\n _ __@\n | |/ /@\n | ' / @\n | . \\ @\n |_|\\_\\@\n @@\n _ @\n | | @\n | | @\n | |___ @\n |_____|@\n @@\n __ __ @\n | \\/ |@\n | |\\/| |@\n | | | |@\n |_| |_|@\n @@\n _ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n @@\n ___ @\n / _ \\ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n ____ @\n | _ \\ @\n | |_) |@\n | __/ @\n |_| @\n @@\n ___ @\n / _ \\ @\n | | | |@\n | |_| |@\n \\__\\_\\@\n @@\n ____ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n @@\n ____ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n _____ @\n |_ _|@\n | | @\n | | @\n |_| @\n @@\n _ _ @\n | | | |@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n __ __@\n \\ \\ / /@\n \\ \\ / / @\n \\ V / @\n \\_/ @\n @@\n __ __@\n \\ \\ / /@\n \\ \\ /\\ / / @\n \\ V V / @\n \\_/\\_/ @\n @@\n __ __@\n \\ \\/ /@\n \\ / @\n / \\ @\n /_/\\_\\@\n @@\n __ __@\n \\ \\ / /@\n \\ V / @\n | | @\n |_| @\n @@\n _____@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n __ @\n | _|@\n | | @\n | | @\n | | @\n |__|@@\n __ @\n \\ \\ @\n \\ \\ @\n \\ \\ @\n \\_\\@\n @@\n __ @\n |_ |@\n | |@\n | |@\n | |@\n |__|@@\n /\\ @\n |/\\|@\n $ @\n $ @\n $ @\n @@\n @\n @\n @\n @\n _____ @\n |_____|@@\n _ @\n ( )@\n \\|@\n $ @\n $ @\n @@\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n _ @\n | |__ @\n | '_ \\ @\n | |_) |@\n |_.__/ @\n @@\n @\n ___ @\n / __|@\n | (__ @\n \\___|@\n @@\n _ @\n __| |@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n @\n ___ @\n / _ \\@\n | __/@\n \\___|@\n @@\n __ @\n / _|@\n | |_ @\n | _|@\n |_| @\n @@\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n _ @\n | |__ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n _ @\n (_)@\n | |@\n | |@\n |_|@\n @@\n _ @\n (_)@\n | |@\n | |@\n _/ |@\n |__/ @@\n _ @\n | | __@\n | |/ /@\n | < @\n |_|\\_\\@\n @@\n _ @\n | |@\n | |@\n | |@\n |_|@\n @@\n @\n _ __ ___ @\n | '_ ` _ \\ @\n | | | | | |@\n |_| |_| |_|@\n @@\n @\n _ __ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n @\n ___ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n @\n _ __ @\n | '_ \\ @\n | |_) |@\n | .__/ @\n |_| @@\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |_|@@\n @\n _ __ @\n | '__|@\n | | @\n |_| @\n @@\n @\n ___ @\n / __|@\n \\__ \\@\n |___/@\n @@\n _ @\n | |_ @\n | __|@\n | |_ @\n \\__|@\n @@\n @\n _ _ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n @\n __ __@\n \\ \\ / /@\n \\ V / @\n \\_/ @\n @@\n @\n __ __@\n \\ \\ /\\ / /@\n \\ V V / @\n \\_/\\_/ @\n @@\n @\n __ __@\n \\ \\/ /@\n > < @\n /_/\\_\\@\n @@\n @\n _ _ @\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n @\n ____@\n |_ /@\n / / @\n /___|@\n @@\n __@\n / /@\n | | @\n < < @\n | | @\n \\_\\@@\n _ @\n | |@\n | |@\n | |@\n | |@\n |_|@@\n __ @\n \\ \\ @\n | | @\n > >@\n | | @\n /_/ @@\n /\\/|@\n |/\\/ @\n $ @\n $ @\n $ @\n @@\n _ _ @\n (_)_(_)@\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n _ _ @\n (_)_(_)@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n _ _ @\n (_)_(_)@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n _ _ @\n (_)_(_)@\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n ___ @\n / _ \\@\n | |/ /@\n | |\\ \\@\n | ||_/@\n |_| @@\n160 NO-BREAK SPACE\n $@\n $@\n $@\n $@\n $@\n $@@\n161 INVERTED EXCLAMATION MARK\n _ @\n (_)@\n | |@\n | |@\n |_|@\n @@\n162 CENT SIGN\n _ @\n | | @\n / __)@\n | (__ @\n \\ )@\n |_| @@\n163 POUND SIGN\n ___ @\n / ,_\\ @\n _| |_ @\n | |___ @\n (_,____|@\n @@\n164 CURRENCY SIGN\n /\\___/\\@\n \\ _ /@\n | (_) |@\n / ___ \\@\n \\/ \\/@\n @@\n165 YEN SIGN\n __ __ @\n \\ V / @\n |__ __|@\n |__ __|@\n |_| @\n @@\n166 BROKEN BAR\n _ @\n | |@\n |_|@\n _ @\n | |@\n |_|@@\n167 SECTION SIGN\n __ @\n _/ _)@\n / \\ \\ @\n \\ \\\\ \\@\n \\ \\_/@\n (__/ @@\n168 DIAERESIS\n _ _ @\n (_) (_)@\n $ $ @\n $ $ @\n $ $ @\n @@\n169 COPYRIGHT SIGN\n _____ @\n / ___ \\ @\n / / __| \\ @\n | | (__ |@\n \\ \\___| / @\n \\_____/ @@\n170 FEMININE ORDINAL INDICATOR\n __ _ @\n / _` |@\n \\__,_|@\n |____|@\n $ @\n @@\n171 LEFT-POINTING DOUBLE ANGLE QUOTATION MARK\n ____@\n / / /@\n / / / @\n \\ \\ \\ @\n \\_\\_\\@\n @@\n172 NOT SIGN\n @\n _____ @\n |___ |@\n |_|@\n $ @\n @@\n173 SOFT HYPHEN\n @\n @\n ____ @\n |____|@\n $ @\n @@\n174 REGISTERED SIGN\n _____ @\n / ___ \\ @\n / | _ \\ \\ @\n | | / |@\n \\ |_|_\\ / @\n \\_____/ @@\n175 MACRON\n _____ @\n |_____|@\n $ @\n $ @\n $ @\n @@\n176 DEGREE SIGN\n __ @\n / \\ @\n | () |@\n \\__/ @\n $ @\n @@\n177 PLUS-MINUS SIGN\n _ @\n _| |_ @\n |_ _|@\n _|_|_ @\n |_____|@\n @@\n178 SUPERSCRIPT TWO\n ___ @\n |_ )@\n / / @\n /___|@\n $ @\n @@\n179 SUPERSCRIPT THREE\n ____@\n |__ /@\n |_ \\@\n |___/@\n $ @\n @@\n180 ACUTE ACCENT\n __@\n /_/@\n $ @\n $ @\n $ @\n @@\n181 MICRO SIGN\n @\n _ _ @\n | | | |@\n | |_| |@\n | ._,_|@\n |_| @@\n182 PILCROW SIGN\n _____ @\n / |@\n | (| | |@\n \\__ | |@\n |_|_|@\n @@\n183 MIDDLE DOT\n @\n _ @\n (_)@\n $ @\n $ @\n @@\n184 CEDILLA\n @\n @\n @\n @\n _ @\n )_)@@\n185 SUPERSCRIPT ONE\n _ @\n / |@\n | |@\n |_|@\n $ @\n @@\n186 MASCULINE ORDINAL INDICATOR\n ___ @\n / _ \\@\n \\___/@\n |___|@\n $ @\n @@\n187 RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK\n ____ @\n \\ \\ \\ @\n \\ \\ \\@\n / / /@\n /_/_/ @\n @@\n188 VULGAR FRACTION ONE QUARTER\n _ __ @\n / | / / _ @\n | |/ / | | @\n |_/ /|_ _|@\n /_/ |_| @\n @@\n189 VULGAR FRACTION ONE HALF\n _ __ @\n / | / /__ @\n | |/ /_ )@\n |_/ / / / @\n /_/ /___|@\n @@\n190 VULGAR FRACTION THREE QUARTERS\n ____ __ @\n |__ / / / _ @\n |_ \\/ / | | @\n |___/ /|_ _|@\n /_/ |_| @\n @@\n191 INVERTED QUESTION MARK\n _ @\n (_) @\n | | @\n / /_ @\n \\___|@\n @@\n192 LATIN CAPITAL LETTER A WITH GRAVE\n __ @\n \\_\\ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n193 LATIN CAPITAL LETTER A WITH ACUTE\n __ @\n /_/ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n194 LATIN CAPITAL LETTER A WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n195 LATIN CAPITAL LETTER A WITH TILDE\n /\\/| @\n |/\\/ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n196 LATIN CAPITAL LETTER A WITH DIAERESIS\n _ _ @\n (_)_(_)@\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n197 LATIN CAPITAL LETTER A WITH RING ABOVE\n _ @\n (o) @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n198 LATIN CAPITAL LETTER AE\n ______ @\n / ____|@\n / _ _| @\n / __ |___ @\n /_/ |_____|@\n @@\n199 LATIN CAPITAL LETTER C WITH CEDILLA\n ____ @\n / ___|@\n | | @\n | |___ @\n \\____|@\n )_) @@\n200 LATIN CAPITAL LETTER E WITH GRAVE\n __ @\n _\\_\\_ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n201 LATIN CAPITAL LETTER E WITH ACUTE\n __ @\n _/_/_ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n202 LATIN CAPITAL LETTER E WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n | ____|@\n | _|_ @\n |_____|@\n @@\n203 LATIN CAPITAL LETTER E WITH DIAERESIS\n _ _ @\n (_)_(_)@\n | ____|@\n | _|_ @\n |_____|@\n @@\n204 LATIN CAPITAL LETTER I WITH GRAVE\n __ @\n \\_\\ @\n |_ _|@\n | | @\n |___|@\n @@\n205 LATIN CAPITAL LETTER I WITH ACUTE\n __ @\n /_/ @\n |_ _|@\n | | @\n |___|@\n @@\n206 LATIN CAPITAL LETTER I WITH CIRCUMFLEX\n //\\ @\n |/_\\|@\n |_ _|@\n | | @\n |___|@\n @@\n207 LATIN CAPITAL LETTER I WITH DIAERESIS\n _ _ @\n (_)_(_)@\n |_ _| @\n | | @\n |___| @\n @@\n208 LATIN CAPITAL LETTER ETH\n ____ @\n | _ \\ @\n _| |_| |@\n |__ __| |@\n |____/ @\n @@\n209 LATIN CAPITAL LETTER N WITH TILDE\n /\\/|@\n |/\\/ @\n | \\| |@\n | .` |@\n |_|\\_|@\n @@\n210 LATIN CAPITAL LETTER O WITH GRAVE\n __ @\n \\_\\ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n211 LATIN CAPITAL LETTER O WITH ACUTE\n __ @\n /_/ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n212 LATIN CAPITAL LETTER O WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n213 LATIN CAPITAL LETTER O WITH TILDE\n /\\/| @\n |/\\/ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n214 LATIN CAPITAL LETTER O WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n215 MULTIPLICATION SIGN\n @\n @\n /\\/\\@\n > <@\n \\/\\/@\n @@\n216 LATIN CAPITAL LETTER O WITH STROKE\n ____ @\n / _// @\n | |// |@\n | //| |@\n //__/ @\n @@\n217 LATIN CAPITAL LETTER U WITH GRAVE\n __ @\n _\\_\\_ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n218 LATIN CAPITAL LETTER U WITH ACUTE\n __ @\n _/_/_ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n219 LATIN CAPITAL LETTER U WITH CIRCUMFLEX\n //\\ @\n |/ \\| @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n220 LATIN CAPITAL LETTER U WITH DIAERESIS\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n221 LATIN CAPITAL LETTER Y WITH ACUTE\n __ @\n __/_/__@\n \\ \\ / /@\n \\ V / @\n |_| @\n @@\n222 LATIN CAPITAL LETTER THORN\n _ @\n | |___ @\n | __ \\@\n | ___/@\n |_| @\n @@\n223 LATIN SMALL LETTER SHARP S\n ___ @\n / _ \\@\n | |/ /@\n | |\\ \\@\n | ||_/@\n |_| @@\n224 LATIN SMALL LETTER A WITH GRAVE\n __ @\n \\_\\_ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n225 LATIN SMALL LETTER A WITH ACUTE\n __ @\n /_/_ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n226 LATIN SMALL LETTER A WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n227 LATIN SMALL LETTER A WITH TILDE\n /\\/| @\n |/\\/_ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n228 LATIN SMALL LETTER A WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n229 LATIN SMALL LETTER A WITH RING ABOVE\n __ @\n (()) @\n / _ '|@\n | (_| |@\n \\__,_|@\n @@\n230 LATIN SMALL LETTER AE\n @\n __ ____ @\n / _` _ \\@\n | (_| __/@\n \\__,____|@\n @@\n231 LATIN SMALL LETTER C WITH CEDILLA\n @\n ___ @\n / __|@\n | (__ @\n \\___|@\n )_) @@\n232 LATIN SMALL LETTER E WITH GRAVE\n __ @\n \\_\\ @\n / _ \\@\n | __/@\n \\___|@\n @@\n233 LATIN SMALL LETTER E WITH ACUTE\n __ @\n /_/ @\n / _ \\@\n | __/@\n \\___|@\n @@\n234 LATIN SMALL LETTER E WITH CIRCUMFLEX\n //\\ @\n |/_\\|@\n / _ \\@\n | __/@\n \\___|@\n @@\n235 LATIN SMALL LETTER E WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _ \\ @\n | __/ @\n \\___| @\n @@\n236 LATIN SMALL LETTER I WITH GRAVE\n __ @\n \\_\\@\n | |@\n | |@\n |_|@\n @@\n237 LATIN SMALL LETTER I WITH ACUTE\n __@\n /_/@\n | |@\n | |@\n |_|@\n @@\n238 LATIN SMALL LETTER I WITH CIRCUMFLEX\n //\\ @\n |/_\\|@\n | | @\n | | @\n |_| @\n @@\n239 LATIN SMALL LETTER I WITH DIAERESIS\n _ _ @\n (_)_(_)@\n | | @\n | | @\n |_| @\n @@\n240 LATIN SMALL LETTER ETH\n /\\/\\ @\n > < @\n _\\/\\ |@\n / __` |@\n \\____/ @\n @@\n241 LATIN SMALL LETTER N WITH TILDE\n /\\/| @\n |/\\/ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n242 LATIN SMALL LETTER O WITH GRAVE\n __ @\n \\_\\ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n243 LATIN SMALL LETTER O WITH ACUTE\n __ @\n /_/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n244 LATIN SMALL LETTER O WITH CIRCUMFLEX\n //\\ @\n |/_\\| @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n245 LATIN SMALL LETTER O WITH TILDE\n /\\/| @\n |/\\/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n246 LATIN SMALL LETTER O WITH DIAERESIS\n _ _ @\n (_)_(_)@\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n247 DIVISION SIGN\n @\n _ @\n _(_)_ @\n |_____|@\n (_) @\n @@\n248 LATIN SMALL LETTER O WITH STROKE\n @\n ____ @\n / _//\\ @\n | (//) |@\n \\//__/ @\n @@\n249 LATIN SMALL LETTER U WITH GRAVE\n __ @\n _\\_\\_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n250 LATIN SMALL LETTER U WITH ACUTE\n __ @\n _/_/_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n251 LATIN SMALL LETTER U WITH CIRCUMFLEX\n //\\ @\n |/ \\| @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n252 LATIN SMALL LETTER U WITH DIAERESIS\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n253 LATIN SMALL LETTER Y WITH ACUTE\n __ @\n _/_/_ @\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n254 LATIN SMALL LETTER THORN\n _ @\n | |__ @\n | '_ \\ @\n | |_) |@\n | .__/ @\n |_| @@\n255 LATIN SMALL LETTER Y WITH DIAERESIS\n _ _ @\n (_) (_)@\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n0x0100 LATIN CAPITAL LETTER A WITH MACRON\n ____ @\n /___/ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n0x0101 LATIN SMALL LETTER A WITH MACRON\n ___ @\n /_ _/@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0102 LATIN CAPITAL LETTER A WITH BREVE\n _ _ @\n \\\\_// @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n @@\n0x0103 LATIN SMALL LETTER A WITH BREVE\n \\_/ @\n ___ @\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0104 LATIN CAPITAL LETTER A WITH OGONEK\n @\n _ @\n /_\\ @\n / _ \\ @\n /_/ \\_\\@\n (_(@@\n0x0105 LATIN SMALL LETTER A WITH OGONEK\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__,_|@\n (_(@@\n0x0106 LATIN CAPITAL LETTER C WITH ACUTE\n __ @\n _/_/ @\n / ___|@\n | |___ @\n \\____|@\n @@\n0x0107 LATIN SMALL LETTER C WITH ACUTE\n __ @\n /__/@\n / __|@\n | (__ @\n \\___|@\n @@\n0x0108 LATIN CAPITAL LETTER C WITH CIRCUMFLEX\n /\\ @\n _//\\\\@\n / ___|@\n | |___ @\n \\____|@\n @@\n0x0109 LATIN SMALL LETTER C WITH CIRCUMFLEX\n /\\ @\n /_\\ @\n / __|@\n | (__ @\n \\___|@\n @@\n0x010A LATIN CAPITAL LETTER C WITH DOT ABOVE\n [] @\n ____ @\n / ___|@\n | |___ @\n \\____|@\n @@\n0x010B LATIN SMALL LETTER C WITH DOT ABOVE\n [] @\n ___ @\n / __|@\n | (__ @\n \\___|@\n @@\n0x010C LATIN CAPITAL LETTER C WITH CARON\n \\\\// @\n _\\/_ @\n / ___|@\n | |___ @\n \\____|@\n @@\n0x010D LATIN SMALL LETTER C WITH CARON\n \\\\//@\n _\\/ @\n / __|@\n | (__ @\n \\___|@\n @@\n0x010E LATIN CAPITAL LETTER D WITH CARON\n \\\\// @\n __\\/ @\n | _ \\ @\n | |_| |@\n |____/ @\n @@\n0x010F LATIN SMALL LETTER D WITH CARON\n \\/ _ @\n __| |@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0110 LATIN CAPITAL LETTER D WITH STROKE\n ____ @\n |_ __ \\ @\n /| |/ | |@\n /|_|/_| |@\n |_____/ @\n @@\n0x0111 LATIN SMALL LETTER D WITH STROKE\n ---|@\n __| |@\n / _` |@\n | (_| |@\n \\__,_|@\n @@\n0x0112 LATIN CAPITAL LETTER E WITH MACRON\n ____ @\n /___/ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x0113 LATIN SMALL LETTER E WITH MACRON\n ____@\n /_ _/@\n / _ \\ @\n | __/ @\n \\___| @\n @@\n0x0114 LATIN CAPITAL LETTER E WITH BREVE\n _ _ @\n \\\\_// @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x0115 LATIN SMALL LETTER E WITH BREVE\n \\\\ //@\n -- @\n / _ \\ @\n | __/ @\n \\___| @\n @@\n0x0116 LATIN CAPITAL LETTER E WITH DOT ABOVE\n [] @\n _____ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x0117 LATIN SMALL LETTER E WITH DOT ABOVE\n [] @\n __ @\n / _ \\@\n | __/@\n \\___|@\n @@\n0x0118 LATIN CAPITAL LETTER E WITH OGONEK\n @\n _____ @\n | ____|@\n | _|_ @\n |_____|@\n (__(@@\n0x0119 LATIN SMALL LETTER E WITH OGONEK\n @\n ___ @\n / _ \\@\n | __/@\n \\___|@\n (_(@@\n0x011A LATIN CAPITAL LETTER E WITH CARON\n \\\\// @\n __\\/_ @\n | ____|@\n | _|_ @\n |_____|@\n @@\n0x011B LATIN SMALL LETTER E WITH CARON\n \\\\//@\n \\/ @\n / _ \\@\n | __/@\n \\___|@\n @@\n0x011C LATIN CAPITAL LETTER G WITH CIRCUMFLEX\n _/\\_ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n0x011D LATIN SMALL LETTER G WITH CIRCUMFLEX\n /\\ @\n _/_ \\@\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n0x011E LATIN CAPITAL LETTER G WITH BREVE\n _\\/_ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n0x011F LATIN SMALL LETTER G WITH BREVE\n \\___/ @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n0x0120 LATIN CAPITAL LETTER G WITH DOT ABOVE\n _[]_ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n @@\n0x0121 LATIN SMALL LETTER G WITH DOT ABOVE\n [] @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |___/ @@\n0x0122 LATIN CAPITAL LETTER G WITH CEDILLA\n ____ @\n / ___|@\n | | _ @\n | |_| |@\n \\____|@\n )__) @@\n0x0123 LATIN SMALL LETTER G WITH CEDILLA\n @\n __ _ @\n / _` |@\n | (_| |@\n \\__, |@\n |_))))@@\n0x0124 LATIN CAPITAL LETTER H WITH CIRCUMFLEX\n _/ \\_ @\n | / \\ |@\n | |_| |@\n | _ |@\n |_| |_|@\n @@\n0x0125 LATIN SMALL LETTER H WITH CIRCUMFLEX\n _ /\\ @\n | |//\\ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0126 LATIN CAPITAL LETTER H WITH STROKE\n _ _ @\n | |=| |@\n | |_| |@\n | _ |@\n |_| |_|@\n @@\n0x0127 LATIN SMALL LETTER H WITH STROKE\n _ @\n |=|__ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0128 LATIN CAPITAL LETTER I WITH TILDE\n /\\//@\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x0129 LATIN SMALL LETTER I WITH TILDE\n @\n /\\/@\n | |@\n | |@\n |_|@\n @@\n0x012A LATIN CAPITAL LETTER I WITH MACRON\n /___/@\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x012B LATIN SMALL LETTER I WITH MACRON\n ____@\n /___/@\n | | @\n | | @\n |_| @\n @@\n0x012C LATIN CAPITAL LETTER I WITH BREVE\n \\__/@\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x012D LATIN SMALL LETTER I WITH BREVE\n @\n \\_/@\n | |@\n | |@\n |_|@\n @@\n0x012E LATIN CAPITAL LETTER I WITH OGONEK\n ___ @\n |_ _|@\n | | @\n | | @\n |___|@\n (__(@@\n0x012F LATIN SMALL LETTER I WITH OGONEK\n _ @\n (_) @\n | | @\n | | @\n |_|_@\n (_(@@\n0x0130 LATIN CAPITAL LETTER I WITH DOT ABOVE\n _[] @\n |_ _|@\n | | @\n | | @\n |___|@\n @@\n0x0131 LATIN SMALL LETTER DOTLESS I\n @\n _ @\n | |@\n | |@\n |_|@\n @@\n0x0132 LATIN CAPITAL LIGATURE IJ\n ___ _ @\n |_ _|| |@\n | | | |@\n | |_| |@\n |__|__/ @\n @@\n0x0133 LATIN SMALL LIGATURE IJ\n _ _ @\n (_) (_)@\n | | | |@\n | | | |@\n |_|_/ |@\n |__/ @@\n0x0134 LATIN CAPITAL LETTER J WITH CIRCUMFLEX\n /\\ @\n /_\\|@\n _ | | @\n | |_| | @\n \\___/ @\n @@\n0x0135 LATIN SMALL LETTER J WITH CIRCUMFLEX\n /\\@\n /_\\@\n | |@\n | |@\n _/ |@\n |__/ @@\n0x0136 LATIN CAPITAL LETTER K WITH CEDILLA\n _ _ @\n | |/ / @\n | ' / @\n | . \\ @\n |_|\\_\\ @\n )__)@@\n0x0137 LATIN SMALL LETTER K WITH CEDILLA\n _ @\n | | __@\n | |/ /@\n | < @\n |_|\\_\\@\n )_)@@\n0x0138 LATIN SMALL LETTER KRA\n @\n _ __ @\n | |/ \\@\n | < @\n |_|\\_\\@\n @@\n0x0139 LATIN CAPITAL LETTER L WITH ACUTE\n _ //@\n | | // @\n | | @\n | |___ @\n |_____|@\n @@\n0x013A LATIN SMALL LETTER L WITH ACUTE\n //@\n | |@\n | |@\n | |@\n |_|@\n @@\n0x013B LATIN CAPITAL LETTER L WITH CEDILLA\n _ @\n | | @\n | | @\n | |___ @\n |_____|@\n )__)@@\n0x013C LATIN SMALL LETTER L WITH CEDILLA\n _ @\n | | @\n | | @\n | | @\n |_| @\n )_)@@\n0x013D LATIN CAPITAL LETTER L WITH CARON\n _ \\\\//@\n | | \\/ @\n | | @\n | |___ @\n |_____|@\n @@\n0x013E LATIN SMALL LETTER L WITH CARON\n _ \\\\//@\n | | \\/ @\n | | @\n | | @\n |_| @\n @@\n0x013F LATIN CAPITAL LETTER L WITH MIDDLE DOT\n _ @\n | | @\n | | [] @\n | |___ @\n |_____|@\n @@\n0x0140 LATIN SMALL LETTER L WITH MIDDLE DOT\n _ @\n | | @\n | | []@\n | | @\n |_| @\n @@\n0x0141 LATIN CAPITAL LETTER L WITH STROKE\n __ @\n | // @\n |//| @\n // |__ @\n |_____|@\n @@\n0x0142 LATIN SMALL LETTER L WITH STROKE\n _ @\n | |@\n |//@\n //|@\n |_|@\n @@\n0x0143 LATIN CAPITAL LETTER N WITH ACUTE\n _/ /_ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n @@\n0x0144 LATIN SMALL LETTER N WITH ACUTE\n _ @\n _ /_/ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0145 LATIN CAPITAL LETTER N WITH CEDILLA\n _ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n )_) @@\n0x0146 LATIN SMALL LETTER N WITH CEDILLA\n @\n _ __ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n )_) @@\n0x0147 LATIN CAPITAL LETTER N WITH CARON\n _\\/ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\_|@\n @@\n0x0148 LATIN SMALL LETTER N WITH CARON\n \\\\// @\n _\\/_ @\n | '_ \\ @\n | | | |@\n |_| |_|@\n @@\n0x0149 LATIN SMALL LETTER N PRECEDED BY APOSTROPHE\n @\n _ __ @\n ( )| '_\\ @\n |/| | | |@\n |_| |_|@\n @@\n0x014A LATIN CAPITAL LETTER ENG\n _ _ @\n | \\ | |@\n | \\| |@\n | |\\ |@\n |_| \\ |@\n )_)@@\n0x014B LATIN SMALL LETTER ENG\n _ __ @\n | '_ \\ @\n | | | |@\n |_| | |@\n | |@\n |__ @@\n0x014C LATIN CAPITAL LETTER O WITH MACRON\n ____ @\n /_ _/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n0x014D LATIN SMALL LETTER O WITH MACRON\n ____ @\n /_ _/ @\n / _ \\ @\n | (_) |@\n \\___/ @\n @@\n0x014E LATIN CAPITAL LETTER O WITH BREVE\n \\ / @\n _-_ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x014F LATIN SMALL LETTER O WITH BREVE\n \\ / @\n _-_ @\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x0150 LATIN CAPITAL LETTER O WITH DOUBLE ACUTE\n ___ @\n /_/_/@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x0151 LATIN SMALL LETTER O WITH DOUBLE ACUTE\n ___ @\n /_/_/@\n / _ \\ @\n | |_| |@\n \\___/ @\n @@\n0x0152 LATIN CAPITAL LIGATURE OE\n ___ ___ @\n / _ \\| __|@\n | | | | | @\n | |_| | |__@\n \\___/|____@\n @@\n0x0153 LATIN SMALL LIGATURE OE\n @\n ___ ___ @\n / _ \\ / _ \\@\n | (_) | __/@\n \\___/ \\___|@\n @@\n0x0154 LATIN CAPITAL LETTER R WITH ACUTE\n _/_/ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n @@\n0x0155 LATIN SMALL LETTER R WITH ACUTE\n __@\n _ /_/@\n | '__|@\n | | @\n |_| @\n @@\n0x0156 LATIN CAPITAL LETTER R WITH CEDILLA\n ____ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n )_) @@\n0x0157 LATIN SMALL LETTER R WITH CEDILLA\n @\n _ __ @\n | '__|@\n | | @\n |_| @\n )_) @@\n0x0158 LATIN CAPITAL LETTER R WITH CARON\n _\\_/ @\n | _ \\ @\n | |_) |@\n | _ < @\n |_| \\_\\@\n @@\n0x0159 LATIN SMALL LETTER R WITH CARON\n \\\\// @\n _\\/_ @\n | '__|@\n | | @\n |_| @\n @@\n0x015A LATIN CAPITAL LETTER S WITH ACUTE\n _/_/ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n0x015B LATIN SMALL LETTER S WITH ACUTE\n __@\n _/_/@\n / __|@\n \\__ \\@\n |___/@\n @@\n0x015C LATIN CAPITAL LETTER S WITH CIRCUMFLEX\n _/\\_ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n0x015D LATIN SMALL LETTER S WITH CIRCUMFLEX\n @\n /_\\_@\n / __|@\n \\__ \\@\n |___/@\n @@\n0x015E LATIN CAPITAL LETTER S WITH CEDILLA\n ____ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n )__)@@\n0x015F LATIN SMALL LETTER S WITH CEDILLA\n @\n ___ @\n / __|@\n \\__ \\@\n |___/@\n )_)@@\n0x0160 LATIN CAPITAL LETTER S WITH CARON\n _\\_/ @\n / ___| @\n \\___ \\ @\n ___) |@\n |____/ @\n @@\n0x0161 LATIN SMALL LETTER S WITH CARON\n \\\\//@\n _\\/ @\n / __|@\n \\__ \\@\n |___/@\n @@\n0x0162 LATIN CAPITAL LETTER T WITH CEDILLA\n _____ @\n |_ _|@\n | | @\n | | @\n |_| @\n )__)@@\n0x0163 LATIN SMALL LETTER T WITH CEDILLA\n _ @\n | |_ @\n | __|@\n | |_ @\n \\__|@\n )_)@@\n0x0164 LATIN CAPITAL LETTER T WITH CARON\n _____ @\n |_ _|@\n | | @\n | | @\n |_| @\n @@\n0x0165 LATIN SMALL LETTER T WITH CARON\n \\/ @\n | |_ @\n | __|@\n | |_ @\n \\__|@\n @@\n0x0166 LATIN CAPITAL LETTER T WITH STROKE\n _____ @\n |_ _|@\n | | @\n -|-|- @\n |_| @\n @@\n0x0167 LATIN SMALL LETTER T WITH STROKE\n _ @\n | |_ @\n | __|@\n |-|_ @\n \\__|@\n @@\n0x0168 LATIN CAPITAL LETTER U WITH TILDE\n @\n _/\\/_ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x0169 LATIN SMALL LETTER U WITH TILDE\n @\n _/\\/_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x016A LATIN CAPITAL LETTER U WITH MACRON\n ____ @\n /__ _/@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x016B LATIN SMALL LETTER U WITH MACRON\n ____ @\n / _ /@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x016C LATIN CAPITAL LETTER U WITH BREVE\n @\n \\_/_ @\n | | | |@\n | |_| |@\n \\____|@\n @@\n0x016D LATIN SMALL LETTER U WITH BREVE\n @\n \\_/_ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x016E LATIN CAPITAL LETTER U WITH RING ABOVE\n O @\n __ _ @\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x016F LATIN SMALL LETTER U WITH RING ABOVE\n O @\n __ __ @\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x0170 LATIN CAPITAL LETTER U WITH DOUBLE ACUTE\n -- --@\n /_//_/@\n | | | |@\n | |_| |@\n \\___/ @\n @@\n0x0171 LATIN SMALL LETTER U WITH DOUBLE ACUTE\n ____@\n _/_/_/@\n | | | |@\n | |_| |@\n \\__,_|@\n @@\n0x0172 LATIN CAPITAL LETTER U WITH OGONEK\n _ _ @\n | | | |@\n | | | |@\n | |_| |@\n \\___/ @\n (__(@@\n0x0173 LATIN SMALL LETTER U WITH OGONEK\n @\n _ _ @\n | | | |@\n | |_| |@\n \\__,_|@\n (_(@@\n0x0174 LATIN CAPITAL LETTER W WITH CIRCUMFLEX\n __ /\\ __@\n \\ \\ //\\\\/ /@\n \\ \\ /\\ / / @\n \\ V V / @\n \\_/\\_/ @\n @@\n0x0175 LATIN SMALL LETTER W WITH CIRCUMFLEX\n /\\ @\n __ //\\\\__@\n \\ \\ /\\ / /@\n \\ V V / @\n \\_/\\_/ @\n @@\n0x0176 LATIN CAPITAL LETTER Y WITH CIRCUMFLEX\n /\\ @\n __//\\\\ @\n \\ \\ / /@\n \\ V / @\n |_| @\n @@\n0x0177 LATIN SMALL LETTER Y WITH CIRCUMFLEX\n /\\ @\n //\\\\ @\n | | | |@\n | |_| |@\n \\__, |@\n |___/ @@\n0x0178 LATIN CAPITAL LETTER Y WITH DIAERESIS\n [] []@\n __ _@\n \\ \\ / /@\n \\ V / @\n |_| @\n @@\n0x0179 LATIN CAPITAL LETTER Z WITH ACUTE\n __/_/@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n0x017A LATIN SMALL LETTER Z WITH ACUTE\n _ @\n _/_/@\n |_ /@\n / / @\n /___|@\n @@\n0x017B LATIN CAPITAL LETTER Z WITH DOT ABOVE\n __[]_@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n0x017C LATIN SMALL LETTER Z WITH DOT ABOVE\n [] @\n ____@\n |_ /@\n / / @\n /___|@\n @@\n0x017D LATIN CAPITAL LETTER Z WITH CARON\n _\\_/_@\n |__ /@\n / / @\n / /_ @\n /____|@\n @@\n0x017E LATIN SMALL LETTER Z WITH CARON\n \\\\//@\n _\\/_@\n |_ /@\n / / @\n /___|@\n @@\n0x017F LATIN SMALL LETTER LONG S\n __ @\n / _|@\n |-| | @\n |-| | @\n |_| @\n @@\n0x02C7 CARON\n \\\\//@\n \\/ @\n $@\n $@\n $@\n $@@\n0x02D8 BREVE\n \\\\_//@\n \\_/ @\n $@\n $@\n $@\n $@@\n0x02D9 DOT ABOVE\n []@\n $@\n $@\n $@\n $@\n $@@\n0x02DB OGONEK\n $@\n $@\n $@\n $@\n $@\n )_) @@\n0x02DD DOUBLE ACUTE ACCENT\n _ _ @\n /_/_/@\n $@\n $@\n $@\n $@@\n0xCA0 KANNADA LETTER TTHA\n _____)@\n /_ ___/@\n / _ \\ @\n | (_) | @\n $\\___/$ @\n @@\n ");const h0=new ke;h0.version(ef).description("CLI to create a new project"),h0.command("status").description("cli status").action((async()=>{const e=(e,t)=>e.split("\n").map((e=>{const n=Math.max(0,Math.floor((t-e.length)/2));return" ".repeat(n)+e})).join("\n"),t=100,n=df.textSync("Qumra Cloud CLI",{font:"Standard",horizontalLayout:"default",verticalLayout:"default",width:t,whitespaceBreak:!0}),r=df.textSync("Version 1.0.0",{font:"Standard",horizontalLayout:"default",verticalLayout:"default",width:t,whitespaceBreak:!0}),i=e(n,t),s=e(r,t),o=e("\n Welcome to Qumra Cloud CLI!\n \n At Qumra, we offer innovative cloud solutions to streamline your tech needs.\n Our tools are designed to make technology work for you with ease and efficiency.\n \n Learn more about our partners and how we collaborate to deliver the best:\n https://partners.qumra.cloud\n ",t);console.log(_t.green(i)),console.log(_t.green(s)),console.log(_t.green(o))})),h0.command("create-new-app").description("Create a new project").action(gf),h0.command("build").description("Build a project").action((()=>{const e=process.cwd(),t=o.join(e,"src","views"),n=o.join(e,"build"),r=o.join(n,"views.zip");s.existsSync(t)||(console.log(_t.red('Error: The "views" folder does not exist.')),process.exit(1)),s.existsSync(n)||s.mkdirSync(n);const i=zr('Compressing the "views" folder...').start(),a=s.createWriteStream(r),c=UO("zip",{zlib:{level:9}});a.on("close",(()=>{i.succeed(_t.blue(`"views" folder compressed successfully into ${r}`))})),c.on("warning",(e=>{if("ENOENT"!==e.code)throw e;console.warn(e)})),c.on("error",(e=>{throw i.fail(_t.red(`Failed to compress "views" folder: ${e.message}`)),e})),c.pipe(a),c.directory(t,!1),c.finalize()})),h0.command("publish").description("Publish your project").action((async function(){const e=function(){s.existsSync(YO)||(console.log('File "qumra.config.json" not found!'),process.exit(1));const e=s.readFileSync(YO,"utf-8");try{return JSON.parse(e)}catch(e){throw new Error('Failed to parse "qumra.config.json". Invalid JSON format.')}}(),t=zr("Checking files...").start();try{const n=await qO(GO),r=await qO(VO,"views"),i=await qO(KO,"locales"),a={...r,...i},c=Object.keys(a);HO(c,t).then((r=>{(async function(e,t){console.log("🚀 ~ uploadRequest ~ paths,config:",e,t);try{return(await of.post("/themes/uploadRequest",{paths:e,config:t})).data}catch(e){throw e}})(r.paths,e).then((e=>{(async function(e,t,n){const r=new sp;r.append("encryptionKey",e),r.append("paths",JSON.stringify(t));for(const[e,t]of Object.entries(n))console.log("🚀 ~ uploadTheme ~ filePath:",t),r.append("files",s.createReadStream(t),{filename:o.basename(t),filepath:e}),r.append("filePaths",e);const i=zr(_t.cyan("Uploading theme...")).start();try{const e=await $O.post("/theme/upload",r,{onUploadProgress:e=>{const t=Math.round(100*e.loaded/e.total);i.text=_t.cyan(`Uploading theme... ${t}%`)}});return i.succeed(_t.green("Upload successful!")),e.data}catch(e){throw i.fail(_t.red("Upload failed.")),console.error("🚀 ~ uploadTheme ~ error:",e.message),e.message}})(e.encryptionKey,r.paths,c).then((r=>{(async function(e,t,n){const r=new sp;r.append("encryptionKey",e),r.append("paths",JSON.stringify(t));for(const[e,t]of Object.entries(n))r.append("files",s.createReadStream(t),{filename:o.basename(t),filepath:e}),r.append("filePaths",e);const i=zr(_t.cyan("Uploading theme...")).start();try{const e=await zO.post("/upload/assets",r,{onUploadProgress:e=>{const t=Math.round(100*e.loaded/e.total);i.text=_t.cyan(`Uploading theme... ${t}%`)}});return i.succeed(_t.green("Upload successful!")),e.data}catch(e){throw i.fail(_t.red("Upload failed.")),console.error("🚀 ~ uploadAssets ~ error:",e.message),e}})(e.encryptionKey,Object.keys(n),n).then((e=>{})).then((()=>{t.succeed("Theme Uploaded")}))}))}))})).catch((e=>{}))}catch(e){console.error(`Failed to publish files - Error: ${e.message}`)}})),h0.command("login").description("developer login").action(p0),h0.addCommand(GJ),h0.command("save").action((async()=>{await sf("token"),await rf("token",{test:"asdasdasd"})})),h0.parse(process.argv);
|
|
396
396
|
//# sourceMappingURL=cli.cjs.map
|