tabby/clients/tabby-agent/dist/index.global.js

98 lines
240 KiB
JavaScript
Raw Normal View History

var Tabby = (function (exports) {
'use strict';
var yC=Object.create;var Bs=Object.defineProperty;var gC=Object.getOwnPropertyDescriptor;var mC=Object.getOwnPropertyNames;var vC=Object.getPrototypeOf,_C=Object.prototype.hasOwnProperty;var EC=(t,e,r)=>e in t?Bs(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var va=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var Mt=(t,e)=>()=>(t&&(e=t(t=0)),e);var Fe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Mn=(t,e)=>{for(var r in e)Bs(t,r,{get:e[r],enumerable:!0});},Jm=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of mC(e))!_C.call(t,o)&&o!==r&&Bs(t,o,{get:()=>e[o],enumerable:!(n=gC(e,o))||n.enumerable});return t};var _a=(t,e,r)=>(r=t!=null?yC(vC(t)):{},Jm(e||!t||!t.__esModule?Bs(r,"default",{value:t,enumerable:!0}):r,t));var bt=(t,e,r)=>(EC(t,typeof e!="symbol"?e+"":e,r),r),_h=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)};var ue=(t,e,r)=>(_h(t,e,"read from private field"),r?r.call(t):e.get(t)),St=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r);},ct=(t,e,r,n)=>(_h(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),_f=(t,e,r,n)=>({set _(o){ct(t,e,o,r);},get _(){return ue(t,e,n)}}),vt=(t,e,r)=>(_h(t,e,"access private method"),r);var le,x=Mt(()=>{le=globalThis;});var C=Mt(()=>{});var N=Mt(()=>{});var ne={};Mn(ne,{_debugEnd:()=>$v,_debugProcess:()=>Mv,_events:()=>t0,_eventsCount:()=>r0,_exiting:()=>Ev,_fatalExceptions:()=>Dv,_getActiveHandles:()=>Av,_getActiveRequests:()=>bv,_kill:()=>Ov,_linkedBinding:()=>vv,_maxListeners:()=>e0,_preload_modules:()=>Jv,_rawDebug:()=>gv,_startProfilerIdleNotifier:()=>jv,_stopProfilerIdleNotifier:()=>Hv,_tickCallback:()=>Uv,abort:()=>zv,addListener:()=>n0,allowedNodeEnvironmentFlags:()=>Pv,arch:()=>nv,argv:()=>av,argv0:()=>Xv,assert:()=>Lv,binding:()=>cv,chdir:()=>dv,config:()=>wv,cpuUsage:()=>Sf,cwd:()=>pv,debugPort:()=>Yv,default:()=>h0,dlopen:()=>Sv,domain:()=>_v,emit:()=>u0,emitWarning:()=>lv,env:()=>ov,execArgv:()=>sv,execPath:()=>Zv,exit:()=>Cv,features:()=>Bv,hasUncaughtExceptionCaptureCallback:()=>Fv,hrtime:()=>wf,kill:()=>xv,listeners:()=>c0,memoryUsage:()=>Iv,moduleLoadList:()=>mv,nextTick:()=>ev,off:()=>o0,on:()=>Ri,once:()=>i0,openStdin:()=>Nv,pid:()=>Vv,platform:()=>iv,ppid:()=>Kv,prependListener:()=>f0,prependOnceListener:()=>l0,reallyExit:()=>Rv,release:()=>yv,removeAllListeners:()=>s0,removeListener:()=>a0,resourceUsage:()=>Tv,setSourceMapsEnabled:()=>Qv,setUncaughtExceptionCaptureCallback:()=>kv,stderr:()=>Gv,stdin:()=>Wv,stdout:()=>qv,title:()=>rv,umask:()=>hv,uptime:()=>wa,version:()=>uv,versions:()=>fv});function Sh(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}function wC(){!Ea||!Ro||(Ea=!1,Ro.length?Ai=Ro.concat(Ai):Ef=-1,Ai.length&&Qm());}function Qm(){if(!Ea){var t=setTimeout(wC,0);Ea=!0;for(var e=Ai.length;e;){for(Ro=Ai,Ai=[];++Ef<e;)Ro&&Ro[Ef].run();Ef=-1,e=Ai.length;}Ro=null,Ea=!1,clearTimeout(t);}}function ev(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Ai.push(new tv(t,e)),Ai.length===1&&!Ea&&setTimeout(Qm,0);}function tv(t,e){this.fun=t,this.array=e;}function Fr(){}function vv(t){Sh("_linkedBinding");}function Sv(t){Sh("dlopen");}function bv(){return []}function Av(){return []}function Lv(t,e){if(!t)throw new Error(e||"assertion error")}function Fv(){return !1}function wa(){return Xi.now()/1e3}function wf(t){var e=Math.floor((Date.now()-Xi.now())*.001),r=Xi.now()*.001,n=Math.floor(r)+e,o=Math.floor(r%1*1e9);return t&&(n=n-t[0],o=o-t[1],o<0&&(n--,o+=wh)),[n,o]}function Ri(){return h0}function c0(t){return []}var Ai,Ea,Ro,Ef,rv,nv,iv,ov,av,sv,uv,fv,lv,cv,hv,pv,dv,yv,gv,mv,_v,Ev,wv,Rv,Ov,Sf,Tv,Iv,xv,Cv,Nv,Pv,Bv,Dv,kv,Uv,Mv,$v,jv,Hv,qv,Gv,Wv,zv,Vv,Kv,Zv,Yv,Xv,Jv,Qv,Xi,Eh,wh,e0,t0,r0,n0,i0,o0,a0,s0,u0,f0,l0,h0,bf=M
`)>=0)return !1;return !0}function yP(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=ni.call(Array(t.indent+1)," ");else return null;return {base:r,prev:ni.call(Array(e+1),r)}}function Jh(t,e){if(t.length===0)return "";var r=`
`+e.prev+e.base;return r+ni.call(t,","+r)+`
`+e.prev}function Ff(t,e){var r=Xh(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=Qi(t,o)?e(t[o],t):"";}var i=typeof zh=="function"?zh(t):[],a;if(Ca){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s];}for(var f in t)Qi(t,f)&&(r&&String(Number(f))===f&&f<t.length||Ca&&a["$"+f]instanceof Symbol||(tE.call(/[^\w$]/,f)?n.push(e(f,t)+": "+e(t[f],t)):n.push(f+": "+e(t[f],t))));if(typeof zh=="function")for(var h=0;h<i.length;h++)rE.call(t,i[h])&&n.push("["+e(i[h])+"]: "+e(t[i[h]],t));return n}});var ip=Fe((VZ,fE)=>{x();C();N();L();P();var rp=$n(),Na=Jr(),gP=uE(),mP=rp("%TypeError%"),$f=rp("%WeakMap%",!0),jf=rp("%Map%",!0),vP=Na("WeakMap.prototype.get",!0),_P=Na("WeakMap.prototype.set",!0),EP=Na("WeakMap.prototype.has",!0),wP=Na("Map.prototype.get",!0),SP=Na("Map.prototype.set",!0),bP=Na("Map.prototype.has",!0),np=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},AP=function(t,e){var r=np(t,e);return r&&r.value},RP=function(t,e,r){var n=np(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r};},OP=function(t,e){return !!np(t,e)};fE.exports=function(){var e,r,n,o={assert:function(i){if(!o.has(i))throw new mP("Side channel does not contain "+gP(i))},get:function(i){if($f&&i&&(typeof i=="object"||typeof i=="function")){if(e)return vP(e,i)}else if(jf){if(r)return wP(r,i)}else if(n)return AP(n,i)},has:function(i){if($f&&i&&(typeof i=="object"||typeof i=="function")){if(e)return EP(e,i)}else if(jf){if(r)return bP(r,i)}else if(n)return OP(n,i);return !1},set:function(i,a){$f&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new $f),_P(e,i,a)):jf?(r||(r=new jf),SP(r,i,a)):(n||(n={key:{},next:null}),RP(n,i,a));}};return o};});var cE=Fe((QZ,lE)=>{x();C();N();L();P();var TP=$n(),IP=Ch(),zs=ip()(),Ii=TP("%TypeError%"),op={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Ii("`O` is not an object");if(typeof e!="string")throw new Ii("`slot` must be a string");if(zs.assert(t),!op.has(t,e))throw new Ii("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Ii("`O` is not an object");if(typeof e!="string")throw new Ii("`slot` must be a string");var r=zs.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Ii("`O` is not an object");if(typeof e!="string")throw new Ii("`slot` must be a string");var r=zs.get(t);return !!r&&IP(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Ii("`O` is not an object");if(typeof e!="string")throw new Ii("`slot` must be a string");var n=zs.get(t);n||(n={},zs.set(t,n)),n["$"+e]=r;}};Object.freeze&&Object.freeze(op);lE.exports=op;});var dE=Fe((oY,pE)=>{x();C();N();L();P();var Vs=cE(),xP=SyntaxError,hE=typeof StopIteration=="object"?StopIteration:null;pE.exports=function(e){if(!hE)throw new xP("this environment lacks StopIteration");Vs.set(e,"[[Done]]",!1);var r={next:function(){var o=Vs.get(this,"[[Iterator]]"),i=Vs.get(o,"[[Done]]");try{return {done:i,value:i?void 0:o.next()}}catch(a){if(Vs.set(o,"[[Done]]",!0),a!==hE)throw a;return {done:!0,value:void 0}}}};return Vs.set(r,"[[Iterator]]",e),r};});var ap=Fe((cY,yE)=>{x();C();N();L();P();var CP={}.toString;yE.exports=Array.isArray||function(t){return CP.call(t)=="[object Array]"};});var sp=Fe((mY,gE)=>{x();C();N();L();P();var NP=String.prototype.valueOf,PP=function(e){try{return NP.call(e),!0}catch{return !1}},LP=Object.prototype.toString,BP="[object String]",DP=Ti()();gE.exports=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:DP?PP(e):LP.call(e)===BP};});var fp=Fe((bY,_E)=>{x();C();N();L();P();var up=typeof Map=="function"&&Map.prototype?Map:null,kP=typeof Set=="function"&&Set.prototype?Set:null,Hf;up||(Hf=function(e){return !1});var vE=up?Map.prototype.has:null,mE=kP?Set.prototype.has:null;!Hf&&!vE&&(Hf=function(e){return !1});_E.exports=Hf||function(e){if(!e||typeof e!="object")return !1;try{if(vE.call(e),mE)try{mE.call(e);}catch{return !0}return e instanceof up}catch{}return !1};});var cp=Fe((xY,SE)=>{x(
2023-06-06 14:25:31 +00:00
(see https://github.com/puleos/object-hash/issues/26)
Use "options.replacer" or "options.ignoreUnknown"
`)},_domwindow:function(){return j("domwindow")},_bigint:function(D){return j("bigint:"+D.toString())},_process:function(){return j("process")},_timer:function(){return j("timer")},_pipe:function(){return j("pipe")},_tcp:function(){return j("tcp")},_udp:function(){return j("udp")},_tty:function(){return j("tty")},_statwatcher:function(){return j("statwatcher")},_securecontext:function(){return j("securecontext")},_connection:function(){return j("connection")},_zlib:function(){return j("zlib")},_context:function(){return j("context")},_nodescript:function(){return j("nodescript")},_httpparser:function(){return j("httpparser")},_dataview:function(){return j("dataview")},_signal:function(){return j("signal")},_fsevent:function(){return j("fsevent")},_tlswrap:function(){return j("tlswrap")}}}function $(){return {buf:"",write:function(H){this.buf+=H;},end:function(H){this.buf+=H;},read:function(){return this.buf}}}r.writeToStream=function(H,Z,V){return V===void 0&&(V=Z,Z={}),B(Z=b(H,Z),V).dispatch(H)};}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/");},{buffer:3,crypto:5,lYpoI2:11}],2:[function(t,e,r){(function(n,o,i,a,s,f,h,l,d){(function(g){var v=typeof Uint8Array<"u"?Uint8Array:Array,p="+".charCodeAt(0),_="/".charCodeAt(0),b="0".charCodeAt(0),O="a".charCodeAt(0),B="A".charCodeAt(0),$="-".charCodeAt(0),H="_".charCodeAt(0);function Z(V){return V=V.charCodeAt(0),V===p||V===$?62:V===_||V===H?63:V<b?-1:V<b+10?V-b+26+26:V<B+26?V-B:V<O+26?V-O+26:void 0}g.toByteArray=function(V){var j,D;if(0<V.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var q=V.length,q=V.charAt(q-2)==="="?2:V.charAt(q-1)==="="?1:0,te=new v(3*V.length/4-q),ae=0<q?V.length-4:V.length,Y=0;function se(_e){te[Y++]=_e;}for(j=0;j<ae;j+=4,0)se((16711680&(D=Z(V.charAt(j))<<18|Z(V.charAt(j+1))<<12|Z(V.charAt(j+2))<<6|Z(V.charAt(j+3))))>>16),se((65280&D)>>8),se(255&D);return q==2?se(255&(D=Z(V.charAt(j))<<2|Z(V.charAt(j+1))>>4)):q==1&&(se((D=Z(V.charAt(j))<<10|Z(V.charAt(j+1))<<4|Z(V.charAt(j+2))>>2)>>8&255),se(255&D)),te},g.fromByteArray=function(V){var j,D,q,te,ae=V.length%3,Y="";function se(_e){return "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(_e)}for(j=0,q=V.length-ae;j<q;j+=3)D=(V[j]<<16)+(V[j+1]<<8)+V[j+2],Y+=se((te=D)>>18&63)+se(te>>12&63)+se(te>>6&63)+se(63&te);switch(ae){case 1:Y=(Y+=se((D=V[V.length-1])>>2))+se(D<<4&63)+"==";break;case 2:Y=(Y=(Y+=se((D=(V[V.length-2]<<8)+V[V.length-1])>>10))+se(D>>4&63))+se(D<<2&63)+"=";}return Y};})(r===void 0?this.base64js={}:r);}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib");},{buffer:3,lYpoI2:11}],3:[function(t,e,r){(function(n,o,p,a,s,f,h,l,d){var g=t("base64-js"),v=t("ieee754");function p(I,F,K){if(!(this instanceof p))return new p(I,F,K);var be,me,M,J,Ne=typeof I;if(F==="base64"&&Ne=="string")for(I=(J=I).trim?J.trim():J.replace(/^\s+|\s+$/g,"");I.length%4!=0;)I+="=";if(Ne=="number")be=he(I);else if(Ne=="string")be=p.byteLength(I,F);else {if(Ne!="object")throw new Error("First argument needs to be a number, array or string.");be=he(I.length);}if(p._useTypedArrays?me=p._augment(new Uint8Array(be)):((me=this).length=be,me._isBuffer=!0),p._useTypedArrays&&typeof I.byteLength=="number")me._set(I);else if(fe(J=I)||p.isBuffer(J)||J&&typeof J=="object"&&typeof J.length=="number")for(M=0;M<be;M++)p.isBuffer(I)?me[M]=I.readUInt8(M):me[M]=I[M];else if(Ne=="string")me.write(I,0,F);else if(Ne=="number"&&!p._useTypedArrays&&!K)for(M=0;M<be;M++)me[M]=0;return me}function _(I,F,K,be){return p._charsWritten=Pe(function(me){for(var M=[],J=0;J<me.length;J++)M.push(255&me.charCodeAt(J));return M}(F),I,K,be)}function b(I,F,K,be){return p._charsWritten=Pe(function(me){for(var M,J,Ne=[],je=0;je<me.length;je++)J=me.charCodeAt(je),M=J>>8,J=J%256,Ne.p
list should be an Array.`),I.length===0)return new p(0);if(I.length===1)return I[0];if(typeof F!="number")for(me=F=0;me<I.length;me++)F+=I[me].length;for(var K=new p(F),be=0,me=0;me<I.length;me++){var M=I[me];M.copy(K,be),be+=M.length;}return K},p.prototype.write=function(I,F,K,be){isFinite(F)?isFinite(K)||(be=K,K=void 0):(je=be,be=F,F=K,K=je),F=Number(F)||0;var me,M,J,Ne,je=this.length-F;switch((!K||je<(K=Number(K)))&&(K=je),be=String(be||"utf8").toLowerCase()){case"hex":me=function(We,Xe,Qe,_t){Qe=Number(Qe)||0;var mt=We.length-Qe;(!_t||mt<(_t=Number(_t)))&&(_t=mt),Ie((mt=Xe.length)%2==0,"Invalid hex string"),mt/2<_t&&(_t=mt/2);for(var pt=0;pt<_t;pt++){var Ut=parseInt(Xe.substr(2*pt,2),16);Ie(!isNaN(Ut),"Invalid hex string"),We[Qe+pt]=Ut;}return p._charsWritten=2*pt,pt}(this,I,F,K);break;case"utf8":case"utf-8":M=this,J=F,Ne=K,me=p._charsWritten=Pe(Se(I),M,J,Ne);break;case"ascii":case"binary":me=_(this,I,F,K);break;case"base64":M=this,J=F,Ne=K,me=p._charsWritten=Pe(Te(I),M,J,Ne);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":me=b(this,I,F,K);break;default:throw new Error("Unknown encoding")}return me},p.prototype.toString=function(I,F,K){var be,me,M,J,Ne=this;if(I=String(I||"utf8").toLowerCase(),F=Number(F)||0,(K=K!==void 0?Number(K):Ne.length)===F)return "";switch(I){case"hex":be=function(je,We,Xe){var Qe=je.length;(!We||We<0)&&(We=0),(!Xe||Xe<0||Qe<Xe)&&(Xe=Qe);for(var _t="",mt=We;mt<Xe;mt++)_t+=ie(je[mt]);return _t}(Ne,F,K);break;case"utf8":case"utf-8":be=function(je,We,Xe){var Qe="",_t="";Xe=Math.min(je.length,Xe);for(var mt=We;mt<Xe;mt++)je[mt]<=127?(Qe+=Je(_t)+String.fromCharCode(je[mt]),_t=""):_t+="%"+je[mt].toString(16);return Qe+Je(_t)}(Ne,F,K);break;case"ascii":case"binary":be=O(Ne,F,K);break;case"base64":me=Ne,J=K,be=(M=F)===0&&J===me.length?g.fromByteArray(me):g.fromByteArray(me.slice(M,J));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":be=function(je,We,Xe){for(var Qe=je.slice(We,Xe),_t="",mt=0;mt<Qe.length;mt+=2)_t+=String.fromCharCode(Qe[mt]+256*Qe[mt+1]);return _t}(Ne,F,K);break;default:throw new Error("Unknown encoding")}return be},p.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},p.prototype.copy=function(I,F,K,be){if(F=F||0,(be=be||be===0?be:this.length)!==(K=K||0)&&I.length!==0&&this.length!==0){Ie(K<=be,"sourceEnd < sourceStart"),Ie(0<=F&&F<I.length,"targetStart out of bounds"),Ie(0<=K&&K<this.length,"sourceStart out of bounds"),Ie(0<=be&&be<=this.length,"sourceEnd out of bounds"),be>this.length&&(be=this.length);var me=(be=I.length-F<be-K?I.length-F+K:be)-K;if(me<100||!p._useTypedArrays)for(var M=0;M<me;M++)I[M+F]=this[M+K];else I._set(this.subarray(K,K+me),F);}},p.prototype.slice=function(I,F){var K=this.length;if(I=ce(I,K,0),F=ce(F,K,K),p._useTypedArrays)return p._augment(this.subarray(I,F));for(var be=F-I,me=new p(be,void 0,!0),M=0;M<be;M++)me[M]=this[M+I];return me},p.prototype.get=function(I){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(I)},p.prototype.set=function(I,F){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(I,F)},p.prototype.readUInt8=function(I,F){if(F||(Ie(I!=null,"missing offset"),Ie(I<this.length,"Trying to read beyond buffer length")),!(I>=this.length))return this[I]},p.prototype.readUInt16LE=function(I,F){return B(this,I,!0,F)},p.prototype.readUInt16BE=function(I,F){return B(this,I,!1,F)},p.prototype.readUInt32LE=function(I,F){return $(this,I,!0,F)},p.prototype.readUInt32BE=function(I,F){return $(this,I,!1,F)},p.prototype.readInt8=function(I,F){if(F||(Ie(I!=null,"missing offset"),Ie(I<this.length,"Trying to read beyond buffer length")),!(I>=this.length))return 128&this[I]?-1*(255-this[I]+1):this[I]},p.prototype.readInt16LE=function(I,F){return H(this,I,!0,F)},p.prototype.readInt16BE=function(I,F){return H(this,I,!1,F)},p.prototype.readInt32LE=function(I,F){return Z(this,I,!0,F)},p.prototype.readInt32BE=function(I,F){return Z(this,I,!1,F)},p.prototype.readFloatLE=function(I,F){return V(this,I,!0,F)},p.prot
`))}B.fill(0),r.createHash=function(D){return $(D)},r.createHmac=$,r.randomBytes=function(D,q){if(!q||!q.call)return new g(_(D));try{q.call(this,void 0,new g(_(D)));}catch(te){q(te);}};var Z,V=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],j=function(D){r[D]=function(){H("sorry,",D,"is not implemented yet");};};for(Z in V)j(V[Z]);}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify");},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(t,e,r){(function(n,o,i,a,s,f,h,l,d){var g=t("./helpers");function v(H,Z){H[Z>>5]|=128<<Z%32,H[14+(Z+64>>>9<<4)]=Z;for(var V=1732584193,j=-271733879,D=-1732584194,q=271733878,te=0;te<H.length;te+=16){var ae=V,Y=j,se=D,_e=q,V=_(V,j,D,q,H[te+0],7,-680876936),q=_(q,V,j,D,H[te+1],12,-389564586),D=_(D,q,V,j,H[te+2],17,606105819),j=_(j,D,q,V,H[te+3],22,-1044525330);V=_(V,j,D,q,H[te+4],7,-176418897),q=_(q,V,j,D,H[te+5],12,1200080426),D=_(D,q,V,j,H[te+6],17,-1473231341),j=_(j,D,q,V,H[te+7],22,-45705983),V=_(V,j,D,q,H[te+8],7,1770035416),q=_(q,V,j,D,H[te+9],12,-1958414417),D=_(D,q,V,j,H[te+10],17,-42063),j=_(j,D,q,V,H[te+11],22,-1990404162),V=_(V,j,D,q,H[te+12],7,1804603682),q=_(q,V,j,D,H[te+13],12,-40341101),D=_(D,q,V,j,H[te+14],17,-1502002290),V=b(V,j=_(j,D,q,V,H[te+15],22,1236535329),D,q,H[te+1],5,-165796510),q=b(q,V,j,D,H[te+6],9,-1069501632),D=b(D,q,V,j,H[te+11],14,643717713),j=b(j,D,q,V,H[te+0],20,-373897302),V=b(V,j,D,q,H[te+5],5,-701558691),q=b(q,V,j,D,H[te+10],9,38016083),D=b(D,q,V,j,H[te+15],14,-660478335),j=b(j,D,q,V,H[te+4],20,-405537848),V=b(V,j,D,q,H[te+9],5,568446438),q=b(q,V,j,D,H[te+14],9,-1019803690),D=b(D,q,V,j,H[te+3],14,-187363961),j=b(j,D,q,V,H[te+8],20,1163531501),V=b(V,j,D,q,H[te+13],5,-1444681467),q=b(q,V,j,D,H[te+2],9,-51403784),D=b(D,q,V,j,H[te+7],14,1735328473),V=O(V,j=b(j,D,q,V,H[te+12],20,-1926607734),D,q,H[te+5],4,-378558),q=O(q,V,j,D,H[te+8],11,-2022574463),D=O(D,q,V,j,H[te+11],16,1839030562),j=O(j,D,q,V,H[te+14],23,-35309556),V=O(V,j,D,q,H[te+1],4,-1530992060),q=O(q,V,j,D,H[te+4],11,1272893353),D=O(D,q,V,j,H[te+7],16,-155497632),j=O(j,D,q,V,H[te+10],23,-1094730640),V=O(V,j,D,q,H[te+13],4,681279174),q=O(q,V,j,D,H[te+0],11,-358537222),D=O(D,q,V,j,H[te+3],16,-722521979),j=O(j,D,q,V,H[te+6],23,76029189),V=O(V,j,D,q,H[te+9],4,-640364487),q=O(q,V,j,D,H[te+12],11,-421815835),D=O(D,q,V,j,H[te+15],16,530742520),V=B(V,j=O(j,D,q,V,H[te+2],23,-995338651),D,q,H[te+0],6,-198630844),q=B(q,V,j,D,H[te+7],10,1126891415),D=B(D,q,V,j,H[te+14],15,-1416354905),j=B(j,D,q,V,H[te+5],21,-57434055),V=B(V,j,D,q,H[te+12],6,1700485571),q=B(q,V,j,D,H[te+3],10,-1894986606),D=B(D,q,V,j,H[te+10],15,-1051523),j=B(j,D,q,V,H[te+1],21,-2054922799),V=B(V,j,D,q,H[te+8],6,1873313359),q=B(q,V,j,D,H[te+15],10,-30611744),D=B(D,q,V,j,H[te+6],15,-1560198380),j=B(j,D,q,V,H[te+13],21,1309151649),V=B(V,j,D,q,H[te+4],6,-145523070),q=B(q,V,j,D,H[te+11],10,-1120210379),D=B(D,q,V,j,H[te+2],15,718787259),j=B(j,D,q,V,H[te+9],21,-343485551),V=$(V,ae),j=$(j,Y),D=$(D,se),q=$(q,_e);}return Array(V,j,D,q)}function p(H,Z,V,j,D,q){return $((Z=$($(Z,H),$(j,q)))<<D|Z>>>32-D,V)}function _(H,Z,V,j,D,q,te){return p(Z&V|~Z&j,H,Z,D,q,te)}function b(H,Z,V,j,D,q,te){return p(Z&j|V&~j,H,Z,D,q,te)}function O(H,Z,V,j,D,q,te){return p(Z^V^j,H,Z,D,q,te)}function B(H,Z,V,j,D,q,te){return p(V^(Z|~j),H,Z,D,q,te)}function $(H,Z){var V=(65535&H)+(65535&Z);return (H>>16)+(Z>>16)+(V>>16)<<16|65535&V}e.exports=function(H){return g.hash(H,v,16)};}).call(this,t("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},t("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify");},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(t,e,r){(function(n,o,i,a,s,f,h,l,d
`).forEach(function(a){o=a.indexOf(":"),r=a.substring(0,o).trim().toLowerCase(),n=a.substring(o+1).trim(),!(!r||e[r]&&yD[r])&&(r==="set-cookie"?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n);}),e};var K1=Symbol("internals");function eu(t){return t&&String(t).trim().toLowerCase()}function gl(t){return t===!1||t==null?t:Ue.isArray(t)?t.map(gl):String(t)}function gD(t){let e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}var mD=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function rd(t,e,r,n,o){if(Ue.isFunction(n))return n.call(this,e,r);if(o&&(e=r),!!Ue.isString(e)){if(Ue.isString(n))return e.indexOf(n)!==-1;if(Ue.isRegExp(n))return n.test(e)}}function vD(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,n)=>r.toUpperCase()+n)}function _D(t,e){let r=Ue.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+r,{value:function(o,i,a){return this[n].call(this,e,o,i,a)},configurable:!0});});}var Ua=class{constructor(e){e&&this.set(e);}set(e,r,n){let o=this;function i(s,f,h){let l=eu(f);if(!l)throw new Error("header name must be a non-empty string");let d=Ue.findKey(o,l);(!d||o[d]===void 0||h===!0||h===void 0&&o[d]!==!1)&&(o[d||f]=gl(s));}let a=(s,f)=>Ue.forEach(s,(h,l)=>i(h,l,f));return Ue.isPlainObject(e)||e instanceof this.constructor?a(e,r):Ue.isString(e)&&(e=e.trim())&&!mD(e)?a(V1(e),r):e!=null&&i(r,e,n),this}get(e,r){if(e=eu(e),e){let n=Ue.findKey(this,e);if(n){let o=this[n];if(!r)return o;if(r===!0)return gD(o);if(Ue.isFunction(r))return r.call(this,o,n);if(Ue.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=eu(e),e){let n=Ue.findKey(this,e);return !!(n&&this[n]!==void 0&&(!r||rd(this,this[n],n,r)))}return !1}delete(e,r){let n=this,o=!1;function i(a){if(a=eu(a),a){let s=Ue.findKey(n,a);s&&(!r||rd(n,n[s],s,r))&&(delete n[s],o=!0);}}return Ue.isArray(e)?e.forEach(i):i(e),o}clear(e){let r=Object.keys(this),n=r.length,o=!1;for(;n--;){let i=r[n];(!e||rd(this,this[i],i,e,!0))&&(delete this[i],o=!0);}return o}normalize(e){let r=this,n={};return Ue.forEach(this,(o,i)=>{let a=Ue.findKey(n,i);if(a){r[a]=gl(o),delete r[i];return}let s=e?vD(i):String(i).trim();s!==i&&delete r[i],r[s]=gl(o),n[s]=!0;}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let r=Object.create(null);return Ue.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=e&&Ue.isArray(n)?n.join(", "):n);}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(`
`)}get[Symbol.toStringTag](){return "AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){let n=new this(e);return r.forEach(o=>n.set(o)),n}static accessor(e){let n=(this[K1]=this[K1]={accessors:{}}).accessors,o=this.prototype;function i(a){let s=eu(a);n[s]||(_D(o,a),n[s]=!0);}return Ue.isArray(e)?e.forEach(i):i(e),this}};Ua.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ue.freezeMethods(Ua.prototype);Ue.freezeMethods(Ua);var qr=Ua;function tu(t,e){let r=this||Fa,n=e||r,o=qr.from(n.headers),i=n.data;return Ue.forEach(t,function(s){i=s.call(r,i,o.normalize(),e?e.status:void 0);}),o.normalize(),i}x();C();N();L();P();function ru(t){return !!(t&&t.__CANCEL__)}x();C();N();L();P();function Z1(t,e,r){kt.call(this,t??"canceled",kt.ERR_CANCELED,e,r),this.name="CanceledError";}Ue.inherits(Z1,kt,{__CANCEL__:!0});var no=Z1;x();C();N();L();P();x();C();N();L();P();x();C();N();L();P();function nd(t,e,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new kt("Request failed with status code "+r.status,[kt.ERR_BAD_REQUEST,kt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r));}x();C();N();L();P();var Y1=Mr.isStandardBrowserEnv?function(){return {write:function(r,n,o,i,a,s){let f=[];f.push(r+"="+encodeURIComponent(n)),Ue.isNumber(o)&&f.push("expires="+new Date(o).toGMTString()),Ue.isString(i)&&f.push("path="+i),Ue.isString(a)&&f.push("domain="+a),s===!0&&f.push("secure"),document.cookie=f.join("; ");},read:function(r){let n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5);}}}():function(){return {write:function(){},read:function(){return null},remove:function(){}}}();x();C();N();L();P();x();C();N();L();P();function id(t){return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}x();C();N();L();P();function od(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function nu(t,e){return t&&!id(e)?od(t,e):e}x();C();N();L();P();var X1=Mr.isStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function o(i){let a=i;return e&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(a){let s=Ue.isString(a)?o(a):a;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return !0}}();x();C();N();L();P();function ad(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}x();C();N();L();P();function ED(t,e){t=t||10;let r=new Array(t),n=new Array(t),o=0,i=0,a;return e=e!==void 0?e:1e3,function(f){let h=Date.now(),l=n[i];a||(a=h),r[o]=f,n[o]=h;let d=i,g=0;for(;d!==o;)g+=r[d++],d=d%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),h-a<e)return;let v=l&&h-l;return v?Math.round(g*1e3/v):void 0}}var J1=ED;function Q1(t,e){let r=0,n=J1(50,250);return o=>{let i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-r,f=n(s),h=i<=a;r=i;let l={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:f||void 0,estimated:f&&a&&h?(a-i)/f:void 0,event:o};l[e?"download":"upload"]=!0,t(l);}}var wD=typeof XMLHttpRequest<"u",eS=wD&&function(t){return new Promise(function(r,n){let o=t.data,i=qr.from(t.headers).normalize(),a=t.responseType,s;function f(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s);}Ue.isFormData(o)&&(Mr.isStandardBrowserEnv||Mr.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let h=new XMLHttpRequest;if(t.auth){let v=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(v+":"+p));}let l=nu(t.baseURL,t.url);h.open(t.method.toUpperCase(),Qs(l,t.params,t.paramsSerializer),!0),h.timeout=t.timeout;function d(){if
@jspm/core/nodelibs/browser/buffer.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
@jspm/core/nodelibs/browser/chunk-44e51b61.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
@jspm/core/nodelibs/browser/assert.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*)
normalize-path/index.js:
(*!
* normalize-path <https://github.com/jonschlinkert/normalize-path>
*
* Copyright (c) 2014-2018, Jon Schlinkert.
* Released under the MIT License.
*)
is-extglob/index.js:
(*!
* is-extglob <https://github.com/jonschlinkert/is-extglob>
*
* Copyright (c) 2014-2016, Jon Schlinkert.
* Licensed under the MIT License.
*)
is-glob/index.js:
(*!
* is-glob <https://github.com/jonschlinkert/is-glob>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*)
is-number/index.js:
(*!
* is-number <https://github.com/jonschlinkert/is-number>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Released under the MIT License.
*)
to-regex-range/index.js:
(*!
* to-regex-range <https://github.com/micromatch/to-regex-range>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Released under the MIT License.
*)
fill-range/index.js:
(*!
* fill-range <https://github.com/jonschlinkert/fill-range>
*
* Copyright (c) 2014-present, Jon Schlinkert.
* Licensed under the MIT License.
*)
ieee754/index.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
buffer/index.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*)
*/
exports.CancelablePromise = Gr;
exports.TabbyAgent = ih;
exports.agentEventNames = TW;
return exports;
})({});
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.global.js.map