@chillicream/nitro-embedded 32.0.0-insider.18 → 32.0.0-insider.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/assets/{context-providers.1b6d2927.BEDzV2xs.js → context-providers.95a3312f.9yodJLld.js} +1429 -1310
  2. package/assets/{editor.worker.1b6d2927.m_bnpI5g.js → editor.worker.95a3312f.CRoHVwiC.js} +1 -1
  3. package/assets/{graphql-engine-scheduler.1b6d2927.CTDBFe6_.js → graphql-engine-scheduler.95a3312f.C2SQBeRb.js} +1 -1
  4. package/assets/{graphql-indexer-scheduler.1b6d2927.quQb80tb.js → graphql-indexer-scheduler.95a3312f.BxXT9Koj.js} +1 -1
  5. package/assets/{graphql.worker.1b6d2927.CyMeZPJs.js → graphql.worker.95a3312f.8M2oU3Xg.js} +1 -1
  6. package/assets/{index.1b6d2927.BD0lL1Oe.js → index.95a3312f.Ph4rn2Mp.js} +3 -3
  7. package/assets/{json.worker.1b6d2927.BGXa6Hzd.js → json.worker.95a3312f.B64Vc-pv.js} +1 -1
  8. package/assets/{jsonMode.1b6d2927.1_M4RRTo.js → jsonMode.95a3312f.NEV3xjRn.js} +1 -1
  9. package/assets/{main.1b6d2927.DNFDt_c3.js → main.95a3312f.BRTlRA7j.js} +24 -8
  10. package/assets/{monaco.1b6d2927.vLq1g_sE.css → monaco.95a3312f.BPeIpQ6P.css} +1 -1
  11. package/assets/{monaco.1b6d2927.CAbaKiXC.css → monaco.95a3312f.OYkwhGEI.css} +1 -1
  12. package/assets/{monaco.1b6d2927.C_tZzruq.js → monaco.95a3312f.o2zwpORe.js} +6 -6
  13. package/assets/{session-scheduler.1b6d2927.q8D2LuuD.js → session-scheduler.95a3312f.BPOzmj2V.js} +1 -1
  14. package/assets/{yaml.1b6d2927.BGeBzpxm.js → yaml.95a3312f.6Uot7EeS.js} +1 -1
  15. package/assets/{yaml.worker.1b6d2927.BbhT7Glb.js → yaml.worker.95a3312f.hQvGRacU.js} +1 -1
  16. package/index.html +4 -4
  17. package/package.json +1 -1
  18. package/service-worker.js +1 -1
  19. /package/assets/{FiraCode-Medium.1b6d2927.-YTCSZkP.woff2 → FiraCode-Medium.95a3312f.-YTCSZkP.woff2} +0 -0
  20. /package/assets/{codicon.1b6d2927.Hscy-R9e.ttf → codicon.95a3312f.Hscy-R9e.ttf} +0 -0
  21. /package/assets/{context-providers.1b6d2927.3HkX5s82.css → context-providers.95a3312f.3HkX5s82.css} +0 -0
  22. /package/assets/{main.1b6d2927.BdMtxJz7.css → main.95a3312f.BdMtxJz7.css} +0 -0
  23. /package/assets/{monaco.1b6d2927.BNlF4epe.js → monaco.95a3312f.B5kMV_u3.js} +0 -0
  24. /package/assets/{monaco.1b6d2927.DdZDdzBi.js → monaco.95a3312f.BzmviRHQ.js} +0 -0
  25. /package/assets/{monaco.1b6d2927.QfBhsFG-.js → monaco.95a3312f.DKFawWaA.js} +0 -0
  26. /package/assets/{monaco.1b6d2927.D8cKmZSf.js → monaco.95a3312f.DcDKtmta.js} +0 -0
  27. /package/assets/{monaco.1b6d2927.DTsDIaFq.js → monaco.95a3312f.dfCAUvrp.js} +0 -0
