@griddo/cx 10.4.9 → 10.4.10
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/create-build-data.js +1 -1
- package/build/index.js +1 -1
- package/package.json +2 -2
|
@@ -24,7 +24,7 @@ GFS4: `),console.error(t)});W[se]||(xu=global[se]||[],Eu(W,xu),W.close=function(
|
|
|
24
24
|
\u2502 Access credentials failure \u2502
|
|
25
25
|
\u2502 Check that the login details are correct in your .env file \u2502
|
|
26
26
|
\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256F
|
|
27
|
-
`)),process.exit(1)}}},xt=new _i;var Uf=G(mi()),Xf=G(Xr()),Hf=G(St());var xl=G(require("node:crypto")),ut=G(require("node:fs")),Bi=G(require("node:path")),Ui=G(Ft()),un=Bi.default.resolve(__dirname,"./../apiCache"),Sl=`${un}/siteHash.json`;function El(){ut.default.existsSync(un)||ut.default.mkdirSync(un),console.info("Cache initialized")}function Cl(t){let e=xl.default.createHash("sha256");return e.update(JSON.stringify(t)),`${un}/${e.digest("hex")}`}function Pl(t,e){let r=typeof e=="string"?e:JSON.stringify(e),n=Cl(t),i=Bi.default.dirname(n);ut.default.existsSync(i)||ut.default.mkdirSync(i,{recursive:!0}),ut.default.writeFileSync(n,r,"utf8")}function Dl(t){try{let e=Cl(t);return Ui.default.readJSONSync(e,{encoding:"utf-8"})}catch{return null}}function ug(){try{return Ui.default.readJSONSync(Sl,{encoding:"utf-8"})||{}}catch{return{}}}function Ol(t,e){let r=ug(),n=r[t],i=e||n||new Date().valueOf();return i!==n&&(r[t]=i,ut.default.writeFileSync(Sl,JSON.stringify(r),{encoding:"utf-8"})),i.toString()}var zg=G(Xr()),Nf=G(St()),Ue=G(Ft()),Wg=G(gf()),ls=G(qf());var Tf="10.4.
|
|
27
|
+
`)),process.exit(1)}}},xt=new _i;var Uf=G(mi()),Xf=G(Xr()),Hf=G(St());var xl=G(require("node:crypto")),ut=G(require("node:fs")),Bi=G(require("node:path")),Ui=G(Ft()),un=Bi.default.resolve(__dirname,"./../apiCache"),Sl=`${un}/siteHash.json`;function El(){ut.default.existsSync(un)||ut.default.mkdirSync(un),console.info("Cache initialized")}function Cl(t){let e=xl.default.createHash("sha256");return e.update(JSON.stringify(t)),`${un}/${e.digest("hex")}`}function Pl(t,e){let r=typeof e=="string"?e:JSON.stringify(e),n=Cl(t),i=Bi.default.dirname(n);ut.default.existsSync(i)||ut.default.mkdirSync(i,{recursive:!0}),ut.default.writeFileSync(n,r,"utf8")}function Dl(t){try{let e=Cl(t);return Ui.default.readJSONSync(e,{encoding:"utf-8"})}catch{return null}}function ug(){try{return Ui.default.readJSONSync(Sl,{encoding:"utf-8"})||{}}catch{return{}}}function Ol(t,e){let r=ug(),n=r[t],i=e||n||new Date().valueOf();return i!==n&&(r[t]=i,ut.default.writeFileSync(Sl,JSON.stringify(r),{encoding:"utf-8"})),i.toString()}var zg=G(Xr()),Nf=G(St()),Ue=G(Ft()),Wg=G(gf()),ls=G(qf());var Tf="10.4.10";Nf.default.config();var d2=!!process.env.GRIDDO_DEBUG_LOGS&&!!JSON.parse(process.env.GRIDDO_DEBUG_LOGS),Jg=!!process.env.GRIDDO_BUILD_LOGS&&!!JSON.parse(process.env.GRIDDO_BUILD_LOGS)||!!process.env.LOGS&&!!JSON.parse(process.env.LOGS),h2=ls.default.sync(__dirname),p2=ls.default.sync();function jf(t){let e=[];return Ue.default.readdirSync(t).forEach(n=>{let i=`${t}/${n}`;e.push(i)}),e}function ur(t,e="",r=1,n=1){let i=t.split(`
|
|
28
28
|
`).map(b=>b.trim()),s=e?` ${e} `:"",o=e?s.length:0,a=Math.max(...i.map(b=>b.length))+r*2,u=Math.max(a,o),h=`\u2502${" ".repeat(u)}\u2502
|
|
29
29
|
`.repeat(n),c=u,p=`\u256D${s}${"\u2500".repeat(c-o)}\u256E
|
|
30
30
|
`,g=`\u2570${"\u2500".repeat(c)}\u256F`,m=i.map(b=>{let x=" ".repeat(u-b.length-r);return`\u2502${" ".repeat(r)}${b}${x}\u2502
|
package/build/index.js
CHANGED
|
@@ -20,7 +20,7 @@ GFS4: `),console.error(t)});z[ie]||(Ra=global[ie]||[],ka(z,Ra),z.close=function(
|
|
|
20
20
|
`).join(`
|
|
21
21
|
`+s),t.push(i+"m+"+Kn.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=P1()+e+" "+t[0]}function P1(){return ae.inspectOpts.hideDate?"":new Date().toISOString()+" "}function D1(...t){return process.stderr.write(Yn.format(...t)+`
|
|
22
22
|
`)}function O1(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function A1(){return process.env.DEBUG}function I1(t){t.inspectOpts={};let e=Object.keys(ae.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=ae.inspectOpts[e[r]]}Kn.exports=po()(ae);var{formatters:hd}=Kn.exports;hd.o=function(t){return this.inspectOpts.colors=this.useColors,Yn.inspect(t,this.inspectOpts).split(`
|
|
23
|
-
`).map(e=>e.trim()).join(" ")};hd.O=function(t){return this.inspectOpts.colors=this.useColors,Yn.inspect(t,this.inspectOpts)}});var md=y((cw,mo)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?mo.exports=dd():mo.exports=pd()});var yd=y((uw,gd)=>{var Fr;gd.exports=function(){if(!Fr){try{Fr=md()("follow-redirects")}catch{}typeof Fr!="function"&&(Fr=function(){})}Fr.apply(null,arguments)}});var wo=y((lw,_o)=>{var Dt=require("url"),go=Dt.URL,R1=require("http"),F1=require("https"),_d=require("stream").Writable,wd=require("assert"),Sd=yd(),vo=["abort","aborted","connect","error","socket","timeout"],bo=Object.create(null);vo.forEach(function(t){bo[t]=function(e,r,n){this._redirectable.emit(t,e,r,n)}});var k1=Tr("ERR_INVALID_URL","Invalid URL",TypeError),vd=Tr("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),T1=Tr("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),M1=Tr("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),q1=Tr("ERR_STREAM_WRITE_AFTER_END","write after end");function ke(t,e){_d.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var r=this;this._onNativeResponse=function(n){r._processResponse(n)},this._performRequest()}ke.prototype=Object.create(_d.prototype);ke.prototype.abort=function(){Ed(this._currentRequest),this.emit("abort")};ke.prototype.write=function(t,e,r){if(this._ending)throw new q1;if(!Ot(t)&&!$1(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(kr(e)&&(r=e,e=null),t.length===0){r&&r();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,r)):(this.emit("error",new M1),this.abort())};ke.prototype.end=function(t,e,r){if(kr(t)?(r=t,t=e=null):kr(e)&&(r=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(t,e,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};ke.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};ke.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};ke.prototype.setTimeout=function(t,e){var r=this;function n(o){o.setTimeout(t),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function i(o){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},t),n(o)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),e&&r.removeListener("timeout",e),r.socket||r._currentRequest.removeListener("socket",i)}return e&&this.on("timeout",e),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",n),this.on("abort",s),this.on("error",s),this.on("response",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){ke.prototype[t]=function(e,r){return this._currentRequest[t](e,r)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(ke.prototype,t,{get:function(){return this._currentRequest[t]}})});ke.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};ke.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e){this.emit("error",new TypeError("Unsupported protocol "+t));return}if(this._options.agents){var r=t.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of vo)n.on(i,bo[i]);if(this._currentUrl=/^\//.test(this._options.path)?Dt.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function c(d){if(n===o._currentRequest)if(d)o.emit("error",d);else if(s<a.length){var u=a[s++];n.finished||n.write(u.data,u.encoding,c)}else o._ended&&n.end()})()}};ke.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var r=t.headers.location;if(!r||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Ed(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new T1);return}var n,i=this._options.beforeRedirect;i&&(n=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var s=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],yo(/^content-/i,this._options.headers));var o=yo(/^host$/i,this._options.headers),a=Dt.parse(this._currentUrl),c=o||a.host,d=/^\w+:/.test(r)?this._currentUrl:Dt.format(Object.assign(a,{host:c})),u;try{u=Dt.resolve(d,r)}catch(b){this.emit("error",new vd({cause:b}));return}Sd("redirecting to",u),this._isRedirect=!0;var h=Dt.parse(u);if(Object.assign(this._options,h),(h.protocol!==a.protocol&&h.protocol!=="https:"||h.host!==c&&!j1(h.host,c))&&yo(/^(?:authorization|cookie)$/i,this._options.headers),kr(i)){var g={headers:t.headers,statusCode:e},m={url:d,method:s,headers:n};try{i(this._options,g,m)}catch(b){this.emit("error",b);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(b){this.emit("error",new vd({cause:b}))}};function xd(t){var e={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(t).forEach(function(n){var i=n+":",s=r[i]=t[n],o=e[n]=Object.create(s);function a(d,u,h){if(Ot(d)){var g;try{g=bd(new go(d))}catch{g=Dt.parse(d)}if(!Ot(g.protocol))throw new k1({input:d});d=g}else go&&d instanceof go?d=bd(d):(h=u,u=d,d={protocol:i});return kr(u)&&(h=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},d,u),u.nativeProtocols=r,!Ot(u.host)&&!Ot(u.hostname)&&(u.hostname="::1"),wd.equal(u.protocol,i,"protocol mismatch"),Sd("options",u),new ke(u,h)}function c(d,u,h){var g=o.request(d,u,h);return g.end(),g}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),e}function N1(){}function bd(t){var e={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return t.port!==""&&(e.port=Number(t.port)),e}function yo(t,e){var r;for(var n in e)t.test(n)&&(r=e[n],delete e[n]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Tr(t,e,r){function n(i){Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(r||Error),n.prototype.constructor=n,n.prototype.name="Error ["+t+"]",n}function Ed(t){for(var e of vo)t.removeListener(e,bo[e]);t.on("error",N1),t.abort()}function j1(t,e){wd(Ot(t)&&Ot(e));var r=t.length-e.length-1;return r>0&&t[r]==="."&&t.endsWith(e)}function Ot(t){return typeof t=="string"||t instanceof String}function kr(t){return typeof t=="function"}function $1(t){return typeof t=="object"&&"length"in t}_o.exports=xd({http:R1,https:F1});_o.exports.wrap=xd});var So=y((fw,L1)=>{L1.exports={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]}});var Id=y((dw,Ad)=>{"use strict";var Mr=Se(),Cd=uo(),B1=lo(),U1=Un(),X1=require("http"),G1=require("https"),H1=wo().http,W1=wo().https,Pd=require("url"),J1=require("zlib"),z1=So(),Qn=Hn(),xo=Gn(),Dd=/https:?/;function Od(t,e,r){if(t.hostname=e.host,t.host=e.host,t.port=e.port,t.path=r,e.auth){var n=Buffer.from(e.auth.username+":"+e.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+n}t.beforeRedirect=function(s){s.headers.host=s.host,Od(s,e,s.href)}}Ad.exports=function(e){return new Promise(function(n,i){var s=function(A){n(A)},o=function(A){i(A)},a=e.data,c=e.headers;if("User-Agent"in c||"user-agent"in c?!c["User-Agent"]&&!c["user-agent"]&&(delete c["User-Agent"],delete c["user-agent"]):c["User-Agent"]="axios/"+z1.version,a&&!Mr.isStream(a)){if(!Buffer.isBuffer(a))if(Mr.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(Mr.isString(a))a=Buffer.from(a,"utf-8");else return o(Qn("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));c["Content-Length"]=a.length}var d=void 0;if(e.auth){var u=e.auth.username||"",h=e.auth.password||"";d=u+":"+h}var g=B1(e.baseURL,e.url),m=Pd.parse(g),b=m.protocol||"http:";if(!d&&m.auth){var x=m.auth.split(":"),C=x[0]||"",F=x[1]||"";d=C+":"+F}d&&delete c.Authorization;var N=Dd.test(b),U=N?e.httpsAgent:e.httpAgent,$={path:U1(m.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:c,agent:U,agents:{http:e.httpAgent,https:e.httpsAgent},auth:d};e.socketPath?$.socketPath=e.socketPath:($.hostname=m.hostname,$.port=m.port);var H=e.proxy;if(!H&&H!==!1){var Q=b.slice(0,-1)+"_proxy",ue=process.env[Q]||process.env[Q.toUpperCase()];if(ue){var V=Pd.parse(ue),_=process.env.no_proxy||process.env.NO_PROXY,S=!0;if(_){var P=_.split(",").map(function(A){return A.trim()});S=!P.some(function(A){return A?A==="*"||A[0]==="."&&m.hostname.substr(m.hostname.length-A.length)===A?!0:m.hostname===A:!1})}if(S&&(H={host:V.hostname,port:V.port,protocol:V.protocol},V.auth)){var G=V.auth.split(":");H.auth={username:G[0],password:G[1]}}}}H&&($.headers.host=m.hostname+(m.port?":"+m.port:""),Od($,H,b+"//"+m.hostname+(m.port?":"+m.port:"")+$.path));var R,L=N&&(H?Dd.test(H.protocol):!0);e.transport?R=e.transport:e.maxRedirects===0?R=L?G1:X1:(e.maxRedirects&&($.maxRedirects=e.maxRedirects),R=L?W1:H1),e.maxBodyLength>-1&&($.maxBodyLength=e.maxBodyLength);var I=R.request($,function(A){if(!I.aborted){var M=A,Ne=A.req||I;if(A.statusCode!==204&&Ne.method!=="HEAD"&&e.decompress!==!1)switch(A.headers["content-encoding"]){case"gzip":case"compress":case"deflate":M=M.pipe(J1.createUnzip()),delete A.headers["content-encoding"];break}var He={status:A.statusCode,statusText:A.statusMessage,headers:A.headers,config:e,request:Ne};if(e.responseType==="stream")He.data=M,Cd(s,o,He);else{var ee=[],le=0;M.on("data",function(xe){ee.push(xe),le+=xe.length,e.maxContentLength>-1&&le>e.maxContentLength&&(M.destroy(),o(Qn("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,Ne)))}),M.on("error",function(xe){I.aborted||o(xo(xe,e,null,Ne))}),M.on("end",function(){var xe=Buffer.concat(ee);e.responseType!=="arraybuffer"&&(xe=xe.toString(e.responseEncoding),(!e.responseEncoding||e.responseEncoding==="utf8")&&(xe=Mr.stripBOM(xe))),He.data=xe,Cd(s,o,He)})}}});if(I.on("error",function(A){I.aborted&&A.code!=="ERR_FR_TOO_MANY_REDIRECTS"||o(xo(A,e,null,I))}),e.timeout){var B=parseInt(e.timeout,10);if(isNaN(B)){o(Qn("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",I));return}I.setTimeout(B,function(){I.abort(),o(Qn("timeout of "+B+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",I))})}e.cancelToken&&e.cancelToken.promise.then(function(A){I.aborted||(I.abort(),o(A))}),Mr.isStream(a)?a.on("error",function(A){o(xo(A,e,null,I))}).pipe(I):I.end(a)})}});var ei=y((hw,kd)=>{"use strict";var ce=Se(),Rd=Hf(),V1=Gn(),Y1={"Content-Type":"application/x-www-form-urlencoded"};function Fd(t,e){!ce.isUndefined(t)&&ce.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function K1(){var t;return typeof XMLHttpRequest<"u"?t=cd():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(t=Id()),t}function Q1(t,e,r){if(ce.isString(t))try{return(e||JSON.parse)(t),ce.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var Zn={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:K1(),transformRequest:[function(e,r){return Rd(r,"Accept"),Rd(r,"Content-Type"),ce.isFormData(e)||ce.isArrayBuffer(e)||ce.isBuffer(e)||ce.isStream(e)||ce.isFile(e)||ce.isBlob(e)?e:ce.isArrayBufferView(e)?e.buffer:ce.isURLSearchParams(e)?(Fd(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):ce.isObject(e)||r&&r["Content-Type"]==="application/json"?(Fd(r,"application/json"),Q1(e)):e}],transformResponse:[function(e){var r=this.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!n&&this.responseType==="json";if(s||i&&ce.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?V1(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};Zn.headers={common:{Accept:"application/json, text/plain, */*"}};ce.forEach(["delete","get","head"],function(e){Zn.headers[e]={}});ce.forEach(["post","put","patch"],function(e){Zn.headers[e]=ce.merge(Y1)});kd.exports=Zn});var Md=y((pw,Td)=>{"use strict";var Z1=Se(),eb=ei();Td.exports=function(e,r,n){var i=this||eb;return Z1.forEach(n,function(o){e=o.call(i,e,r)}),e}});var Eo=y((mw,qd)=>{"use strict";qd.exports=function(e){return!!(e&&e.__CANCEL__)}});var $d=y((gw,jd)=>{"use strict";var Nd=Se(),Co=Md(),tb=Eo(),rb=ei();function Po(t){t.cancelToken&&t.cancelToken.throwIfRequested()}jd.exports=function(e){Po(e),e.headers=e.headers||{},e.data=Co.call(e,e.data,e.headers,e.transformRequest),e.headers=Nd.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Nd.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||rb.adapter;return r(e).then(function(i){return Po(e),i.data=Co.call(e,i.data,i.headers,e.transformResponse),i},function(i){return tb(i)||(Po(e),i&&i.response&&(i.response.data=Co.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})}});var Do=y((yw,Ld)=>{"use strict";var me=Se();Ld.exports=function(e,r){r=r||{};var n={},i=["url","method","data"],s=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(g,m){return me.isPlainObject(g)&&me.isPlainObject(m)?me.merge(g,m):me.isPlainObject(m)?me.merge({},m):me.isArray(m)?m.slice():m}function d(g){me.isUndefined(r[g])?me.isUndefined(e[g])||(n[g]=c(void 0,e[g])):n[g]=c(e[g],r[g])}me.forEach(i,function(m){me.isUndefined(r[m])||(n[m]=c(void 0,r[m]))}),me.forEach(s,d),me.forEach(o,function(m){me.isUndefined(r[m])?me.isUndefined(e[m])||(n[m]=c(void 0,e[m])):n[m]=c(void 0,r[m])}),me.forEach(a,function(m){m in r?n[m]=c(e[m],r[m]):m in e&&(n[m]=c(void 0,e[m]))});var u=i.concat(s).concat(o).concat(a),h=Object.keys(e).concat(Object.keys(r)).filter(function(m){return u.indexOf(m)===-1});return me.forEach(h,d),n}});var Hd=y((vw,Gd)=>{"use strict";var Ud=So(),Oo={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Oo[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var Bd={},nb=Ud.version.split(".");function Xd(t,e){for(var r=e?e.split("."):nb,n=t.split("."),i=0;i<3;i++){if(r[i]>n[i])return!0;if(r[i]<n[i])return!1}return!1}Oo.transitional=function(e,r,n){var i=r&&Xd(r);function s(o,a){return"[Axios v"+Ud.version+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return function(o,a,c){if(e===!1)throw new Error(s(a," has been removed in "+r));return i&&!Bd[a]&&(Bd[a]=!0,console.warn(s(a," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,a,c):!0}};function ib(t,e,r){if(typeof t!="object")throw new TypeError("options must be an object");for(var n=Object.keys(t),i=n.length;i-- >0;){var s=n[i],o=e[s];if(o){var a=t[s],c=a===void 0||o(a,s,t);if(c!==!0)throw new TypeError("option "+s+" must be "+c);continue}if(r!==!0)throw Error("Unknown option "+s)}}Gd.exports={isOlderVersion:Xd,assertOptions:ib,validators:Oo}});var Kd=y((bw,Yd)=>{"use strict";var zd=Se(),sb=Un(),Wd=Xf(),Jd=$d(),ti=Do(),Vd=Hd(),tr=Vd.validators;function qr(t){this.defaults=t,this.interceptors={request:new Wd,response:new Wd}}qr.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=ti(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;r!==void 0&&Vd.assertOptions(r,{silentJSONParsing:tr.transitional(tr.boolean,"1.0.0"),forcedJSONParsing:tr.transitional(tr.boolean,"1.0.0"),clarifyTimeoutError:tr.transitional(tr.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(e)===!1||(i=i&&g.synchronous,n.unshift(g.fulfilled,g.rejected))});var s=[];this.interceptors.response.forEach(function(g){s.push(g.fulfilled,g.rejected)});var o;if(!i){var a=[Jd,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(s),o=Promise.resolve(e);a.length;)o=o.then(a.shift(),a.shift());return o}for(var c=e;n.length;){var d=n.shift(),u=n.shift();try{c=d(c)}catch(h){u(h);break}}try{o=Jd(c)}catch(h){return Promise.reject(h)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};qr.prototype.getUri=function(e){return e=ti(this.defaults,e),sb(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};zd.forEach(["delete","get","head","options"],function(e){qr.prototype[e]=function(r,n){return this.request(ti(n||{},{method:e,url:r,data:(n||{}).data}))}});zd.forEach(["post","put","patch"],function(e){qr.prototype[e]=function(r,n,i){return this.request(ti(i||{},{method:e,url:r,data:n}))}});Yd.exports=qr});var Io=y((_w,Qd)=>{"use strict";function Ao(t){this.message=t}Ao.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Ao.prototype.__CANCEL__=!0;Qd.exports=Ao});var eh=y((ww,Zd)=>{"use strict";var ob=Io();function ri(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(i){e=i});var r=this;t(function(i){r.reason||(r.reason=new ob(i),e(r.reason))})}ri.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ri.source=function(){var e,r=new ri(function(i){e=i});return{token:r,cancel:e}};Zd.exports=ri});var rh=y((Sw,th)=>{"use strict";th.exports=function(e){return function(n){return e.apply(null,n)}}});var ih=y((xw,nh)=>{"use strict";nh.exports=function(e){return typeof e=="object"&&e.isAxiosError===!0}});var ah=y((Ew,Ro)=>{"use strict";var sh=Se(),ab=io(),ni=Kd(),cb=Do(),ub=ei();function oh(t){var e=new ni(t),r=ab(ni.prototype.request,e);return sh.extend(r,ni.prototype,e),sh.extend(r,e),r}var Xe=oh(ub);Xe.Axios=ni;Xe.create=function(e){return oh(cb(Xe.defaults,e))};Xe.Cancel=Io();Xe.CancelToken=eh();Xe.isCancel=Eo();Xe.all=function(e){return Promise.all(e)};Xe.spread=rh();Xe.isAxiosError=ih();Ro.exports=Xe;Ro.exports.default=Xe});var Fo=y((Cw,ch)=>{ch.exports=ah()});var Ge=k(require("node:fs")),Je=k(require("node:path")),Re=k(or()),Ah=k(ze());var wt=require("node:child_process"),we=k(require("node:path")),se=k(ct());var as=k(or()),$l=k(ze()),Ye=k(ct()),Ll=k(wl()),cs=k(wr());var vn="10.4.9";$l.default.config();var n_=!!process.env.GRIDDO_DEBUG_LOGS&&!!JSON.parse(process.env.GRIDDO_DEBUG_LOGS),Dg=!!process.env.GRIDDO_BUILD_LOGS&&!!JSON.parse(process.env.GRIDDO_BUILD_LOGS)||!!process.env.LOGS&&!!JSON.parse(process.env.LOGS),bn=cs.default.sync(__dirname),_n=cs.default.sync();function Bl(t){let e=[];return Ye.default.readdirSync(t).forEach(n=>{let i=`${t}/${n}`;e.push(i)}),e}function ft(t,e="",r=1,n=1){let i=t.split(`
|
|
23
|
+
`).map(e=>e.trim()).join(" ")};hd.O=function(t){return this.inspectOpts.colors=this.useColors,Yn.inspect(t,this.inspectOpts)}});var md=y((cw,mo)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?mo.exports=dd():mo.exports=pd()});var yd=y((uw,gd)=>{var Fr;gd.exports=function(){if(!Fr){try{Fr=md()("follow-redirects")}catch{}typeof Fr!="function"&&(Fr=function(){})}Fr.apply(null,arguments)}});var wo=y((lw,_o)=>{var Dt=require("url"),go=Dt.URL,R1=require("http"),F1=require("https"),_d=require("stream").Writable,wd=require("assert"),Sd=yd(),vo=["abort","aborted","connect","error","socket","timeout"],bo=Object.create(null);vo.forEach(function(t){bo[t]=function(e,r,n){this._redirectable.emit(t,e,r,n)}});var k1=Tr("ERR_INVALID_URL","Invalid URL",TypeError),vd=Tr("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),T1=Tr("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),M1=Tr("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),q1=Tr("ERR_STREAM_WRITE_AFTER_END","write after end");function ke(t,e){_d.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var r=this;this._onNativeResponse=function(n){r._processResponse(n)},this._performRequest()}ke.prototype=Object.create(_d.prototype);ke.prototype.abort=function(){Ed(this._currentRequest),this.emit("abort")};ke.prototype.write=function(t,e,r){if(this._ending)throw new q1;if(!Ot(t)&&!$1(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(kr(e)&&(r=e,e=null),t.length===0){r&&r();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,r)):(this.emit("error",new M1),this.abort())};ke.prototype.end=function(t,e,r){if(kr(t)?(r=t,t=e=null):kr(e)&&(r=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(t,e,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};ke.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};ke.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};ke.prototype.setTimeout=function(t,e){var r=this;function n(o){o.setTimeout(t),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy)}function i(o){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),s()},t),n(o)}function s(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",s),r.removeListener("error",s),r.removeListener("response",s),e&&r.removeListener("timeout",e),r.socket||r._currentRequest.removeListener("socket",i)}return e&&this.on("timeout",e),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",n),this.on("abort",s),this.on("error",s),this.on("response",s),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){ke.prototype[t]=function(e,r){return this._currentRequest[t](e,r)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(ke.prototype,t,{get:function(){return this._currentRequest[t]}})});ke.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};ke.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e){this.emit("error",new TypeError("Unsupported protocol "+t));return}if(this._options.agents){var r=t.slice(0,-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var i of vo)n.on(i,bo[i]);if(this._currentUrl=/^\//.test(this._options.path)?Dt.format(this._options):this._options.path,this._isRedirect){var s=0,o=this,a=this._requestBodyBuffers;(function c(d){if(n===o._currentRequest)if(d)o.emit("error",d);else if(s<a.length){var u=a[s++];n.finished||n.write(u.data,u.encoding,c)}else o._ended&&n.end()})()}};ke.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var r=t.headers.location;if(!r||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Ed(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new T1);return}var n,i=this._options.beforeRedirect;i&&(n=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var s=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],yo(/^content-/i,this._options.headers));var o=yo(/^host$/i,this._options.headers),a=Dt.parse(this._currentUrl),c=o||a.host,d=/^\w+:/.test(r)?this._currentUrl:Dt.format(Object.assign(a,{host:c})),u;try{u=Dt.resolve(d,r)}catch(b){this.emit("error",new vd({cause:b}));return}Sd("redirecting to",u),this._isRedirect=!0;var h=Dt.parse(u);if(Object.assign(this._options,h),(h.protocol!==a.protocol&&h.protocol!=="https:"||h.host!==c&&!j1(h.host,c))&&yo(/^(?:authorization|cookie)$/i,this._options.headers),kr(i)){var g={headers:t.headers,statusCode:e},m={url:d,method:s,headers:n};try{i(this._options,g,m)}catch(b){this.emit("error",b);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(b){this.emit("error",new vd({cause:b}))}};function xd(t){var e={maxRedirects:21,maxBodyLength:10485760},r={};return Object.keys(t).forEach(function(n){var i=n+":",s=r[i]=t[n],o=e[n]=Object.create(s);function a(d,u,h){if(Ot(d)){var g;try{g=bd(new go(d))}catch{g=Dt.parse(d)}if(!Ot(g.protocol))throw new k1({input:d});d=g}else go&&d instanceof go?d=bd(d):(h=u,u=d,d={protocol:i});return kr(u)&&(h=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},d,u),u.nativeProtocols=r,!Ot(u.host)&&!Ot(u.hostname)&&(u.hostname="::1"),wd.equal(u.protocol,i,"protocol mismatch"),Sd("options",u),new ke(u,h)}function c(d,u,h){var g=o.request(d,u,h);return g.end(),g}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),e}function N1(){}function bd(t){var e={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return t.port!==""&&(e.port=Number(t.port)),e}function yo(t,e){var r;for(var n in e)t.test(n)&&(r=e[n],delete e[n]);return r===null||typeof r>"u"?void 0:String(r).trim()}function Tr(t,e,r){function n(i){Error.captureStackTrace(this,this.constructor),Object.assign(this,i||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(r||Error),n.prototype.constructor=n,n.prototype.name="Error ["+t+"]",n}function Ed(t){for(var e of vo)t.removeListener(e,bo[e]);t.on("error",N1),t.abort()}function j1(t,e){wd(Ot(t)&&Ot(e));var r=t.length-e.length-1;return r>0&&t[r]==="."&&t.endsWith(e)}function Ot(t){return typeof t=="string"||t instanceof String}function kr(t){return typeof t=="function"}function $1(t){return typeof t=="object"&&"length"in t}_o.exports=xd({http:R1,https:F1});_o.exports.wrap=xd});var So=y((fw,L1)=>{L1.exports={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]}});var Id=y((dw,Ad)=>{"use strict";var Mr=Se(),Cd=uo(),B1=lo(),U1=Un(),X1=require("http"),G1=require("https"),H1=wo().http,W1=wo().https,Pd=require("url"),J1=require("zlib"),z1=So(),Qn=Hn(),xo=Gn(),Dd=/https:?/;function Od(t,e,r){if(t.hostname=e.host,t.host=e.host,t.port=e.port,t.path=r,e.auth){var n=Buffer.from(e.auth.username+":"+e.auth.password,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+n}t.beforeRedirect=function(s){s.headers.host=s.host,Od(s,e,s.href)}}Ad.exports=function(e){return new Promise(function(n,i){var s=function(A){n(A)},o=function(A){i(A)},a=e.data,c=e.headers;if("User-Agent"in c||"user-agent"in c?!c["User-Agent"]&&!c["user-agent"]&&(delete c["User-Agent"],delete c["user-agent"]):c["User-Agent"]="axios/"+z1.version,a&&!Mr.isStream(a)){if(!Buffer.isBuffer(a))if(Mr.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(Mr.isString(a))a=Buffer.from(a,"utf-8");else return o(Qn("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",e));c["Content-Length"]=a.length}var d=void 0;if(e.auth){var u=e.auth.username||"",h=e.auth.password||"";d=u+":"+h}var g=B1(e.baseURL,e.url),m=Pd.parse(g),b=m.protocol||"http:";if(!d&&m.auth){var x=m.auth.split(":"),C=x[0]||"",F=x[1]||"";d=C+":"+F}d&&delete c.Authorization;var N=Dd.test(b),U=N?e.httpsAgent:e.httpAgent,$={path:U1(m.path,e.params,e.paramsSerializer).replace(/^\?/,""),method:e.method.toUpperCase(),headers:c,agent:U,agents:{http:e.httpAgent,https:e.httpsAgent},auth:d};e.socketPath?$.socketPath=e.socketPath:($.hostname=m.hostname,$.port=m.port);var H=e.proxy;if(!H&&H!==!1){var Q=b.slice(0,-1)+"_proxy",ue=process.env[Q]||process.env[Q.toUpperCase()];if(ue){var V=Pd.parse(ue),_=process.env.no_proxy||process.env.NO_PROXY,S=!0;if(_){var P=_.split(",").map(function(A){return A.trim()});S=!P.some(function(A){return A?A==="*"||A[0]==="."&&m.hostname.substr(m.hostname.length-A.length)===A?!0:m.hostname===A:!1})}if(S&&(H={host:V.hostname,port:V.port,protocol:V.protocol},V.auth)){var G=V.auth.split(":");H.auth={username:G[0],password:G[1]}}}}H&&($.headers.host=m.hostname+(m.port?":"+m.port:""),Od($,H,b+"//"+m.hostname+(m.port?":"+m.port:"")+$.path));var R,L=N&&(H?Dd.test(H.protocol):!0);e.transport?R=e.transport:e.maxRedirects===0?R=L?G1:X1:(e.maxRedirects&&($.maxRedirects=e.maxRedirects),R=L?W1:H1),e.maxBodyLength>-1&&($.maxBodyLength=e.maxBodyLength);var I=R.request($,function(A){if(!I.aborted){var M=A,Ne=A.req||I;if(A.statusCode!==204&&Ne.method!=="HEAD"&&e.decompress!==!1)switch(A.headers["content-encoding"]){case"gzip":case"compress":case"deflate":M=M.pipe(J1.createUnzip()),delete A.headers["content-encoding"];break}var He={status:A.statusCode,statusText:A.statusMessage,headers:A.headers,config:e,request:Ne};if(e.responseType==="stream")He.data=M,Cd(s,o,He);else{var ee=[],le=0;M.on("data",function(xe){ee.push(xe),le+=xe.length,e.maxContentLength>-1&&le>e.maxContentLength&&(M.destroy(),o(Qn("maxContentLength size of "+e.maxContentLength+" exceeded",e,null,Ne)))}),M.on("error",function(xe){I.aborted||o(xo(xe,e,null,Ne))}),M.on("end",function(){var xe=Buffer.concat(ee);e.responseType!=="arraybuffer"&&(xe=xe.toString(e.responseEncoding),(!e.responseEncoding||e.responseEncoding==="utf8")&&(xe=Mr.stripBOM(xe))),He.data=xe,Cd(s,o,He)})}}});if(I.on("error",function(A){I.aborted&&A.code!=="ERR_FR_TOO_MANY_REDIRECTS"||o(xo(A,e,null,I))}),e.timeout){var B=parseInt(e.timeout,10);if(isNaN(B)){o(Qn("error trying to parse `config.timeout` to int",e,"ERR_PARSE_TIMEOUT",I));return}I.setTimeout(B,function(){I.abort(),o(Qn("timeout of "+B+"ms exceeded",e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",I))})}e.cancelToken&&e.cancelToken.promise.then(function(A){I.aborted||(I.abort(),o(A))}),Mr.isStream(a)?a.on("error",function(A){o(xo(A,e,null,I))}).pipe(I):I.end(a)})}});var ei=y((hw,kd)=>{"use strict";var ce=Se(),Rd=Hf(),V1=Gn(),Y1={"Content-Type":"application/x-www-form-urlencoded"};function Fd(t,e){!ce.isUndefined(t)&&ce.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function K1(){var t;return typeof XMLHttpRequest<"u"?t=cd():typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"&&(t=Id()),t}function Q1(t,e,r){if(ce.isString(t))try{return(e||JSON.parse)(t),ce.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(t)}var Zn={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:K1(),transformRequest:[function(e,r){return Rd(r,"Accept"),Rd(r,"Content-Type"),ce.isFormData(e)||ce.isArrayBuffer(e)||ce.isBuffer(e)||ce.isStream(e)||ce.isFile(e)||ce.isBlob(e)?e:ce.isArrayBufferView(e)?e.buffer:ce.isURLSearchParams(e)?(Fd(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):ce.isObject(e)||r&&r["Content-Type"]==="application/json"?(Fd(r,"application/json"),Q1(e)):e}],transformResponse:[function(e){var r=this.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,s=!n&&this.responseType==="json";if(s||i&&ce.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?V1(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};Zn.headers={common:{Accept:"application/json, text/plain, */*"}};ce.forEach(["delete","get","head"],function(e){Zn.headers[e]={}});ce.forEach(["post","put","patch"],function(e){Zn.headers[e]=ce.merge(Y1)});kd.exports=Zn});var Md=y((pw,Td)=>{"use strict";var Z1=Se(),eb=ei();Td.exports=function(e,r,n){var i=this||eb;return Z1.forEach(n,function(o){e=o.call(i,e,r)}),e}});var Eo=y((mw,qd)=>{"use strict";qd.exports=function(e){return!!(e&&e.__CANCEL__)}});var $d=y((gw,jd)=>{"use strict";var Nd=Se(),Co=Md(),tb=Eo(),rb=ei();function Po(t){t.cancelToken&&t.cancelToken.throwIfRequested()}jd.exports=function(e){Po(e),e.headers=e.headers||{},e.data=Co.call(e,e.data,e.headers,e.transformRequest),e.headers=Nd.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Nd.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var r=e.adapter||rb.adapter;return r(e).then(function(i){return Po(e),i.data=Co.call(e,i.data,i.headers,e.transformResponse),i},function(i){return tb(i)||(Po(e),i&&i.response&&(i.response.data=Co.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})}});var Do=y((yw,Ld)=>{"use strict";var me=Se();Ld.exports=function(e,r){r=r||{};var n={},i=["url","method","data"],s=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(g,m){return me.isPlainObject(g)&&me.isPlainObject(m)?me.merge(g,m):me.isPlainObject(m)?me.merge({},m):me.isArray(m)?m.slice():m}function d(g){me.isUndefined(r[g])?me.isUndefined(e[g])||(n[g]=c(void 0,e[g])):n[g]=c(e[g],r[g])}me.forEach(i,function(m){me.isUndefined(r[m])||(n[m]=c(void 0,r[m]))}),me.forEach(s,d),me.forEach(o,function(m){me.isUndefined(r[m])?me.isUndefined(e[m])||(n[m]=c(void 0,e[m])):n[m]=c(void 0,r[m])}),me.forEach(a,function(m){m in r?n[m]=c(e[m],r[m]):m in e&&(n[m]=c(void 0,e[m]))});var u=i.concat(s).concat(o).concat(a),h=Object.keys(e).concat(Object.keys(r)).filter(function(m){return u.indexOf(m)===-1});return me.forEach(h,d),n}});var Hd=y((vw,Gd)=>{"use strict";var Ud=So(),Oo={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Oo[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var Bd={},nb=Ud.version.split(".");function Xd(t,e){for(var r=e?e.split("."):nb,n=t.split("."),i=0;i<3;i++){if(r[i]>n[i])return!0;if(r[i]<n[i])return!1}return!1}Oo.transitional=function(e,r,n){var i=r&&Xd(r);function s(o,a){return"[Axios v"+Ud.version+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return function(o,a,c){if(e===!1)throw new Error(s(a," has been removed in "+r));return i&&!Bd[a]&&(Bd[a]=!0,console.warn(s(a," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(o,a,c):!0}};function ib(t,e,r){if(typeof t!="object")throw new TypeError("options must be an object");for(var n=Object.keys(t),i=n.length;i-- >0;){var s=n[i],o=e[s];if(o){var a=t[s],c=a===void 0||o(a,s,t);if(c!==!0)throw new TypeError("option "+s+" must be "+c);continue}if(r!==!0)throw Error("Unknown option "+s)}}Gd.exports={isOlderVersion:Xd,assertOptions:ib,validators:Oo}});var Kd=y((bw,Yd)=>{"use strict";var zd=Se(),sb=Un(),Wd=Xf(),Jd=$d(),ti=Do(),Vd=Hd(),tr=Vd.validators;function qr(t){this.defaults=t,this.interceptors={request:new Wd,response:new Wd}}qr.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=ti(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;r!==void 0&&Vd.assertOptions(r,{silentJSONParsing:tr.transitional(tr.boolean,"1.0.0"),forcedJSONParsing:tr.transitional(tr.boolean,"1.0.0"),clarifyTimeoutError:tr.transitional(tr.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(e)===!1||(i=i&&g.synchronous,n.unshift(g.fulfilled,g.rejected))});var s=[];this.interceptors.response.forEach(function(g){s.push(g.fulfilled,g.rejected)});var o;if(!i){var a=[Jd,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(s),o=Promise.resolve(e);a.length;)o=o.then(a.shift(),a.shift());return o}for(var c=e;n.length;){var d=n.shift(),u=n.shift();try{c=d(c)}catch(h){u(h);break}}try{o=Jd(c)}catch(h){return Promise.reject(h)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};qr.prototype.getUri=function(e){return e=ti(this.defaults,e),sb(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};zd.forEach(["delete","get","head","options"],function(e){qr.prototype[e]=function(r,n){return this.request(ti(n||{},{method:e,url:r,data:(n||{}).data}))}});zd.forEach(["post","put","patch"],function(e){qr.prototype[e]=function(r,n,i){return this.request(ti(i||{},{method:e,url:r,data:n}))}});Yd.exports=qr});var Io=y((_w,Qd)=>{"use strict";function Ao(t){this.message=t}Ao.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Ao.prototype.__CANCEL__=!0;Qd.exports=Ao});var eh=y((ww,Zd)=>{"use strict";var ob=Io();function ri(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(i){e=i});var r=this;t(function(i){r.reason||(r.reason=new ob(i),e(r.reason))})}ri.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ri.source=function(){var e,r=new ri(function(i){e=i});return{token:r,cancel:e}};Zd.exports=ri});var rh=y((Sw,th)=>{"use strict";th.exports=function(e){return function(n){return e.apply(null,n)}}});var ih=y((xw,nh)=>{"use strict";nh.exports=function(e){return typeof e=="object"&&e.isAxiosError===!0}});var ah=y((Ew,Ro)=>{"use strict";var sh=Se(),ab=io(),ni=Kd(),cb=Do(),ub=ei();function oh(t){var e=new ni(t),r=ab(ni.prototype.request,e);return sh.extend(r,ni.prototype,e),sh.extend(r,e),r}var Xe=oh(ub);Xe.Axios=ni;Xe.create=function(e){return oh(cb(Xe.defaults,e))};Xe.Cancel=Io();Xe.CancelToken=eh();Xe.isCancel=Eo();Xe.all=function(e){return Promise.all(e)};Xe.spread=rh();Xe.isAxiosError=ih();Ro.exports=Xe;Ro.exports.default=Xe});var Fo=y((Cw,ch)=>{ch.exports=ah()});var Ge=k(require("node:fs")),Je=k(require("node:path")),Re=k(or()),Ah=k(ze());var wt=require("node:child_process"),we=k(require("node:path")),se=k(ct());var as=k(or()),$l=k(ze()),Ye=k(ct()),Ll=k(wl()),cs=k(wr());var vn="10.4.10";$l.default.config();var n_=!!process.env.GRIDDO_DEBUG_LOGS&&!!JSON.parse(process.env.GRIDDO_DEBUG_LOGS),Dg=!!process.env.GRIDDO_BUILD_LOGS&&!!JSON.parse(process.env.GRIDDO_BUILD_LOGS)||!!process.env.LOGS&&!!JSON.parse(process.env.LOGS),bn=cs.default.sync(__dirname),_n=cs.default.sync();function Bl(t){let e=[];return Ye.default.readdirSync(t).forEach(n=>{let i=`${t}/${n}`;e.push(i)}),e}function ft(t,e="",r=1,n=1){let i=t.split(`
|
|
24
24
|
`).map(b=>b.trim()),s=e?` ${e} `:"",o=e?s.length:0,a=Math.max(...i.map(b=>b.length))+r*2,c=Math.max(a,o),d=`\u2502${" ".repeat(c)}\u2502
|
|
25
25
|
`.repeat(n),u=c,h=`\u256D${s}${"\u2500".repeat(u-o)}\u256E
|
|
26
26
|
`,g=`\u2570${"\u2500".repeat(u)}\u256F`,m=i.map(b=>{let x=" ".repeat(c-b.length-r);return`\u2502${" ".repeat(r)}${b}${x}\u2502
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@griddo/cx",
|
|
3
3
|
"description": "Griddo SSG based on Gatsby",
|
|
4
|
-
"version": "10.4.
|
|
4
|
+
"version": "10.4.10",
|
|
5
5
|
"authors": [
|
|
6
6
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
7
7
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"publishConfig": {
|
|
108
108
|
"access": "public"
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "5ebecf976ceff5858e8395eea3ec113a488a1876"
|
|
111
111
|
}
|