prisma
Version:
Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.
2 lines • 2.64 MB
JavaScript
#!/usr/bin/env node
"use strict";var wot=Object.create;var UO=Object.defineProperty;var Sot=Object.getOwnPropertyDescriptor;var _ot=Object.getOwnPropertyNames;var Tot=Object.getPrototypeOf,Dot=Object.prototype.hasOwnProperty;var ft=(e,r)=>()=>(e&&(r=e(e=0)),r);var A=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Ho=(e,r)=>{for(var n in r)UO(e,n,{get:r[n],enumerable:!0})},jO=(e,r,n,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of _ot(r))!Dot.call(e,i)&&i!==n&&UO(e,i,{get:()=>r[i],enumerable:!(o=Sot(r,i))||o.enumerable});return e},qO=(e,r,n)=>(jO(e,r,"default"),n&&jO(n,r,"default")),G=(e,r,n)=>(n=e!=null?wot(Tot(e)):{},jO(r||!e||!e.__esModule?UO(n,"default",{value:e,enumerable:!0}):n,e)),GO=e=>jO(UO({},"__esModule",{value:!0}),e);var Xpe,efe=ft(()=>{"use strict";Xpe=typeof globalThis=="object"?globalThis:global});var tfe=ft(()=>{"use strict";efe()});var rfe=ft(()=>{"use strict";tfe()});var Vf,Zj=ft(()=>{"use strict";Vf="1.9.0"});function Cot(e){var r=new Set([e]),n=new Set,o=e.match(nfe);if(!o)return function(){return!1};var i={major:+o[1],minor:+o[2],patch:+o[3],prerelease:o[4]};if(i.prerelease!=null)return function(l){return l===e};function a(u){return n.add(u),!1}function c(u){return r.add(u),!0}return function(l){if(r.has(l))return!0;if(n.has(l))return!1;var p=l.match(nfe);if(!p)return a(l);var f={major:+p[1],minor:+p[2],patch:+p[3],prerelease:p[4]};return f.prerelease!=null||i.major!==f.major?a(l):i.major===0?i.minor===f.minor&&i.patch<=f.patch?c(l):a(l):i.minor<=f.minor?c(l):a(l)}}var nfe,ofe,ife=ft(()=>{"use strict";Zj();nfe=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;ofe=Cot(Vf)});function xp(e,r,n,o){var i;o===void 0&&(o=!1);var a=T_[__]=(i=T_[__])!==null&&i!==void 0?i:{version:Vf};if(!o&&a[e]){var c=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(c.stack||c.message),!1}if(a.version!==Vf){var c=new Error("@opentelemetry/api: Registration of version v"+a.version+" for "+e+" does not match previously registered API v"+Vf);return n.error(c.stack||c.message),!1}return a[e]=r,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+Vf+"."),!0}function oc(e){var r,n,o=(r=T_[__])===null||r===void 0?void 0:r.version;if(!(!o||!ofe(o)))return(n=T_[__])===null||n===void 0?void 0:n[e]}function bp(e,r){r.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+Vf+".");var n=T_[__];n&&delete n[e]}var Aot,__,T_,R0=ft(()=>{"use strict";rfe();Zj();ife();Aot=Vf.split(".")[0],__=Symbol.for("opentelemetry.js.api."+Aot),T_=Xpe});function D_(e,r,n){var o=oc("diag");if(o)return n.unshift(r),o[e].apply(o,Oot([],Pot(n),!1))}var Pot,Oot,sfe,afe=ft(()=>{"use strict";R0();Pot=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},Oot=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},sfe=function(){function e(r){this._namespace=r.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D_("debug",this._namespace,r)},e.prototype.error=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D_("error",this._namespace,r)},e.prototype.info=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D_("info",this._namespace,r)},e.prototype.warn=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D_("warn",this._namespace,r)},e.prototype.verbose=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return D_("verbose",this._namespace,r)},e}()});var Zi,HO=ft(()=>{"use strict";(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(Zi||(Zi={}))});function cfe(e,r){e<Zi.NONE?e=Zi.NONE:e>Zi.ALL&&(e=Zi.ALL),r=r||{};function n(o,i){var a=r[o];return typeof a=="function"&&e>=i?a.bind(r):function(){}}return{error:n("error",Zi.ERROR),warn:n("warn",Zi.WARN),info:n("info",Zi.INFO),debug:n("debug",Zi.DEBUG),verbose:n("verbose",Zi.VERBOSE)}}var ufe=ft(()=>{"use strict";HO()});var Fot,Rot,Iot,Es,I0=ft(()=>{"use strict";afe();ufe();HO();R0();Fot=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},Rot=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},Iot="diag",Es=function(){function e(){function r(i){return function(){for(var a=[],c=0;c<arguments.length;c++)a[c]=arguments[c];var u=oc("diag");if(u)return u[i].apply(u,Rot([],Fot(a),!1))}}var n=this,o=function(i,a){var c,u,l;if(a===void 0&&(a={logLevel:Zi.INFO}),i===n){var p=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error((c=p.stack)!==null&&c!==void 0?c:p.message),!1}typeof a=="number"&&(a={logLevel:a});var f=oc("diag"),g=cfe((u=a.logLevel)!==null&&u!==void 0?u:Zi.INFO,i);if(f&&!a.suppressOverrideMessage){var b=(l=new Error().stack)!==null&&l!==void 0?l:"<failed to generate stacktrace>";f.warn("Current logger will be overwritten from "+b),g.warn("Current logger will overwrite one already registered from "+b)}return xp("diag",g,n,!0)};n.setLogger=o,n.disable=function(){bp(Iot,n)},n.createComponentLogger=function(i){return new sfe(i)},n.verbose=r("verbose"),n.debug=r("debug"),n.info=r("info"),n.warn=r("warn"),n.error=r("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()});var Mot,kot,lfe,pfe=ft(()=>{"use strict";Mot=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},kot=function(e){var r=typeof Symbol=="function"&&Symbol.iterator,n=r&&e[r],o=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},lfe=function(){function e(r){this._entries=r?new Map(r):new Map}return e.prototype.getEntry=function(r){var n=this._entries.get(r);if(n)return Object.assign({},n)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(r){var n=Mot(r,2),o=n[0],i=n[1];return[o,i]})},e.prototype.setEntry=function(r,n){var o=new e(this._entries);return o._entries.set(r,n),o},e.prototype.removeEntry=function(r){var n=new e(this._entries);return n._entries.delete(r),n},e.prototype.removeEntries=function(){for(var r,n,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var a=new e(this._entries);try{for(var c=kot(o),u=c.next();!u.done;u=c.next()){var l=u.value;a._entries.delete(l)}}catch(p){r={error:p}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}return a},e.prototype.clear=function(){return new e},e}()});var ffe,dfe=ft(()=>{"use strict";ffe=Symbol("BaggageEntryMetadata")});function mfe(e){return e===void 0&&(e={}),new lfe(new Map(Object.entries(e)))}function hfe(e){return typeof e!="string"&&($ot.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:ffe,toString:function(){return e}}}var $ot,Qj=ft(()=>{"use strict";I0();pfe();dfe();$ot=Es.instance()});function Ym(e){return Symbol.for(e)}var Not,WO,C_=ft(()=>{"use strict";Not=function(){function e(r){var n=this;n._currentContext=r?new Map(r):new Map,n.getValue=function(o){return n._currentContext.get(o)},n.setValue=function(o,i){var a=new e(n._currentContext);return a._currentContext.set(o,i),a},n.deleteValue=function(o){var i=new e(n._currentContext);return i._currentContext.delete(o),i}}return e}(),WO=new Not});var Xj,gfe,yfe=ft(()=>{"use strict";Xj=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],gfe=function(){function e(){function r(o){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(console){var c=console[o];if(typeof c!="function"&&(c=console.log),typeof c=="function")return c.apply(console,i)}}}for(var n=0;n<Xj.length;n++)this[Xj[n].n]=r(Xj[n].c)}return e}()});function xfe(){return t9}var M0,Lot,VO,Bot,jot,Uot,qot,e9,Got,Hot,Wot,t9,Vot,zot,Kot,Jot,Yot,Zot,Qot,r9=ft(()=>{"use strict";M0=function(){var e=function(r,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])},e(r,n)};return function(r,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function o(){this.constructor=r}r.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}}(),Lot=function(){function e(){}return e.prototype.createGauge=function(r,n){return zot},e.prototype.createHistogram=function(r,n){return Kot},e.prototype.createCounter=function(r,n){return Vot},e.prototype.createUpDownCounter=function(r,n){return Jot},e.prototype.createObservableGauge=function(r,n){return Zot},e.prototype.createObservableCounter=function(r,n){return Yot},e.prototype.createObservableUpDownCounter=function(r,n){return Qot},e.prototype.addBatchObservableCallback=function(r,n){},e.prototype.removeBatchObservableCallback=function(r){},e}(),VO=function(){function e(){}return e}(),Bot=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(n,o){},r}(VO),jot=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.add=function(n,o){},r}(VO),Uot=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(n,o){},r}(VO),qot=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r.prototype.record=function(n,o){},r}(VO),e9=function(){function e(){}return e.prototype.addCallback=function(r){},e.prototype.removeCallback=function(r){},e}(),Got=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(e9),Hot=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(e9),Wot=function(e){M0(r,e);function r(){return e!==null&&e.apply(this,arguments)||this}return r}(e9),t9=new Lot,Vot=new Bot,zot=new Uot,Kot=new qot,Jot=new jot,Yot=new Got,Zot=new Hot,Qot=new Wot});var zO,bfe=ft(()=>{"use strict";(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(zO||(zO={}))});var KO,JO,n9=ft(()=>{"use strict";KO={get:function(e,r){if(e!=null)return e[r]},keys:function(e){return e==null?[]:Object.keys(e)}},JO={set:function(e,r,n){e!=null&&(e[r]=n)}}});var Xot,eit,vfe,Efe=ft(()=>{"use strict";C_();Xot=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},eit=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},vfe=function(){function e(){}return e.prototype.active=function(){return WO},e.prototype.with=function(r,n,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];return n.call.apply(n,eit([o],Xot(i),!1))},e.prototype.bind=function(r,n){return n},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}()});var tit,rit,o9,nit,Zm,A_=ft(()=>{"use strict";Efe();R0();I0();tit=function(e,r){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),i,a=[],c;try{for(;(r===void 0||r-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(u){c={error:u}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(c)throw c.error}}return a},rit=function(e,r,n){if(n||arguments.length===2)for(var o=0,i=r.length,a;o<i;o++)(a||!(o in r))&&(a||(a=Array.prototype.slice.call(r,0,o)),a[o]=r[o]);return e.concat(a||Array.prototype.slice.call(r))},o9="context",nit=new vfe,Zm=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(r){return xp(o9,r,Es.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(r,n,o){for(var i,a=[],c=3;c<arguments.length;c++)a[c-3]=arguments[c];return(i=this._getContextManager()).with.apply(i,rit([r,n,o],tit(a),!1))},e.prototype.bind=function(r,n){return this._getContextManager().bind(r,n)},e.prototype._getContextManager=function(){return oc(o9)||nit},e.prototype.disable=function(){this._getContextManager().disable(),bp(o9,Es.instance())},e}()});var Jc,i9=ft(()=>{"use strict";(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(Jc||(Jc={}))});var P_,O_,Av,YO=ft(()=>{"use strict";i9();P_="0000000000000000",O_="00000000000000000000000000000000",Av={traceId:O_,spanId:P_,traceFlags:Jc.NONE}});var Qm,ZO=ft(()=>{"use strict";YO();Qm=function(){function e(r){r===void 0&&(r=Av),this._spanContext=r}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(r,n){return this},e.prototype.setAttributes=function(r){return this},e.prototype.addEvent=function(r,n){return this},e.prototype.addLink=function(r){return this},e.prototype.addLinks=function(r){return this},e.prototype.setStatus=function(r){return this},e.prototype.updateName=function(r){return this},e.prototype.end=function(r){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(r,n){},e}()});function QO(e){return e.getValue(s9)||void 0}function wfe(){return QO(Zm.getInstance().active())}function F_(e,r){return e.setValue(s9,r)}function Sfe(e){return e.deleteValue(s9)}function _fe(e,r){return F_(e,new Qm(r))}function XO(e){var r;return(r=QO(e))===null||r===void 0?void 0:r.spanContext()}var s9,a9=ft(()=>{"use strict";C_();ZO();A_();s9=Ym("OpenTelemetry Context Key SPAN")});function R_(e){return oit.test(e)&&e!==O_}function c9(e){return iit.test(e)&&e!==P_}function Xm(e){return R_(e.traceId)&&c9(e.spanId)}function Tfe(e){return new Qm(e)}var oit,iit,eF=ft(()=>{"use strict";YO();ZO();oit=/^([0-9a-f]{32})$/i,iit=/^[0-9a-f]{16}$/i});function sit(e){return typeof e=="object"&&typeof e.spanId=="string"&&typeof e.traceId=="string"&&typeof e.traceFlags=="number"}var u9,tF,l9=ft(()=>{"use strict";A_();a9();ZO();eF();u9=Zm.getInstance(),tF=function(){function e(){}return e.prototype.startSpan=function(r,n,o){o===void 0&&(o=u9.active());var i=!!n?.root;if(i)return new Qm;var a=o&&XO(o);return sit(a)&&Xm(a)?new Qm(a):new Qm},e.prototype.startActiveSpan=function(r,n,o,i){var a,c,u;if(!(arguments.length<2)){arguments.length===2?u=n:arguments.length===3?(a=n,u=o):(a=n,c=o,u=i);var l=c??u9.active(),p=this.startSpan(r,a,l),f=F_(l,p);return u9.with(f,u,void 0,p)}},e}()});var ait,rF,p9=ft(()=>{"use strict";l9();ait=new tF,rF=function(){function e(r,n,o,i){this._provider=r,this.name=n,this.version=o,this.options=i}return e.prototype.startSpan=function(r,n,o){return this._getTracer().startSpan(r,n,o)},e.prototype.startActiveSpan=function(r,n,o,i){var a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):ait},e}()});var Dfe,Cfe=ft(()=>{"use strict";l9();Dfe=function(){function e(){}return e.prototype.getTracer=function(r,n,o){return new tF},e}()});var cit,I_,f9=ft(()=>{"use strict";p9();Cfe();cit=new Dfe,I_=function(){function e(){}return e.prototype.getTracer=function(r,n,o){var i;return(i=this.getDelegateTracer(r,n,o))!==null&&i!==void 0?i:new rF(this,r,n,o)},e.prototype.getDelegate=function(){var r;return(r=this._delegate)!==null&&r!==void 0?r:cit},e.prototype.setDelegate=function(r){this._delegate=r},e.prototype.getDelegateTracer=function(r,n,o){var i;return(i=this._delegate)===null||i===void 0?void 0:i.getTracer(r,n,o)},e}()});var k0,Afe=ft(()=>{"use strict";(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(k0||(k0={}))});var Pv,Pfe=ft(()=>{"use strict";(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(Pv||(Pv={}))});var Ov,Ofe=ft(()=>{"use strict";(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(Ov||(Ov={}))});function Ffe(e){return pit.test(e)}function Rfe(e){return fit.test(e)&&!dit.test(e)}var d9,uit,lit,pit,fit,dit,Ife=ft(()=>{"use strict";d9="[_0-9a-z-*/]",uit="[a-z]"+d9+"{0,255}",lit="[a-z0-9]"+d9+"{0,240}@[a-z]"+d9+"{0,13}",pit=new RegExp("^(?:"+uit+"|"+lit+")$"),fit=/^[ -~]{0,255}[!-~]$/,dit=/,|=/});var Mfe,mit,kfe,$fe,Nfe,Lfe=ft(()=>{"use strict";Ife();Mfe=32,mit=512,kfe=",",$fe="=",Nfe=function(){function e(r){this._internalState=new Map,r&&this._parse(r)}return e.prototype.set=function(r,n){var o=this._clone();return o._internalState.has(r)&&o._internalState.delete(r),o._internalState.set(r,n),o},e.prototype.unset=function(r){var n=this._clone();return n._internalState.delete(r),n},e.prototype.get=function(r){return this._internalState.get(r)},e.prototype.serialize=function(){var r=this;return this._keys().reduce(function(n,o){return n.push(o+$fe+r.get(o)),n},[]).join(kfe)},e.prototype._parse=function(r){r.length>mit||(this._internalState=r.split(kfe).reverse().reduce(function(n,o){var i=o.trim(),a=i.indexOf($fe);if(a!==-1){var c=i.slice(0,a),u=i.slice(a+1,o.length);Ffe(c)&&Rfe(u)&&n.set(c,u)}return n},new Map),this._internalState.size>Mfe&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,Mfe))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var r=new e;return r._internalState=new Map(this._internalState),r},e}()});function Bfe(e){return new Nfe(e)}var jfe=ft(()=>{"use strict";Lfe()});var zf,Ufe=ft(()=>{"use strict";A_();zf=Zm.getInstance()});var hr,qfe=ft(()=>{"use strict";I0();hr=Es.instance()});var hit,Gfe,Hfe=ft(()=>{"use strict";r9();hit=function(){function e(){}return e.prototype.getMeter=function(r,n,o){return t9},e}(),Gfe=new hit});var m9,Wfe,Vfe=ft(()=>{"use strict";Hfe();R0();I0();m9="metrics",Wfe=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(r){return xp(m9,r,Es.instance())},e.prototype.getMeterProvider=function(){return oc(m9)||Gfe},e.prototype.getMeter=function(r,n,o){return this.getMeterProvider().getMeter(r,n,o)},e.prototype.disable=function(){bp(m9,Es.instance())},e}()});var h9,zfe=ft(()=>{"use strict";Vfe();h9=Wfe.getInstance()});var Kfe,Jfe=ft(()=>{"use strict";Kfe=function(){function e(){}return e.prototype.inject=function(r,n){},e.prototype.extract=function(r,n){return r},e.prototype.fields=function(){return[]},e}()});function y9(e){return e.getValue(g9)||void 0}function Yfe(){return y9(Zm.getInstance().active())}function Zfe(e,r){return e.setValue(g9,r)}function Qfe(e){return e.deleteValue(g9)}var g9,Xfe=ft(()=>{"use strict";A_();C_();g9=Ym("OpenTelemetry Baggage Key")});var x9,git,ede,tde=ft(()=>{"use strict";R0();Jfe();n9();Xfe();Qj();I0();x9="propagation",git=new Kfe,ede=function(){function e(){this.createBaggage=mfe,this.getBaggage=y9,this.getActiveBaggage=Yfe,this.setBaggage=Zfe,this.deleteBaggage=Qfe}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(r){return xp(x9,r,Es.instance())},e.prototype.inject=function(r,n,o){return o===void 0&&(o=JO),this._getGlobalPropagator().inject(r,n,o)},e.prototype.extract=function(r,n,o){return o===void 0&&(o=KO),this._getGlobalPropagator().extract(r,n,o)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){bp(x9,Es.instance())},e.prototype._getGlobalPropagator=function(){return oc(x9)||git},e}()});var b9,rde=ft(()=>{"use strict";tde();b9=ede.getInstance()});var v9,nde,ode=ft(()=>{"use strict";R0();f9();eF();a9();I0();v9="trace",nde=function(){function e(){this._proxyTracerProvider=new I_,this.wrapSpanContext=Tfe,this.isSpanContextValid=Xm,this.deleteSpan=Sfe,this.getSpan=QO,this.getActiveSpan=wfe,this.getSpanContext=XO,this.setSpan=F_,this.setSpanContext=_fe}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(r){var n=xp(v9,this._proxyTracerProvider,Es.instance());return n&&this._proxyTracerProvider.setDelegate(r),n},e.prototype.getTracerProvider=function(){return oc(v9)||this._proxyTracerProvider},e.prototype.getTracer=function(r,n){return this.getTracerProvider().getTracer(r,n)},e.prototype.disable=function(){bp(v9,Es.instance()),this._proxyTracerProvider=new I_},e}()});var ha,ide=ft(()=>{"use strict";ode();ha=nde.getInstance()});var nF={};Ho(nF,{DiagConsoleLogger:()=>gfe,DiagLogLevel:()=>Zi,INVALID_SPANID:()=>P_,INVALID_SPAN_CONTEXT:()=>Av,INVALID_TRACEID:()=>O_,ProxyTracer:()=>rF,ProxyTracerProvider:()=>I_,ROOT_CONTEXT:()=>WO,SamplingDecision:()=>k0,SpanKind:()=>Pv,SpanStatusCode:()=>Ov,TraceFlags:()=>Jc,ValueType:()=>zO,baggageEntryMetadataFromString:()=>hfe,context:()=>zf,createContextKey:()=>Ym,createNoopMeter:()=>xfe,createTraceState:()=>Bfe,default:()=>yit,defaultTextMapGetter:()=>KO,defaultTextMapSetter:()=>JO,diag:()=>hr,isSpanContextValid:()=>Xm,isValidSpanId:()=>c9,isValidTraceId:()=>R_,metrics:()=>h9,propagation:()=>b9,trace:()=>ha});var yit,ga=ft(()=>{"use strict";Qj();C_();yfe();HO();r9();bfe();n9();p9();f9();Afe();Pfe();Ofe();i9();jfe();eF();YO();Ufe();qfe();zfe();rde();ide();yit={context:zf,diag:hr,metrics:h9,propagation:b9,trace:ha}});var w9=A(oF=>{"use strict";Object.defineProperty(oF,"__esModule",{value:!0});oF.AbstractAsyncHooksContextManager=void 0;var xit=require("events"),bit=["addListener","on","once","prependListener","prependOnceListener"],E9=class{bind(r,n){return n instanceof xit.EventEmitter?this._bindEventEmitter(r,n):typeof n=="function"?this._bindFunction(r,n):n}_bindFunction(r,n){let o=this,i=function(...a){return o.with(r,()=>n.apply(this,a))};return Object.defineProperty(i,"length",{enumerable:!1,configurable:!0,writable:!1,value:n.length}),i}_bindEventEmitter(r,n){return this._getPatchMap(n)!==void 0||(this._createPatchMap(n),bit.forEach(i=>{n[i]!==void 0&&(n[i]=this._patchAddListener(n,n[i],r))}),typeof n.removeListener=="function"&&(n.removeListener=this._patchRemoveListener(n,n.removeListener)),typeof n.off=="function"&&(n.off=this._patchRemoveListener(n,n.off)),typeof n.removeAllListeners=="function"&&(n.removeAllListeners=this._patchRemoveAllListeners(n,n.removeAllListeners))),n}_patchRemoveListener(r,n){let o=this;return function(i,a){let c=o._getPatchMap(r)?.[i];if(c===void 0)return n.call(this,i,a);let u=c.get(a);return n.call(this,i,u||a)}}_patchRemoveAllListeners(r,n){let o=this;return function(i){let a=o._getPatchMap(r);return a!==void 0&&(arguments.length===0?o._createPatchMap(r):a[i]!==void 0&&delete a[i]),n.apply(this,arguments)}}_patchAddListener(r,n,o){let i=this;return function(a,c){if(i._wrapped)return n.call(this,a,c);let u=i._getPatchMap(r);u===void 0&&(u=i._createPatchMap(r));let l=u[a];l===void 0&&(l=new WeakMap,u[a]=l);let p=i.bind(o,c);l.set(c,p),i._wrapped=!0;try{return n.call(this,a,p)}finally{i._wrapped=!1}}}_createPatchMap(r){let n=Object.create(null);return r[this._kOtListeners]=n,n}_getPatchMap(r){return r[this._kOtListeners]}_kOtListeners=Symbol("OtListeners");_wrapped=!1};oF.AbstractAsyncHooksContextManager=E9});var sde=A(iF=>{"use strict";Object.defineProperty(iF,"__esModule",{value:!0});iF.AsyncHooksContextManager=void 0;var vit=(ga(),GO(nF)),Eit=require("async_hooks"),wit=w9(),S9=class extends wit.AbstractAsyncHooksContextManager{_asyncHook;_contexts=new Map;_stack=[];constructor(){super(),this._asyncHook=Eit.createHook({init:this._init.bind(this),before:this._before.bind(this),after:this._after.bind(this),destroy:this._destroy.bind(this),promiseResolve:this._destroy.bind(this)})}active(){return this._stack[this._stack.length-1]??vit.ROOT_CONTEXT}with(r,n,o,...i){this._enterContext(r);try{return n.call(o,...i)}finally{this._exitContext()}}enable(){return this._asyncHook.enable(),this}disable(){return this._asyncHook.disable(),this._contexts.clear(),this._stack=[],this}_init(r,n){if(n==="TIMERWRAP")return;let o=this._stack[this._stack.length-1];o!==void 0&&this._contexts.set(r,o)}_destroy(r){this._contexts.delete(r)}_before(r){let n=this._contexts.get(r);n!==void 0&&this._enterContext(n)}_after(){this._exitContext()}_enterContext(r){this._stack.push(r)}_exitContext(){this._stack.pop()}};iF.AsyncHooksContextManager=S9});var ade=A(sF=>{"use strict";Object.defineProperty(sF,"__esModule",{value:!0});sF.AsyncLocalStorageContextManager=void 0;var Sit=(ga(),GO(nF)),_it=require("async_hooks"),Tit=w9(),_9=class extends Tit.AbstractAsyncHooksContextManager{_asyncLocalStorage;constructor(){super(),this._asyncLocalStorage=new _it.AsyncLocalStorage}active(){return this._asyncLocalStorage.getStore()??Sit.ROOT_CONTEXT}with(r,n,o,...i){let a=o==null?n:n.bind(o);return this._asyncLocalStorage.run(r,a,...i)}enable(){return this}disable(){return this._asyncLocalStorage.disable(),this}};sF.AsyncLocalStorageContextManager=_9});var cde=A(Fv=>{"use strict";Object.defineProperty(Fv,"__esModule",{value:!0});Fv.AsyncLocalStorageContextManager=Fv.AsyncHooksContextManager=void 0;var Dit=sde();Object.defineProperty(Fv,"AsyncHooksContextManager",{enumerable:!0,get:function(){return Dit.AsyncHooksContextManager}});var Cit=ade();Object.defineProperty(Fv,"AsyncLocalStorageContextManager",{enumerable:!0,get:function(){return Cit.AsyncLocalStorageContextManager}})});var J9=A((Olr,rme)=>{"use strict";rme.exports=(e,r=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",o=r.indexOf(n+e),i=r.indexOf("--");return o!==-1&&(i===-1||o<i)}});var ime=A((Flr,ome)=>{"use strict";var yat=require("os"),nme=require("tty"),Zc=J9(),{env:Ri}=process,sh;Zc("no-color")||Zc("no-colors")||Zc("color=false")||Zc("color=never")?sh=0:(Zc("color")||Zc("colors")||Zc("color=true")||Zc("color=always"))&&(sh=1);"FORCE_COLOR"in Ri&&(Ri.FORCE_COLOR==="true"?sh=1:Ri.FORCE_COLOR==="false"?sh=0:sh=Ri.FORCE_COLOR.length===0?1:Math.min(parseInt(Ri.FORCE_COLOR,10),3));function Y9(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Z9(e,r){if(sh===0)return 0;if(Zc("color=16m")||Zc("color=full")||Zc("color=truecolor"))return 3;if(Zc("color=256"))return 2;if(e&&!r&&sh===void 0)return 0;let n=sh||0;if(Ri.TERM==="dumb")return n;if(process.platform==="win32"){let o=yat.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Ri)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(o=>o in Ri)||Ri.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Ri)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ri.TEAMCITY_VERSION)?1:0;if(Ri.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ri){let o=parseInt((Ri.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ri.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ri.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ri.TERM)||"COLORTERM"in Ri?1:n}function xat(e){let r=Z9(e,e&&e.isTTY);return Y9(r)}ome.exports={supportsColor:xat,stdout:Y9(Z9(!0,nme.isatty(1))),stderr:Y9(Z9(!0,nme.isatty(2)))}});var cme=A((Rlr,ame)=>{"use strict";var bat=ime(),kv=J9();function sme(e){if(/^\d{3,4}$/.test(e)){let n=/(\d{1,2})(\d{2})/.exec(e)||[];return{major:0,minor:parseInt(n[1],10),patch:parseInt(n[2],10)}}let r=(e||"").split(".").map(n=>parseInt(n,10));return{major:r[0],minor:r[1],patch:r[2]}}function Q9(e){let{CI:r,FORCE_HYPERLINK:n,NETLIFY:o,TEAMCITY_VERSION:i,TERM_PROGRAM:a,TERM_PROGRAM_VERSION:c,VTE_VERSION:u,TERM:l}=process.env;if(n)return!(n.length>0&&parseInt(n,10)===0);if(kv("no-hyperlink")||kv("no-hyperlinks")||kv("hyperlink=false")||kv("hyperlink=never"))return!1;if(kv("hyperlink=true")||kv("hyperlink=always")||o)return!0;if(!bat.supportsColor(e)||e&&!e.isTTY)return!1;if("WT_SESSION"in process.env)return!0;if(process.platform==="win32"||r||i)return!1;if(a){let p=sme(c||"");switch(a){case"iTerm.app":return p.major===3?p.minor>=1:p.major>3;case"WezTerm":return p.major>=20200620;case"vscode":return p.major>1||p.major===1&&p.minor>=72;case"ghostty":return!0}}if(u){if(u==="0.50.0")return!1;let p=sme(u);return p.major>0||p.minor>=50}switch(l){case"alacritty":return!0}return!1}ame.exports={supportsHyperlink:Q9,stdout:Q9(process.stdout),stderr:Q9(process.stderr)}});var dme=A((klr,fme)=>{"use strict";fme.exports=pme;pme.sync=Eat;var ume=require("fs");function vat(e,r){var n=r.pathExt!==void 0?r.pathExt:process.env.PATHEXT;if(!n||(n=n.split(";"),n.indexOf("")!==-1))return!0;for(var o=0;o<n.length;o++){var i=n[o].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1}function lme(e,r,n){return!e.isSymbolicLink()&&!e.isFile()?!1:vat(r,n)}function pme(e,r,n){ume.stat(e,function(o,i){n(o,o?!1:lme(i,e,r))})}function Eat(e,r){return lme(ume.statSync(e),e,r)}});var xme=A(($lr,yme)=>{"use strict";yme.exports=hme;hme.sync=wat;var mme=require("fs");function hme(e,r,n){mme.stat(e,function(o,i){n(o,o?!1:gme(i,r))})}function wat(e,r){return gme(mme.statSync(e),r)}function gme(e,r){return e.isFile()&&Sat(e,r)}function Sat(e,r){var n=e.mode,o=e.uid,i=e.gid,a=r.uid!==void 0?r.uid:process.getuid&&process.getuid(),c=r.gid!==void 0?r.gid:process.getgid&&process.getgid(),u=parseInt("100",8),l=parseInt("010",8),p=parseInt("001",8),f=u|l,g=n&p||n&l&&i===c||n&u&&o===a||n&f&&a===0;return g}});var vme=A((Llr,bme)=>{"use strict";var Nlr=require("fs"),IF;process.platform==="win32"||global.TESTING_WINDOWS?IF=dme():IF=xme();bme.exports=X9;X9.sync=_at;function X9(e,r,n){if(typeof r=="function"&&(n=r,r={}),!n){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(o,i){X9(e,r||{},function(a,c){a?i(a):o(c)})})}IF(e,r||{},function(o,i){o&&(o.code==="EACCES"||r&&r.ignoreErrors)&&(o=null,i=!1),n(o,i)})}function _at(e,r){try{return IF.sync(e,r||{})}catch(n){if(r&&r.ignoreErrors||n.code==="EACCES")return!1;throw n}}});var Cme=A((Blr,Dme)=>{"use strict";var $v=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Eme=require("path"),Tat=$v?";":":",wme=vme(),Sme=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),_me=(e,r)=>{let n=r.colon||Tat,o=e.match(/\//)||$v&&e.match(/\\/)?[""]:[...$v?[process.cwd()]:[],...(r.path||process.env.PATH||"").split(n)],i=$v?r.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",a=$v?i.split(n):[""];return $v&&e.indexOf(".")!==-1&&a[0]!==""&&a.unshift(""),{pathEnv:o,pathExt:a,pathExtExe:i}},Tme=(e,r,n)=>{typeof r=="function"&&(n=r,r={}),r||(r={});let{pathEnv:o,pathExt:i,pathExtExe:a}=_me(e,r),c=[],u=p=>new Promise((f,g)=>{if(p===o.length)return r.all&&c.length?f(c):g(Sme(e));let b=o[p],x=/^".*"$/.test(b)?b.slice(1,-1):b,v=Eme.join(x,e),S=!x&&/^\.[\\\/]/.test(e)?e.slice(0,2)+v:v;f(l(S,p,0))}),l=(p,f,g)=>new Promise((b,x)=>{if(g===i.length)return b(u(f+1));let v=i[g];wme(p+v,{pathExt:a},(S,_)=>{if(!S&&_)if(r.all)c.push(p+v);else return b(p+v);return b(l(p,f,g+1))})});return n?u(0).then(p=>n(null,p),n):u(0)},Dat=(e,r)=>{r=r||{};let{pathEnv:n,pathExt:o,pathExtExe:i}=_me(e,r),a=[];for(let c=0;c<n.length;c++){let u=n[c],l=/^".*"$/.test(u)?u.slice(1,-1):u,p=Eme.join(l,e),f=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+p:p;for(let g=0;g<o.length;g++){let b=f+o[g];try{if(wme.sync(b,{pathExt:i}))if(r.all)a.push(b);else return b}catch{}}}if(r.all&&a.length)return a;if(r.nothrow)return null;throw Sme(e)};Dme.exports=Tme;Tme.sync=Dat});var tU=A((jlr,eU)=>{"use strict";var Ame=(e={})=>{let r=e.env||process.env;return(e.platform||process.platform)!=="win32"?"PATH":Object.keys(r).reverse().find(o=>o.toUpperCase()==="PATH")||"Path"};eU.exports=Ame;eU.exports.default=Ame});var Rme=A((Ulr,Fme)=>{"use strict";var Pme=require("path"),Cat=Cme(),Aat=tU();function Ome(e,r){let n=e.options.env||process.env,o=process.cwd(),i=e.options.cwd!=null,a=i&&process.chdir!==void 0&&!process.chdir.disabled;if(a)try{process.chdir(e.options.cwd)}catch{}let c;try{c=Cat.sync(e.command,{path:n[Aat({env:n})],pathExt:r?Pme.delimiter:void 0})}catch{}finally{a&&process.chdir(o)}return c&&(c=Pme.resolve(i?e.options.cwd:"",c)),c}function Pat(e){return Ome(e)||Ome(e,!0)}Fme.exports=Pat});var Ime=A((qlr,nU)=>{"use strict";var rU=/([()\][%!^"`<>&|;, *?])/g;function Oat(e){return e=e.replace(rU,"^$1"),e}function Fat(e,r){return e=`${e}`,e=e.replace(/(?=(\\+?)?)\1"/g,'$1$1\\"'),e=e.replace(/(?=(\\+?)?)\1$/,"$1$1"),e=`"${e}"`,e=e.replace(rU,"^$1"),r&&(e=e.replace(rU,"^$1")),e}nU.exports.command=Oat;nU.exports.argument=Fat});var kme=A((Glr,Mme)=>{"use strict";Mme.exports=/^#!(.*)/});var Nme=A((Hlr,$me)=>{"use strict";var Rat=kme();$me.exports=(e="")=>{let r=e.match(Rat);if(!r)return null;let[n,o]=r[0].replace(/#! ?/,"").split(" "),i=n.split("/").pop();return i==="env"?o:o?`${i} ${o}`:i}});var Bme=A((Wlr,Lme)=>{"use strict";var oU=require("fs"),Iat=Nme();function Mat(e){let n=Buffer.alloc(150),o;try{o=oU.openSync(e,"r"),oU.readSync(o,n,0,150,0),oU.closeSync(o)}catch{}return Iat(n.toString())}Lme.exports=Mat});var Gme=A((Vlr,qme)=>{"use strict";var kat=require("path"),jme=Rme(),Ume=Ime(),$at=Bme(),Nat=process.platform==="win32",Lat=/\.(?:com|exe)$/i,Bat=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function jat(e){e.file=jme(e);let r=e.file&&$at(e.file);return r?(e.args.unshift(e.file),e.command=r,jme(e)):e.file}function Uat(e){if(!Nat)return e;let r=jat(e),n=!Lat.test(r);if(e.options.forceShell||n){let o=Bat.test(r);e.command=kat.normalize(e.command),e.command=Ume.command(e.command),e.args=e.args.map(a=>Ume.argument(a,o));let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e}function qat(e,r,n){r&&!Array.isArray(r)&&(n=r,r=null),r=r?r.slice(0):[],n=Object.assign({},n);let o={command:e,args:r,options:n,file:void 0,original:{command:e,args:r}};return n.shell?o:Uat(o)}qme.exports=qat});var Vme=A((zlr,Wme)=>{"use strict";var iU=process.platform==="win32";function sU(e,r){return Object.assign(new Error(`${r} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${r} ${e.command}`,path:e.command,spawnargs:e.args})}function Gat(e,r){if(!iU)return;let n=e.emit;e.emit=function(o,i){if(o==="exit"){let a=Hme(i,r);if(a)return n.call(e,"error",a)}return n.apply(e,arguments)}}function Hme(e,r){return iU&&e===1&&!r.file?sU(r.original,"spawn"):null}function Hat(e,r){return iU&&e===1&&!r.file?sU(r.original,"spawnSync"):null}Wme.exports={hookChildProcess:Gat,verifyENOENT:Hme,verifyENOENTSync:Hat,notFoundError:sU}});var MF=A((Klr,Nv)=>{"use strict";var zme=require("child_process"),aU=Gme(),cU=Vme();function Kme(e,r,n){let o=aU(e,r,n),i=zme.spawn(o.command,o.args,o.options);return cU.hookChildProcess(i,o),i}function Wat(e,r,n){let o=aU(e,r,n),i=zme.spawnSync(o.command,o.args,o.options);return i.error=i.error||cU.verifyENOENTSync(i.status,o),i}Nv.exports=Kme;Nv.exports.spawn=Kme;Nv.exports.sync=Wat;Nv.exports._parse=aU;Nv.exports._enoent=cU});var DU=A((Gpr,The)=>{"use strict";var{PassThrough:Nct}=require("stream");The.exports=function(){var e=[],r=new Nct({objectMode:!0});return r.setMaxListeners(0),r.add=n,r.isEmpty=o,r.on("unpipe",i),Array.prototype.slice.call(arguments).forEach(n),r;function n(a){return Array.isArray(a)?(a.forEach(n),this):(e.push(a),a.once("end",i.bind(null,a)),a.once("error",r.emit.bind(r,"error")),a.pipe(r,{end:!1}),this)}function o(){return e.length==0}function i(a){e=e.filter(function(c){return c!==a}),!e.length&&r.readable&&r.end()}}});var Qhe=A((lfr,Zhe)=>{"use strict";Zhe.exports=e=>function(){let r=arguments.length,n=new Array(r);for(let o=0;o<r;o+=1)n[o]=arguments[o];return new Promise((o,i)=>{n.push((a,c)=>{a?i(a):o(c)}),e.apply(null,n)})}});var ba=A((pfr,Xhe)=>{"use strict";var JF=require("fs"),Zct=Qhe(),Qct=e=>[typeof JF[e]=="function",!e.match(/Sync$/),!e.match(/^[A-Z]/),!e.match(/^create/),!e.match(/^(un)?watch/)].every(Boolean),Xct=e=>{let r=JF[e];return Zct(r)},eut=()=>{let e={};return Object.keys(JF).forEach(r=>{Qct(r)?r==="exists"?e.exists=()=>{throw new Error("fs.exists() is deprecated")}:e[r]=Xct(r):e[r]=JF[r]}),e};Xhe.exports=eut()});var es=A((ffr,nge)=>{"use strict";var tut=e=>{let r=n=>["a","e","i","o","u"].indexOf(n[0])!==-1?`an ${n}`:`a ${n}`;return e.map(r).join(" or ")},ege=e=>/array of /.test(e),tge=e=>e.split(" of ")[1],rge=e=>ege(e)?rge(tge(e)):["string","number","boolean","array","object","buffer","null","undefined","function"].some(r=>r===e),tT=e=>e===null?"null":Array.isArray(e)?"array":Buffer.isBuffer(e)?"buffer":typeof e,rut=(e,r,n)=>n.indexOf(e)===r,nut=e=>{let r=tT(e),n;return r==="array"&&(n=e.map(o=>tT(o)).filter(rut),r+=` of ${n.join(", ")}`),r},out=(e,r)=>{let n=tge(r);return tT(e)!=="array"?!1:e.every(o=>tT(o)===n)},MU=(e,r,n,o)=>{if(!o.some(a=>{if(!rge(a))throw new Error(`Unknown type "${a}"`);return ege(a)?out(n,a):a===tT(n)}))throw new Error(`Argument "${r}" passed to ${e} must be ${tut(o)}. Received ${nut(n)}`)},iut=(e,r,n,o)=>{n!==void 0&&(MU(e,r,n,["object"]),Object.keys(n).forEach(i=>{let a=`${r}.${i}`;if(o[i]!==void 0)MU(e,a,n[i],o[i]);else throw new Error(`Unknown argument "${a}" passed to ${e}`)}))};nge.exports={argument:MU,options:iut}});var YF=A(oge=>{"use strict";oge.normalizeFileMode=e=>{let r;return typeof e=="number"?r=e.toString(8):r=e,r.substring(r.length-3)}});var QF=A(ZF=>{"use strict";var ige=ba(),sut=es(),aut=(e,r)=>{let n=`${e}([path])`;sut.argument(n,"path",r,["string","undefined"])},cut=e=>{ige.rmSync(e,{recursive:!0,force:!0,maxRetries:3})},uut=e=>ige.rm(e,{recursive:!0,force:!0,maxRetries:3});ZF.validateInput=aut;ZF.sync=cut;ZF.async=uut});var W0=A(jv=>{"use strict";var XF=require("path"),_p=ba(),kU=YF(),sge=es(),age=QF(),lut=(e,r,n)=>{let o=`${e}(path, [criteria])`;sge.argument(o,"path",r,["string"]),sge.options(o,"criteria",n,{empty:["boolean"],mode:["string","number"]})},cge=e=>{let r=e||{};return typeof r.empty!="boolean"&&(r.empty=!1),r.mode!==void 0&&(r.mode=kU.normalizeFileMode(r.mode)),r},uge=e=>new Error(`Path ${e} exists but is not a directory. Halting jetpack.dir() call for safety reasons.`),put=e=>{let r;try{r=_p.statSync(e)}catch(n){if(n.code!=="ENOENT")throw n}if(r&&!r.isDirectory())throw uge(e);return r},$U=(e,r)=>{let n=r||{};try{_p.mkdirSync(e,n.mode)}catch(o){if(o.code==="ENOENT")$U(XF.dirname(e),n),_p.mkdirSync(e,n.mode);else if(o.code!=="EEXIST")throw o}},fut=(e,r,n)=>{let o=()=>{let a=kU.normalizeFileMode(r.mode);n.mode!==void 0&&n.mode!==a&&_p.chmodSync(e,n.mode)},i=()=>{n.empty&&_p.readdirSync(e).forEach(c=>{age.sync(XF.resolve(e,c))})};o(),i()},dut=(e,r)=>{let n=cge(r),o=put(e);o?fut(e,o,n):$U(e,n)},mut=e=>new Promise((r,n)=>{_p.stat(e).then(o=>{o.isDirectory()?r(o):n(uge(e))}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})}),hut=e=>new Promise((r,n)=>{_p.readdir(e).then(o=>{let i=a=>{if(a===o.length)r();else{let c=XF.resolve(e,o[a]);age.async(c).then(()=>{i(a+1)})}};i(0)}).catch(n)}),gut=(e,r,n)=>new Promise((o,i)=>{let a=()=>{let u=kU.normalizeFileMode(r.mode);return n.mode!==void 0&&n.mode!==u?_p.chmod(e,n.mode):Promise.resolve()},c=()=>n.empty?hut(e):Promise.resolve();a().then(c).then(o,i)}),NU=(e,r)=>{let n=r||{};return new Promise((o,i)=>{_p.mkdir(e,n.mode).then(o).catch(a=>{a.code==="ENOENT"?NU(XF.dirname(e),n).then(()=>_p.mkdir(e,n.mode)).then(o).catch(c=>{c.code==="EEXIST"?o():i(c)}):a.code==="EEXIST"?o():i(a)})})},yut=(e,r)=>new Promise((n,o)=>{let i=cge(r);mut(e).then(a=>a!==void 0?gut(e,a,i):NU(e,i)).then(n,o)});jv.validateInput=lut;jv.sync=dut;jv.createSync=$U;jv.async=yut;jv.createAsync=NU});var rT=A(tR=>{"use strict";var lge=require("path"),Uv=ba(),LU=es(),pge=W0(),xut=(e,r,n,o)=>{let i=`${e}(path, data, [options])`;LU.argument(i,"path",r,["string"]),LU.argument(i,"data",n,["string","buffer","object","array"]),LU.options(i,"options",o,{mode:["string","number"],atomic:["boolean"],jsonIndent:["number"]})},eR=".__new__",fge=(e,r)=>{let n=r;return typeof n!="number"&&(n=2),typeof e=="object"&&!Buffer.isBuffer(e)&&e!==null?JSON.stringify(e,null,n):e},dge=(e,r,n)=>{try{Uv.writeFileSync(e,r,n)}catch(o){if(o.code==="ENOENT")pge.createSync(lge.dirname(e)),Uv.writeFileSync(e,r,n);else throw o}},but=(e,r,n)=>{dge(e+eR,r,n),Uv.renameSync(e+eR,e)},vut=(e,r,n)=>{let o=n||{},i=fge(r,o.jsonIndent),a=dge;o.atomic&&(a=but),a(e,i,{mode:o.mode})},mge=(e,r,n)=>new Promise((o,i)=>{Uv.writeFile(e,r,n).then(o).catch(a=>{a.code==="ENOENT"?pge.createAsync(lge.dirname(e)).then(()=>Uv.writeFile(e,r,n)).then(o,i):i(a)})}),Eut=(e,r,n)=>new Promise((o,i)=>{mge(e+eR,r,n).then(()=>Uv.rename(e+eR,e)).then(o,i)}),wut=(e,r,n)=>{let o=n||{},i=fge(r,o.jsonIndent),a=mge;return o.atomic&&(a=Eut),a(e,i,{mode:o.mode})};tR.validateInput=xut;tR.sync=vut;tR.async=wut});var yge=A(rR=>{"use strict";var hge=ba(),gge=rT(),BU=es(),Sut=(e,r,n,o)=>{let i=`${e}(path, data, [options])`;BU.argument(i,"path",r,["string"]),BU.argument(i,"data",n,["string","buffer"]),BU.options(i,"options",o,{mode:["string","number"]})},_ut=(e,r,n)=>{try{hge.appendFileSync(e,r,n)}catch(o){if(o.code==="ENOENT")gge.sync(e,r,n);else throw o}},Tut=(e,r,n)=>new Promise((o,i)=>{hge.appendFile(e,r,n).then(o).catch(a=>{a.code==="ENOENT"?gge.async(e,r,n).then(o,i):i(a)})});rR.validateInput=Sut;rR.sync=_ut;rR.async=Tut});var Ege=A(iR=>{"use strict";var nR=ba(),jU=YF(),xge=es(),oR=rT(),Dut=(e,r,n)=>{let o=`${e}(path, [criteria])`;xge.argument(o,"path",r,["string"]),xge.options(o,"criteria",n,{content:["string","buffer","object","array"],jsonIndent:["number"],mode:["string","number"]})},bge=e=>{let r=e||{};return r.mode!==void 0&&(r.mode=jU.normalizeFileMode(r.mode)),r},vge=e=>new Error(`Path ${e} exists but is not a file. Halting jetpack.file() call for safety reasons.`),Cut=e=>{let r;try{r=nR.statSync(e)}catch(n){if(n.code!=="ENOENT")throw n}if(r&&!r.isFile())throw vge(e);return r},Aut=(e,r,n)=>{let o=jU.normalizeFileMode(r.mode),i=()=>n.content!==void 0?(oR.sync(e,n.content,{mode:o,jsonIndent:n.jsonIndent}),!0):!1,a=()=>{n.mode!==void 0&&n.mode!==o&&nR.chmodSync(e,n.mode)};i()||a()},Put=(e,r)=>{let n="";r.content!==void 0&&(n=r.content),oR.sync(e,n,{mode:r.mode,jsonIndent:r.jsonIndent})},Out=(e,r)=>{let n=bge(r),o=Cut(e);o!==void 0?Aut(e,o,n):Put(e,n)},Fut=e=>new Promise((r,n)=>{nR.stat(e).then(o=>{o.isFile()?r(o):n(vge(e))}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})}),Rut=(e,r,n)=>{let o=jU.normalizeFileMode(r.mode),i=()=>new Promise((c,u)=>{n.content!==void 0?oR.async(e,n.content,{mode:o,jsonIndent:n.jsonIndent}).then(()=>{c(!0)}).catch(u):c(!1)}),a=()=>{if(n.mode!==void 0&&n.mode!==o)return nR.chmod(e,n.mode)};return i().then(c=>{if(!c)return a()})},Iut=(e,r)=>{let n="";return r.content!==void 0&&(n=r.content),oR.async(e,n,{mode:r.mode,jsonIndent:r.jsonIndent})},Mut=(e,r)=>new Promise((n,o)=>{let i=bge(r);Fut(e).then(a=>a!==void 0?Rut(e,a,i):Iut(e,i)).then(n,o)});iR.validateInput=Dut;iR.sync=Out;iR.async=Mut});var Gv=A(qv=>{"use strict";var Sge=require("crypto"),kut=require("path"),ch=ba(),wge=es(),UU=["md5","sha1","sha256","sha512"],qU=["report","follow"],$ut=(e,r,n)=>{let o=`${e}(path, [options])`;if(wge.argument(o,"path",r,["string"]),wge.options(o,"options",n,{checksum:["string"],mode:["boolean"],times:["boolean"],absolutePath:["boolean"],symlinks:["string"]}),n&&n.checksum!==void 0&&UU.indexOf(n.checksum)===-1)throw new Error(`Argument "options.checksum" passed to ${o} must have one of values: ${UU.join(", ")}`);if(n&&n.symlinks!==void 0&&qU.indexOf(n.symlinks)===-1)throw new Error(`Argument "options.symlinks" passed to ${o} must have one of values: ${qU.join(", ")}`)},_ge=(e,r,n)=>{let o={};return o.name=kut.basename(e),n.isFile()?(o.type="file",o.size=n.size):n.isDirectory()?o.type="dir":n.isSymbolicLink()?o.type="symlink":o.type="other",r.mode&&(o.mode=n.mode),r.times&&(o.accessTime=n.atime,o.modifyTime=n.mtime,o.changeTime=n.ctime,o.birthTime=n.birthtime),r.absolutePath&&(o.absolutePath=e),o},Nut=(e,r)=>{let n=Sge.createHash(r),o=ch.readFileSync(e);return n.update(o),n.digest("hex")},Lut=(e,r,n)=>{r.type==="file"&&n.checksum?r[n.checksum]=Nut(e,n.checksum):r.type==="symlink"&&(r.pointsAt=ch.readlinkSync(e))},But=(e,r)=>{let n=ch.lstatSync,o,i=r||{};i.symlinks==="follow"&&(n=ch.statSync);try{o=n(e)}catch(c){if(c.code==="ENOENT")return;throw c}let a=_ge(e,i,o);return Lut(e,a,i),a},jut=(e,r)=>new Promise((n,o)=>{let i=Sge.createHash(r),a=ch.createReadStream(e);a.on("data",c=>{i.update(c)}),a.on("end",()=>{n(i.digest("hex"))}),a.on("error",o)}),Uut=(e,r,n)=>r.type==="file"&&n.checksum?jut(e,n.checksum).then(o=>(r[n.checksum]=o,r)):r.type==="symlink"?ch.readlink(e).then(o=>(r.pointsAt=o,r)):Promise.resolve(r),qut=(e,r)=>new Promise((n,o)=>{let i=ch.lstat,a=r||{};a.symlinks==="follow"&&(i=ch.stat),i(e).then(c=>{let u=_ge(e,a,c);Uut(e,u,a).then(n,o)}).catch(c=>{c.code==="ENOENT"?n(void 0):o(c)})});qv.supportedChecksumAlgorithms=UU;qv.symlinkOptions=qU;qv.validateInput=$ut;qv.sync=But;qv.async=qut});var aR=A(sR=>{"use strict";var Tge=ba(),Gut=es(),Hut=(e,r)=>{let n=`${e}(path)`;Gut.argument(n,"path",r,["string","undefined"])},Wut=e=>{try{return Tge.readdirSync(e)}catch(r){if(r.code==="ENOENT")return;throw r}},Vut=e=>new Promise((r,n)=>{Tge.readdir(e).then(o=>{r(o)}).catch(o=>{o.code==="ENOENT"?r(void 0):n(o)})});sR.validateInput=Hut;sR.sync=Wut;sR.async=Vut});var pR=A(GU=>{"use strict";var cR=require("fs"),uR=require("path"),nT=Gv(),Efr=aR(),lR=e=>e.isDirectory()?"dir":e.isFile()?"file":e.isSymbolicLink()?"symlink":"other",zut=(e,r,n)=>{r.maxLevelsDeep===void 0&&(r.maxLevelsDeep=1/0);let o=r.inspectOptions!==void 0;r.symlinks&&(r.inspectOptions===void 0?r.inspectOptions={symlinks:r.symlinks}:r.inspectOptions.symlinks=r.symlinks);let i=(c,u)=>{cR.readdirSync(c,{withFileTypes:!0}).forEach(l=>{let p=typeof l=="string",f;p?f=uR.join(c,l):f=uR.join(c,l.name);let g;if(o)g=nT.sync(f,r.inspectOptions);else if(p){let b=nT.sync(f,r.inspectOptions);g={name:b.name,type:b.type}}else{let b=lR(l);if(b==="symlink"&&r.symlinks==="follow"){let x=cR.statSync(f);g={name:l.name,type:lR(x)}}else g={name:l.name,type:b}}g!==void 0&&(n(f,g),g.type==="dir"&&u<r.maxLevelsDeep&&i(f,u+1))})},a=nT.sync(e,r.inspectOptions);a?(o?n(e,a):n(e,{name:a.name,type:a.type}),a.type==="dir"&&i(e,1)):n(e,void 0)},Kut=5,Jut=(e,r,n,o)=>{r.maxLevelsDeep===void 0&&(r.maxLevelsDeep=1/0);let i=r.inspectOptions!==void 0;r.symlinks&&(r.inspectOptions===void 0?r.inspectOptions={symlinks:r.symlinks}:r.inspectOptions.symlinks=r.symlinks);let a=[],c=0,u=()=>{if(a.length===0&&c===0)o();else if(a.length>0&&c<Kut){let g=a.pop();c+=1,g()}},l=g=>{a.push(g),u()},p=()=>{c-=1,u()},f=(g,b)=>{let x=(v,S)=>{S.type==="dir"&&b<r.maxLevelsDeep&&f(v,b+1)};l(()=>{cR.readdir(g,{withFileTypes:!0},(v,S)=>{v?o(v):(S.forEach(_=>{let D=typeof _=="string",O;if(D?O=uR.join(g,_):O=uR.join(g,_.name),i||D)l(()=>{nT.async(O,r.inspectOptions).then(C=>{C!==void 0&&(i?n(O,C):n(O,{name:C.name,type:C.type}),x(O,C)),p()}).catch(C=>{o(C)})});else{let C=lR(_);if(C==="symlink"&&r.symlinks==="follow")l(()=>{cR.stat(O,(P,R)=>{if(P)o(P);else{let k={name:_.name,type:lR(R)};n(O,k),x(O,k),p()}})});else{let P={name:_.name,type:C};n(O,P),x(O,P)}}}),p())})})};nT.async(e,r.inspectOptions).then(g=>{g?(i?n(e,g):n(e,{name:g.name,type:g.type}),g.type==="dir"?f(e,1):o()):(n(e,void 0),o())}).catch(g=>{o(g)})};GU.sync=zut;GU.async=Jut});var Cge=A((Sfr,Dge)=>{"use strict";var Yut=typeof process=="object"&&process&&process.platform==="win32";Dge.exports=Yut?{sep:"\\"}:{sep:"/"}});var HU=A((_fr,Fge)=>{"use strict";Fge.exports=Pge;function Pge(e,r,n){e instanceof RegExp&&(e=Age(e,n)),r instanceof RegExp&&(r=Age(r,n));var o=Oge(e,r,n);return o&&{start:o[0],end:o[1],pre:n.slice(0,o[0]),body:n.slice(o[0]+e.length,o[1]),post:n.slice(o[1]+r.length)}}function Age(e,r){var n=r.match(e);return n?n[0]:null}Pge.range=Oge;function Oge(e,r,n){var o,i,a,c,u,l=n.indexOf(e),p=n.indexOf(r,l+1),f=l;if(l>=0&&p>0){if(e===r)return[l,p];for(o=[],a=n.length;f>=0&&!u;)f==l?(o.push(f),l=n.indexOf(e,f+1)):o.length==1?u=[o.pop(),p]:(i=o.pop(),i<a&&(a=i,c=p),p=n.indexOf(r,f+1)),f=l<p&&l>=0?l:p;o.length&&(u=[a,c])}return u}});var Bge=A((Tfr,Lge)=>{"use strict";var Rge=HU();Lge.exports=Xut;var Ige="\0SLASH"+Math.random()+"\0",Mge="\0OPEN"+Math.random()+"\0",VU="\0CLOSE"+Math.random()+"\0",kge="\0COMMA"+Math.random()+"\0",$ge="\0PERIOD"+Math.random()+"\0";function WU(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function Zut(e){return e.split("\\\\").join(Ige).split("\\{").join(Mge).split("\\}").join(VU).split("\\,").join(kge).split("\\.").join($ge)}function Qut(e){return e.split(Ige).join("\\").split(Mge).join("{").split(VU).join("}").split(kge).join(",").split($ge).join(".")}function Nge(e){if(!e)return[""];var r=[],n=Rge("{","}",e);if(!n)return e.split(",");var o=n.pre,i=n.body,a=n.