@@ -1 +1 @@
1
- import{S as o,E as a}from"./monaco.1b6d2927.DTsDIaFq.js";let i=!1;function r(s){if(i)return;i=!0;const l=new o(e=>{globalThis.postMessage(e)},e=>new a(e,s));globalThis.onmessage=e=>{l.onmessage(e.data)}}globalThis.onmessage=s=>{i||r(null)};
1
+ import{S as o,E as a}from"./monaco.95a3312f.dfCAUvrp.js";let i=!1;function r(s){if(i)return;i=!0;const l=new o(e=>{globalThis.postMessage(e)},e=>new a(e,s));globalThis.onmessage=e=>{l.onmessage(e.data)}}globalThis.onmessage=s=>{i||r(null)};
@@ -1,4 +1,4 @@
1
- var pr=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);import{p as process$1,B as Buffer}from"./monaco.1b6d2927.QfBhsFG-.js";var vr=pr((exports,module)=>{getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.18",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_AUTHORIZATION="Authorization",HEADER_CONTENT_TYPE="Content-Type",HEADER_USER_AGENT="User-Agent",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(n,a){this.#e=n,this.#t=a}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const n=this;let a=!1;return this.#r=new Promise((i,o)=>{if(n.aborted){a=!0,o(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){a=!0,i();return}function s(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,o(TIMEOUT_ABORT_ERROR))}function l(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,i())}n.addEventListener("abort",s),n.addEventListener("cancelled",l)}),this.#r}addEventListener(n,a,i){this.#e.addEventListener(n,a,i)}removeEventListener(n,a,i){this.#e.removeEventListener(n,a,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,a){return a?a.aborted?Promise.reject(ABORT_ERROR):(a.addEventListener("abort",r),n().finally(()=>{a.removeEventListener("abort",r)})):n()}function distinct(r){return r.filter((n,a,i)=>i.indexOf(n)===a)}function isObjectArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="object"&&!Array.isArray(n))}function isStringArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="string")}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var a=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};a.prototype=n.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var o=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(a,i,o.get?o:{enumerable:!0,get:function(){return r[i]}})}),a}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,a){if(a){n.super_=a;var i=function(){};i.prototype=a.prototype,n.prototype=new i,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},a={};a.byteLength=c,a.toByteArray=h,a.fromByteArray=_;for(var i=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,d=l.length;f<d;++f)i[f]=l[f],o[l.charCodeAt(f)]=f;o[45]=62,o[95]=63;function u(O){var M=O.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var F=O.indexOf("=");F===-1&&(F=M);var L=F===M?0:4-F%4;return[F,L]}function c(O){var M=u(O),F=M[0],L=M[1];return(F+L)*3/4-L}function v(O,M,F){return(M+F)*3/4-F}function h(O){var M,F=u(O),L=F[0],k=F[1],P=new s(v(O,L,k)),U=0,B=k>0?L-4:L,j;for(j=0;j<B;j+=4)M=o[O.charCodeAt(j)]<<18|o[O.charCodeAt(j+1)]<<12|o[O.charCodeAt(j+2)]<<6|o[O.charCodeAt(j+3)],P[U++]=M>>16&255,P[U++]=M>>8&255,P[U++]=M&255;return k===2&&(M=o[O.charCodeAt(j)]<<2|o[O.charCodeAt(j+1)]>>4,P[U++]=M&255),k===1&&(M=o[O.charCodeAt(j)]<<10|o[O.charCodeAt(j+1)]<<4|o[O.charCodeAt(j+2)]>>2,P[U++]=M>>8&255,P[U++]=M&255),P}function m(O){return i[O>>18&63]+i[O>>12&63]+i[O>>6&63]+i[O&63]}function g(O,M,F){for(var L,k=[],P=M;P<F;P+=3)L=(O[P]<<16&16711680)+(O[P+1]<<8&65280)+(O[P+2]&255),k.push(m(L));return k.join("")}function _(O){for(var M,F=O.length,L=F%3,k=[],P=16383,U=0,B=F-L;U<B;U+=P)k.push(g(O,U,U+P>B?B:U+P));return L===1?(M=O[F-1],k.push(i[M>>2]+i[M<<4&63]+"==")):L===2&&(M=(O[F-2]<<8)+O[F-1],k.push(i[M>>10]+i[M>>4&63]+i[M<<2&63]+"=")),k.join("")}var S={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */S.read=function(O,M,F,L,k){var P,U,B=k*8-L-1,j=(1<<B)-1,$=j>>1,A=-7,R=F?k-1:0,y=F?-1:1,b=O[M+R];for(R+=y,P=b&(1<<-A)-1,b>>=-A,A+=B;A>0;P=P*256+O[M+R],R+=y,A-=8);for(U=P&(1<<-A)-1,P>>=-A,A+=L;A>0;U=U*256+O[M+R],R+=y,A-=8);if(P===0)P=1-$;else{if(P===j)return U?NaN:(b?-1:1)*(1/0);U=U+Math.pow(2,L),P=P-$}return(b?-1:1)*U*Math.pow(2,P-L)},S.write=function(O,M,F,L,k,P){var U,B,j,$=P*8-k-1,A=(1<<$)-1,R=A>>1,y=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=L?0:P-1,N=L?1:-1,I=M<0||M===0&&1/M<0?1:0;for(M=Math.abs(M),isNaN(M)||M===1/0?(B=isNaN(M)?1:0,U=A):(U=Math.floor(Math.log(M)/Math.LN2),M*(j=Math.pow(2,-U))<1&&(U--,j*=2),U+R>=1?M+=y/j:M+=y*Math.pow(2,1-R),M*j>=2&&(U++,j/=2),U+R>=A?(B=0,U=A):U+R>=1?(B=(M*j-1)*Math.pow(2,k),U=U+R):(B=M*Math.pow(2,R-1)*Math.pow(2,k),U=0));k>=8;O[F+b]=B&255,b+=N,B/=256,k-=8);for(U=U<<k|B,$+=k;$>0;O[F+b]=U&255,b+=N,U/=256,$-=8);O[F+b-N]|=I*128};/*!
1
+ var pr=(r,n)=>()=>(n||r((n={exports:{}}).exports,n),n.exports);import{p as process$1,B as Buffer}from"./monaco.95a3312f.DKFawWaA.js";var vr=pr((exports,module)=>{getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.20",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_AUTHORIZATION="Authorization",HEADER_CONTENT_TYPE="Content-Type",HEADER_USER_AGENT="User-Agent",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTERPOLATION_VARIABLE_NAME_PATTERN=/{{\s*([a-z0-9_\-|.:+#$!?;,]+)\s*}}/gi,FUSION_OPERATION_PLAN_HEADER_NAME_PATTERN=/fusion-operation-plan/i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(n,a){this.#e=n,this.#t=a}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const n=this;let a=!1;return this.#r=new Promise((i,o)=>{if(n.aborted){a=!0,o(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){a=!0,i();return}function s(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,o(TIMEOUT_ABORT_ERROR))}function l(){n.removeEventListener("abort",s),n.removeEventListener("cancelled",l),a||(a=!0,i())}n.addEventListener("abort",s),n.addEventListener("cancelled",l)}),this.#r}addEventListener(n,a,i){this.#e.addEventListener(n,a,i)}removeEventListener(n,a,i){this.#e.removeEventListener(n,a,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,a){return a?a.aborted?Promise.reject(ABORT_ERROR):(a.addEventListener("abort",r),n().finally(()=>{a.removeEventListener("abort",r)})):n()}function distinct(r){return r.filter((n,a,i)=>i.indexOf(n)===a)}function isObjectArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="object"&&!Array.isArray(n))}function isStringArray(r){return typeof r!="string"&&Array.isArray(r)&&r.every(n=>typeof n=="string")}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var a=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};a.prototype=n.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var o=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(a,i,o.get?o:{enumerable:!0,get:function(){return r[i]}})}),a}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,a){a&&(n.super_=a,n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,a){if(a){n.super_=a;var i=function(){};i.prototype=a.prototype,n.prototype=new i,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},a={};a.byteLength=c,a.toByteArray=h,a.fromByteArray=_;for(var i=[],o=[],s=typeof Uint8Array<"u"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,d=l.length;f<d;++f)i[f]=l[f],o[l.charCodeAt(f)]=f;o[45]=62,o[95]=63;function u(O){var M=O.length;if(M%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var F=O.indexOf("=");F===-1&&(F=M);var L=F===M?0:4-F%4;return[F,L]}function c(O){var M=u(O),F=M[0],L=M[1];return(F+L)*3/4-L}function v(O,M,F){return(M+F)*3/4-F}function h(O){var M,F=u(O),L=F[0],k=F[1],P=new s(v(O,L,k)),U=0,B=k>0?L-4:L,j;for(j=0;j<B;j+=4)M=o[O.charCodeAt(j)]<<18|o[O.charCodeAt(j+1)]<<12|o[O.charCodeAt(j+2)]<<6|o[O.charCodeAt(j+3)],P[U++]=M>>16&255,P[U++]=M>>8&255,P[U++]=M&255;return k===2&&(M=o[O.charCodeAt(j)]<<2|o[O.charCodeAt(j+1)]>>4,P[U++]=M&255),k===1&&(M=o[O.charCodeAt(j)]<<10|o[O.charCodeAt(j+1)]<<4|o[O.charCodeAt(j+2)]>>2,P[U++]=M>>8&255,P[U++]=M&255),P}function m(O){return i[O>>18&63]+i[O>>12&63]+i[O>>6&63]+i[O&63]}function g(O,M,F){for(var L,k=[],P=M;P<F;P+=3)L=(O[P]<<16&16711680)+(O[P+1]<<8&65280)+(O[P+2]&255),k.push(m(L));return k.join("")}function _(O){for(var M,F=O.length,L=F%3,k=[],P=16383,U=0,B=F-L;U<B;U+=P)k.push(g(O,U,U+P>B?B:U+P));return L===1?(M=O[F-1],k.push(i[M>>2]+i[M<<4&63]+"==")):L===2&&(M=(O[F-2]<<8)+O[F-1],k.push(i[M>>10]+i[M>>4&63]+i[M<<2&63]+"=")),k.join("")}var S={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */S.read=function(O,M,F,L,k){var P,U,B=k*8-L-1,j=(1<<B)-1,$=j>>1,A=-7,R=F?k-1:0,y=F?-1:1,b=O[M+R];for(R+=y,P=b&(1<<-A)-1,b>>=-A,A+=B;A>0;P=P*256+O[M+R],R+=y,A-=8);for(U=P&(1<<-A)-1,P>>=-A,A+=L;A>0;U=U*256+O[M+R],R+=y,A-=8);if(P===0)P=1-$;else{if(P===j)return U?NaN:(b?-1:1)*(1/0);U=U+Math.pow(2,L),P=P-$}return(b?-1:1)*U*Math.pow(2,P-L)},S.write=function(O,M,F,L,k,P){var U,B,j,$=P*8-k-1,A=(1<<$)-1,R=A>>1,y=k===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=L?0:P-1,N=L?1:-1,I=M<0||M===0&&1/M<0?1:0;for(M=Math.abs(M),isNaN(M)||M===1/0?(B=isNaN(M)?1:0,U=A):(U=Math.floor(Math.log(M)/Math.LN2),M*(j=Math.pow(2,-U))<1&&(U--,j*=2),U+R>=1?M+=y/j:M+=y*Math.pow(2,1-R),M*j>=2&&(U++,j/=2),U+R>=A?(B=0,U=A):U+R>=1?(B=(M*j-1)*Math.pow(2,k),U=U+R):(B=M*Math.pow(2,R-1)*Math.pow(2,k),U=0));k>=8;O[F+b]=B&255,b+=N,B/=256,k-=8);for(U=U<<k|B,$+=k;$>0;O[F+b]=U&255,b+=N,U/=256,$-=8);O[F+b-N]|=I*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import{p as process$1,B as Buffer}from"./monaco.1b6d2927.QfBhsFG-.js";getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.18",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(t,n){this.#e=t,this.#t=n}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(t){return this.#e.dispatchEvent(t)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const t=this;let n=!1;return this.#r=new Promise((i,s)=>{if(t.aborted){n=!0,s(TIMEOUT_ABORT_ERROR);return}if(t.cancelled){n=!0,i();return}function a(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,s(TIMEOUT_ABORT_ERROR))}function f(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,i())}t.addEventListener("abort",a),t.addEventListener("cancelled",f)}),this.#r}addEventListener(t,n,i){this.#e.addEventListener(t,n,i)}removeEventListener(t,n,i){this.#e.removeEventListener(t,n,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(t){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},t)}get signal(){return this._signal}abort(t){this._controller.abort(t)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,t,n){return n?n.aborted?Promise.reject(ABORT_ERROR):(n.addEventListener("abort",r),t().finally(()=>{n.removeEventListener("abort",r)})):t()}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var t=r.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var s=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return r[i]}})}),n}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},n={};n.byteLength=u,n.toByteArray=d,n.fromByteArray=m;for(var i=[],s=[],a=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=f.length;l<c;++l)i[l]=f[l],s[f.charCodeAt(l)]=l;s[45]=62,s[95]=63;function o(D){var C=D.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=D.indexOf("=");q===-1&&(q=C);var M=q===C?0:4-q%4;return[q,M]}function u(D){var C=o(D),q=C[0],M=C[1];return(q+M)*3/4-M}function p(D,C,q){return(C+q)*3/4-q}function d(D){var C,q=o(D),M=q[0],F=q[1],k=new a(p(D,M,F)),$=0,L=F>0?M-4:M,G;for(G=0;G<L;G+=4)C=s[D.charCodeAt(G)]<<18|s[D.charCodeAt(G+1)]<<12|s[D.charCodeAt(G+2)]<<6|s[D.charCodeAt(G+3)],k[$++]=C>>16&255,k[$++]=C>>8&255,k[$++]=C&255;return F===2&&(C=s[D.charCodeAt(G)]<<2|s[D.charCodeAt(G+1)]>>4,k[$++]=C&255),F===1&&(C=s[D.charCodeAt(G)]<<10|s[D.charCodeAt(G+1)]<<4|s[D.charCodeAt(G+2)]>>2,k[$++]=C>>8&255,k[$++]=C&255),k}function v(D){return i[D>>18&63]+i[D>>12&63]+i[D>>6&63]+i[D&63]}function y(D,C,q){for(var M,F=[],k=C;k<q;k+=3)M=(D[k]<<16&16711680)+(D[k+1]<<8&65280)+(D[k+2]&255),F.push(v(M));return F.join("")}function m(D){for(var C,q=D.length,M=q%3,F=[],k=16383,$=0,L=q-M;$<L;$+=k)F.push(y(D,$,$+k>L?L:$+k));return M===1?(C=D[q-1],F.push(i[C>>2]+i[C<<4&63]+"==")):M===2&&(C=(D[q-2]<<8)+D[q-1],F.push(i[C>>10]+i[C>>4&63]+i[C<<2&63]+"=")),F.join("")}var R={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */R.read=function(D,C,q,M,F){var k,$,L=F*8-M-1,G=(1<<L)-1,B=G>>1,S=-7,_=q?F-1:0,h=q?-1:1,g=D[C+_];for(_+=h,k=g&(1<<-S)-1,g>>=-S,S+=L;S>0;k=k*256+D[C+_],_+=h,S-=8);for($=k&(1<<-S)-1,k>>=-S,S+=M;S>0;$=$*256+D[C+_],_+=h,S-=8);if(k===0)k=1-B;else{if(k===G)return $?NaN:(g?-1:1)*(1/0);$=$+Math.pow(2,M),k=k-B}return(g?-1:1)*$*Math.pow(2,k-M)},R.write=function(D,C,q,M,F,k){var $,L,G,B=k*8-F-1,S=(1<<B)-1,_=S>>1,h=F===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=M?0:k-1,I=M?1:-1,w=C<0||C===0&&1/C<0?1:0;for(C=Math.abs(C),isNaN(C)||C===1/0?(L=isNaN(C)?1:0,$=S):($=Math.floor(Math.log(C)/Math.LN2),C*(G=Math.pow(2,-$))<1&&($--,G*=2),$+_>=1?C+=h/G:C+=h*Math.pow(2,1-_),C*G>=2&&($++,G/=2),$+_>=S?(L=0,$=S):$+_>=1?(L=(C*G-1)*Math.pow(2,F),$=$+_):(L=C*Math.pow(2,_-1)*Math.pow(2,F),$=0));F>=8;D[q+g]=L&255,g+=I,L/=256,F-=8);for($=$<<F|L,B+=F;B>0;D[q+g]=$&255,g+=I,$/=256,B-=8);D[q+g-I]|=w*128};/*!
1
+ import{p as process$1,B as Buffer}from"./monaco.95a3312f.DKFawWaA.js";getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.20",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i,INTROSPECTION_PREFIX=/^_{2}(?!_)/i,ABORT_ERROR_NAME="AbortError",ABORT_ERROR=new DOMException("Action cancelled",ABORT_ERROR_NAME),TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#t;#r;constructor(t,n){this.#e=t,this.#t=n}get aborted(){return this.#e.aborted}get cancelled(){return this.#t()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(t){return this.#e.dispatchEvent(t)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#r)return this.#r;const t=this;let n=!1;return this.#r=new Promise((i,s)=>{if(t.aborted){n=!0,s(TIMEOUT_ABORT_ERROR);return}if(t.cancelled){n=!0,i();return}function a(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,s(TIMEOUT_ABORT_ERROR))}function f(){t.removeEventListener("abort",a),t.removeEventListener("cancelled",f),n||(n=!0,i())}t.addEventListener("abort",a),t.addEventListener("cancelled",f)}),this.#r}addEventListener(t,n,i){this.#e.addEventListener(t,n,i)}removeEventListener(t,n,i){this.#e.removeEventListener(t,n,i)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(t){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},t)}get signal(){return this._signal}abort(t){this._controller.abort(t)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,t,n){return n?n.aborted?Promise.reject(ABORT_ERROR):(n.addEventListener("abort",r),t().finally(()=>{n.removeEventListener("abort",r)})):t()}var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var t=r.default;if(typeof t=="function"){var n=function i(){var s=!1;try{s=this instanceof i}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var s=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(n,i,s.get?s:{enumerable:!0,get:function(){return r[i]}})}),n}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(t,n){n&&(t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(t,n){if(n){t.super_=n;var i=function(){};i.prototype=n.prototype,t.prototype=new i,t.prototype.constructor=t}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var t={},n={};n.byteLength=u,n.toByteArray=d,n.fromByteArray=m;for(var i=[],s=[],a=typeof Uint8Array<"u"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=f.length;l<c;++l)i[l]=f[l],s[f.charCodeAt(l)]=l;s[45]=62,s[95]=63;function o(D){var C=D.length;if(C%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=D.indexOf("=");q===-1&&(q=C);var M=q===C?0:4-q%4;return[q,M]}function u(D){var C=o(D),q=C[0],M=C[1];return(q+M)*3/4-M}function p(D,C,q){return(C+q)*3/4-q}function d(D){var C,q=o(D),M=q[0],F=q[1],k=new a(p(D,M,F)),$=0,L=F>0?M-4:M,G;for(G=0;G<L;G+=4)C=s[D.charCodeAt(G)]<<18|s[D.charCodeAt(G+1)]<<12|s[D.charCodeAt(G+2)]<<6|s[D.charCodeAt(G+3)],k[$++]=C>>16&255,k[$++]=C>>8&255,k[$++]=C&255;return F===2&&(C=s[D.charCodeAt(G)]<<2|s[D.charCodeAt(G+1)]>>4,k[$++]=C&255),F===1&&(C=s[D.charCodeAt(G)]<<10|s[D.charCodeAt(G+1)]<<4|s[D.charCodeAt(G+2)]>>2,k[$++]=C>>8&255,k[$++]=C&255),k}function v(D){return i[D>>18&63]+i[D>>12&63]+i[D>>6&63]+i[D&63]}function y(D,C,q){for(var M,F=[],k=C;k<q;k+=3)M=(D[k]<<16&16711680)+(D[k+1]<<8&65280)+(D[k+2]&255),F.push(v(M));return F.join("")}function m(D){for(var C,q=D.length,M=q%3,F=[],k=16383,$=0,L=q-M;$<L;$+=k)F.push(y(D,$,$+k>L?L:$+k));return M===1?(C=D[q-1],F.push(i[C>>2]+i[C<<4&63]+"==")):M===2&&(C=(D[q-2]<<8)+D[q-1],F.push(i[C>>10]+i[C>>4&63]+i[C<<2&63]+"=")),F.join("")}var R={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */R.read=function(D,C,q,M,F){var k,$,L=F*8-M-1,G=(1<<L)-1,B=G>>1,S=-7,_=q?F-1:0,h=q?-1:1,g=D[C+_];for(_+=h,k=g&(1<<-S)-1,g>>=-S,S+=L;S>0;k=k*256+D[C+_],_+=h,S-=8);for($=k&(1<<-S)-1,k>>=-S,S+=M;S>0;$=$*256+D[C+_],_+=h,S-=8);if(k===0)k=1-B;else{if(k===G)return $?NaN:(g?-1:1)*(1/0);$=$+Math.pow(2,M),k=k-B}return(g?-1:1)*$*Math.pow(2,k-M)},R.write=function(D,C,q,M,F,k){var $,L,G,B=k*8-F-1,S=(1<<B)-1,_=S>>1,h=F===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=M?0:k-1,I=M?1:-1,w=C<0||C===0&&1/C<0?1:0;for(C=Math.abs(C),isNaN(C)||C===1/0?(L=isNaN(C)?1:0,$=S):($=Math.floor(Math.log(C)/Math.LN2),C*(G=Math.pow(2,-$))<1&&($--,G*=2),$+_>=1?C+=h/G:C+=h*Math.pow(2,1-_),C*G>=2&&($++,G/=2),$+_>=S?(L=0,$=S):$+_>=1?(L=(C*G-1)*Math.pow(2,F),$=$+_):(L=C*Math.pow(2,_-1)*Math.pow(2,F),$=0));F>=8;D[q+g]=L&255,g+=I,L/=256,F-=8);for($=$<<F|L,B+=F;B>0;D[q+g]=$&255,g+=I,$/=256,B-=8);D[q+g-I]|=w*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import{S as SimpleWorkerServer,E as EditorSimpleWorker,p as process$1,B as Buffer}from"./monaco.1b6d2927.DdZDdzBi.js";let initialized=!1;function initialize(r){if(initialized)return;initialized=!0;const n=new SimpleWorkerServer(i=>{globalThis.postMessage(i)},i=>new EditorSimpleWorker(i,r));globalThis.onmessage=i=>{n.onmessage(i.data)}}globalThis.onmessage=r=>{initialized||initialize(null)};const ABORT_ERROR_NAME="AbortError";new DOMException("Action cancelled",ABORT_ERROR_NAME);const TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#r;#t;constructor(n,i){this.#e=n,this.#r=i}get aborted(){return this.#e.aborted}get cancelled(){return this.#r()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#t)return this.#t;const n=this;let i=!1;return this.#t=new Promise((a,s)=>{if(n.aborted){i=!0,s(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){i=!0,a();return}function E(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,s(TIMEOUT_ABORT_ERROR))}function C(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,a())}n.addEventListener("abort",E),n.addEventListener("cancelled",C)}),this.#t}addEventListener(n,i,a){this.#e.addEventListener(n,i,a)}removeEventListener(n,i,a){this.#e.removeEventListener(n,i,a)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,i){return n()}getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.18",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var i=function a(){var s=!1;try{s=this instanceof a}catch{}return s?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var s=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,s.get?s:{enumerable:!0,get:function(){return r[a]}})}),i}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,i){if(i){n.super_=i;var a=function(){};a.prototype=i.prototype,n.prototype=new a,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},i={};i.byteLength=Or,i.toByteArray=gi,i.fromByteArray=Qi;for(var a=[],s=[],E=typeof Uint8Array<"u"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=0,Pr=C.length;lr<Pr;++lr)a[lr]=C[lr],s[C.charCodeAt(lr)]=lr;s[45]=62,s[95]=63;function P(aa){var la=aa.length;if(la%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ca=aa.indexOf("=");ca===-1&&(ca=la);var da=ca===la?0:4-ca%4;return[ca,da]}function Or(aa){var la=P(aa),ca=la[0],da=la[1];return(ca+da)*3/4-da}function qi(aa,la,ca){return(la+ca)*3/4-ca}function gi(aa){var la,ca=P(aa),da=ca[0],ha=ca[1],pa=new E(qi(aa,da,ha)),ya=0,va=ha>0?da-4:da,Ea;for(Ea=0;Ea<va;Ea+=4)la=s[aa.charCodeAt(Ea)]<<18|s[aa.charCodeAt(Ea+1)]<<12|s[aa.charCodeAt(Ea+2)]<<6|s[aa.charCodeAt(Ea+3)],pa[ya++]=la>>16&255,pa[ya++]=la>>8&255,pa[ya++]=la&255;return ha===2&&(la=s[aa.charCodeAt(Ea)]<<2|s[aa.charCodeAt(Ea+1)]>>4,pa[ya++]=la&255),ha===1&&(la=s[aa.charCodeAt(Ea)]<<10|s[aa.charCodeAt(Ea+1)]<<4|s[aa.charCodeAt(Ea+2)]>>2,pa[ya++]=la>>8&255,pa[ya++]=la&255),pa}function Ki(aa){return a[aa>>18&63]+a[aa>>12&63]+a[aa>>6&63]+a[aa&63]}function Hi(aa,la,ca){for(var da,ha=[],pa=la;pa<ca;pa+=3)da=(aa[pa]<<16&16711680)+(aa[pa+1]<<8&65280)+(aa[pa+2]&255),ha.push(Ki(da));return ha.join("")}function Qi(aa){for(var la,ca=aa.length,da=ca%3,ha=[],pa=16383,ya=0,va=ca-da;ya<va;ya+=pa)ha.push(Hi(aa,ya,ya+pa>va?va:ya+pa));return da===1?(la=aa[ca-1],ha.push(a[la>>2]+a[la<<4&63]+"==")):da===2&&(la=(aa[ca-2]<<8)+aa[ca-1],ha.push(a[la>>10]+a[la>>4&63]+a[la<<2&63]+"=")),ha.join("")}var Ji={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Ji.read=function(aa,la,ca,da,ha){var pa,ya,va=ha*8-da-1,Ea=(1<<va)-1,ma=Ea>>1,na=-7,Zi=ca?ha-1:0,Gi=ca?-1:1,zi=aa[la+Zi];for(Zi+=Gi,pa=zi&(1<<-na)-1,zi>>=-na,na+=va;na>0;pa=pa*256+aa[la+Zi],Zi+=Gi,na-=8);for(ya=pa&(1<<-na)-1,pa>>=-na,na+=da;na>0;ya=ya*256+aa[la+Zi],Zi+=Gi,na-=8);if(pa===0)pa=1-ma;else{if(pa===Ea)return ya?NaN:(zi?-1:1)*(1/0);ya=ya+Math.pow(2,da),pa=pa-ma}return(zi?-1:1)*ya*Math.pow(2,pa-da)},Ji.write=function(aa,la,ca,da,ha,pa){var ya,va,Ea,ma=pa*8-ha-1,na=(1<<ma)-1,Zi=na>>1,Gi=ha===23?Math.pow(2,-24)-Math.pow(2,-77):0,zi=da?0:pa-1,sa=da?1:-1,ia=la<0||la===0&&1/la<0?1:0;for(la=Math.abs(la),isNaN(la)||la===1/0?(va=isNaN(la)?1:0,ya=na):(ya=Math.floor(Math.log(la)/Math.LN2),la*(Ea=Math.pow(2,-ya))<1&&(ya--,Ea*=2),ya+Zi>=1?la+=Gi/Ea:la+=Gi*Math.pow(2,1-Zi),la*Ea>=2&&(ya++,Ea/=2),ya+Zi>=na?(va=0,ya=na):ya+Zi>=1?(va=(la*Ea-1)*Math.pow(2,ha),ya=ya+Zi):(va=la*Math.pow(2,Zi-1)*Math.pow(2,ha),ya=0));ha>=8;aa[ca+zi]=va&255,zi+=sa,va/=256,ha-=8);for(ya=ya<<ha|va,ma+=ha;ma>0;aa[ca+zi]=ya&255,zi+=sa,ya/=256,ma-=8);aa[ca+zi-sa]|=ia*128};/*!
1
+ import{S as SimpleWorkerServer,E as EditorSimpleWorker,p as process$1,B as Buffer}from"./monaco.95a3312f.BzmviRHQ.js";let initialized=!1;function initialize(r){if(initialized)return;initialized=!0;const n=new SimpleWorkerServer(i=>{globalThis.postMessage(i)},i=>new EditorSimpleWorker(i,r));globalThis.onmessage=i=>{n.onmessage(i.data)}}globalThis.onmessage=r=>{initialized||initialize(null)};const ABORT_ERROR_NAME="AbortError";new DOMException("Action cancelled",ABORT_ERROR_NAME);const TIMEOUT_ABORT_ERROR_MESSAGE="Action timed out",TIMEOUT_ABORT_ERROR=new DOMException(TIMEOUT_ABORT_ERROR_MESSAGE,ABORT_ERROR_NAME);class TimeoutAbortSignal{#e;#r;#t;constructor(n,i){this.#e=n,this.#r=i}get aborted(){return this.#e.aborted}get cancelled(){return this.#r()}get onabort(){return this.#e.onabort}get reason(){return this.#e.reason}dispatchEvent(n){return this.#e.dispatchEvent(n)}throwIfAborted(){this.#e.throwIfAborted()}toAbortSignal(){return this.#e}toPromise(){if(this.#t)return this.#t;const n=this;let i=!1;return this.#t=new Promise((a,s)=>{if(n.aborted){i=!0,s(TIMEOUT_ABORT_ERROR);return}if(n.cancelled){i=!0,a();return}function E(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,s(TIMEOUT_ABORT_ERROR))}function C(){n.removeEventListener("abort",E),n.removeEventListener("cancelled",C),i||(i=!0,a())}n.addEventListener("abort",E),n.addEventListener("cancelled",C)}),this.#t}addEventListener(n,i,a){this.#e.addEventListener(n,i,a)}removeEventListener(n,i,a){this.#e.removeEventListener(n,i,a)}}class TimeoutAbortController{_controller=new AbortController;_signal=new TimeoutAbortSignal(this._controller.signal,()=>this._cancelled);_cancelled=!1;_timeoutHandle;constructor(n){this._timeoutHandle=self.setTimeout(()=>{this.abort(TIMEOUT_ABORT_ERROR_MESSAGE)},n)}get signal(){return this._signal}abort(n){this._controller.abort(n)}cancel(){this._cancelled=!0,self.clearTimeout(this._timeoutHandle),this._signal.dispatchEvent(new Event("cancelled"))}}function isAbortError(r){return r instanceof DOMException&&r.name===ABORT_ERROR_NAME}function isTimeoutAbortError(r){return isAbortError(r)&&r.message===TIMEOUT_ABORT_ERROR_MESSAGE}function createAbortScope(r,n,i){return n()}getOsName();isMacLike();const IS_RUNNING_IN_ELECTRON=navigator.userAgent.indexOf("Electron")>=0;function getOsName(){return navigator.userAgent.indexOf("Win")>=0?"Windows":navigator.userAgent.indexOf("Mac")>=0?"macOS":navigator.userAgent.indexOf("X11")>=0||navigator.userAgent.indexOf("Linux")>=0?"Linux":"Unknown"}function isMacLike(){const r=navigator.userAgent.toLowerCase();return r.includes("mac os")||r.includes("ipad")}const APP_NAME="Nitro",APP_VERSION="32.0.0-insider.20",APP_GRAPHQL_CLIENT_ID="Q2xpZW50Cmc5ZjAwOTFmNTY5NmQ0NTZkOWUwZDQ0ZDMzYjJhZDJlOA==",cloudUriPattern=new RegExp("^https?:\\/\\/.*?\\.(bananacakepop\\.com|chillicream\\.com|chillicream\\.cloud)","i"),IS_RUNNING_IN_CLOUD=cloudUriPattern?.test(self.origin)??!1,APP_TYPE=IS_RUNNING_IN_CLOUD?"cloud":IS_RUNNING_IN_ELECTRON?"app":"middleware",APP_AGENT=`${APP_NAME}/${APP_VERSION} (${APP_TYPE})`,HEADER_CONTENT_TYPE="Content-Type",HTTP_SCHEME_PATTERN=/^https?:\/\//i;var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getAugmentedNamespace(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var n=r.default;if(typeof n=="function"){var i=function a(){var s=!1;try{s=this instanceof a}catch{}return s?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};i.prototype=n.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(a){var s=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(i,a,s.get?s:{enumerable:!0,get:function(){return r[a]}})}),i}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(n,i){i&&(n.super_=i,n.prototype=Object.create(i.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(n,i){if(i){n.super_=i;var a=function(){};a.prototype=i.prototype,n.prototype=new a,n.prototype.constructor=n}}),inherits_browser.exports}var safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(r){Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n={},i={};i.byteLength=Or,i.toByteArray=gi,i.fromByteArray=Qi;for(var a=[],s=[],E=typeof Uint8Array<"u"?Uint8Array:Array,C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lr=0,Pr=C.length;lr<Pr;++lr)a[lr]=C[lr],s[C.charCodeAt(lr)]=lr;s[45]=62,s[95]=63;function P(aa){var la=aa.length;if(la%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ca=aa.indexOf("=");ca===-1&&(ca=la);var da=ca===la?0:4-ca%4;return[ca,da]}function Or(aa){var la=P(aa),ca=la[0],da=la[1];return(ca+da)*3/4-da}function qi(aa,la,ca){return(la+ca)*3/4-ca}function gi(aa){var la,ca=P(aa),da=ca[0],ha=ca[1],pa=new E(qi(aa,da,ha)),ya=0,va=ha>0?da-4:da,Ea;for(Ea=0;Ea<va;Ea+=4)la=s[aa.charCodeAt(Ea)]<<18|s[aa.charCodeAt(Ea+1)]<<12|s[aa.charCodeAt(Ea+2)]<<6|s[aa.charCodeAt(Ea+3)],pa[ya++]=la>>16&255,pa[ya++]=la>>8&255,pa[ya++]=la&255;return ha===2&&(la=s[aa.charCodeAt(Ea)]<<2|s[aa.charCodeAt(Ea+1)]>>4,pa[ya++]=la&255),ha===1&&(la=s[aa.charCodeAt(Ea)]<<10|s[aa.charCodeAt(Ea+1)]<<4|s[aa.charCodeAt(Ea+2)]>>2,pa[ya++]=la>>8&255,pa[ya++]=la&255),pa}function Ki(aa){return a[aa>>18&63]+a[aa>>12&63]+a[aa>>6&63]+a[aa&63]}function Hi(aa,la,ca){for(var da,ha=[],pa=la;pa<ca;pa+=3)da=(aa[pa]<<16&16711680)+(aa[pa+1]<<8&65280)+(aa[pa+2]&255),ha.push(Ki(da));return ha.join("")}function Qi(aa){for(var la,ca=aa.length,da=ca%3,ha=[],pa=16383,ya=0,va=ca-da;ya<va;ya+=pa)ha.push(Hi(aa,ya,ya+pa>va?va:ya+pa));return da===1?(la=aa[ca-1],ha.push(a[la>>2]+a[la<<4&63]+"==")):da===2&&(la=(aa[ca-2]<<8)+aa[ca-1],ha.push(a[la>>10]+a[la>>4&63]+a[la<<2&63]+"=")),ha.join("")}var Ji={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */Ji.read=function(aa,la,ca,da,ha){var pa,ya,va=ha*8-da-1,Ea=(1<<va)-1,ma=Ea>>1,na=-7,Zi=ca?ha-1:0,Gi=ca?-1:1,zi=aa[la+Zi];for(Zi+=Gi,pa=zi&(1<<-na)-1,zi>>=-na,na+=va;na>0;pa=pa*256+aa[la+Zi],Zi+=Gi,na-=8);for(ya=pa&(1<<-na)-1,pa>>=-na,na+=da;na>0;ya=ya*256+aa[la+Zi],Zi+=Gi,na-=8);if(pa===0)pa=1-ma;else{if(pa===Ea)return ya?NaN:(zi?-1:1)*(1/0);ya=ya+Math.pow(2,da),pa=pa-ma}return(zi?-1:1)*ya*Math.pow(2,pa-da)},Ji.write=function(aa,la,ca,da,ha,pa){var ya,va,Ea,ma=pa*8-ha-1,na=(1<<ma)-1,Zi=na>>1,Gi=ha===23?Math.pow(2,-24)-Math.pow(2,-77):0,zi=da?0:pa-1,sa=da?1:-1,ia=la<0||la===0&&1/la<0?1:0;for(la=Math.abs(la),isNaN(la)||la===1/0?(va=isNaN(la)?1:0,ya=na):(ya=Math.floor(Math.log(la)/Math.LN2),la*(Ea=Math.pow(2,-ya))<1&&(ya--,Ea*=2),ya+Zi>=1?la+=Gi/Ea:la+=Gi*Math.pow(2,1-Zi),la*Ea>=2&&(ya++,Ea/=2),ya+Zi>=na?(va=0,ya=na):ya+Zi>=1?(va=(la*Ea-1)*Math.pow(2,ha),ya=ya+Zi):(va=la*Math.pow(2,Zi-1)*Math.pow(2,ha),ya=0));ha>=8;aa[ca+zi]=va&255,zi+=sa,va/=256,ha-=8);for(ya=ya<<ha|va,ma+=ha;ma>0;aa[ca+zi]=ya&255,zi+=sa,ya/=256,ma-=8);aa[ca+zi-sa]|=ia*128};/*!
2
2
  * The buffer module from node.js, for the browser.
3
3
  *
4
4
  * @author Feross Aboukhadijeh <https://feross.org>
@@ -1,4 +1,4 @@
1
- import{b as a,bL as e,cJ as de,cI as ke,b_ as c,s as D,c0 as f,dE as Re,I as w,a$ as De,aZ as we,bc as ve,aT as xe,b8 as _e,b9 as Ne,aU as ye,aV as Ee,b1 as He,aW as Me,d5 as P}from"./main.1b6d2927.DNFDt_c3.js";import{u as qe,a as Oe,b as Pe,c as A,d as Ae,e as $e,f as S,L as ze,g as Be,V as Ge,N as Ue,C as T,h as ue,H as y,i as E,S as he,j as v,k as U,T as F,l as H,m as M,n as pe,o as Fe,p as We,q as Ke,r as Ve,s as je,t as Je,v as m,F as ee,w as Ie,x as Ye,I as Qe,y as _,W as Ze,z as Xe,A as et,B as tt,D as nt,E as st,M as it,G as ot,J as rt,K as at,O as ct,P as V,Q as k,R as $,U as te,X as z,Y as g,Z as j,_ as X,$ as W,a0 as N,a1 as fe,a2 as me,a3 as ge,a4 as K,a5 as ne,a6 as b,a7 as se,a8 as lt,a9 as dt,aa as ut,ab as ht,ac as pt,ad as It,ae as ft,af as mt,ag as gt,ah as Ct,ai as Lt,aj as Tt,ak as bt,al as St,am as kt,an as Rt,ao as Dt,ap as wt,aq as vt,ar as xt,as as _t,at as Nt}from"./context-providers.1b6d2927.BEDzV2xs.js";import"./monaco.1b6d2927.C_tZzruq.js";const x=a.forwardRef((t,n)=>e(de,{ref:n,icon:"go-to-file",...t}));x.displayName="GoToItemIcon";const ie=a.forwardRef((t,n)=>e(de,{ref:n,icon:"play-circle",fill:ke.states.info,...t}));ie.displayName="RunningIcon";function B(){const t=qe(),n=Oe();return a.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const G="log";function yt(){const t=Pe(),n=A(G).toLocaleLowerCase(),s=a.useRef(null),i=a.useRef(t),o=a.useRef(t.followNewest),l=a.useRef(!0),h=Ae(),u=B(),r=$e(),p={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:I}=d;switch(I){case"basic":return d.message.toLocaleLowerCase().includes(n);case"http-request":return d.name?.toLocaleLowerCase().includes(n)||d.uri.toLocaleLowerCase().includes(n);case"scope":return d.name.includes(n)||d.details?.uri?.toLocaleLowerCase().includes(n);case"subscription-request":return d.uri.toLocaleLowerCase().includes(n);default:return S()}})};i.current=t,o.current=t.followNewest;const C=a.useCallback(d=>{l.current=!1,d.kind==="http-request"&&d.scopeId?h(d.scopeId,d.id):h(d.id)},[h]),L=a.useCallback(async d=>{d.item?.id&&await u(d.item.id,d.id)},[u]),Y=a.useCallback(d=>{const{scrollTop:I,clientHeight:R,scrollHeight:Se}=d.currentTarget;l.current=!0,o.current=Se-R<=Math.ceil(I),r(o.current)},[r]),Q=a.useCallback(d=>{if(s.current=d,s.current&&i.current.entries.length){const I=i.current.activeId?i.current.entries.findIndex(({id:R})=>R===i.current.activeId):-1;I===-1?s.current.scrollToIndex({index:i.current.entries.length-1,align:"end"}):s.current.scrollToIndex({index:I,align:"end"})}},[]);a.useLayoutEffect(()=>{o.current&&s.current&&p.entries.length&&s.current.scrollToIndex({index:p.entries.length-1,align:"end"})},[p.entries.length]),a.useLayoutEffect(()=>{if(l.current&&!o.current&&t.activeId&&s.current&&i.current){const d=i.current.entries.findIndex(({id:I})=>I===t.activeId);d!==-1&&s.current.scrollToIndex({index:d,align:"end"})}l.current=!0},[t.activeId]),a.useEffect(()=>()=>r(!0),[r]);const be=a.useCallback((d,I)=>{const R=I.kind==="http-request"&&I.scopeId?I.id===p.activeChildId&&I.scopeId===p.activeId:I.id===p.activeId;return e(ze,{onClick:()=>C(I),onDoubleClick:()=>L(I),className:R?"active":void 0,children:e(Et,{active:R,logEntry:I})})},[p.activeId,p.activeChildId,C,L]);return p.entries.length?e(Ge,{innerListRef:Q,data:p.entries,computeItemKey:d=>`log-entry-${d}`,fixedItemSize:Be,tabIndex:-1,onScrollVirtualList:Y,itemContent:be}):e(Ue,{isFilterActive:!!n})}const Et=a.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(Ht,{active:n,logEntry:s});case"http-request":return e(Mt,{active:n,logEntry:s});case"scope":return e(qt,{active:n,logEntry:s});case"subscription-request":return e(Ot,{active:n,logEntry:s});default:return S()}}),Ht=a.memo(function({active:n,logEntry:{id:s,level:i,message:o,timestamp:l,item:h}}){return c(f,{children:[e(J,{id:s,active:n}),e(Ce,{level:i}),e(O,{children:e(Le,{level:i})}),e(E,{children:e(y,{text:o,highlightedText:A(G)})}),e(q,{item:h}),e(M,{children:H(l)})]})});function Ce({level:t}){switch(t){case _.warning:return e(m,{children:e(Ze,{})});case _.error:return e(m,{children:e(ee,{})});default:return e(m,{children:e(Qe,{})})}}const Le=a.memo(function({level:n}){switch(n){case _.error:return e(T,{color:"error",label:"ERR"});case _.info:return e(T,{color:"info",label:"INFO"});case _.warning:return e(T,{color:"warning",label:"WARN"});default:return S()}}),Mt=a.memo(function({active:n,logEntry:{id:s,scopeId:i,status:o,name:l,started:h,duration:u,item:r,uri:p,method:C,statusCode:L,contentLength:Y,lastChild:Q}}){return c(f,{children:[i?e(At,{active:n,last:Q??!1}):e(J,{id:s,active:n,pending:o==="pending"}),e(Te,{status:o,statusCode:L}),e(O,{children:e(T,{color:"info",label:C})}),e(E,{children:e(y,{text:l?.length?l+": "+p:p,highlightedText:A(G)})}),e(oe,{children:e(pe,{status:o,statusCode:L})}),e(re,{children:v(Y)}),e(F,{children:U(u)}),e(q,{item:r}),e(M,{children:H(h)})]})}),qt=a.memo(function({active:n,logEntry:{id:s,name:i,level:o,started:l,duration:h,item:u,details:r,expanded:p}}){const C=A(G);return c(f,{children:[e(J,{id:s,active:n,pending:r?.status==="pending",expandable:!0,expanded:p}),r?.kind==="introspection"?c(f,{children:[e(Te,{status:r.status,statusCode:r.statusCode}),e(O,{children:e(T,{color:"info",label:r.method})}),e(E,{children:e(y,{text:i?.length?i+": "+r.uri:r.uri,highlightedText:C})}),e(oe,{children:e(pe,{status:r.status,statusCode:r.statusCode})}),e(re,{children:v(r.contentLength)}),e(F,{children:U(h)}),e(q,{item:u}),e(M,{children:H(l)})]}):c(f,{children:[e(Ce,{level:o}),e(O,{children:e(Le,{level:o})}),e(E,{children:e(y,{text:i,highlightedText:C})}),e(F,{children:U(h)}),e(q,{item:u}),e(M,{children:H(l)})]})]})});function Te({status:t,statusCode:n}){return t==="pending"?e(m,{children:e(ie,{})}):t==="cancelled"?e(m,{children:e(Ye,{})}):!n||n>=300?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}const Ot=a.memo(function({active:n,logEntry:{id:s,status:i,started:o,duration:l,item:h,protocol:u,uri:r,contentLength:p}}){return c(f,{children:[e(J,{id:s,active:n}),e(Pt,{status:i}),e(O,{children:e(T,{color:"info",label:ue(u)})}),e(E,{children:e(y,{text:r,highlightedText:A(G)})}),e(oe,{children:e(he,{status:i})}),e(re,{children:v(p)}),e(F,{children:U(l)}),e(q,{item:h}),e(M,{children:H(o)})]})});function Pt({status:t}){return t==="pending"?e(m,{children:e(ie,{})}):t==="failed"?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}function J({id:t,active:n,pending:s,expandable:i,expanded:o}){const l=Fe(),h=We(),u=a.useCallback(r=>{i&&(r.stopPropagation(),o?l(t):h(t))},[t,i,o,l,h]);return e(m,{onClick:u,children:s?e(Ke,{}):i?o?e(Re,{}):e(Ve,{}):n?e(je,{}):e(Je,{})})}function At({active:t,last:n}){return e(m,{children:n?t?e(Xe,{}):e(et,{}):t?e(tt,{}):e(nt,{})})}function q({item:t}){return e(zt,{children:t&&c(f,{children:[e(m,{children:e($t,{kind:t.kind})}),e(Bt,{children:t.name})]})})}function $t({kind:t}){if(!t)return e(x,{});switch(t){case Me:case He:return e(ct,{});case Ee:case ye:case Ne:return e(at,{});case _e:return e(rt,{});case xe:case ve:return e(ot,{});case we:return e(it,{});case De:return e(st,{});default:return S()}}const zt=D("div")(({theme:t})=>w`
1
+ import{b as a,bN as e,cL as de,cK as ke,c0 as c,s as D,c2 as f,dL as Re,I as w,b1 as De,a$ as we,be as ve,aV as xe,ba as _e,bb as Ne,aW as ye,aX as Ee,b3 as He,aY as Me,dc as P}from"./main.95a3312f.BRTlRA7j.js";import{u as qe,a as Oe,b as Pe,c as A,d as Ae,e as $e,f as S,L as ze,g as Be,V as Ge,N as Fe,C as b,h as ue,H as y,i as E,S as he,j as v,k as F,T as U,l as H,m as M,n as pe,o as Ue,p as We,q as Ke,r as Ve,s as je,t as Ye,v as m,F as ee,w as Ie,x as Je,I as Qe,y as _,W as Xe,z as Ze,A as et,B as tt,D as nt,E as st,M as it,G as ot,J as rt,K as at,O as ct,P as V,Q as k,R as $,U as te,X as z,Y as g,Z as j,_ as Z,$ as W,a0 as N,a1 as fe,a2 as me,a3 as ge,a4 as K,a5 as ne,a6 as T,a7 as se,a8 as lt,a9 as dt,aa as ut,ab as ht,ac as pt,ad as It,ae as ft,af as mt,ag as gt,ah as Ct,ai as Lt,aj as bt,ak as Tt,al as St,am as kt,an as Rt,ao as Dt,ap as wt,aq as vt,ar as xt,as as _t,at as Nt}from"./context-providers.95a3312f.9yodJLld.js";import"./monaco.95a3312f.o2zwpORe.js";const x=a.forwardRef((t,n)=>e(de,{ref:n,icon:"go-to-file",...t}));x.displayName="GoToItemIcon";const ie=a.forwardRef((t,n)=>e(de,{ref:n,icon:"play-circle",fill:ke.states.info,...t}));ie.displayName="RunningIcon";function B(){const t=qe(),n=Oe();return a.useCallback(async(s,i)=>{await n(s),i&&t(s,i,void 0)},[t,n])}const G="log";function yt(){const t=Pe(),n=A(G).toLocaleLowerCase(),s=a.useRef(null),i=a.useRef(t),o=a.useRef(t.followNewest),l=a.useRef(!0),h=Ae(),u=B(),r=$e(),p={activeId:t.activeId,activeChildId:t.activeChildId,entries:t.entries.filter(d=>{const{kind:I}=d;switch(I){case"basic":return d.message.toLocaleLowerCase().includes(n);case"http-request":return d.name?.toLocaleLowerCase().includes(n)||d.uri.toLocaleLowerCase().includes(n);case"scope":return d.name.includes(n)||d.details?.uri?.toLocaleLowerCase().includes(n);case"subscription-request":return d.uri.toLocaleLowerCase().includes(n);default:return S()}})};i.current=t,o.current=t.followNewest;const C=a.useCallback(d=>{l.current=!1,d.kind==="http-request"&&d.scopeId?h(d.scopeId,d.id):h(d.id)},[h]),L=a.useCallback(async d=>{d.item?.id&&await u(d.item.id,d.id)},[u]),J=a.useCallback(d=>{const{scrollTop:I,clientHeight:R,scrollHeight:Se}=d.currentTarget;l.current=!0,o.current=Se-R<=Math.ceil(I),r(o.current)},[r]),Q=a.useCallback(d=>{if(s.current=d,s.current&&i.current.entries.length){const I=i.current.activeId?i.current.entries.findIndex(({id:R})=>R===i.current.activeId):-1;I===-1?s.current.scrollToIndex({index:i.current.entries.length-1,align:"end"}):s.current.scrollToIndex({index:I,align:"end"})}},[]);a.useLayoutEffect(()=>{o.current&&s.current&&p.entries.length&&s.current.scrollToIndex({index:p.entries.length-1,align:"end"})},[p.entries.length]),a.useLayoutEffect(()=>{if(l.current&&!o.current&&t.activeId&&s.current&&i.current){const d=i.current.entries.findIndex(({id:I})=>I===t.activeId);d!==-1&&s.current.scrollToIndex({index:d,align:"end"})}l.current=!0},[t.activeId]),a.useEffect(()=>()=>r(!0),[r]);const Te=a.useCallback((d,I)=>{const R=I.kind==="http-request"&&I.scopeId?I.id===p.activeChildId&&I.scopeId===p.activeId:I.id===p.activeId;return e(ze,{onClick:()=>C(I),onDoubleClick:()=>L(I),className:R?"active":void 0,children:e(Et,{active:R,logEntry:I})})},[p.activeId,p.activeChildId,C,L]);return p.entries.length?e(Ge,{innerListRef:Q,data:p.entries,computeItemKey:d=>`log-entry-${d}`,fixedItemSize:Be,tabIndex:-1,onScrollVirtualList:J,itemContent:Te}):e(Fe,{isFilterActive:!!n})}const Et=a.memo(function({active:n,logEntry:s}){const{kind:i}=s;switch(i){case"basic":return e(Ht,{active:n,logEntry:s});case"http-request":return e(Mt,{active:n,logEntry:s});case"scope":return e(qt,{active:n,logEntry:s});case"subscription-request":return e(Ot,{active:n,logEntry:s});default:return S()}}),Ht=a.memo(function({active:n,logEntry:{id:s,level:i,message:o,timestamp:l,item:h}}){return c(f,{children:[e(Y,{id:s,active:n}),e(Ce,{level:i}),e(O,{children:e(Le,{level:i})}),e(E,{children:e(y,{text:o,highlightedText:A(G)})}),e(q,{item:h}),e(M,{children:H(l)})]})});function Ce({level:t}){switch(t){case _.warning:return e(m,{children:e(Xe,{})});case _.error:return e(m,{children:e(ee,{})});default:return e(m,{children:e(Qe,{})})}}const Le=a.memo(function({level:n}){switch(n){case _.error:return e(b,{color:"error",label:"ERR"});case _.info:return e(b,{color:"info",label:"INFO"});case _.warning:return e(b,{color:"warning",label:"WARN"});default:return S()}}),Mt=a.memo(function({active:n,logEntry:{id:s,scopeId:i,status:o,name:l,started:h,duration:u,item:r,uri:p,method:C,statusCode:L,contentLength:J,lastChild:Q}}){return c(f,{children:[i?e(At,{active:n,last:Q??!1}):e(Y,{id:s,active:n,pending:o==="pending"}),e(be,{status:o,statusCode:L}),e(O,{children:e(b,{color:"info",label:C})}),e(E,{children:e(y,{text:l?.length?l+": "+p:p,highlightedText:A(G)})}),e(oe,{children:e(pe,{status:o,statusCode:L})}),e(re,{children:v(J)}),e(U,{children:F(u)}),e(q,{item:r}),e(M,{children:H(h)})]})}),qt=a.memo(function({active:n,logEntry:{id:s,name:i,level:o,started:l,duration:h,item:u,details:r,expanded:p}}){const C=A(G);return c(f,{children:[e(Y,{id:s,active:n,pending:r?.status==="pending",expandable:!0,expanded:p}),r?.kind==="introspection"?c(f,{children:[e(be,{status:r.status,statusCode:r.statusCode}),e(O,{children:e(b,{color:"info",label:r.method})}),e(E,{children:e(y,{text:i?.length?i+": "+r.uri:r.uri,highlightedText:C})}),e(oe,{children:e(pe,{status:r.status,statusCode:r.statusCode})}),e(re,{children:v(r.contentLength)}),e(U,{children:F(h)}),e(q,{item:u}),e(M,{children:H(l)})]}):c(f,{children:[e(Ce,{level:o}),e(O,{children:e(Le,{level:o})}),e(E,{children:e(y,{text:i,highlightedText:C})}),e(U,{children:F(h)}),e(q,{item:u}),e(M,{children:H(l)})]})]})});function be({status:t,statusCode:n}){return t==="pending"?e(m,{children:e(ie,{})}):t==="cancelled"?e(m,{children:e(Je,{})}):!n||n>=300?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}const Ot=a.memo(function({active:n,logEntry:{id:s,status:i,started:o,duration:l,item:h,protocol:u,uri:r,contentLength:p}}){return c(f,{children:[e(Y,{id:s,active:n}),e(Pt,{status:i}),e(O,{children:e(b,{color:"info",label:ue(u)})}),e(E,{children:e(y,{text:r,highlightedText:A(G)})}),e(oe,{children:e(he,{status:i})}),e(re,{children:v(p)}),e(U,{children:F(l)}),e(q,{item:h}),e(M,{children:H(o)})]})});function Pt({status:t}){return t==="pending"?e(m,{children:e(ie,{})}):t==="failed"?e(m,{children:e(ee,{})}):e(m,{children:e(Ie,{})})}function Y({id:t,active:n,pending:s,expandable:i,expanded:o}){const l=Ue(),h=We(),u=a.useCallback(r=>{i&&(r.stopPropagation(),o?l(t):h(t))},[t,i,o,l,h]);return e(m,{onClick:u,children:s?e(Ke,{}):i?o?e(Re,{}):e(Ve,{}):n?e(je,{}):e(Ye,{})})}function At({active:t,last:n}){return e(m,{children:n?t?e(Ze,{}):e(et,{}):t?e(tt,{}):e(nt,{})})}function q({item:t}){return e(zt,{children:t&&c(f,{children:[e(m,{children:e($t,{kind:t.kind})}),e(Bt,{children:t.name})]})})}function $t({kind:t}){if(!t)return e(x,{});switch(t){case Me:case He:return e(ct,{});case Ee:case ye:case Ne:return e(at,{});case _e:return e(rt,{});case xe:case ve:return e(ot,{});case we:return e(it,{});case De:return e(st,{});default:return S()}}const zt=D("div")(({theme:t})=>w`
2
2
  display: flex;
3
3
  flex: 0 0 ${t.spacing(100)};
4
4
  flex-direction: row;
@@ -24,9 +24,9 @@ import{b as a,bL as e,cJ as de,cI as ke,b_ as c,s as D,c0 as f,dE as Re,I as w,a
24
24
  padding: ${t.spacing(0,6)};
25
25
  white-space: nowrap;
26
26
  text-align: right;
27
- `);function Gt({logEntry:t}){return c(f,{children:[e(Ut,{logEntry:t}),e(V,{}),e(k,{children:t&&e(Ft,{logEntry:t})})]})}function Ut({logEntry:t}){const n=$(),s=B(),i=a.useCallback(async()=>{t.item?.id&&await s(t.item.id)},[t.item?.id,s]);return c(j,{spacing:"right",children:[e(te,{children:"Details"}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(x,{})}),e(g,{tooltip:"Close",onClick:n,children:e(P,{})})]})}const ae="log-entry-details";function Ft({logEntry:t}){const n=X(t.details);return typeof n=="string"?e(W,{id:ae,content:n,enforceWordWrap:!0}):e(N,{id:ae,content:n})}function Wt({logEntry:t}){const[n,s]=a.useState("transport");return c(f,{children:[e(Kt,{logEntry:t,viewId:n,updateViewId:s}),e(V,{}),e(k,{children:t&&e(Vt,{logEntry:t,viewId:n})})]})}function Kt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:l}=fe(),h=$(),u=B(),r=a.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=a.useCallback((C,L)=>{s(L)},[s]);return c(j,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Request Body",value:"request-body"}),e(o,{label:"Response Body",value:"response-body"})]}),e(l,{}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:r,children:e(x,{})}),e(g,{tooltip:"Close",onClick:h,children:e(P,{})})]})}const ce="request-body",Z="response-body";function Vt({logEntry:t,viewId:n}){switch(n){case"transport":return e(jt,{logEntry:t});case"request-body":{const s=X(t.request.body);return typeof s=="string"?e(W,{id:ce,content:s}):e(N,{id:ce,content:s})}case"response-body":{const s=X(t.response?.body);return(s===void 0||s==="")&&t.response?.error?e(N,{id:Z,content:t.response.error}):typeof s=="string"?e(W,{id:Z,content:s,followNewestLine:!0,scrollPositionInvalidation:t.id}):e(N,{id:Z,content:s})}default:return S()}}function jt({logEntry:t}){const{request:n,response:s}=t,i=n.headers?Object.entries(n.headers):[],o=s?.headers?Object.entries(s.headers):[],l=s?.contentLength??0,h=[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(T,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(me,{status:t.status})},s?.statusCode&&{key:"status-code",name:"Status Code",description:c(f,{children:[e(ge,{statusCode:s.statusCode}),e(K,{children:s?.statusText&&`(${s.statusText})`})]})},{key:"response-size",name:"Response Size",description:v(l)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(Boolean);return e(k,{children:e(ne,{children:c(se,{children:[e(b,{title:"General HTTP Information",items:h,collapsible:!0}),i.length>0&&e(b,{title:"Request Headers",items:i.map(([u,r])=>({key:u,name:u,description:typeof r=="string"?r:r.join(", ")})),collapsible:!0}),o.length>0&&e(b,{title:"Response Headers",items:o.map(([u,r])=>({key:u,name:u,description:typeof r=="string"?r:r.join(", ")})),collapsible:!0})]})})})}function Jt({logEntry:t}){return c(f,{children:[e(Yt,{logEntry:t}),e(V,{}),e(k,{children:t&&e(Qt,{logEntry:t})})]})}function Yt({logEntry:t}){const n=$(),s=B(),i=a.useCallback(async()=>{t.item?.id&&await s(t.item.id,t.id)},[t.id,t.item?.id,s]);return c(j,{spacing:"right",children:[e(te,{children:"Transport"}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(x,{})}),e(g,{tooltip:"Close",onClick:n,children:e(P,{})})]})}function Qt({logEntry:t}){const{details:n}=t;if(!n)return null;const s=n.requestHeaders?Object.entries(n.requestHeaders):[],i=n.responseHeaders?Object.entries(n.responseHeaders):[];return e(k,{children:e(ne,{children:c(se,{children:[e(b,{title:"General HTTP Information",items:[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(T,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(me,{status:n.status})},n?.statusCode&&{key:"status-code",name:"Status Code",description:c(f,{children:[e(ge,{statusCode:n.statusCode}),e(K,{children:n?.statusText&&`(${n.statusText})`})]})},{key:"response-size",name:"Response Size",description:v(n.contentLength)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(Boolean),collapsible:!0}),s.length>0&&e(b,{title:"Request Headers",items:s.map(([o,l])=>({key:o,name:o,description:l})),collapsible:!0}),i.length>0&&e(b,{title:"Response Headers",items:i.map(([o,l])=>({key:o,name:o,description:l})),collapsible:!0})]})})})}function Zt({logEntry:t}){const[n,s]=a.useState("transport");return c(f,{children:[e(Xt,{logEntry:t,viewId:n,updateViewId:s}),e(V,{}),e(k,{children:t&&e(nn,{logEntry:t,viewId:n})})]})}function Xt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:l}=fe(),h=$(),u=B(),r=a.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=a.useCallback((C,L)=>{s(L)},[s]);return c(j,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Messages",value:"messages"}),e(o,{label:"Problems",value:"problems"})]}),e(l,{}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:r,children:e(x,{})}),e(g,{tooltip:"Close",onClick:h,children:e(P,{})})]})}const en="subscription-data",tn="subscription-error";function nn({logEntry:t,viewId:n}){switch(n){case"messages":return e(W,{id:en,content:t.data,followNewestLine:!0,scrollPositionInvalidation:t.id});case"problems":return e(N,{id:tn,content:t.error});case"transport":return e(sn,{logEntry:t});default:return S()}}function sn({logEntry:t}){const n=t.connectionParams?Object.entries(t.connectionParams):[];return e(k,{children:e(ne,{children:c(se,{children:[e(b,{title:"General Information",items:[{key:"url",name:"URL",description:t.uri},{key:"protocol",name:"Protocol",description:c(f,{children:[e(T,{color:"info",label:ue(t.protocol)}),c(K,{children:["(",t.protocol,")"]})]})},{key:"status",name:"Status",description:c(f,{children:[e(he,{status:t.status}),c(K,{children:["(",t.status,")"]})]})},{key:"messages",name:"Messages",description:t.messages},{key:"response-size",name:"Response Size",description:v(t.contentLength)}],collapsible:!0}),n.length>0&&e(b,{title:"Connection Parameters",items:n.map(([s,i])=>({key:s,name:s,description:i})),collapsible:!0})]})})})}function on(){const t=lt();return t?e(dt,{$separator:"left",children:e(rn,{logEntry:t})}):null}function rn({logEntry:t}){const{kind:n}=t;switch(n){case"basic":return e(Gt,{logEntry:t});case"http-request":return e(Wt,{logEntry:t});case"scope":return e(Jt,{logEntry:t});case"subscription-request":return e(Zt,{logEntry:t});default:return S()}}const le="log";function an(){const t=ut(),n=ht(le),s=pt(),i=It(le);return c(cn,{role:"toolbar",children:[e(ft,{searchTerm:n,onSearchTermChange:i}),e(g,{tooltip:"Clear Log",disabled:!t,onClick:s,children:e(mt,{})})]})}const cn=D("div")(({theme:t})=>w`
27
+ `);function Gt({logEntry:t}){return c(f,{children:[e(Ft,{logEntry:t}),e(V,{}),e(k,{children:t&&e(Ut,{logEntry:t})})]})}function Ft({logEntry:t}){const n=$(),s=B(),i=a.useCallback(async()=>{t.item?.id&&await s(t.item.id)},[t.item?.id,s]);return c(j,{spacing:"right",children:[e(te,{children:"Details"}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(x,{})}),e(g,{tooltip:"Close",onClick:n,children:e(P,{})})]})}const ae="log-entry-details";function Ut({logEntry:t}){const n=Z(t.details);return typeof n=="string"?e(W,{id:ae,content:n,enforceWordWrap:!0}):e(N,{id:ae,content:n})}function Wt({logEntry:t}){const[n,s]=a.useState("transport");return c(f,{children:[e(Kt,{logEntry:t,viewId:n,updateViewId:s}),e(V,{}),e(k,{children:t&&e(Vt,{logEntry:t,viewId:n})})]})}function Kt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:l}=fe(),h=$(),u=B(),r=a.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=a.useCallback((C,L)=>{s(L)},[s]);return c(j,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Request Body",value:"request-body"}),e(o,{label:"Response Body",value:"response-body"})]}),e(l,{}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:r,children:e(x,{})}),e(g,{tooltip:"Close",onClick:h,children:e(P,{})})]})}const ce="request-body",X="response-body";function Vt({logEntry:t,viewId:n}){switch(n){case"transport":return e(jt,{logEntry:t});case"request-body":{const s=Z(t.request.body);return typeof s=="string"?e(W,{id:ce,content:s}):e(N,{id:ce,content:s})}case"response-body":{const s=Z(t.response?.body);return(s===void 0||s==="")&&t.response?.error?e(N,{id:X,content:t.response.error}):typeof s=="string"?e(W,{id:X,content:s,followNewestLine:!0,scrollPositionInvalidation:t.id}):e(N,{id:X,content:s})}default:return S()}}function jt({logEntry:t}){const{request:n,response:s}=t,i=n.headers?Object.entries(n.headers):[],o=s?.headers?Object.entries(s.headers):[],l=s?.contentLength??0,h=[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(b,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(me,{status:t.status})},s?.statusCode&&{key:"status-code",name:"Status Code",description:c(f,{children:[e(ge,{statusCode:s.statusCode}),e(K,{children:s?.statusText&&`(${s.statusText})`})]})},{key:"response-size",name:"Response Size",description:v(l)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(Boolean);return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General HTTP Information",items:h,collapsible:!0}),i.length>0&&e(T,{title:"Request Headers",items:i.map(([u,r])=>({key:u,name:u,description:typeof r=="string"?r:r.join(", ")})),collapsible:!0}),o.length>0&&e(T,{title:"Response Headers",items:o.map(([u,r])=>({key:u,name:u,description:typeof r=="string"?r:r.join(", ")})),collapsible:!0})]})})})}function Yt({logEntry:t}){return c(f,{children:[e(Jt,{logEntry:t}),e(V,{}),e(k,{children:t&&e(Qt,{logEntry:t})})]})}function Jt({logEntry:t}){const n=$(),s=B(),i=a.useCallback(async()=>{t.item?.id&&await s(t.item.id,t.id)},[t.id,t.item?.id,s]);return c(j,{spacing:"right",children:[e(te,{children:"Transport"}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:i,children:e(x,{})}),e(g,{tooltip:"Close",onClick:n,children:e(P,{})})]})}function Qt({logEntry:t}){const{details:n}=t;if(!n)return null;const s=n.requestHeaders?Object.entries(n.requestHeaders):[],i=n.responseHeaders?Object.entries(n.responseHeaders):[];return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General HTTP Information",items:[{key:"url",name:"URL",description:n.uri},{key:"method",name:"Method",description:e(b,{color:"info",label:n.method})},{key:"status",name:"Status",description:e(me,{status:n.status})},n?.statusCode&&{key:"status-code",name:"Status Code",description:c(f,{children:[e(ge,{statusCode:n.statusCode}),e(K,{children:n?.statusText&&`(${n.statusText})`})]})},{key:"response-size",name:"Response Size",description:v(n.contentLength)},{key:"cache",name:"Cache",description:n.cache},n.credentials&&{key:"credentials",name:"Credentials",description:n.credentials},n.referrerPolicy&&{key:"referrer-policy",name:"Referrer Policy",description:n.referrerPolicy}].filter(Boolean),collapsible:!0}),s.length>0&&e(T,{title:"Request Headers",items:s.map(([o,l])=>({key:o,name:o,description:l})),collapsible:!0}),i.length>0&&e(T,{title:"Response Headers",items:i.map(([o,l])=>({key:o,name:o,description:l})),collapsible:!0})]})})})}function Xt({logEntry:t}){const[n,s]=a.useState("transport");return c(f,{children:[e(Zt,{logEntry:t,viewId:n,updateViewId:s}),e(V,{}),e(k,{children:t&&e(nn,{logEntry:t,viewId:n})})]})}function Zt({logEntry:t,viewId:n,updateViewId:s}){const{Tabs:i,Tab:o,MoreTabs:l}=fe(),h=$(),u=B(),r=a.useCallback(async()=>{t.item?.id&&await u(t.item.id,t.id)},[t.id,t.item?.id,u]),p=a.useCallback((C,L)=>{s(L)},[s]);return c(j,{spacing:"right",children:[c(i,{value:n,"aria-label":"Log Entry Details",onChange:p,children:[e(o,{label:"Transport",value:"transport"}),e(o,{label:"Messages",value:"messages"}),e(o,{label:"Problems",value:"problems"})]}),e(l,{}),e(z,{}),t.item?.id&&e(g,{tooltip:"Go to result item",onClick:r,children:e(x,{})}),e(g,{tooltip:"Close",onClick:h,children:e(P,{})})]})}const en="subscription-data",tn="subscription-error";function nn({logEntry:t,viewId:n}){switch(n){case"messages":return e(W,{id:en,content:t.data,followNewestLine:!0,scrollPositionInvalidation:t.id});case"problems":return e(N,{id:tn,content:t.error});case"transport":return e(sn,{logEntry:t});default:return S()}}function sn({logEntry:t}){const n=t.connectionParams?Object.entries(t.connectionParams):[];return e(k,{children:e(ne,{children:c(se,{children:[e(T,{title:"General Information",items:[{key:"url",name:"URL",description:t.uri},{key:"protocol",name:"Protocol",description:c(f,{children:[e(b,{color:"info",label:ue(t.protocol)}),c(K,{children:["(",t.protocol,")"]})]})},{key:"status",name:"Status",description:c(f,{children:[e(he,{status:t.status}),c(K,{children:["(",t.status,")"]})]})},{key:"messages",name:"Messages",description:t.messages},{key:"response-size",name:"Response Size",description:v(t.contentLength)}],collapsible:!0}),n.length>0&&e(T,{title:"Connection Parameters",items:n.map(([s,i])=>({key:s,name:s,description:i})),collapsible:!0})]})})})}function on(){const t=lt();return t?e(dt,{$separator:"left",children:e(rn,{logEntry:t})}):null}function rn({logEntry:t}){const{kind:n}=t;switch(n){case"basic":return e(Gt,{logEntry:t});case"http-request":return e(Wt,{logEntry:t});case"scope":return e(Yt,{logEntry:t});case"subscription-request":return e(Xt,{logEntry:t});default:return S()}}const le="log";function an(){const t=ut(),n=ht(le),s=pt(),i=It(le);return c(cn,{role:"toolbar",children:[e(ft,{searchTerm:n,onSearchTermChange:i}),e(g,{tooltip:"Clear Log",disabled:!t,onClick:s,children:e(mt,{})})]})}const cn=D("div")(({theme:t})=>w`
28
28
  display: flex;
29
29
  flex: 1 1 auto;
30
30
  flex-direction: row;
31
31
  max-width: ${t.spacing(300)};
32
- `);function gn(){const t=gt(),n=$(),s=a.useCallback(()=>{t(),n()},[t,n]);return c(f,{children:[c(Ct,{children:[e(ln,{}),e(z,{}),e(an,{}),e(dn,{}),e(g,{onClick:s,children:e(P,{})})]}),e(Tt,{children:e(Lt,{children:e(un,{})})})]})}function ln(){const{all:t}=bt();return c(te,{children:["Log (",t,")"]})}function dn(){const t=St(),n=kt();return Rt()?e(g,{tooltip:"Minimize",onClick:n,children:e(Dt,{})}):e(g,{tooltip:"Maximize",onClick:t,children:e(wt,{})})}function un(){const t=vt(),n=xt(),s=_t();return e(Nt,{id:"log",asideCollapsible:!0,asideCollapsed:t===null,asideWidth:n,leftContent:e(hn,{}),mainPane:"left",relativeWidth:!0,rightContent:e(pn,{}),onAsideWidthChange:s})}const hn=a.memo(yt),pn=a.memo(on);export{gn as default};
32
+ `);function gn(){const t=gt(),n=$(),s=a.useCallback(()=>{t(),n()},[t,n]);return c(f,{children:[c(Ct,{children:[e(ln,{}),e(z,{}),e(an,{}),e(dn,{}),e(g,{onClick:s,children:e(P,{})})]}),e(bt,{children:e(Lt,{children:e(un,{})})})]})}function ln(){const{all:t}=Tt();return c(te,{children:["Log (",t,")"]})}function dn(){const t=St(),n=kt();return Rt()?e(g,{tooltip:"Minimize",onClick:n,children:e(Dt,{})}):e(g,{tooltip:"Maximize",onClick:t,children:e(wt,{})})}function un(){const t=vt(),n=xt(),s=_t();return e(Nt,{id:"log",asideCollapsible:!0,asideCollapsed:t===null,asideWidth:n,leftContent:e(hn,{}),mainPane:"left",relativeWidth:!0,rightContent:e(pn,{}),onAsideWidthChange:s})}const hn=a.memo(yt),pn=a.memo(on);export{gn as default};
@@ -1,4 +1,4 @@
1
- import{S as xr,E as wr,p as Ye}from"./monaco.1b6d2927.D8cKmZSf.js";let ot=!1;function cr(e){if(ot)return;ot=!0;const r=new xr(i=>{globalThis.postMessage(i)},i=>new wr(i,e));globalThis.onmessage=i=>{r.onmessage(i.data)}}globalThis.onmessage=e=>{ot||cr(null)};function At(e,r){r===void 0&&(r=!1);var i=e.length,t=0,n="",a=0,s=16,o=0,f=0,l=0,c=0,u=0;function h(m,I){for(var E=0,x=0;E<m;){var w=e.charCodeAt(t);if(w>=48&&w<=57)x=x*16+w-48;else if(w>=65&&w<=70)x=x*16+w-65+10;else if(w>=97&&w<=102)x=x*16+w-97+10;else break;t++,E++}return E<m&&(x=-1),x}function g(m){t=m,n="",a=0,s=16,u=0}function d(){var m=t;if(e.charCodeAt(t)===48)t++;else for(t++;t<e.length&&be(e.charCodeAt(t));)t++;if(t<e.length&&e.charCodeAt(t)===46)if(t++,t<e.length&&be(e.charCodeAt(t)))for(t++;t<e.length&&be(e.charCodeAt(t));)t++;else return u=3,e.substring(m,t);var I=t;if(t<e.length&&(e.charCodeAt(t)===69||e.charCodeAt(t)===101))if(t++,(t<e.length&&e.charCodeAt(t)===43||e.charCodeAt(t)===45)&&t++,t<e.length&&be(e.charCodeAt(t))){for(t++;t<e.length&&be(e.charCodeAt(t));)t++;I=t}else u=3;return e.substring(m,I)}function v(){for(var m="",I=t;;){if(t>=i){m+=e.substring(I,t),u=2;break}var E=e.charCodeAt(t);if(E===34){m+=e.substring(I,t),t++;break}if(E===92){if(m+=e.substring(I,t),t++,t>=i){u=2;break}var x=e.charCodeAt(t++);switch(x){case 34:m+='"';break;case 92:m+="\\";break;case 47:m+="/";break;case 98:m+="\b";break;case 102:m+="\f";break;case 110:m+=`
1
+ import{S as xr,E as wr,p as Ye}from"./monaco.95a3312f.DcDKtmta.js";let ot=!1;function cr(e){if(ot)return;ot=!0;const r=new xr(i=>{globalThis.postMessage(i)},i=>new wr(i,e));globalThis.onmessage=i=>{r.onmessage(i.data)}}globalThis.onmessage=e=>{ot||cr(null)};function At(e,r){r===void 0&&(r=!1);var i=e.length,t=0,n="",a=0,s=16,o=0,f=0,l=0,c=0,u=0;function h(m,I){for(var E=0,x=0;E<m;){var w=e.charCodeAt(t);if(w>=48&&w<=57)x=x*16+w-48;else if(w>=65&&w<=70)x=x*16+w-65+10;else if(w>=97&&w<=102)x=x*16+w-97+10;else break;t++,E++}return E<m&&(x=-1),x}function g(m){t=m,n="",a=0,s=16,u=0}function d(){var m=t;if(e.charCodeAt(t)===48)t++;else for(t++;t<e.length&&be(e.charCodeAt(t));)t++;if(t<e.length&&e.charCodeAt(t)===46)if(t++,t<e.length&&be(e.charCodeAt(t)))for(t++;t<e.length&&be(e.charCodeAt(t));)t++;else return u=3,e.substring(m,t);var I=t;if(t<e.length&&(e.charCodeAt(t)===69||e.charCodeAt(t)===101))if(t++,(t<e.length&&e.charCodeAt(t)===43||e.charCodeAt(t)===45)&&t++,t<e.length&&be(e.charCodeAt(t))){for(t++;t<e.length&&be(e.charCodeAt(t));)t++;I=t}else u=3;return e.substring(m,I)}function v(){for(var m="",I=t;;){if(t>=i){m+=e.substring(I,t),u=2;break}var E=e.charCodeAt(t);if(E===34){m+=e.substring(I,t),t++;break}if(E===92){if(m+=e.substring(I,t),t++,t>=i){u=2;break}var x=e.charCodeAt(t++);switch(x){case 34:m+='"';break;case 92:m+="\\";break;case 47:m+="/";break;case 98:m+="\b";break;case 102:m+="\f";break;case 110:m+=`
2
2
  `;break;case 114:m+="\r";break;case 116:m+=" ";break;case 117:var w=h(4);w>=0?m+=String.fromCharCode(w):u=4;break;default:u=5}I=t;continue}if(E>=0&&E<=31)if(Te(E)){m+=e.substring(I,t),u=2;break}else u=6;t++}return m}function p(){if(n="",u=0,a=t,f=o,c=l,t>=i)return a=i,s=17;var m=e.charCodeAt(t);if(Ke(m)){do t++,n+=String.fromCharCode(m),m=e.charCodeAt(t);while(Ke(m));return s=15}if(Te(m))return t++,n+=String.fromCharCode(m),m===13&&e.charCodeAt(t)===10&&(t++,n+=`
3
3
  `),o++,l=t,s=14;switch(m){case 123:return t++,s=1;case 125:return t++,s=2;case 91:return t++,s=3;case 93:return t++,s=4;case 58:return t++,s=6;case 44:return t++,s=5;case 34:return t++,n=v(),s=10;case 47:var I=t-1;if(e.charCodeAt(t+1)===47){for(t+=2;t<i&&!Te(e.charCodeAt(t));)t++;return n=e.substring(I,t),s=12}if(e.charCodeAt(t+1)===42){t+=2;for(var E=i-1,x=!1;t<E;){var w=e.charCodeAt(t);if(w===42&&e.charCodeAt(t+1)===47){t+=2,x=!0;break}t++,Te(w)&&(w===13&&e.charCodeAt(t)===10&&t++,o++,l=t)}return x||(t++,u=1),n=e.substring(I,t),s=13}return n+=String.fromCharCode(m),t++,s=16;case 45:if(n+=String.fromCharCode(m),t++,t===i||!be(e.charCodeAt(t)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=d(),s=11;default:for(;t<i&&A(m);)t++,m=e.charCodeAt(t);if(a!==t){switch(n=e.substring(a,t),n){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return n+=String.fromCharCode(m),t++,s=16}}function A(m){if(Ke(m)||Te(m))return!1;switch(m){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function b(){var m;do m=p();while(m>=12&&m<=15);return m}return{setPosition:g,getPosition:function(){return t},scan:r?b:p,getToken:function(){return s},getTokenValue:function(){return n},getTokenOffset:function(){return a},getTokenLength:function(){return t-a},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return a-c},getTokenError:function(){return u}}}function Ke(e){return e===32||e===9||e===11||e===12||e===160||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Te(e){return e===10||e===13||e===8232||e===8233}function be(e){return e>=48&&e<=57}function Tr(e,r,i){var t,n,a,s,o;if(r){for(s=r.offset,o=s+r.length,a=s;a>0&&!Ot(e,a-1);)a--;for(var f=o;f<e.length&&!Ot(e,f);)f++;n=e.substring(a,f),t=kr(n,i)}else n=e,t=0,a=0,s=0,o=e.length;var l=Or(i,e),c=!1,u=0,h;i.insertSpaces?h=et(" ",i.tabSize||4):h=" ";var g=At(n,!1),d=!1;function v(){return l+et(h,t+u)}function p(){var V=g.scan();for(c=!1;V===15||V===14;)c=c||V===14,V=g.scan();return d=V===16||g.getTokenError()!==0,V}var A=[];function b(V,F,R){!d&&(!r||F<o&&R>s)&&e.substring(F,R)!==V&&A.push({offset:F,length:R-F,content:V})}var m=p();if(m!==17){var I=g.getTokenOffset()+a,E=et(h,t);b(E,a,I)}for(;m!==17;){for(var x=g.getTokenOffset()+g.getTokenLength()+a,w=p(),C="",T=!1;!c&&(w===12||w===13);){var N=g.getTokenOffset()+a;b(" ",x,N),x=g.getTokenOffset()+g.getTokenLength()+a,T=w===12,C=T?v():"",w=p()}if(w===2)m!==1&&(u--,C=v());else if(w===4)m!==3&&(u--,C=v());else{switch(m){case 3:case 1:u++,C=v();break;case 5:case 12:C=v();break;case 13:c?C=v():T||(C=" ");break;case 6:T||(C=" ");break;case 10:if(w===6){T||(C="");break}case 7:case 8:case 9:case 11:case 2:case 4:w===12||w===13?T||(C=" "):w!==5&&w!==17&&(d=!0);break;case 16:d=!0;break}c&&(w===12||w===13)&&(C=v())}w===17&&(C=i.insertFinalNewline?l:"");var M=g.getTokenOffset()+a;b(C,x,M),m=w}return A}function et(e,r){for(var i="",t=0;t<r;t++)i+=e;return i}function kr(e,r){for(var i=0,t=0,n=r.tabSize||4;i<e.length;){var a=e.charAt(i);if(a===" ")t++;else if(a===" ")t+=n;else break;i++}return Math.floor(t/n)}function Or(e,r){for(var i=0;i<r.length;i++){var t=r.charAt(i);if(t==="\r")return i+1<r.length&&r.charAt(i+1)===`
4
4
  `?`\r
@@ -1,4 +1,4 @@
1
- import{m as Ye}from"./monaco.1b6d2927.C_tZzruq.js";/*!-----------------------------------------------------------------------------
1
+ import{m as Ye}from"./monaco.95a3312f.o2zwpORe.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
4
4
  * Released under the MIT license