gemi 0.4.71 → 0.4.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-027f8856aa132d85.js +6 -0
- package/dist/{chunk-d03b02d5f8128f13.js → chunk-035e233acf299392.js} +2 -2
- package/dist/{chunk-d7c78cd1ab7dc7ed.js → chunk-0c3a31bca25291a6.js} +1 -1
- package/dist/{chunk-de75d134f236f4bb.js → chunk-2c49184ec3c45a26.js} +1 -1
- package/dist/chunk-3e2f1f65cba86ad5.js +2 -0
- package/dist/{chunk-11cd81b560d496a3.js → chunk-474c8dc0ac6b3cdf.js} +1 -1
- package/dist/chunk-6a30174fcc338251.js +2 -0
- package/dist/chunk-6def55ea02e050ec.js +2 -0
- package/dist/chunk-722959aee5ef3fae.js +2 -0
- package/dist/chunk-89067bce11a12276.js +2 -0
- package/dist/{chunk-f25e3644c98f64a7.js → chunk-89c603058a8ca2e0.js} +1 -1
- package/dist/chunk-9c10a08ee4b4d468.js +9 -0
- package/dist/chunk-9e6c223585edf12e.js +2 -0
- package/dist/chunk-a2fa7b0b7cb9d696.js +2 -0
- package/dist/chunk-a75cb687951e66a0.js +2 -0
- package/dist/chunk-b240c1abcf310471.js +2 -0
- package/dist/chunk-b3d1c993471a0dbe.js +2 -0
- package/dist/{chunk-65cd4d128b79bd93.js → chunk-b9d952fe3db3df1c.js} +1 -1
- package/dist/{chunk-e565da7343a33b65.js → chunk-c4424c04ab2ac6d1.js} +2 -2
- package/dist/chunk-db704ae1cdab22a5.js +18 -0
- package/dist/chunk-e1c93f98afc62202.js +2 -0
- package/dist/chunk-e4119fe2a26e4a22.js +2 -0
- package/dist/chunk-e4fa4d02a212da4f.js +2 -0
- package/dist/client/Link.d.ts +4 -2
- package/dist/client/Link.d.ts.map +1 -1
- package/dist/client/auth/useUser.d.ts +1 -11
- package/dist/client/auth/useUser.d.ts.map +1 -1
- package/dist/client/useNavigate.d.ts +2 -2
- package/dist/client/useNavigate.d.ts.map +1 -1
- package/dist/client/useQuery.d.ts +2 -2
- package/dist/client/useQuery.d.ts.map +1 -1
- package/dist/email/index.js +1 -1
- package/dist/facades/FileStorage.d.ts +12 -0
- package/dist/facades/FileStorage.d.ts.map +1 -0
- package/dist/facades/index.d.ts +1 -0
- package/dist/facades/index.d.ts.map +1 -1
- package/dist/facades/index.js +1 -1
- package/dist/http/index.js +1 -1
- package/dist/kernel/Kernel.d.ts +5 -0
- package/dist/kernel/Kernel.d.ts.map +1 -1
- package/dist/kernel/context.d.ts +2 -0
- package/dist/kernel/context.d.ts.map +1 -1
- package/dist/kernel/index.js +2 -2
- package/dist/server/index.js +1 -1
- package/dist/services/file-storage/FileStorageServiceContainer.d.ts +6 -0
- package/dist/services/file-storage/FileStorageServiceContainer.d.ts.map +1 -0
- package/dist/services/file-storage/FileStorageServiceProvider.d.ts +5 -0
- package/dist/services/file-storage/FileStorageServiceProvider.d.ts.map +1 -0
- package/dist/services/file-storage/drivers/FileStorageDriver.d.ts +6 -0
- package/dist/services/file-storage/drivers/FileStorageDriver.d.ts.map +1 -0
- package/dist/services/file-storage/drivers/FileSystemDriver.d.ts +9 -0
- package/dist/services/file-storage/drivers/FileSystemDriver.d.ts.map +1 -0
- package/dist/services/file-storage/drivers/S3Driver.d.ts +10 -0
- package/dist/services/file-storage/drivers/S3Driver.d.ts.map +1 -0
- package/dist/services/file-storage/drivers/types.d.ts +19 -0
- package/dist/services/file-storage/drivers/types.d.ts.map +1 -0
- package/dist/services/index.d.ts +6 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +2 -0
- package/dist/vite/{index-BbySvAwL.mjs → index-BfdM1qcG.mjs} +2 -2
- package/dist/vite/index.mjs +1 -1
- package/dist/vite/{typescript-CeZcXBr-.mjs → typescript-DU6uj0V1.mjs} +1 -1
- package/package.json +2 -2
- package/dist/chunk-2895a97b65e7107b.js +0 -2
- package/dist/chunk-2dd61d279d9f0b13.js +0 -2
- package/dist/chunk-448c9eceacddef90.js +0 -1
- package/dist/chunk-466213c5585251ad.js +0 -2
- package/dist/chunk-4b8da0fabb3539db.js +0 -18
- package/dist/chunk-4bc3b71775040cb9.js +0 -6
- package/dist/chunk-af7d1951242b1c6e.js +0 -2
- package/dist/chunk-b6a64bf9af2e91be.js +0 -9
- package/dist/chunk-b8176bf532f59485.js +0 -2
- package/dist/chunk-cca33e85bf87b3b3.js +0 -2
- package/dist/chunk-e344c95f8ae7a124.js +0 -2
- package/dist/chunk-e912bf7c7a0e988a.js +0 -2
- package/dist/chunk-f22ac1ec6c3f782b.js +0 -2
- package/dist/chunk-fe65548818651cb5.js +0 -2
- package/dist/storage/File.d.ts +0 -26
- package/dist/storage/File.d.ts.map +0 -1
- package/dist/storage/index.d.ts +0 -2
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/storage/index.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{z as N} from"./chunk-7ce930fe69575c87.js";import{E as _} from"./chunk-d7c78cd1ab7dc7ed.js";var B$=N((i6,U$)=>{var Y9=function(z,Z){if(z)return;if(e4)throw new Error(PY);var Y=typeof Z==="function"?Z():Z,$=Y?"".concat(PY,": ").concat(Y):PY;throw new Error($)},e4=!1,PY="Invariant failed";U$.exports=Y9});var S=N((R$)=>{var z9=function(z){var Z=z.use(Z9.default),Y=Z.Type,$=Z.builtInTypes,K=$.number;function J(G){return Y.from(function(O){return K.check(O)&&O>=G},K+" >= "+G)}var X={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},q=Y.or($.string,$.number,$.boolean,$.null,$.undefined),W=Y.from(function(G){if(G===null)return!0;var O=typeof G;if(O==="object"||O==="function")return!1;return!0},q.toString());return{geq:J,defaults:X,isPrimitive:W}},K9=function(z){try{var Z=z(),Y=Z.exports,$=Y.default}catch(K){return}if($&&$!==Y&&typeof Y==="object"){if(Object.assign($,Y,{default:$}),Y.__esModule)Object.defineProperty($,"__esModule",{value:!0});Z.exports=$}};Object.defineProperty(R$,"__esModule",{value:!0});R$.maybeSetModuleExports=void 0;var $9=_(),Z9=$9.__importDefault(y());R$.default=z9;R$.maybeSetModuleExports=K9});var y=N((N$,M$)=>{var gY=function(z){if(Array.isArray(z))return"["+z.map(gY).join(", ")+"]";if(z&&typeof z==="object")return"{ "+Object.keys(z).map(function(Z){return Z+": "+z[Z]}).join(", ")+" }";return JSON.stringify(z)},X9=function(z){var Z={or:function(){var R=[];for(var T=0;T<arguments.length;T++)R[T]=arguments[T];return new v$(R.map(function(L){return Z.from(L)}))},from:function(R,T){if(R instanceof yY||R instanceof L$||R instanceof T$||R instanceof v$||R instanceof FY)return R;if(R instanceof UY)return R.type;if(q.check(R)){if(R.length!==1)throw new Error("only one element type is permitted for typed arrays");return new yY(Z.from(R[0]))}if(W.check(R))return new T$(Object.keys(R).map(function(C){return new k$(C,Z.from(R[C],C))}));if(typeof R==="function"){var L=Y.indexOf(R);if(L>=0)return $[L];if(typeof T!=="string")throw new Error("missing name");return new FY(T,R)}return new L$(R)},def:function(R){return s.call(Q,R)?Q[R]:Q[R]=new A(R)},hasDef:function(R){return s.call(Q,R)}},Y=[],$=[];function K(R,T){var L=BY.call(T),C=new FY(R,function(M){return BY.call(M)===L});if(T&&typeof T.constructor==="function")Y.push(T.constructor),$.push(C);return C}var J=K("string","truthy"),X=K("function",function(){}),q=K("array",[]),W=K("object",{}),G=K("RegExp",/./),O=K("Date",new Date),w=K("number",3),I=K("boolean",!0),V=K("null",null),D=K("undefined",void 0),H=typeof BigInt==="function"?K("BigInt",BigInt(1234)):new FY("BigInt",function(){return!1}),E={string:J,function:X,array:q,object:W,RegExp:G,Date:O,number:w,boolean:I,null:V,undefined:D,BigInt:H},Q=Object.create(null);function U(R){if(R&&typeof R==="object"){var T=R.type;if(typeof T==="string"&&s.call(Q,T)){var L=Q[T];if(L.finalized)return L}}return null}var A=function(R){KY.__extends(T,R);function T(L){var C=R.call(this,new FY(L,function(M,x){return C.check(M,x)}),L)||this;return C}return T.prototype.check=function(L,C){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(L===null||typeof L!=="object")return!1;var M=U(L);if(!M){if(this.typeName==="SourceLocation"||this.typeName==="Position")return this.checkAllFields(L,C);return!1}if(C&&M===this)return this.checkAllFields(L,C);if(!this.isSupertypeOf(M))return!1;if(!C)return!0;return M.checkAllFields(L,C)&&this.checkAllFields(L,!1)},T.prototype.build=function(){var L=this,C=[];for(var M=0;M<arguments.length;M++)C[M]=arguments[M];if(this.buildParams=C,this.buildable)return this;this.field("type",String,function(){return L.typeName}),this.buildable=!0;var x=function(g,h,t,YY){if(s.call(g,h))return;var a=L.allFields;if(!s.call(a,h))throw new Error(""+h);var $Y=a[h],r4=$Y.type,GY;if(YY)GY=t;else if($Y.defaultFn)GY=$Y.defaultFn.call(g);else{var t4="no value or default function given for field "+JSON.stringify(h)+" of "+L.typeName+"("+L.buildParams.map(function(a4){return a[a4]}).join(", ")+")";throw new Error(t4)}if(!r4.check(GY))throw new Error(gY(GY)+" does not match field "+$Y+" of type "+L.typeName);g[h]=GY},l=function(){var g=[];for(var h=0;h<arguments.length;h++)g[h]=arguments[h];var t=g.length;if(!L.finalized)throw new Error("attempting to instantiate unfinalized type "+L.typeName);var YY=Object.create(k);if(L.buildParams.forEach(function(a,$Y){if($Y<t)x(YY,a,g[$Y],!0);else x(YY,a,null,!1)}),Object.keys(L.allFields).forEach(function(a){x(YY,a,null,!1)}),YY.type!==L.typeName)throw new Error("");return YY};return l.from=function(g){if(!L.finalized)throw new Error("attempting to instantiate unfinalized type "+L.typeName);var h=Object.create(k);if(Object.keys(L.allFields).forEach(function(t){if(s.call(g,t))x(h,t,g[t],!0);else x(h,t,null,!1)}),h.type!==L.typeName)throw new Error("");return h},Object.defineProperty(B,u(this.typeName),{enumerable:!0,value:l}),this},T.prototype.field=function(L,C,M,x){if(this.finalized)return console.error("Ignoring attempt to redefine field "+JSON.stringify(L)+" of finalized type "+JSON.stringify(this.typeName)),this;return this.ownFields[L]=new k$(L,Z.from(C),M,x),this},T.prototype.finalize=function(){var L=this;if(!this.finalized){var C=this.allFields,M=this.allSupertypes;this.baseNames.forEach(function(l){var g=Q[l];if(g instanceof UY)g.finalize(),bY(C,g.allFields),bY(M,g.allSupertypes);else{var h="unknown supertype name "+JSON.stringify(l)+" for subtype "+JSON.stringify(L.typeName);throw new Error(h)}}),bY(C,this.ownFields),M[this.typeName]=this,this.fieldNames.length=0;for(var x in C)if(s.call(C,x)&&!C[x].hidden)this.fieldNames.push(x);if(Object.defineProperty(j$,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,i4(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0)o4(this.typeName)}},T}(UY);function F(R){if(!s.call(Q,R))throw new Error("");var T=Q[R];if(T.finalized!==!0)throw new Error("");return T.supertypeList.slice(1)}function j(R){var T={},L=Object.keys(Q),C=L.length;for(var M=0;M<C;++M){var x=L[M],l=Q[x];if(l.finalized!==!0)throw new Error(""+x);for(var g=0;g<l.supertypeList.length;++g){var h=l.supertypeList[g];if(s.call(R,h)){T[x]=h;break}}}return T}var B=Object.create(null),k={};function b(R,T){var L=k[R];if(D.check(T))delete k[R];else X.assert(T),Object.defineProperty(k,R,{enumerable:!0,configurable:!0,value:T});return L}function u(R){return R.replace(/^[A-Z]+/,function(T){var L=T.length;switch(L){case 0:return"";case 1:return T.toLowerCase();default:return T.slice(0,L-1).toLowerCase()+T.charAt(L-1)}})}function i(R){return R=u(R),R.replace(/(Expression)?$/,"Statement")}var j$={};function _Y(R){var T=U(R);if(T)return T.fieldNames.slice(0);if("type"in R)throw new Error("did not recognize object of type "+JSON.stringify(R.type));return Object.keys(R)}function SY(R,T){var L=U(R);if(L){var C=L.allFields[T];if(C)return C.getValue(R)}return R&&R[T]}function s4(R,T,L){_Y(R).forEach(function(C){T.call(this,C,SY(R,C))},L)}function n4(R,T,L){return _Y(R).some(function(C){return T.call(this,C,SY(R,C))},L)}function o4(R){var T=i(R);if(B[T])return;var L=B[u(R)];if(!L)return;var C=function(){var M=[];for(var x=0;x<arguments.length;x++)M[x]=arguments[x];return B.expressionStatement(L.apply(B,M))};C.from=function(){var M=[];for(var x=0;x<arguments.length;x++)M[x]=arguments[x];return B.expressionStatement(L.from.apply(B,M))},B[T]=C}function i4(R,T){T.length=0,T.push(R);var L=Object.create(null);for(var C=0;C<T.length;++C){R=T[C];var M=Q[R];if(M.finalized!==!0)throw new Error("");if(s.call(L,R))delete T[L[R]];L[R]=C,T.push.apply(T,M.baseNames)}for(var x=0,l=x,g=T.length;l<g;++l)if(s.call(T,l))T[x++]=T[l];T.length=x}function bY(R,T){return Object.keys(T).forEach(function(L){R[L]=T[L]}),R}function p4(){Object.keys(Q).forEach(function(R){Q[R].finalize()})}return{Type:Z,builtInTypes:E,getSupertypeNames:F,computeSupertypeLookupTable:j,builders:B,defineMethod:b,getBuilderName:u,getStatementBuilderName:i,namedTypes:j$,getFieldNames:_Y,getFieldValue:SY,eachField:s4,someField:n4,finalize:p4}};Object.defineProperty(N$,"__esModule",{value:!0});N$.Def=void 0;var KY=_(),W9=S(),C$=Object.prototype,BY=C$.toString,s=C$.hasOwnProperty,IY=function(){function z(){}return z.prototype.assert=function(Z,Y){if(!this.check(Z,Y)){var $=gY(Z);throw new Error($+" does not match type "+this)}return!0},z.prototype.arrayOf=function(){var Z=this;return new yY(Z)},z}(),yY=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.elemType=Y,$.kind="ArrayType",$}return Z.prototype.toString=function(){return"["+this.elemType+"]"},Z.prototype.check=function(Y,$){var K=this;return Array.isArray(Y)&&Y.every(function(J){return K.elemType.check(J,$)})},Z}(IY),L$=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.value=Y,$.kind="IdentityType",$}return Z.prototype.toString=function(){return String(this.value)},Z.prototype.check=function(Y,$){var K=Y===this.value;if(!K&&typeof $==="function")$(this,Y);return K},Z}(IY),T$=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.fields=Y,$.kind="ObjectType",$}return Z.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},Z.prototype.check=function(Y,$){return BY.call(Y)===BY.call({})&&this.fields.every(function(K){return K.type.check(Y[K.name],$)})},Z}(IY),v$=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.types=Y,$.kind="OrType",$}return Z.prototype.toString=function(){return this.types.join(" | ")},Z.prototype.check=function(Y,$){if(this.types.some(function(K){return K.check(Y,!!$)}))return!0;if(typeof $==="function")$(this,Y);return!1},Z}(IY),FY=function(z){KY.__extends(Z,z);function Z(Y,$){var K=z.call(this)||this;return K.name=Y,K.predicate=$,K.kind="PredicateType",K}return Z.prototype.toString=function(){return this.name},Z.prototype.check=function(Y,$){var K=this.predicate(Y,$);if(!K&&typeof $==="function")$(this,Y);return K},Z}(IY),UY=function(){function z(Z,Y){this.type=Z,this.typeName=Y,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return z.prototype.isSupertypeOf=function(Z){if(Z instanceof z){if(this.finalized!==!0||Z.finalized!==!0)throw new Error("");return s.call(Z.allSupertypes,this.typeName)}else throw new Error(Z+" is not a Def")},z.prototype.checkAllFields=function(Z,Y){var $=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function K(J){var X=$[J],q=X.type,W=X.getValue(Z);return q.check(W,Y)}return Z!==null&&typeof Z==="object"&&Object.keys($).every(K)},z.prototype.bases=function(){var Z=[];for(var Y=0;Y<arguments.length;Y++)Z[Y]=arguments[Y];var $=this.baseNames;if(this.finalized){if(Z.length!==$.length)throw new Error("");for(var K=0;K<Z.length;K++)if(Z[K]!==$[K])throw new Error("");return this}return Z.forEach(function(J){if($.indexOf(J)<0)$.push(J)}),this},z}();N$.Def=UY;var k$=function(){function z(Z,Y,$,K){this.name=Z,this.type=Y,this.defaultFn=$,this.hidden=!!K}return z.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},z.prototype.getValue=function(Z){var Y=Z[this.name];if(typeof Y!=="undefined")return Y;if(typeof this.defaultFn==="function")Y=this.defaultFn.call(Z);return Y},z}();N$.default=X9;W9.maybeSetModuleExports(function(){return M$})});var hY=N((_$,S$)=>{var F9=function(z){var Z=z.use(q9.default),Y=Z.builtInTypes.array,$=Z.builtInTypes.number,K=function w(I,V,D){if(!(this instanceof w))throw new Error("Path constructor cannot be invoked without 'new'");if(V){if(!(V instanceof w))throw new Error("")}else V=null,D=null;this.value=I,this.parentPath=V,this.name=D,this.__childCache=null},J=K.prototype;function X(w){return w.__childCache||(w.__childCache=Object.create(null))}function q(w,I){var V=X(w),D=w.getValueProperty(I),H=V[I];if(!RY.call(V,I)||H.value!==D)H=V[I]=new w.constructor(D,w,I);return H}J.getValueProperty=function w(I){return this.value[I]},J.get=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=this,H=I.length;for(var E=0;E<H;++E)D=q(D,I[E]);return D},J.each=function w(I,V){var D=[],H=this.value.length,E=0;for(var E=0;E<H;++E)if(RY.call(this.value,E))D[E]=this.get(E);V=V||this;for(E=0;E<H;++E)if(RY.call(D,E))I.call(V,D[E])},J.map=function w(I,V){var D=[];return this.each(function(H){D.push(I.call(this,H))},V),D},J.filter=function w(I,V){var D=[];return this.each(function(H){if(I.call(this,H))D.push(H)},V),D};function W(){}function G(w,I,V,D){if(Y.assert(w.value),I===0)return W;var H=w.value.length;if(H<1)return W;var E=arguments.length;if(E===2)V=0,D=H;else if(E===3)V=Math.max(V,0),D=H;else V=Math.max(V,0),D=Math.min(D,H);$.assert(V),$.assert(D);var Q=Object.create(null),U=X(w);for(var A=V;A<D;++A)if(RY.call(w.value,A)){var F=w.get(A);if(F.name!==A)throw new Error("");var j=A+I;F.name=j,Q[j]=F,delete U[A]}return delete U.length,function(){for(var B in Q){var k=Q[B];if(k.name!==+B)throw new Error("");U[B]=k,w.value[B]=k.value}}}J.shift=function w(){var I=G(this,-1),V=this.value.shift();return I(),V},J.unshift=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=G(this,I.length),H=this.value.unshift.apply(this.value,I);return D(),H},J.push=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];return Y.assert(this.value),delete X(this).length,this.value.push.apply(this.value,I)},J.pop=function w(){Y.assert(this.value);var I=X(this);return delete I[this.value.length-1],delete I.length,this.value.pop()},J.insertAt=function w(I){var V=arguments.length,D=G(this,V-1,I);if(D===W&&V<=1)return this;I=Math.max(I,0);for(var H=1;H<V;++H)this.value[I+H-1]=arguments[H];return D(),this},J.insertBefore=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=this.parentPath,H=I.length,E=[this.name];for(var Q=0;Q<H;++Q)E.push(I[Q]);return D.insertAt.apply(D,E)},J.insertAfter=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=this.parentPath,H=I.length,E=[this.name+1];for(var Q=0;Q<H;++Q)E.push(I[Q]);return D.insertAt.apply(D,E)};function O(w){if(!(w instanceof K))throw new Error("");var I=w.parentPath;if(!I)return w;var V=I.value,D=X(I);if(V[w.name]===w.value)D[w.name]=w;else if(Y.check(V)){var H=V.indexOf(w.value);if(H>=0)D[w.name=H]=w}else V[w.name]=w.value,D[w.name]=w;if(V[w.name]!==w.value)throw new Error("");if(w.parentPath.get(w.name)!==w)throw new Error("");return w}return J.replace=function w(I){var V=[],D=this.parentPath.value,H=X(this.parentPath),E=arguments.length;if(O(this),Y.check(D)){var Q=D.length,U=G(this.parentPath,E-1,this.name+1),A=[this.name,1];for(var F=0;F<E;++F)A.push(arguments[F]);var j=D.splice.apply(D,A);if(j[0]!==this.value)throw new Error("");if(D.length!==Q-1+E)throw new Error("");if(U(),E===0)delete this.value,delete H[this.name],this.__childCache=null;else{if(D[this.name]!==I)throw new Error("");if(this.value!==I)this.value=I,this.__childCache=null;for(F=0;F<E;++F)V.push(this.parentPath.get(this.name+F));if(V[0]!==this)throw new Error("")}}else if(E===1){if(this.value!==I)this.__childCache=null;this.value=D[this.name]=I,V.push(this)}else if(E===0)delete D[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return V},K};Object.defineProperty(_$,"__esModule",{value:!0});var D9=_(),H9=S(),q9=D9.__importDefault(y()),G9=Object.prototype,RY=G9.hasOwnProperty;_$.default=F9;H9.maybeSetModuleExports(function(){return S$})});var y$=N((b$,P$)=>{var w9=function(z){var Z=z.use(V9.default),Y=Z.Type,$=Z.namedTypes,K=$.Node,J=$.Expression,X=Z.builtInTypes.array,q=Z.builders,W=function F(j,B){if(!(this instanceof F))throw new Error("Scope constructor cannot be invoked without 'new'");if(!O.check(j.value))G.assert(j.value);var k;if(B){if(!(B instanceof F))throw new Error("");k=B.depth+1}else B=null,k=0;Object.defineProperties(this,{path:{value:j},node:{value:j.value},isGlobal:{value:!B,enumerable:!0},depth:{value:k},parent:{value:B},bindings:{value:{}},types:{value:{}}})},G=Y.or($.Program,$.Function,$.CatchClause),O=Y.or($.Function,$.ClassDeclaration,$.ClassExpression,$.InterfaceDeclaration,$.TSInterfaceDeclaration,$.TypeAlias,$.TSTypeAliasDeclaration),w=Y.or($.TypeParameter,$.TSTypeParameter);W.isEstablishedBy=function(F){return G.check(F)||O.check(F)};var I=W.prototype;I.didScan=!1,I.declares=function(F){return this.scan(),JY.call(this.bindings,F)},I.declaresType=function(F){return this.scan(),JY.call(this.types,F)},I.declareTemporary=function(F){if(F){if(!/^[a-z$_]/i.test(F))throw new Error("")}else F="t$";F+=this.depth.toString(36)+"$",this.scan();var j=0;while(this.declares(F+j))++j;var B=F+j;return this.bindings[B]=Z.builders.identifier(B)},I.injectTemporary=function(F,j){F||(F=this.declareTemporary());var B=this.path.get("body");if($.BlockStatement.check(B.value))B=B.get("body");return B.unshift(q.variableDeclaration("var",[q.variableDeclarator(F,j||null)])),F},I.scan=function(F){if(F||!this.didScan){for(var j in this.bindings)delete this.bindings[j];for(var j in this.types)delete this.types[j];V(this.path,this.bindings,this.types),this.didScan=!0}},I.getBindings=function(){return this.scan(),this.bindings},I.getTypes=function(){return this.scan(),this.types};function V(F,j,B){var k=F.value;if(O.check(k)){var b=F.get("typeParameters","params");if(X.check(b.value))b.each(function(u){A(u,B)})}if(G.check(k))if($.CatchClause.check(k))Q(F.get("param"),j);else D(F,j,B)}function D(F,j,B){var k=F.value;if(F.parent&&$.FunctionExpression.check(F.parent.node)&&F.parent.node.id)Q(F.parent.get("id"),j);if(!k);else if(X.check(k))F.each(function(b){E(b,j,B)});else if($.Function.check(k))F.get("params").each(function(b){Q(b,j)}),E(F.get("body"),j,B),D(F.get("typeParameters"),j,B);else if($.TypeAlias&&$.TypeAlias.check(k)||$.InterfaceDeclaration&&$.InterfaceDeclaration.check(k)||$.TSTypeAliasDeclaration&&$.TSTypeAliasDeclaration.check(k)||$.TSInterfaceDeclaration&&$.TSInterfaceDeclaration.check(k))U(F.get("id"),B);else if($.VariableDeclarator.check(k))Q(F.get("id"),j),E(F.get("init"),j,B);else if(k.type==="ImportSpecifier"||k.type==="ImportNamespaceSpecifier"||k.type==="ImportDefaultSpecifier")Q(F.get(k.local?"local":k.name?"name":"id"),j);else if(K.check(k)&&!J.check(k))Z.eachField(k,function(b,u){var i=F.get(b);if(!H(i,u))throw new Error("");E(i,j,B)})}function H(F,j){if(F.value===j)return!0;if(Array.isArray(F.value)&&F.value.length===0&&Array.isArray(j)&&j.length===0)return!0;return!1}function E(F,j,B){var k=F.value;if(!k||J.check(k));else if($.FunctionDeclaration.check(k)&&k.id!==null)Q(F.get("id"),j);else if($.ClassDeclaration&&$.ClassDeclaration.check(k)&&k.id!==null)Q(F.get("id"),j),D(F.get("typeParameters"),j,B);else if($.InterfaceDeclaration&&$.InterfaceDeclaration.check(k)||$.TSInterfaceDeclaration&&$.TSInterfaceDeclaration.check(k))U(F.get("id"),B);else if(G.check(k)){if($.CatchClause.check(k)&&$.Identifier.check(k.param)){var b=k.param.name,u=JY.call(j,b);if(D(F.get("body"),j,B),!u)delete j[b]}}else D(F,j,B)}function Q(F,j){var B=F.value;if($.Pattern.assert(B),$.Identifier.check(B))if(JY.call(j,B.name))j[B.name].push(F);else j[B.name]=[F];else if($.AssignmentPattern&&$.AssignmentPattern.check(B))Q(F.get("left"),j);else if($.ObjectPattern&&$.ObjectPattern.check(B))F.get("properties").each(function(k){var b=k.value;if($.Pattern.check(b))Q(k,j);else if($.Property.check(b)||$.ObjectProperty&&$.ObjectProperty.check(b))Q(k.get("value"),j);else if($.SpreadProperty&&$.SpreadProperty.check(b))Q(k.get("argument"),j)});else if($.ArrayPattern&&$.ArrayPattern.check(B))F.get("elements").each(function(k){var b=k.value;if($.Pattern.check(b))Q(k,j);else if($.SpreadElement&&$.SpreadElement.check(b))Q(k.get("argument"),j)});else if($.PropertyPattern&&$.PropertyPattern.check(B))Q(F.get("pattern"),j);else if($.SpreadElementPattern&&$.SpreadElementPattern.check(B)||$.RestElement&&$.RestElement.check(B)||$.SpreadPropertyPattern&&$.SpreadPropertyPattern.check(B))Q(F.get("argument"),j)}function U(F,j){var B=F.value;if($.Pattern.assert(B),$.Identifier.check(B))if(JY.call(j,B.name))j[B.name].push(F);else j[B.name]=[F]}function A(F,j){var B=F.value;if(w.assert(B),JY.call(j,B.name))j[B.name].push(F);else j[B.name]=[F]}return I.lookup=function(F){for(var j=this;j;j=j.parent)if(j.declares(F))break;return j},I.lookupType=function(F){for(var j=this;j;j=j.parent)if(j.declaresType(F))break;return j},I.getGlobalScope=function(){var F=this;while(!F.isGlobal)F=F.parent;return F},W};Object.defineProperty(b$,"__esModule",{value:!0});var E9=_(),O9=S(),V9=E9.__importDefault(y()),JY=Object.prototype.hasOwnProperty;b$.default=w9;O9.maybeSetModuleExports(function(){return P$})});var mY=N((g$,h$)=>{var L9=function(z){var Z=z.use(U9.default),Y=Z.namedTypes,$=Z.builders,K=Z.builtInTypes.number,J=Z.builtInTypes.array,X=z.use(B9.default),q=z.use(R9.default),W=function Q(U,A,F){if(!(this instanceof Q))throw new Error("NodePath constructor cannot be invoked without 'new'");X.call(this,U,A,F)},G=W.prototype=Object.create(X.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(G,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),G.replace=function(){return delete this.node,delete this.parent,delete this.scope,X.prototype.replace.apply(this,arguments)},G.prune=function(){var Q=this.parent;return this.replace(),H(Q)},G._computeNode=function(){var Q=this.value;if(Y.Node.check(Q))return Q;var U=this.parentPath;return U&&U.node||null},G._computeParent=function(){var Q=this.value,U=this.parentPath;if(!Y.Node.check(Q)){while(U&&!Y.Node.check(U.value))U=U.parentPath;if(U)U=U.parentPath}while(U&&!Y.Node.check(U.value))U=U.parentPath;return U||null},G._computeScope=function(){var Q=this.value,U=this.parentPath,A=U&&U.scope;if(Y.Node.check(Q)&&q.isEstablishedBy(Q))A=new q(this,A);return A||null},G.getValueProperty=function(Q){return Z.getFieldValue(this.value,Q)},G.needsParens=function(Q){var U=this.parentPath;if(!U)return!1;var A=this.value;if(!Y.Expression.check(A))return!1;if(A.type==="Identifier")return!1;while(!Y.Node.check(U.value))if(U=U.parentPath,!U)return!1;var F=U.value;switch(A.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return F.type==="MemberExpression"&&this.name==="object"&&F.object===A;case"BinaryExpression":case"LogicalExpression":switch(F.type){case"CallExpression":return this.name==="callee"&&F.callee===A;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&F.object===A;case"BinaryExpression":case"LogicalExpression":{var j=A,B=F.operator,k=I[B],b=j.operator,u=I[b];if(k>u)return!0;if(k===u&&this.name==="right"){if(F.right!==j)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(F.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(F.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return F.type==="MemberExpression"&&K.check(A.value)&&this.name==="object"&&F.object===A;case"AssignmentExpression":case"ConditionalExpression":switch(F.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&F.callee===A;case"ConditionalExpression":return this.name==="test"&&F.test===A;case"MemberExpression":return this.name==="object"&&F.object===A;default:return!1}default:if(F.type==="NewExpression"&&this.name==="callee"&&F.callee===A)return V(A)}if(Q!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())return!0;return!1};function O(Q){return Y.BinaryExpression.check(Q)||Y.LogicalExpression.check(Q)}function w(Q){return Y.UnaryExpression.check(Q)||Y.SpreadElement&&Y.SpreadElement.check(Q)||Y.SpreadProperty&&Y.SpreadProperty.check(Q)}var I={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(Q,U){Q.forEach(function(A){I[A]=U})});function V(Q){if(Y.CallExpression.check(Q))return!0;if(J.check(Q))return Q.some(V);if(Y.Node.check(Q))return Z.someField(Q,function(U,A){return V(A)});return!1}G.canBeFirstInStatement=function(){var Q=this.node;return!Y.FunctionExpression.check(Q)&&!Y.ObjectExpression.check(Q)},G.firstInStatement=function(){return D(this)};function D(Q){for(var U,A;Q.parent;Q=Q.parent){if(U=Q.node,A=Q.parent.node,Y.BlockStatement.check(A)&&Q.parent.name==="body"&&Q.name===0){if(A.body[0]!==U)throw new Error("Nodes must be equal");return!0}if(Y.ExpressionStatement.check(A)&&Q.name==="expression"){if(A.expression!==U)throw new Error("Nodes must be equal");return!0}if(Y.SequenceExpression.check(A)&&Q.parent.name==="expressions"&&Q.name===0){if(A.expressions[0]!==U)throw new Error("Nodes must be equal");continue}if(Y.CallExpression.check(A)&&Q.name==="callee"){if(A.callee!==U)throw new Error("Nodes must be equal");continue}if(Y.MemberExpression.check(A)&&Q.name==="object"){if(A.object!==U)throw new Error("Nodes must be equal");continue}if(Y.ConditionalExpression.check(A)&&Q.name==="test"){if(A.test!==U)throw new Error("Nodes must be equal");continue}if(O(A)&&Q.name==="left"){if(A.left!==U)throw new Error("Nodes must be equal");continue}if(Y.UnaryExpression.check(A)&&!A.prefix&&Q.name==="argument"){if(A.argument!==U)throw new Error("Nodes must be equal");continue}return!1}return!0}function H(Q){if(Y.VariableDeclaration.check(Q.node)){var U=Q.get("declarations").value;if(!U||U.length===0)return Q.prune()}else if(Y.ExpressionStatement.check(Q.node)){if(!Q.get("expression").value)return Q.prune()}else if(Y.IfStatement.check(Q.node))E(Q);return Q}function E(Q){var U=Q.get("test").value,A=Q.get("alternate").value,F=Q.get("consequent").value;if(!F&&!A){var j=$.expressionStatement(U);Q.replace(j)}else if(!F&&A){var B=$.unaryExpression("!",U,!0);if(Y.UnaryExpression.check(U)&&U.operator==="!")B=U.argument;Q.get("test").replace(B),Q.get("consequent").replace(A),Q.get("alternate").replace()}}return W};Object.defineProperty(g$,"__esModule",{value:!0});var cY=_(),U9=cY.__importDefault(y()),B9=cY.__importDefault(hY()),R9=cY.__importDefault(y$()),A9=S();g$.default=L9;A9.maybeSetModuleExports(function(){return h$})});var u$=N((m$,f$)=>{var N9=function(z){var Z=z.use(v9.default),Y=z.use(k9.default),$=Z.builtInTypes.array,K=Z.builtInTypes.object,J=Z.builtInTypes.function,X,q=function D(){if(!(this instanceof D))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=W(this),this._shouldVisitComments=AY.call(this._methodNameTable,"Block")||AY.call(this._methodNameTable,"Line"),this.Context=I(this),this._visiting=!1,this._changeReported=!1};function W(D){var H=Object.create(null);for(var E in D)if(/^visit[A-Z]/.test(E))H[E.slice("visit".length)]=!0;var Q=Z.computeSupertypeLookupTable(H),U=Object.create(null),A=Object.keys(Q),F=A.length;for(var j=0;j<F;++j){var B=A[j];if(E="visit"+Q[B],J.check(D[E]))U[B]=E}return U}q.fromMethodsObject=function D(H){if(H instanceof q)return H;if(!K.check(H))return new q;var E=function U(){if(!(this instanceof U))throw new Error("Visitor constructor cannot be invoked without 'new'");q.call(this)},Q=E.prototype=Object.create(O);return Q.constructor=E,G(Q,H),G(E,q),J.assert(E.fromMethodsObject),J.assert(E.visit),new E};function G(D,H){for(var E in H)if(AY.call(H,E))D[E]=H[E];return D}q.visit=function D(H,E){return q.fromMethodsObject(E).visit(H)};var O=q.prototype;O.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;var D=arguments.length,H=new Array(D);for(var E=0;E<D;++E)H[E]=arguments[E];if(!(H[0]instanceof Y))H[0]=new Y({root:H[0]}).get("root");this.reset.apply(this,H);var Q;try{var U=this.visitWithoutReset(H[0]);Q=!0}finally{if(this._visiting=!1,!Q&&this._abortRequested)return H[0].value}return U},O.AbortRequest=function D(){},O.abort=function(){var D=this;D._abortRequested=!0;var H=new D.AbortRequest;throw H.cancel=function(){D._abortRequested=!1},H},O.reset=function(D){},O.visitWithoutReset=function(D){if(this instanceof this.Context)return this.visitor.visitWithoutReset(D);if(!(D instanceof Y))throw new Error("");var H=D.value,E=H&&typeof H==="object"&&typeof H.type==="string"&&this._methodNameTable[H.type];if(E){var Q=this.acquireContext(D);try{return Q.invokeVisitorMethod(E)}finally{this.releaseContext(Q)}}else return w(D,this)};function w(D,H){if(!(D instanceof Y))throw new Error("");if(!(H instanceof q))throw new Error("");var E=D.value;if($.check(E))D.each(H.visitWithoutReset,H);else if(!K.check(E));else{var Q=Z.getFieldNames(E);if(H._shouldVisitComments&&E.comments&&Q.indexOf("comments")<0)Q.push("comments");var U=Q.length,A=[];for(var F=0;F<U;++F){var j=Q[F];if(!AY.call(E,j))E[j]=Z.getFieldValue(E,j);A.push(D.get(j))}for(var F=0;F<U;++F)H.visitWithoutReset(A[F])}return D.value}O.acquireContext=function(D){if(this._reusableContextStack.length===0)return new this.Context(D);return this._reusableContextStack.pop().reset(D)},O.releaseContext=function(D){if(!(D instanceof this.Context))throw new Error("");this._reusableContextStack.push(D),D.currentPath=null},O.reportChanged=function(){this._changeReported=!0},O.wasChangeReported=function(){return this._changeReported};function I(D){function H(Q){if(!(this instanceof H))throw new Error("");if(!(this instanceof q))throw new Error("");if(!(Q instanceof Y))throw new Error("");Object.defineProperty(this,"visitor",{value:D,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=Q,this.needToCallTraverse=!0,Object.seal(this)}if(!(D instanceof q))throw new Error("");var E=H.prototype=Object.create(D);return E.constructor=H,G(E,V),H}var V=Object.create(null);return V.reset=function D(H){if(!(this instanceof this.Context))throw new Error("");if(!(H instanceof Y))throw new Error("");return this.currentPath=H,this.needToCallTraverse=!0,this},V.invokeVisitorMethod=function D(H){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof Y))throw new Error("");var E=this.visitor[H].call(this,this.currentPath);if(E===!1)this.needToCallTraverse=!1;else if(E!==X){if(this.currentPath=this.currentPath.replace(E)[0],this.needToCallTraverse)this.traverse(this.currentPath)}if(this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+H);var Q=this.currentPath;return Q&&Q.value},V.traverse=function D(H,E){if(!(this instanceof this.Context))throw new Error("");if(!(H instanceof Y))throw new Error("");if(!(this.currentPath instanceof Y))throw new Error("");return this.needToCallTraverse=!1,w(H,q.fromMethodsObject(E||this.visitor))},V.visit=function D(H,E){if(!(this instanceof this.Context))throw new Error("");if(!(H instanceof Y))throw new Error("");if(!(this.currentPath instanceof Y))throw new Error("");return this.needToCallTraverse=!1,q.fromMethodsObject(E||this.visitor).visitWithoutReset(H)},V.reportChanged=function D(){this.visitor.reportChanged()},V.abort=function D(){this.needToCallTraverse=!1,this.visitor.abort()},q};Object.defineProperty(m$,"__esModule",{value:!0});var c$=_(),v9=c$.__importDefault(y()),k9=c$.__importDefault(mY()),C9=S(),AY=Object.prototype.hasOwnProperty;m$.default=N9;C9.maybeSetModuleExports(function(){return f$})});var s$=N((l$,d$)=>{var b9=function(z){var Z=z.use(S9.default),Y=Z.getFieldNames,$=Z.getFieldValue,K=Z.builtInTypes.array,J=Z.builtInTypes.object,X=Z.builtInTypes.Date,q=Z.builtInTypes.RegExp,W=Object.prototype.hasOwnProperty;function G(D,H,E){if(K.check(E))E.length=0;else E=null;return w(D,H,E)}G.assert=function(D,H){var E=[];if(!G(D,H,E))if(E.length===0){if(D!==H)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+E.map(O).join(""))};function O(D){if(/[_$a-z][_$a-z0-9]*/i.test(D))return"."+D;return"["+JSON.stringify(D)+"]"}function w(D,H,E){if(D===H)return!0;if(K.check(D))return I(D,H,E);if(J.check(D))return V(D,H,E);if(X.check(D))return X.check(H)&&+D===+H;if(q.check(D))return q.check(H)&&(D.source===H.source&&D.global===H.global&&D.multiline===H.multiline&&D.ignoreCase===H.ignoreCase);return D==H}function I(D,H,E){K.assert(D);var Q=D.length;if(!K.check(H)||H.length!==Q){if(E)E.push("length");return!1}for(var U=0;U<Q;++U){if(E)E.push(U);if(U in D!==U in H)return!1;if(!w(D[U],H[U],E))return!1;if(E){var A=E.pop();if(A!==U)throw new Error(""+A)}}return!0}function V(D,H,E){if(J.assert(D),!J.check(H))return!1;if(D.type!==H.type){if(E)E.push("type");return!1}var Q=Y(D),U=Q.length,A=Y(H),F=A.length;if(U===F){for(var j=0;j<U;++j){var B=Q[j],k=$(D,B),b=$(H,B);if(E)E.push(B);if(!w(k,b,E))return!1;if(E){var u=E.pop();if(u!==B)throw new Error(""+u)}}return!0}if(!E)return!1;var i=Object.create(null);for(j=0;j<U;++j)i[Q[j]]=!0;for(j=0;j<F;++j){if(B=A[j],!W.call(i,B))return E.push(B),!1;delete i[B]}for(B in i){E.push(B);break}return!1}return G};Object.defineProperty(l$,"__esModule",{value:!0});var x9=_(),_9=S(),S9=x9.__importDefault(y());l$.default=b9;_9.maybeSetModuleExports(function(){return d$})});var i$=N((n$,o$)=>{var u9=function(z){var Z=l9(),Y=Z.use(y9.default);z.forEach(Z.use),Y.finalize();var $=Z.use(g9.default);return{Type:Y.Type,builtInTypes:Y.builtInTypes,namedTypes:Y.namedTypes,builders:Y.builders,defineMethod:Y.defineMethod,getFieldNames:Y.getFieldNames,getFieldValue:Y.getFieldValue,eachField:Y.eachField,someField:Y.someField,getSupertypeNames:Y.getSupertypeNames,getBuilderName:Y.getBuilderName,astNodesAreEquivalent:Z.use(h9.default),finalize:Y.finalize,Path:Z.use(c9.default),NodePath:Z.use(m9.default),PathVisitor:$,use:Z.use,visit:$.visit}},l9=function(){var z=[],Z=[];function Y(K){var J=z.indexOf(K);if(J===-1)J=z.length,z.push(K),Z[J]=K($);return Z[J]}var $={use:Y};return $};Object.defineProperty(n$,"__esModule",{value:!0});var EY=_(),y9=EY.__importDefault(y()),g9=EY.__importDefault(u$()),h9=EY.__importDefault(s$()),c9=EY.__importDefault(hY()),m9=EY.__importDefault(mY()),f9=S();n$.default=u9;f9.maybeSetModuleExports(function(){return o$})});var fY=N((p$,r$)=>{var n9=function(){return{BinaryOperators:["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],AssignmentOperators:["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],LogicalOperators:["||","&&"]}};Object.defineProperty(p$,"__esModule",{value:!0});var s9=S();p$.default=n9;s9.maybeSetModuleExports(function(){return r$})});var uY=N((t$,a$)=>{var t9=function(z){var Z=z.use(r9.default);if(Z.BinaryOperators.indexOf("**")<0)Z.BinaryOperators.push("**");if(Z.AssignmentOperators.indexOf("**=")<0)Z.AssignmentOperators.push("**=");return Z};Object.defineProperty(t$,"__esModule",{value:!0});var i9=_(),p9=S(),r9=i9.__importDefault(fY());t$.default=t9;p9.maybeSetModuleExports(function(){return a$})});var lY=N((e$,YZ)=>{var Zz=function(z){var Z=z.use($z.default);if(Z.LogicalOperators.indexOf("??")<0)Z.LogicalOperators.push("??");return Z};Object.defineProperty(e$,"__esModule",{value:!0});var e9=_(),Yz=S(),$z=e9.__importDefault(uY());e$.default=Zz;Yz.maybeSetModuleExports(function(){return YZ})});var zZ=N(($Z,ZZ)=>{var Xz=function(z){var Z=z.use(Wz.default);return Z.LogicalOperators.forEach(function(Y){var $=Y+"=";if(Z.AssignmentOperators.indexOf($)<0)Z.AssignmentOperators.push($)}),Z};Object.defineProperty($Z,"__esModule",{value:!0});var Kz=_(),Jz=S(),Wz=Kz.__importDefault(lY());$Z.default=Xz;Jz.maybeSetModuleExports(function(){return ZZ})});var XZ=N((JZ,WZ)=>{var qz=function(z){var Z=z.use(Hz.default),Y=Z.Type,$=Y.def,K=Y.or,J=z.use(KZ.default),X=J.defaults,q=J.geq,W=z.use(Dz.default),G=W.BinaryOperators,O=W.AssignmentOperators,w=W.LogicalOperators;$("Printable").field("loc",K($("SourceLocation"),null),X.null,!0),$("Node").bases("Printable").field("type",String).field("comments",K([$("Comment")],null),X.null,!0),$("SourceLocation").field("start",$("Position")).field("end",$("Position")).field("source",K(String,null),X.null),$("Position").field("line",q(1)).field("column",q(0)),$("File").bases("Node").build("program","name").field("program",$("Program")).field("name",K(String,null),X.null),$("Program").bases("Node").build("body").field("body",[$("Statement")]),$("Function").bases("Node").field("id",K($("Identifier"),null),X.null).field("params",[$("Pattern")]).field("body",$("BlockStatement")).field("generator",Boolean,X.false).field("async",Boolean,X.false),$("Statement").bases("Node"),$("EmptyStatement").bases("Statement").build(),$("BlockStatement").bases("Statement").build("body").field("body",[$("Statement")]),$("ExpressionStatement").bases("Statement").build("expression").field("expression",$("Expression")),$("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",$("Expression")).field("consequent",$("Statement")).field("alternate",K($("Statement"),null),X.null),$("LabeledStatement").bases("Statement").build("label","body").field("label",$("Identifier")).field("body",$("Statement")),$("BreakStatement").bases("Statement").build("label").field("label",K($("Identifier"),null),X.null),$("ContinueStatement").bases("Statement").build("label").field("label",K($("Identifier"),null),X.null),$("WithStatement").bases("Statement").build("object","body").field("object",$("Expression")).field("body",$("Statement")),$("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",$("Expression")).field("cases",[$("SwitchCase")]).field("lexical",Boolean,X.false),$("ReturnStatement").bases("Statement").build("argument").field("argument",K($("Expression"),null)),$("ThrowStatement").bases("Statement").build("argument").field("argument",$("Expression")),$("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",$("BlockStatement")).field("handler",K($("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[$("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[$("CatchClause")],X.emptyArray).field("finalizer",K($("BlockStatement"),null),X.null),$("CatchClause").bases("Node").build("param","guard","body").field("param",$("Pattern")).field("guard",K($("Expression"),null),X.null).field("body",$("BlockStatement")),$("WhileStatement").bases("Statement").build("test","body").field("test",$("Expression")).field("body",$("Statement")),$("DoWhileStatement").bases("Statement").build("body","test").field("body",$("Statement")).field("test",$("Expression")),$("ForStatement").bases("Statement").build("init","test","update","body").field("init",K($("VariableDeclaration"),$("Expression"),null)).field("test",K($("Expression"),null)).field("update",K($("Expression"),null)).field("body",$("Statement")),$("ForInStatement").bases("Statement").build("left","right","body").field("left",K($("VariableDeclaration"),$("Expression"))).field("right",$("Expression")).field("body",$("Statement")),$("DebuggerStatement").bases("Statement").build(),$("Declaration").bases("Statement"),$("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",$("Identifier")),$("FunctionExpression").bases("Function","Expression").build("id","params","body"),$("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",K("var","let","const")).field("declarations",[$("VariableDeclarator")]),$("VariableDeclarator").bases("Node").build("id","init").field("id",$("Pattern")).field("init",K($("Expression"),null),X.null),$("Expression").bases("Node"),$("ThisExpression").bases("Expression").build(),$("ArrayExpression").bases("Expression").build("elements").field("elements",[K($("Expression"),null)]),$("ObjectExpression").bases("Expression").build("properties").field("properties",[$("Property")]),$("Property").bases("Node").build("kind","key","value").field("kind",K("init","get","set")).field("key",K($("Literal"),$("Identifier"))).field("value",$("Expression")),$("SequenceExpression").bases("Expression").build("expressions").field("expressions",[$("Expression")]);var I=K("-","+","!","~","typeof","void","delete");$("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",I).field("argument",$("Expression")).field("prefix",Boolean,X.true);var V=K.apply(void 0,G);$("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",V).field("left",$("Expression")).field("right",$("Expression"));var D=K.apply(void 0,O);$("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",D).field("left",K($("Pattern"),$("MemberExpression"))).field("right",$("Expression"));var H=K("++","--");$("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",H).field("argument",$("Expression")).field("prefix",Boolean);var E=K.apply(void 0,w);$("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",E).field("left",$("Expression")).field("right",$("Expression")),$("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",$("Expression")).field("consequent",$("Expression")).field("alternate",$("Expression")),$("NewExpression").bases("Expression").build("callee","arguments").field("callee",$("Expression")).field("arguments",[$("Expression")]),$("CallExpression").bases("Expression").build("callee","arguments").field("callee",$("Expression")).field("arguments",[$("Expression")]),$("MemberExpression").bases("Expression").build("object","property","computed").field("object",$("Expression")).field("property",K($("Identifier"),$("Expression"))).field("computed",Boolean,function(){var Q=this.property.type;if(Q==="Literal"||Q==="MemberExpression"||Q==="BinaryExpression")return!0;return!1}),$("Pattern").bases("Node"),$("SwitchCase").bases("Node").build("test","consequent").field("test",K($("Expression"),null)).field("consequent",[$("Statement")]),$("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,X.false),$("Literal").bases("Expression").build("value").field("value",K(String,Boolean,null,Number,RegExp,BigInt)),$("Comment").bases("Printable").field("value",String).field("leading",Boolean,X.true).field("trailing",Boolean,X.false)};Object.defineProperty(JZ,"__esModule",{value:!0});var dY=_(),Dz=dY.__importDefault(fY()),Hz=dY.__importDefault(y()),KZ=dY.__importStar(S());JZ.default=qz;KZ.maybeSetModuleExports(function(){return WZ})});var qZ=N((DZ,HZ)=>{var Ez=function(z){z.use(Fz.default);var Z=z.use(Iz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(QZ.default).defaults;Y("Function").field("generator",Boolean,K.false).field("expression",Boolean,K.false).field("defaults",[$(Y("Expression"),null)],K.emptyArray).field("rest",$(Y("Identifier"),null),K.null),Y("RestElement").bases("Pattern").build("argument").field("argument",Y("Pattern")).field("typeAnnotation",$(Y("TypeAnnotation"),Y("TSTypeAnnotation"),null),K.null),Y("SpreadElementPattern").bases("Pattern").build("argument").field("argument",Y("Pattern")),Y("FunctionDeclaration").build("id","params","body","generator","expression").field("id",$(Y("Identifier"),null)),Y("FunctionExpression").build("id","params","body","generator","expression"),Y("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,K.null).field("body",$(Y("BlockStatement"),Y("Expression"))).field("generator",!1,K.false),Y("ForOfStatement").bases("Statement").build("left","right","body").field("left",$(Y("VariableDeclaration"),Y("Pattern"))).field("right",Y("Expression")).field("body",Y("Statement")),Y("YieldExpression").bases("Expression").build("argument","delegate").field("argument",$(Y("Expression"),null)).field("delegate",Boolean,K.false),Y("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",Y("Expression")).field("blocks",[Y("ComprehensionBlock")]).field("filter",$(Y("Expression"),null)),Y("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",Y("Expression")).field("blocks",[Y("ComprehensionBlock")]).field("filter",$(Y("Expression"),null)),Y("ComprehensionBlock").bases("Node").build("left","right","each").field("left",Y("Pattern")).field("right",Y("Expression")).field("each",Boolean),Y("Property").field("key",$(Y("Literal"),Y("Identifier"),Y("Expression"))).field("value",$(Y("Expression"),Y("Pattern"))).field("method",Boolean,K.false).field("shorthand",Boolean,K.false).field("computed",Boolean,K.false),Y("ObjectProperty").field("shorthand",Boolean,K.false),Y("PropertyPattern").bases("Pattern").build("key","pattern").field("key",$(Y("Literal"),Y("Identifier"),Y("Expression"))).field("pattern",Y("Pattern")).field("computed",Boolean,K.false),Y("ObjectPattern").bases("Pattern").build("properties").field("properties",[$(Y("PropertyPattern"),Y("Property"))]),Y("ArrayPattern").bases("Pattern").build("elements").field("elements",[$(Y("Pattern"),null)]),Y("SpreadElement").bases("Node").build("argument").field("argument",Y("Expression")),Y("ArrayExpression").field("elements",[$(Y("Expression"),Y("SpreadElement"),Y("RestElement"),null)]),Y("NewExpression").field("arguments",[$(Y("Expression"),Y("SpreadElement"))]),Y("CallExpression").field("arguments",[$(Y("Expression"),Y("SpreadElement"))]),Y("AssignmentPattern").bases("Pattern").build("left","right").field("left",Y("Pattern")).field("right",Y("Expression")),Y("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",$("constructor","method","get","set")).field("key",Y("Expression")).field("value",Y("Function")).field("computed",Boolean,K.false).field("static",Boolean,K.false);var J=$(Y("MethodDefinition"),Y("VariableDeclarator"),Y("ClassPropertyDefinition"),Y("ClassProperty"),Y("StaticBlock"));Y("ClassProperty").bases("Declaration").build("key").field("key",$(Y("Literal"),Y("Identifier"),Y("Expression"))).field("computed",Boolean,K.false),Y("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",J),Y("ClassBody").bases("Declaration").build("body").field("body",[J]),Y("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",$(Y("Identifier"),null)).field("body",Y("ClassBody")).field("superClass",$(Y("Expression"),null),K.null),Y("ClassExpression").bases("Expression").build("id","body","superClass").field("id",$(Y("Identifier"),null),K.null).field("body",Y("ClassBody")).field("superClass",$(Y("Expression"),null),K.null),Y("Super").bases("Expression").build(),Y("Specifier").bases("Node"),Y("ModuleSpecifier").bases("Specifier").field("local",$(Y("Identifier"),null),K.null).field("id",$(Y("Identifier"),null),K.null).field("name",$(Y("Identifier"),null),K.null),Y("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",Y("Identifier")),Y("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),Y("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),Y("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[$(Y("ImportSpecifier"),Y("ImportNamespaceSpecifier"),Y("ImportDefaultSpecifier"))],K.emptyArray).field("source",Y("Literal")).field("importKind",$("value","type"),function(){return"value"}),Y("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",$(Y("Declaration"),null)).field("specifiers",[Y("ExportSpecifier")],K.emptyArray).field("source",$(Y("Literal"),null),K.null),Y("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",Y("Identifier")),Y("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",$(Y("Declaration"),Y("Expression"))),Y("ExportAllDeclaration").bases("Declaration").build("source").field("source",Y("Literal")),Y("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",Y("Expression")).field("quasi",Y("TemplateLiteral")),Y("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[Y("TemplateElement")]).field("expressions",[Y("Expression")]),Y("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),Y("MetaProperty").bases("Expression").build("meta","property").field("meta",Y("Identifier")).field("property",Y("Identifier"))};Object.defineProperty(DZ,"__esModule",{value:!0});var sY=_(),Fz=sY.__importDefault(XZ()),Iz=sY.__importDefault(y()),QZ=sY.__importStar(S());DZ.default=Ez;QZ.maybeSetModuleExports(function(){return HZ})});var EZ=N((FZ,IZ)=>{var Uz=function(z){z.use(Vz.default),z.use(wz.default)};Object.defineProperty(FZ,"__esModule",{value:!0});var GZ=_(),Vz=GZ.__importDefault(uY()),wz=GZ.__importDefault(qZ()),jz=S();FZ.default=Uz;jz.maybeSetModuleExports(function(){return IZ})});var jZ=N((VZ,wZ)=>{var Lz=function(z){z.use(Rz.default);var Z=z.use(Az.default),Y=Z.Type.def,$=z.use(OZ.default).defaults;Y("Function").field("async",Boolean,$.false),Y("AwaitExpression").bases("Expression").build("argument").field("argument",Y("Expression"))};Object.defineProperty(VZ,"__esModule",{value:!0});var nY=_(),Rz=nY.__importDefault(EZ()),Az=nY.__importDefault(y()),OZ=nY.__importStar(S());VZ.default=Lz;OZ.maybeSetModuleExports(function(){return wZ})});var AZ=N((BZ,RZ)=>{var Cz=function(z){z.use(vz.default);var Z=z.use(kz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(UZ.default).defaults;Y("ForOfStatement").field("await",Boolean,K.false),Y("SpreadProperty").bases("Node").build("argument").field("argument",Y("Expression")),Y("ObjectExpression").field("properties",[$(Y("Property"),Y("SpreadProperty"),Y("SpreadElement"))]),Y("TemplateElement").field("value",{cooked:$(String,null),raw:String}),Y("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",Y("Pattern")),Y("ObjectPattern").field("properties",[$(Y("PropertyPattern"),Y("Property"),Y("RestElement"),Y("SpreadPropertyPattern"))])};Object.defineProperty(BZ,"__esModule",{value:!0});var oY=_(),vz=oY.__importDefault(jZ()),kz=oY.__importDefault(y()),UZ=oY.__importStar(S());BZ.default=Cz;UZ.maybeSetModuleExports(function(){return RZ})});var kZ=N((TZ,vZ)=>{var _z=function(z){z.use(Mz.default);var Z=z.use(xz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(LZ.default).defaults;Y("CatchClause").field("param",$(Y("Pattern"),null),K.null)};Object.defineProperty(TZ,"__esModule",{value:!0});var iY=_(),Mz=iY.__importDefault(AZ()),xz=iY.__importDefault(y()),LZ=iY.__importStar(S());TZ.default=_z;LZ.maybeSetModuleExports(function(){return vZ})});var xZ=N((NZ,MZ)=>{var gz=function(z){z.use(bz.default),z.use(Pz.default);var Z=z.use(yz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(CZ.default),J=K.defaults;Y("ImportExpression").bases("Expression").build("source").field("source",Y("Expression")),Y("ExportAllDeclaration").bases("Declaration").build("source","exported").field("source",Y("Literal")).field("exported",$(Y("Identifier"),null,void 0),J.null),Y("ChainElement").bases("Node").field("optional",Boolean,J.false),Y("CallExpression").bases("Expression","ChainElement"),Y("MemberExpression").bases("Expression","ChainElement"),Y("ChainExpression").bases("Expression").build("expression").field("expression",Y("ChainElement")),Y("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,J.true),Y("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,J.true)};Object.defineProperty(NZ,"__esModule",{value:!0});var LY=_(),bz=LY.__importDefault(lY()),Pz=LY.__importDefault(kZ()),yz=LY.__importDefault(y()),CZ=LY.__importStar(S());NZ.default=gz;CZ.maybeSetModuleExports(function(){return MZ})});var PZ=N((SZ,bZ)=>{var uz=function(z){z.use(cz.default),z.use(mz.default)};Object.defineProperty(SZ,"__esModule",{value:!0});var _Z=_(),cz=_Z.__importDefault(zZ()),mz=_Z.__importDefault(xZ()),fz=S();SZ.default=uz;fz.maybeSetModuleExports(function(){return bZ})});var cZ=N((gZ,hZ)=>{var oz=function(z){z.use(dz.default);var Z=z.use(sz.default),Y=Z.Type.def;Y("StaticBlock").bases("Declaration").build("body").field("body",[Y("Statement")])};Object.defineProperty(gZ,"__esModule",{value:!0});var yZ=_(),dz=yZ.__importDefault(PZ()),sz=yZ.__importDefault(y()),nz=S();gZ.default=oz;nz.maybeSetModuleExports(function(){return hZ})});var WY=N((fZ,uZ)=>{var tz=function(z){z.use(rz.default);var Z=z.use(pz.default),Y=Z.Type,$=Z.Type.def,K=Y.or,J=z.use(mZ.default),X=J.defaults;$("AwaitExpression").build("argument","all").field("argument",K($("Expression"),null)).field("all",Boolean,X.false),$("Decorator").bases("Node").build("expression").field("expression",$("Expression")),$("Property").field("decorators",K([$("Decorator")],null),X.null),$("MethodDefinition").field("decorators",K([$("Decorator")],null),X.null),$("PrivateName").bases("Expression","Pattern").build("id").field("id",$("Identifier")),$("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",$("PrivateName")).field("value",K($("Expression"),null),X.null),$("ImportAttribute").bases("Node").build("key","value").field("key",K($("Identifier"),$("Literal"))).field("value",$("Expression")),["ImportDeclaration","ExportAllDeclaration","ExportNamedDeclaration"].forEach(function(q){$(q).field("assertions",[$("ImportAttribute")],X.emptyArray)}),$("RecordExpression").bases("Expression").build("properties").field("properties",[K($("ObjectProperty"),$("ObjectMethod"),$("SpreadElement"))]),$("TupleExpression").bases("Expression").build("elements").field("elements",[K($("Expression"),$("SpreadElement"),null)]),$("ModuleExpression").bases("Node").build("body").field("body",$("Program"))};Object.defineProperty(fZ,"__esModule",{value:!0});var pY=_(),pz=pY.__importDefault(y()),mZ=pY.__importStar(S()),rz=pY.__importDefault(cZ());fZ.default=tz;mZ.maybeSetModuleExports(function(){return uZ})});var nZ=N((dZ,sZ)=>{var $8=function(z){z.use(ez.default);var Z=z.use(Y8.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(lZ.default).defaults;Y("JSXAttribute").bases("Node").build("name","value").field("name",$(Y("JSXIdentifier"),Y("JSXNamespacedName"))).field("value",$(Y("Literal"),Y("JSXExpressionContainer"),Y("JSXElement"),Y("JSXFragment"),null),K.null),Y("JSXIdentifier").bases("Identifier").build("name").field("name",String),Y("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",Y("JSXIdentifier")).field("name",Y("JSXIdentifier")),Y("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",$(Y("JSXIdentifier"),Y("JSXMemberExpression"))).field("property",Y("JSXIdentifier")).field("computed",Boolean,K.false);var J=$(Y("JSXIdentifier"),Y("JSXNamespacedName"),Y("JSXMemberExpression"));Y("JSXSpreadAttribute").bases("Node").build("argument").field("argument",Y("Expression"));var X=[$(Y("JSXAttribute"),Y("JSXSpreadAttribute"))];Y("JSXExpressionContainer").bases("Expression").build("expression").field("expression",$(Y("Expression"),Y("JSXEmptyExpression")));var q=[$(Y("JSXText"),Y("JSXExpressionContainer"),Y("JSXSpreadChild"),Y("JSXElement"),Y("JSXFragment"),Y("Literal"))];Y("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",Y("JSXOpeningElement")).field("closingElement",$(Y("JSXClosingElement"),null),K.null).field("children",q,K.emptyArray).field("name",J,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",X,function(){return this.openingElement.attributes},!0),Y("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",J).field("attributes",X,K.emptyArray).field("selfClosing",Boolean,K.false),Y("JSXClosingElement").bases("Node").build("name").field("name",J),Y("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",Y("JSXOpeningFragment")).field("closingFragment",Y("JSXClosingFragment")).field("children",q,K.emptyArray),Y("JSXOpeningFragment").bases("Node").build(),Y("JSXClosingFragment").bases("Node").build(),Y("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),Y("JSXEmptyExpression").bases("Node").build(),Y("JSXSpreadChild").bases("Node").build("expression").field("expression",Y("Expression"))};Object.defineProperty(dZ,"__esModule",{value:!0});var rY=_(),ez=rY.__importDefault(WY()),Y8=rY.__importDefault(y()),lZ=rY.__importStar(S());dZ.default=$8;lZ.maybeSetModuleExports(function(){return sZ})});var tY=N((pZ,rZ)=>{var K8=function(z){var Z=z.use(z8.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(iZ.default).defaults,J=$(Y("TypeAnnotation"),Y("TSTypeAnnotation"),null),X=$(Y("TypeParameterDeclaration"),Y("TSTypeParameterDeclaration"),null);Y("Identifier").field("typeAnnotation",J,K.null),Y("ObjectPattern").field("typeAnnotation",J,K.null),Y("Function").field("returnType",J,K.null).field("typeParameters",X,K.null),Y("ClassProperty").build("key","value","typeAnnotation","static").field("value",$(Y("Expression"),null)).field("static",Boolean,K.false).field("typeAnnotation",J,K.null),["ClassDeclaration","ClassExpression"].forEach(function(q){Y(q).field("typeParameters",X,K.null).field("superTypeParameters",$(Y("TypeParameterInstantiation"),Y("TSTypeParameterInstantiation"),null),K.null).field("implements",$([Y("ClassImplements")],[Y("TSExpressionWithTypeArguments")]),K.emptyArray)})};Object.defineProperty(pZ,"__esModule",{value:!0});var oZ=_(),z8=oZ.__importDefault(y()),iZ=oZ.__importStar(S());pZ.default=K8;iZ.maybeSetModuleExports(function(){return rZ})});var aY=N((aZ,eZ)=>{var D8=function(z){z.use(W8.default),z.use(X8.default);var Z=z.use(Q8.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(tZ.default).defaults;Y("Flow").bases("Node"),Y("FlowType").bases("Flow"),Y("AnyTypeAnnotation").bases("FlowType").build(),Y("EmptyTypeAnnotation").bases("FlowType").build(),Y("MixedTypeAnnotation").bases("FlowType").build(),Y("VoidTypeAnnotation").bases("FlowType").build(),Y("SymbolTypeAnnotation").bases("FlowType").build(),Y("NumberTypeAnnotation").bases("FlowType").build(),Y("BigIntTypeAnnotation").bases("FlowType").build(),Y("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),Y("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),Y("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),Y("StringTypeAnnotation").bases("FlowType").build(),Y("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),Y("BooleanTypeAnnotation").bases("FlowType").build(),Y("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),Y("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",Y("FlowType")),Y("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",Y("FlowType")),Y("NullLiteralTypeAnnotation").bases("FlowType").build(),Y("NullTypeAnnotation").bases("FlowType").build(),Y("ThisTypeAnnotation").bases("FlowType").build(),Y("ExistsTypeAnnotation").bases("FlowType").build(),Y("ExistentialTypeParam").bases("FlowType").build(),Y("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[Y("FunctionTypeParam")]).field("returnType",Y("FlowType")).field("rest",$(Y("FunctionTypeParam"),null)).field("typeParameters",$(Y("TypeParameterDeclaration"),null)),Y("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",$(Y("Identifier"),null)).field("typeAnnotation",Y("FlowType")).field("optional",Boolean),Y("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",Y("FlowType")),Y("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[$(Y("ObjectTypeProperty"),Y("ObjectTypeSpreadProperty"))]).field("indexers",[Y("ObjectTypeIndexer")],K.emptyArray).field("callProperties",[Y("ObjectTypeCallProperty")],K.emptyArray).field("inexact",$(Boolean,void 0),K.undefined).field("exact",Boolean,K.false).field("internalSlots",[Y("ObjectTypeInternalSlot")],K.emptyArray),Y("Variance").bases("Node").build("kind").field("kind",$("plus","minus"));var J=$(Y("Variance"),"plus","minus",null);Y("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",$(Y("Literal"),Y("Identifier"))).field("value",Y("FlowType")).field("optional",Boolean).field("variance",J,K.null),Y("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",Y("Identifier")).field("key",Y("FlowType")).field("value",Y("FlowType")).field("variance",J,K.null).field("static",Boolean,K.false),Y("ObjectTypeCallProperty").bases("Node").build("value").field("value",Y("FunctionTypeAnnotation")).field("static",Boolean,K.false),Y("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",$(Y("Identifier"),Y("QualifiedTypeIdentifier"))).field("id",Y("Identifier")),Y("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",$(Y("Identifier"),Y("QualifiedTypeIdentifier"))).field("typeParameters",$(Y("TypeParameterInstantiation"),null)),Y("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",Y("Identifier")).field("property",$(Y("MemberTypeAnnotation"),Y("GenericTypeAnnotation"))),Y("IndexedAccessType").bases("FlowType").build("objectType","indexType").field("objectType",Y("FlowType")).field("indexType",Y("FlowType")),Y("OptionalIndexedAccessType").bases("FlowType").build("objectType","indexType","optional").field("objectType",Y("FlowType")).field("indexType",Y("FlowType")).field("optional",Boolean),Y("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[Y("FlowType")]),Y("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[Y("FlowType")]),Y("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",Y("FlowType")),Y("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",Y("FlowType")),Y("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",Y("Identifier")).field("value",Y("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),Y("TypeParameterDeclaration").bases("Node").build("params").field("params",[Y("TypeParameter")]),Y("TypeParameterInstantiation").bases("Node").build("params").field("params",[Y("FlowType")]),Y("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",J,K.null).field("bound",$(Y("TypeAnnotation"),null),K.null).field("default",$(Y("FlowType"),null),K.null),Y("ClassProperty").field("variance",J,K.null),Y("ClassImplements").bases("Node").build("id").field("id",Y("Identifier")).field("superClass",$(Y("Expression"),null),K.null).field("typeParameters",$(Y("TypeParameterInstantiation"),null),K.null),Y("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",Y("ObjectTypeAnnotation")).field("extends",$([Y("InterfaceExtends")],null),K.null),Y("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterDeclaration"),null),K.null).field("body",Y("ObjectTypeAnnotation")).field("extends",[Y("InterfaceExtends")]),Y("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),Y("InterfaceExtends").bases("Node").build("id").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterInstantiation"),null),K.null),Y("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterDeclaration"),null)).field("right",Y("FlowType")),Y("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),Y("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterDeclaration"),null)).field("impltype",Y("FlowType")).field("supertype",$(Y("FlowType"),null)),Y("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",$(Y("FlowType"),null)),Y("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",Y("Expression")).field("typeAnnotation",Y("TypeAnnotation")),Y("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[Y("FlowType")]),Y("DeclareVariable").bases("Statement").build("id").field("id",Y("Identifier")),Y("DeclareFunction").bases("Statement").build("id").field("id",Y("Identifier")).field("predicate",$(Y("FlowPredicate"),null),K.null),Y("DeclareClass").bases("InterfaceDeclaration").build("id"),Y("DeclareModule").bases("Statement").build("id","body").field("id",$(Y("Identifier"),Y("Literal"))).field("body",Y("BlockStatement")),Y("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",Y("TypeAnnotation")),Y("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",$(Y("DeclareVariable"),Y("DeclareFunction"),Y("DeclareClass"),Y("FlowType"),Y("TypeAlias"),Y("DeclareOpaqueType"),Y("InterfaceDeclaration"),null)).field("specifiers",[$(Y("ExportSpecifier"),Y("ExportBatchSpecifier"))],K.emptyArray).field("source",$(Y("Literal"),null),K.null),Y("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",$(Y("Literal"),null),K.null),Y("ImportDeclaration").field("importKind",$("value","type","typeof"),function(){return"value"}),Y("FlowPredicate").bases("Flow"),Y("InferredPredicate").bases("FlowPredicate").build(),Y("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",Y("Expression")),Y("Function").field("predicate",$(Y("FlowPredicate"),null),K.null),Y("CallExpression").field("typeArguments",$(null,Y("TypeParameterInstantiation")),K.null),Y("NewExpression").field("typeArguments",$(null,Y("TypeParameterInstantiation")),K.null),Y("EnumDeclaration").bases("Declaration").build("id","body").field("id",Y("Identifier")).field("body",$(Y("EnumBooleanBody"),Y("EnumNumberBody"),Y("EnumStringBody"),Y("EnumSymbolBody"))),Y("EnumBooleanBody").build("members","explicitType").field("members",[Y("EnumBooleanMember")]).field("explicitType",Boolean),Y("EnumNumberBody").build("members","explicitType").field("members",[Y("EnumNumberMember")]).field("explicitType",Boolean),Y("EnumStringBody").build("members","explicitType").field("members",$([Y("EnumStringMember")],[Y("EnumDefaultedMember")])).field("explicitType",Boolean),Y("EnumSymbolBody").build("members").field("members",[Y("EnumDefaultedMember")]),Y("EnumBooleanMember").build("id","init").field("id",Y("Identifier")).field("init",$(Y("Literal"),Boolean)),Y("EnumNumberMember").build("id","init").field("id",Y("Identifier")).field("init",Y("Literal")),Y("EnumStringMember").build("id","init").field("id",Y("Identifier")).field("init",Y("Literal")),Y("EnumDefaultedMember").build("id").field("id",Y("Identifier"))};Object.defineProperty(aZ,"__esModule",{value:!0});var TY=_(),W8=TY.__importDefault(WY()),X8=TY.__importDefault(tY()),Q8=TY.__importDefault(y()),tZ=TY.__importStar(S());aZ.default=D8;tZ.maybeSetModuleExports(function(){return eZ})});var z4=N(($4,Z4)=>{var F8=function(z){z.use(q8.default);var Z=z.use(G8.default),Y=z.use(Y4.default).defaults,$=Z.Type.def,K=Z.Type.or;$("VariableDeclaration").field("declarations",[K($("VariableDeclarator"),$("Identifier"))]),$("Property").field("value",K($("Expression"),$("Pattern"))),$("ArrayPattern").field("elements",[K($("Pattern"),$("SpreadElement"),null)]),$("ObjectPattern").field("properties",[K($("Property"),$("PropertyPattern"),$("SpreadPropertyPattern"),$("SpreadProperty"))]),$("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),$("ExportBatchSpecifier").bases("Specifier").build(),$("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",K($("Declaration"),$("Expression"),null)).field("specifiers",[K($("ExportSpecifier"),$("ExportBatchSpecifier"))],Y.emptyArray).field("source",K($("Literal"),null),Y.null),$("Block").bases("Comment").build("value","leading","trailing"),$("Line").bases("Comment").build("value","leading","trailing")};Object.defineProperty($4,"__esModule",{value:!0});var eY=_(),q8=eY.__importDefault(WY()),G8=eY.__importDefault(y()),Y4=eY.__importStar(S());$4.default=F8;Y4.maybeSetModuleExports(function(){return Z4})});var $$=N((J4,W4)=>{var V8=function(z){var Z,Y,$,K,J;z.use(E8.default);var X=z.use(O8.default),q=z.use(K4.default).defaults,W=X.Type.def,G=X.Type.or,O=X.builtInTypes.undefined;W("Noop").bases("Statement").build(),W("DoExpression").bases("Expression").build("body").field("body",[W("Statement")]),W("BindExpression").bases("Expression").build("object","callee").field("object",G(W("Expression"),null)).field("callee",W("Expression")),W("ParenthesizedExpression").bases("Expression").build("expression").field("expression",W("Expression")),W("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",W("Identifier")),W("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",W("Identifier")),W("CommentBlock").bases("Comment").build("value","leading","trailing"),W("CommentLine").bases("Comment").build("value","leading","trailing"),W("Directive").bases("Node").build("value").field("value",W("DirectiveLiteral")),W("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,q["use strict"]),W("InterpreterDirective").bases("Node").build("value").field("value",String),W("BlockStatement").bases("Statement").build("body").field("body",[W("Statement")]).field("directives",[W("Directive")],q.emptyArray),W("Program").bases("Node").build("body").field("body",[W("Statement")]).field("directives",[W("Directive")],q.emptyArray).field("interpreter",G(W("InterpreterDirective"),null),q.null);function w(H,E){if(H===void 0)H=String;return["extra",{rawValue:H,raw:String},function Q(){var U=X.getFieldValue(this,"value");return{rawValue:U,raw:E?E(U):String(U)}}]}(Z=W("StringLiteral").bases("Literal").build("value").field("value",String)).field.apply(Z,w(String,function(H){return JSON.stringify(H)})),(Y=W("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",G(String,null),q.null)).field.apply(Y,w(Number)),($=W("BigIntLiteral").bases("Literal").build("value").field("value",G(String,Number))).field.apply($,w(String,function(H){return H+"n"})),(K=W("DecimalLiteral").bases("Literal").build("value").field("value",String)).field.apply(K,w(String,function(H){return H+"m"})),W("NullLiteral").bases("Literal").build().field("value",null,q.null),W("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),(J=W("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)})).field.apply(J,w(G(RegExp,O),function(H){return"/".concat(H.pattern,"/").concat(H.flags||"")})).field("regex",{pattern:String,flags:String},function(){return{pattern:this.pattern,flags:this.flags}});var I=G(W("Property"),W("ObjectMethod"),W("ObjectProperty"),W("SpreadProperty"),W("SpreadElement"));W("ObjectExpression").bases("Expression").build("properties").field("properties",[I]),W("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",G("method","get","set")).field("key",G(W("Literal"),W("Identifier"),W("Expression"))).field("params",[W("Pattern")]).field("body",W("BlockStatement")).field("computed",Boolean,q.false).field("generator",Boolean,q.false).field("async",Boolean,q.false).field("accessibility",G(W("Literal"),null),q.null).field("decorators",G([W("Decorator")],null),q.null),W("ObjectProperty").bases("Node").build("key","value").field("key",G(W("Literal"),W("Identifier"),W("Expression"))).field("value",G(W("Expression"),W("Pattern"))).field("accessibility",G(W("Literal"),null),q.null).field("computed",Boolean,q.false);var V=G(W("MethodDefinition"),W("VariableDeclarator"),W("ClassPropertyDefinition"),W("ClassProperty"),W("ClassPrivateProperty"),W("ClassMethod"),W("ClassPrivateMethod"),W("ClassAccessorProperty"),W("StaticBlock"));W("ClassBody").bases("Declaration").build("body").field("body",[V]),W("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",G(W("Literal"),W("Identifier"),W("Expression"))),W("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",W("PrivateName")),W("ClassAccessorProperty").bases("Declaration").build("key","value","decorators","computed","static").field("key",G(W("Literal"),W("Identifier"),W("PrivateName"),W("Expression"))).field("value",G(W("Expression"),null),q.null),["ClassMethod","ClassPrivateMethod"].forEach(function(H){W(H).field("kind",G("get","set","method","constructor"),function(){return"method"}).field("body",W("BlockStatement")).field("access",G("public","private","protected",null),q.null)}),["ClassMethod","ClassPrivateMethod","ClassAccessorProperty"].forEach(function(H){W(H).field("computed",Boolean,q.false).field("static",Boolean,q.false).field("abstract",Boolean,q.false).field("accessibility",G("public","private","protected",null),q.null).field("decorators",G([W("Decorator")],null),q.null).field("definite",Boolean,q.false).field("optional",Boolean,q.false).field("override",Boolean,q.false).field("readonly",Boolean,q.false)});var D=G(W("Property"),W("PropertyPattern"),W("SpreadPropertyPattern"),W("SpreadProperty"),W("ObjectProperty"),W("RestProperty"),W("RestElement"));W("ObjectPattern").bases("Pattern").build("properties").field("properties",[D]).field("decorators",G([W("Decorator")],null),q.null),W("SpreadProperty").bases("Node").build("argument").field("argument",W("Expression")),W("RestProperty").bases("Node").build("argument").field("argument",W("Expression")),W("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",G(W("VariableDeclaration"),W("Expression"))).field("right",W("Expression")).field("body",W("Statement")),W("Import").bases("Expression").build()};Object.defineProperty(J4,"__esModule",{value:!0});var Y$=_(),E8=Y$.__importDefault(WY()),O8=Y$.__importDefault(y()),K4=Y$.__importStar(S());J4.default=V8;K4.maybeSetModuleExports(function(){return W4})});var D4=N((X4,Q4)=>{var A8=function(z){var Z=z.use(j8.default),Y=Z.Type.def;z.use(U8.default),z.use(B8.default),Y("V8IntrinsicIdentifier").bases("Expression").build("name").field("name",String),Y("TopicReference").bases("Expression").build()};Object.defineProperty(X4,"__esModule",{value:!0});var Z$=_(),j8=Z$.__importDefault(y()),U8=Z$.__importDefault($$()),B8=Z$.__importDefault(aY()),R8=S();X4.default=A8;R8.maybeSetModuleExports(function(){return Q4})});var F4=N((q4,G4)=>{var C8=function(z){z.use(T8.default),z.use(v8.default);var Z=z.use(k8.default),Y=Z.namedTypes,$=Z.Type.def,K=Z.Type.or,J=z.use(H4.default).defaults,X=Z.Type.from(function(O,w){if(Y.StringLiteral&&Y.StringLiteral.check(O,w))return!0;if(Y.Literal&&Y.Literal.check(O,w)&&typeof O.value==="string")return!0;return!1},"StringLiteral");$("TSType").bases("Node");var q=K($("Identifier"),$("TSQualifiedName"));$("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",q),$("TSHasOptionalTypeParameterInstantiation").field("typeParameters",K($("TSTypeParameterInstantiation"),null),J.null),$("TSHasOptionalTypeParameters").field("typeParameters",K($("TSTypeParameterDeclaration"),null,void 0),J.null),$("TSHasOptionalTypeAnnotation").field("typeAnnotation",K($("TSTypeAnnotation"),null),J.null),$("TSQualifiedName").bases("Node").build("left","right").field("left",q).field("right",q),$("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",$("Expression")).field("typeAnnotation",$("TSType")).field("extra",K({parenthesized:Boolean},null),J.null),$("TSTypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",$("Expression")).field("typeAnnotation",$("TSType")),$("TSSatisfiesExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",$("Expression")).field("typeAnnotation",$("TSType")),$("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",$("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSIntrinsicKeyword","TSThisType"].forEach(function(O){$(O).bases("TSType").build()}),$("TSArrayType").bases("TSType").build("elementType").field("elementType",$("TSType")),$("TSLiteralType").bases("TSType").build("literal").field("literal",K($("NumericLiteral"),$("StringLiteral"),$("BooleanLiteral"),$("TemplateLiteral"),$("UnaryExpression"),$("BigIntLiteral"))),$("TemplateLiteral").field("expressions",K([$("Expression")],[$("TSType")])),["TSUnionType","TSIntersectionType"].forEach(function(O){$(O).bases("TSType").build("types").field("types",[$("TSType")])}),$("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",$("TSType")).field("extendsType",$("TSType")).field("trueType",$("TSType")).field("falseType",$("TSType")),$("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",$("TSTypeParameter")),$("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",$("TSType"));var W=[K($("Identifier"),$("RestElement"),$("ArrayPattern"),$("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(O){$(O).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",W)}),$("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,J.false).field("async",Boolean,J.false).field("generator",Boolean,J.false).field("id",K($("Identifier"),null),J.null).field("params",[$("Pattern")]).field("returnType",K($("TSTypeAnnotation"),$("Noop"),null),J.null),$("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,J.false).field("generator",Boolean,J.false).field("params",[$("Pattern")]).field("abstract",Boolean,J.false).field("accessibility",K("public","private","protected",void 0),J.undefined).field("static",Boolean,J.false).field("computed",Boolean,J.false).field("optional",Boolean,J.false).field("key",K($("Identifier"),$("StringLiteral"),$("NumericLiteral"),$("Expression"))).field("kind",K("get","set","method","constructor"),function O(){return"method"}).field("access",K("public","private","protected",void 0),J.undefined).field("decorators",K([$("Decorator")],null),J.null).field("returnType",K($("TSTypeAnnotation"),$("Noop"),null),J.null),$("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",K(Boolean,"+","-"),J.false).field("typeParameter",$("TSTypeParameter")).field("optional",K(Boolean,"+","-"),J.false).field("typeAnnotation",K($("TSType"),null),J.null),$("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[K($("TSType"),$("TSNamedTupleMember"))]),$("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",$("Identifier")).field("optional",Boolean,J.false).field("elementType",$("TSType")),$("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",$("TSType")),$("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",$("TSType")),$("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",$("TSType")).field("indexType",$("TSType")),$("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",$("TSType")),$("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",K($("TSType"),$("TSTypeAnnotation"))),$("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[$("Identifier")]).field("readonly",Boolean,J.false),$("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",$("Expression")).field("computed",Boolean,J.false).field("readonly",Boolean,J.false).field("optional",Boolean,J.false).field("initializer",K($("Expression"),null),J.null),$("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",$("Expression")).field("computed",Boolean,J.false).field("optional",Boolean,J.false).field("parameters",W),$("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",K($("Identifier"),$("TSThisType"))).field("typeAnnotation",K($("TSTypeAnnotation"),null),J.null).field("asserts",Boolean,J.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(O){$(O).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",W)}),$("TSEnumMember").bases("Node").build("id","initializer").field("id",K($("Identifier"),X)).field("initializer",K($("Expression"),null),J.null),$("TSTypeQuery").bases("TSType").build("exprName").field("exprName",K(q,$("TSImportType")));var G=K($("TSCallSignatureDeclaration"),$("TSConstructSignatureDeclaration"),$("TSIndexSignature"),$("TSMethodSignature"),$("TSPropertySignature"));$("TSTypeLiteral").bases("TSType").build("members").field("members",[G]),$("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",K($("Identifier"),String)).field("constraint",K($("TSType"),void 0),J.undefined).field("default",K($("TSType"),void 0),J.undefined),$("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",$("TSType")).field("expression",$("Expression")).field("extra",K({parenthesized:Boolean},null),J.null),$("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[$("TSTypeParameter")]),$("TSInstantiationExpression").bases("Expression","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",$("Expression")),$("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[$("TSType")]),$("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",$("Identifier")).field("const",Boolean,J.false).field("declare",Boolean,J.false).field("members",[$("TSEnumMember")]).field("initializer",K($("Expression"),null),J.null),$("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",$("Identifier")).field("declare",Boolean,J.false).field("typeAnnotation",$("TSType")),$("TSModuleBlock").bases("Node").build("body").field("body",[$("Statement")]),$("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",K(X,q)).field("declare",Boolean,J.false).field("global",Boolean,J.false).field("body",K($("TSModuleBlock"),$("TSModuleDeclaration"),null),J.null),$("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",X).field("qualifier",K(q,void 0),J.undefined),$("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",$("Identifier")).field("isExport",Boolean,J.false).field("moduleReference",K(q,$("TSExternalModuleReference"))),$("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",X),$("TSExportAssignment").bases("Statement").build("expression").field("expression",$("Expression")),$("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",$("Identifier")),$("TSInterfaceBody").bases("Node").build("body").field("body",[G]),$("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",q),$("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",q).field("declare",Boolean,J.false).field("extends",K([$("TSExpressionWithTypeArguments")],null),J.null).field("body",$("TSInterfaceBody")),$("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",K("public","private","protected",void 0),J.undefined).field("readonly",Boolean,J.false).field("parameter",K($("Identifier"),$("AssignmentPattern"))),$("ClassProperty").field("access",K("public","private","protected",void 0),J.undefined),$("ClassAccessorProperty").bases("Declaration","TSHasOptionalTypeAnnotation"),$("ClassBody").field("body",[K($("MethodDefinition"),$("VariableDeclarator"),$("ClassPropertyDefinition"),$("ClassProperty"),$("ClassPrivateProperty"),$("ClassAccessorProperty"),$("ClassMethod"),$("ClassPrivateMethod"),$("StaticBlock"),$("TSDeclareMethod"),G)])};Object.defineProperty(q4,"__esModule",{value:!0});var vY=_(),T8=vY.__importDefault($$()),v8=vY.__importDefault(tY()),k8=vY.__importDefault(y()),H4=vY.__importStar(S());q4.default=C8;H4.maybeSetModuleExports(function(){return G4})});var E4=N((I4)=>{Object.defineProperty(I4,"__esModule",{value:!0});I4.namedTypes=void 0;var M8;(function(z){})(M8=I4.namedTypes||(I4.namedTypes={}))});var w4=N((K$)=>{Object.defineProperty(K$,"__esModule",{value:!0});K$.visit=K$.use=K$.Type=K$.someField=K$.PathVisitor=K$.Path=K$.NodePath=K$.namedTypes=K$.getSupertypeNames=K$.getFieldValue=K$.getFieldNames=K$.getBuilderName=K$.finalize=K$.eachField=K$.defineMethod=K$.builtInTypes=K$.builders=K$.astNodesAreEquivalent=void 0;var ZY=_(),x8=ZY.__importDefault(i$()),_8=ZY.__importDefault(WY()),S8=ZY.__importDefault(nZ()),b8=ZY.__importDefault(aY()),P8=ZY.__importDefault(z4()),y8=ZY.__importDefault(D4()),g8=ZY.__importDefault(F4()),O4=E4();Object.defineProperty(K$,"namedTypes",{enumerable:!0,get:function(){return O4.namedTypes}});var m=x8.default([_8.default,S8.default,b8.default,P8.default,y8.default,g8.default]),h8=m.astNodesAreEquivalent,c8=m.builders,m8=m.builtInTypes,f8=m.defineMethod,u8=m.eachField,l8=m.finalize,d8=m.getBuilderName,s8=m.getFieldNames,n8=m.getFieldValue,o8=m.getSupertypeNames,i8=m.namedTypes,p8=m.NodePath,r8=m.Path,t8=m.PathVisitor,a8=m.someField,e8=m.Type,YK=m.use,$K=m.visit;K$.astNodesAreEquivalent=h8;K$.builders=c8;K$.builtInTypes=m8;K$.defineMethod=f8;K$.eachField=u8;K$.finalize=l8;K$.getBuilderName=d8;K$.getFieldNames=s8;K$.getFieldValue=n8;K$.getSupertypeNames=o8;K$.NodePath=p8;K$.Path=r8;K$.PathVisitor=t8;K$.someField=a8;K$.Type=e8;K$.use=YK;K$.visit=$K;Object.assign(O4.namedTypes,i8)});var U4=N((wK)=>{var j4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");wK.encode=function(z){if(0<=z&&z<j4.length)return j4[z];throw new TypeError("Must be between 0 and 63: "+z)};wK.decode=function(z){var Z=65,Y=90,$=97,K=122,J=48,X=57,q=43,W=47,G=26,O=52;if(Z<=z&&z<=Y)return z-Z;if($<=z&&z<=K)return z-$+G;if(J<=z&&z<=X)return z-J+O;if(z==q)return 62;if(z==W)return 63;return-1}});var W$=N((AK)=>{var BK=function(z){return z<0?(-z<<1)+1:(z<<1)+0},RK=function(z){var Z=(z&1)===1,Y=z>>1;return Z?-Y:Y},B4=U4(),J$=5,R4=1<<J$,A4=R4-1,L4=R4;AK.encode=function z(Z){var Y="",$,K=BK(Z);do{if($=K&A4,K>>>=J$,K>0)$|=L4;Y+=B4.encode($)}while(K>0);return Y};AK.decode=function z(Z,Y,$){var K=Z.length,J=0,X=0,q,W;do{if(Y>=K)throw new Error("Expected more digits in base 64 VLQ value.");if(W=B4.decode(Z.charCodeAt(Y++)),W===-1)throw new Error("Invalid base64 digit: "+Z.charAt(Y-1));q=!!(W&L4),W&=A4,J=J+(W<<X),X+=J$}while(q);$.value=RK(J),$.rest=Y}});var DY=N((yK)=>{var vK=function(z,Z,Y){if(Z in z)return z[Z];else if(arguments.length===3)return Y;else throw new Error('"'+Z+'" is a required argument.')},OY=function(z){var Z=z.match(T4);if(!Z)return null;return{scheme:Z[1],auth:Z[2],host:Z[3],port:Z[4],path:Z[5]}},XY=function(z){var Z="";if(z.scheme)Z+=z.scheme+":";if(Z+="//",z.auth)Z+=z.auth+"@";if(z.host)Z+=z.host;if(z.port)Z+=":"+z.port;if(z.path)Z+=z.path;return Z},X$=function(z){var Z=z,Y=OY(z);if(Y){if(!Y.path)return z;Z=Y.path}var $=yK.isAbsolute(Z),K=Z.split(/\/+/);for(var J,X=0,q=K.length-1;q>=0;q--)if(J=K[q],J===".")K.splice(q,1);else if(J==="..")X++;else if(X>0)if(J==="")K.splice(q+1,X),X=0;else K.splice(q,2),X--;if(Z=K.join("/"),Z==="")Z=$?"/":".";if(Y)return Y.path=Z,XY(Y);return Z},v4=function(z,Z){if(z==="")z=".";if(Z==="")Z=".";var Y=OY(Z),$=OY(z);if($)z=$.path||"/";if(Y&&!Y.scheme){if($)Y.scheme=$.scheme;return XY(Y)}if(Y||Z.match(kK))return Z;if($&&!$.host&&!$.path)return $.host=Z,XY($);var K=Z.charAt(0)==="/"?Z:X$(z.replace(/\/+$/,"")+"/"+Z);if($)return $.path=K,XY($);return K},CK=function(z,Z){if(z==="")z=".";z=z.replace(/\/$/,"");var Y=0;while(Z.indexOf(z+"/")!==0){var $=z.lastIndexOf("/");if($<0)return Z;if(z=z.slice(0,$),z.match(/^([^\/]+:\/)?\/*$/))return Z;++Y}return Array(Y+1).join("../")+Z.substr(z.length+1)},C4=function(z){return z},NK=function(z){if(N4(z))return"$"+z;return z},MK=function(z){if(N4(z))return z.slice(1);return z},N4=function(z){if(!z)return!1;var Z=z.length;if(Z<9)return!1;if(z.charCodeAt(Z-1)!==95||z.charCodeAt(Z-2)!==95||z.charCodeAt(Z-3)!==111||z.charCodeAt(Z-4)!==116||z.charCodeAt(Z-5)!==111||z.charCodeAt(Z-6)!==114||z.charCodeAt(Z-7)!==112||z.charCodeAt(Z-8)!==95||z.charCodeAt(Z-9)!==95)return!1;for(var Y=Z-10;Y>=0;Y--)if(z.charCodeAt(Y)!==36)return!1;return!0},xK=function(z,Z,Y){var $=QY(z.source,Z.source);if($!==0)return $;if($=z.originalLine-Z.originalLine,$!==0)return $;if($=z.originalColumn-Z.originalColumn,$!==0||Y)return $;if($=z.generatedColumn-Z.generatedColumn,$!==0)return $;if($=z.generatedLine-Z.generatedLine,$!==0)return $;return QY(z.name,Z.name)},_K=function(z,Z,Y){var $=z.generatedLine-Z.generatedLine;if($!==0)return $;if($=z.generatedColumn-Z.generatedColumn,$!==0||Y)return $;if($=QY(z.source,Z.source),$!==0)return $;if($=z.originalLine-Z.originalLine,$!==0)return $;if($=z.originalColumn-Z.originalColumn,$!==0)return $;return QY(z.name,Z.name)},QY=function(z,Z){if(z===Z)return 0;if(z===null)return 1;if(Z===null)return-1;if(z>Z)return 1;return-1},SK=function(z,Z){var Y=z.generatedLine-Z.generatedLine;if(Y!==0)return Y;if(Y=z.generatedColumn-Z.generatedColumn,Y!==0)return Y;if(Y=QY(z.source,Z.source),Y!==0)return Y;if(Y=z.originalLine-Z.originalLine,Y!==0)return Y;if(Y=z.originalColumn-Z.originalColumn,Y!==0)return Y;return QY(z.name,Z.name)},bK=function(z){return JSON.parse(z.replace(/^\)]}'[^\n]*\n/,""))},PK=function(z,Z,Y){if(Z=Z||"",z){if(z[z.length-1]!=="/"&&Z[0]!=="/")z+="/";Z=z+Z}if(Y){var $=OY(Y);if(!$)throw new Error("sourceMapURL could not be parsed");if($.path){var K=$.path.lastIndexOf("/");if(K>=0)$.path=$.path.substring(0,K+1)}Z=v4(XY($),Z)}return X$(Z)};yK.getArg=vK;var T4=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,kK=/^data:.+\,.+$/;yK.urlParse=OY;yK.urlGenerate=XY;yK.normalize=X$;yK.join=v4;yK.isAbsolute=function(z){return z.charAt(0)==="/"||T4.test(z)};yK.relative=CK;var k4=function(){var z=Object.create(null);return!("__proto__"in z)}();yK.toSetString=k4?C4:NK;yK.fromSetString=k4?C4:MK;yK.compareByOriginalPositions=xK;yK.compareByGeneratedPositionsDeflated=_K;yK.compareByGeneratedPositionsInflated=SK;yK.parseSourceMapInput=bK;yK.computeSourceURL=PK});var H$=N((tK)=>{var r=function(){this._array=[],this._set=zY?new Map:Object.create(null)},Q$=DY(),D$=Object.prototype.hasOwnProperty,zY=typeof Map!=="undefined";r.fromArray=function z(Z,Y){var $=new r;for(var K=0,J=Z.length;K<J;K++)$.add(Z[K],Y);return $};r.prototype.size=function z(){return zY?this._set.size:Object.getOwnPropertyNames(this._set).length};r.prototype.add=function z(Z,Y){var $=zY?Z:Q$.toSetString(Z),K=zY?this.has(Z):D$.call(this._set,$),J=this._array.length;if(!K||Y)this._array.push(Z);if(!K)if(zY)this._set.set(Z,J);else this._set[$]=J};r.prototype.has=function z(Z){if(zY)return this._set.has(Z);else{var Y=Q$.toSetString(Z);return D$.call(this._set,Y)}};r.prototype.indexOf=function z(Z){if(zY){var Y=this._set.get(Z);if(Y>=0)return Y}else{var $=Q$.toSetString(Z);if(D$.call(this._set,$))return this._set[$]}throw new Error('"'+Z+'" is not in the set.')};r.prototype.at=function z(Z){if(Z>=0&&Z<this._array.length)return this._array[Z];throw new Error("No element indexed by "+Z)};r.prototype.toArray=function z(){return this._array.slice()};tK.ArraySet=r});var x4=N((Y6)=>{var eK=function(z,Z){var Y=z.generatedLine,$=Z.generatedLine,K=z.generatedColumn,J=Z.generatedColumn;return $>Y||$==Y&&J>=K||M4.compareByGeneratedPositionsInflated(z,Z)<=0},kY=function(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}},M4=DY();kY.prototype.unsortedForEach=function z(Z,Y){this._array.forEach(Z,Y)};kY.prototype.add=function z(Z){if(eK(this._last,Z))this._last=Z,this._array.push(Z);else this._sorted=!1,this._array.push(Z)};kY.prototype.toArray=function z(){if(!this._sorted)this._array.sort(M4.compareByGeneratedPositionsInflated),this._sorted=!0;return this._array};Y6.MappingList=kY});var q$=N((z6)=>{var n=function(z){if(!z)z={};this._file=c.getArg(z,"file",null),this._sourceRoot=c.getArg(z,"sourceRoot",null),this._skipValidation=c.getArg(z,"skipValidation",!1),this._sources=new CY,this._names=new CY,this._mappings=new Z6,this._sourcesContents=null},VY=W$(),c=DY(),CY=H$().ArraySet,Z6=x4().MappingList;n.prototype._version=3;n.fromSourceMap=function z(Z){var Y=Z.sourceRoot,$=new n({file:Z.file,sourceRoot:Y});return Z.eachMapping(function(K){var J={generated:{line:K.generatedLine,column:K.generatedColumn}};if(K.source!=null){if(J.source=K.source,Y!=null)J.source=c.relative(Y,J.source);if(J.original={line:K.originalLine,column:K.originalColumn},K.name!=null)J.name=K.name}$.addMapping(J)}),Z.sources.forEach(function(K){var J=K;if(Y!==null)J=c.relative(Y,K);if(!$._sources.has(J))$._sources.add(J);var X=Z.sourceContentFor(K);if(X!=null)$.setSourceContent(K,X)}),$};n.prototype.addMapping=function z(Z){var Y=c.getArg(Z,"generated"),$=c.getArg(Z,"original",null),K=c.getArg(Z,"source",null),J=c.getArg(Z,"name",null);if(!this._skipValidation)this._validateMapping(Y,$,K,J);if(K!=null){if(K=String(K),!this._sources.has(K))this._sources.add(K)}if(J!=null){if(J=String(J),!this._names.has(J))this._names.add(J)}this._mappings.add({generatedLine:Y.line,generatedColumn:Y.column,originalLine:$!=null&&$.line,originalColumn:$!=null&&$.column,source:K,name:J})};n.prototype.setSourceContent=function z(Z,Y){var $=Z;if(this._sourceRoot!=null)$=c.relative(this._sourceRoot,$);if(Y!=null){if(!this._sourcesContents)this._sourcesContents=Object.create(null);this._sourcesContents[c.toSetString($)]=Y}else if(this._sourcesContents){if(delete this._sourcesContents[c.toSetString($)],Object.keys(this._sourcesContents).length===0)this._sourcesContents=null}};n.prototype.applySourceMap=function z(Z,Y,$){var K=Y;if(Y==null){if(Z.file==null)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');K=Z.file}var J=this._sourceRoot;if(J!=null)K=c.relative(J,K);var X=new CY,q=new CY;this._mappings.unsortedForEach(function(W){if(W.source===K&&W.originalLine!=null){var G=Z.originalPositionFor({line:W.originalLine,column:W.originalColumn});if(G.source!=null){if(W.source=G.source,$!=null)W.source=c.join($,W.source);if(J!=null)W.source=c.relative(J,W.source);if(W.originalLine=G.line,W.originalColumn=G.column,G.name!=null)W.name=G.name}}var O=W.source;if(O!=null&&!X.has(O))X.add(O);var w=W.name;if(w!=null&&!q.has(w))q.add(w)},this),this._sources=X,this._names=q,Z.sources.forEach(function(W){var G=Z.sourceContentFor(W);if(G!=null){if($!=null)W=c.join($,W);if(J!=null)W=c.relative(J,W);this.setSourceContent(W,G)}},this)};n.prototype._validateMapping=function z(Z,Y,$,K){if(Y&&typeof Y.line!=="number"&&typeof Y.column!=="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(Z&&"line"in Z&&"column"in Z&&Z.line>0&&Z.column>=0&&!Y&&!$&&!K)return;else if(Z&&"line"in Z&&"column"in Z&&Y&&"line"in Y&&"column"in Y&&Z.line>0&&Z.column>=0&&Y.line>0&&Y.column>=0&&$)return;else throw new Error("Invalid mapping: "+JSON.stringify({generated:Z,source:$,original:Y,name:K}))};n.prototype._serializeMappings=function z(){var Z=0,Y=1,$=0,K=0,J=0,X=0,q="",W,G,O,w,I=this._mappings.toArray();for(var V=0,D=I.length;V<D;V++){if(G=I[V],W="",G.generatedLine!==Y){Z=0;while(G.generatedLine!==Y)W+=";",Y++}else if(V>0){if(!c.compareByGeneratedPositionsInflated(G,I[V-1]))continue;W+=","}if(W+=VY.encode(G.generatedColumn-Z),Z=G.generatedColumn,G.source!=null){if(w=this._sources.indexOf(G.source),W+=VY.encode(w-X),X=w,W+=VY.encode(G.originalLine-1-K),K=G.originalLine-1,W+=VY.encode(G.originalColumn-$),$=G.originalColumn,G.name!=null)O=this._names.indexOf(G.name),W+=VY.encode(O-J),J=O}q+=W}return q};n.prototype._generateSourcesContent=function z(Z,Y){return Z.map(function($){if(!this._sourcesContents)return null;if(Y!=null)$=c.relative(Y,$);var K=c.toSetString($);return Object.prototype.hasOwnProperty.call(this._sourcesContents,K)?this._sourcesContents[K]:null},this)};n.prototype.toJSON=function z(){var Z={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null)Z.file=this._file;if(this._sourceRoot!=null)Z.sourceRoot=this._sourceRoot;if(this._sourcesContents)Z.sourcesContent=this._generateSourcesContent(Z.sources,Z.sourceRoot);return Z};n.prototype.toString=function z(){return JSON.stringify(this.toJSON())};z6.SourceMapGenerator=n});var S4=N((J6)=>{var G$=function(z,Z,Y,$,K,J){var X=Math.floor((Z-z)/2)+z,q=K(Y,$[X],!0);if(q===0)return X;else if(q>0){if(Z-X>1)return G$(X,Z,Y,$,K,J);if(J==J6.LEAST_UPPER_BOUND)return Z<$.length?Z:-1;else return X}else{if(X-z>1)return G$(z,X,Y,$,K,J);if(J==J6.LEAST_UPPER_BOUND)return X;else return z<0?-1:z}};J6.GREATEST_LOWER_BOUND=1;J6.LEAST_UPPER_BOUND=2;J6.search=function z(Z,Y,$,K){if(Y.length===0)return-1;var J=G$(-1,Y.length,Z,Y,$,K||J6.GREATEST_LOWER_BOUND);if(J<0)return-1;while(J-1>=0){if($(Y[J],Y[J-1],!0)!==0)break;--J}return J}});var b4=N((Q6)=>{var I$=function(z,Z,Y){var $=z[Z];z[Z]=z[Y],z[Y]=$},X6=function(z,Z){return Math.round(z+Math.random()*(Z-z))},E$=function(z,Z,Y,$){if(Y<$){var K=X6(Y,$),J=Y-1;I$(z,K,$);var X=z[$];for(var q=Y;q<$;q++)if(Z(z[q],X)<=0)J+=1,I$(z,J,q);I$(z,J+1,q);var W=J+1;E$(z,Z,Y,W-1),E$(z,Z,W+1,$)}};Q6.quickSort=function(z,Z){E$(z,Z,0,z.length-1)}});var y4=N((q6)=>{var P=function(z,Z){var Y=z;if(typeof z==="string")Y=v.parseSourceMapInput(z);return Y.sections!=null?new o(Y,Z):new f(Y,Z)},f=function(z,Z){var Y=z;if(typeof z==="string")Y=v.parseSourceMapInput(z);var $=v.getArg(Y,"version"),K=v.getArg(Y,"sources"),J=v.getArg(Y,"names",[]),X=v.getArg(Y,"sourceRoot",null),q=v.getArg(Y,"sourcesContent",null),W=v.getArg(Y,"mappings"),G=v.getArg(Y,"file",null);if($!=this._version)throw new Error("Unsupported version: "+$);if(X)X=v.normalize(X);K=K.map(String).map(v.normalize).map(function(O){return X&&v.isAbsolute(X)&&v.isAbsolute(O)?v.relative(X,O):O}),this._names=HY.fromArray(J.map(String),!0),this._sources=HY.fromArray(K,!0),this._absoluteSources=this._sources.toArray().map(function(O){return v.computeSourceURL(X,O,Z)}),this.sourceRoot=X,this.sourcesContent=q,this._mappings=W,this._sourceMapURL=Z,this.file=G},P4=function(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null},o=function(z,Z){var Y=z;if(typeof z==="string")Y=v.parseSourceMapInput(z);var $=v.getArg(Y,"version"),K=v.getArg(Y,"sections");if($!=this._version)throw new Error("Unsupported version: "+$);this._sources=new HY,this._names=new HY;var J={line:-1,column:0};this._sections=K.map(function(X){if(X.url)throw new Error("Support for url field in sections not implemented.");var q=v.getArg(X,"offset"),W=v.getArg(q,"line"),G=v.getArg(q,"column");if(W<J.line||W===J.line&&G<J.column)throw new Error("Section offsets must be ordered and non-overlapping.");return J=q,{generatedOffset:{generatedLine:W+1,generatedColumn:G+1},consumer:new P(v.getArg(X,"map"),Z)}})},v=DY(),O$=S4(),HY=H$().ArraySet,H6=W$(),wY=b4().quickSort;P.fromSourceMap=function(z,Z){return f.fromSourceMap(z,Z)};P.prototype._version=3;P.prototype.__generatedMappings=null;Object.defineProperty(P.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){if(!this.__generatedMappings)this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});P.prototype.__originalMappings=null;Object.defineProperty(P.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){if(!this.__originalMappings)this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});P.prototype._charIsMappingSeparator=function z(Z,Y){var $=Z.charAt(Y);return $===";"||$===","};P.prototype._parseMappings=function z(Z,Y){throw new Error("Subclasses must implement _parseMappings")};P.GENERATED_ORDER=1;P.ORIGINAL_ORDER=2;P.GREATEST_LOWER_BOUND=1;P.LEAST_UPPER_BOUND=2;P.prototype.eachMapping=function z(Z,Y,$){var K=Y||null,J=$||P.GENERATED_ORDER,X;switch(J){case P.GENERATED_ORDER:X=this._generatedMappings;break;case P.ORIGINAL_ORDER:X=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var q=this.sourceRoot;X.map(function(W){var G=W.source===null?null:this._sources.at(W.source);return G=v.computeSourceURL(q,G,this._sourceMapURL),{source:G,generatedLine:W.generatedLine,generatedColumn:W.generatedColumn,originalLine:W.originalLine,originalColumn:W.originalColumn,name:W.name===null?null:this._names.at(W.name)}},this).forEach(Z,K)};P.prototype.allGeneratedPositionsFor=function z(Z){var Y=v.getArg(Z,"line"),$={source:v.getArg(Z,"source"),originalLine:Y,originalColumn:v.getArg(Z,"column",0)};if($.source=this._findSourceIndex($.source),$.source<0)return[];var K=[],J=this._findMapping($,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,O$.LEAST_UPPER_BOUND);if(J>=0){var X=this._originalMappings[J];if(Z.column===void 0){var q=X.originalLine;while(X&&X.originalLine===q)K.push({line:v.getArg(X,"generatedLine",null),column:v.getArg(X,"generatedColumn",null),lastColumn:v.getArg(X,"lastGeneratedColumn",null)}),X=this._originalMappings[++J]}else{var W=X.originalColumn;while(X&&X.originalLine===Y&&X.originalColumn==W)K.push({line:v.getArg(X,"generatedLine",null),column:v.getArg(X,"generatedColumn",null),lastColumn:v.getArg(X,"lastGeneratedColumn",null)}),X=this._originalMappings[++J]}}return K};q6.SourceMapConsumer=P;f.prototype=Object.create(P.prototype);f.prototype.consumer=P;f.prototype._findSourceIndex=function(z){var Z=z;if(this.sourceRoot!=null)Z=v.relative(this.sourceRoot,Z);if(this._sources.has(Z))return this._sources.indexOf(Z);var Y;for(Y=0;Y<this._absoluteSources.length;++Y)if(this._absoluteSources[Y]==z)return Y;return-1};f.fromSourceMap=function z(Z,Y){var $=Object.create(f.prototype),K=$._names=HY.fromArray(Z._names.toArray(),!0),J=$._sources=HY.fromArray(Z._sources.toArray(),!0);$.sourceRoot=Z._sourceRoot,$.sourcesContent=Z._generateSourcesContent($._sources.toArray(),$.sourceRoot),$.file=Z._file,$._sourceMapURL=Y,$._absoluteSources=$._sources.toArray().map(function(V){return v.computeSourceURL($.sourceRoot,V,Y)});var X=Z._mappings.toArray().slice(),q=$.__generatedMappings=[],W=$.__originalMappings=[];for(var G=0,O=X.length;G<O;G++){var w=X[G],I=new P4;if(I.generatedLine=w.generatedLine,I.generatedColumn=w.generatedColumn,w.source){if(I.source=J.indexOf(w.source),I.originalLine=w.originalLine,I.originalColumn=w.originalColumn,w.name)I.name=K.indexOf(w.name);W.push(I)}q.push(I)}return wY($.__originalMappings,v.compareByOriginalPositions),$};f.prototype._version=3;Object.defineProperty(f.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});f.prototype._parseMappings=function z(Z,Y){var $=1,K=0,J=0,X=0,q=0,W=0,G=Z.length,O=0,w={},I={},V=[],D=[],H,E,Q,U,A;while(O<G)if(Z.charAt(O)===";")$++,O++,K=0;else if(Z.charAt(O)===",")O++;else{H=new P4,H.generatedLine=$;for(U=O;U<G;U++)if(this._charIsMappingSeparator(Z,U))break;if(E=Z.slice(O,U),Q=w[E],Q)O+=E.length;else{Q=[];while(O<U)H6.decode(Z,O,I),A=I.value,O=I.rest,Q.push(A);if(Q.length===2)throw new Error("Found a source, but no line and column");if(Q.length===3)throw new Error("Found a source and line, but no column");w[E]=Q}if(H.generatedColumn=K+Q[0],K=H.generatedColumn,Q.length>1){if(H.source=q+Q[1],q+=Q[1],H.originalLine=J+Q[2],J=H.originalLine,H.originalLine+=1,H.originalColumn=X+Q[3],X=H.originalColumn,Q.length>4)H.name=W+Q[4],W+=Q[4]}if(D.push(H),typeof H.originalLine==="number")V.push(H)}wY(D,v.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,wY(V,v.compareByOriginalPositions),this.__originalMappings=V};f.prototype._findMapping=function z(Z,Y,$,K,J,X){if(Z[$]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+Z[$]);if(Z[K]<0)throw new TypeError("Column must be greater than or equal to 0, got "+Z[K]);return O$.search(Z,Y,J,X)};f.prototype.computeColumnSpans=function z(){for(var Z=0;Z<this._generatedMappings.length;++Z){var Y=this._generatedMappings[Z];if(Z+1<this._generatedMappings.length){var $=this._generatedMappings[Z+1];if(Y.generatedLine===$.generatedLine){Y.lastGeneratedColumn=$.generatedColumn-1;continue}}Y.lastGeneratedColumn=Infinity}};f.prototype.originalPositionFor=function z(Z){var Y={generatedLine:v.getArg(Z,"line"),generatedColumn:v.getArg(Z,"column")},$=this._findMapping(Y,this._generatedMappings,"generatedLine","generatedColumn",v.compareByGeneratedPositionsDeflated,v.getArg(Z,"bias",P.GREATEST_LOWER_BOUND));if($>=0){var K=this._generatedMappings[$];if(K.generatedLine===Y.generatedLine){var J=v.getArg(K,"source",null);if(J!==null)J=this._sources.at(J),J=v.computeSourceURL(this.sourceRoot,J,this._sourceMapURL);var X=v.getArg(K,"name",null);if(X!==null)X=this._names.at(X);return{source:J,line:v.getArg(K,"originalLine",null),column:v.getArg(K,"originalColumn",null),name:X}}}return{source:null,line:null,column:null,name:null}};f.prototype.hasContentsOfAllSources=function z(){if(!this.sourcesContent)return!1;return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(Z){return Z==null})};f.prototype.sourceContentFor=function z(Z,Y){if(!this.sourcesContent)return null;var $=this._findSourceIndex(Z);if($>=0)return this.sourcesContent[$];var K=Z;if(this.sourceRoot!=null)K=v.relative(this.sourceRoot,K);var J;if(this.sourceRoot!=null&&(J=v.urlParse(this.sourceRoot))){var X=K.replace(/^file:\/\//,"");if(J.scheme=="file"&&this._sources.has(X))return this.sourcesContent[this._sources.indexOf(X)];if((!J.path||J.path=="/")&&this._sources.has("/"+K))return this.sourcesContent[this._sources.indexOf("/"+K)]}if(Y)return null;else throw new Error('"'+K+'" is not in the SourceMap.')};f.prototype.generatedPositionFor=function z(Z){var Y=v.getArg(Z,"source");if(Y=this._findSourceIndex(Y),Y<0)return{line:null,column:null,lastColumn:null};var $={source:Y,originalLine:v.getArg(Z,"line"),originalColumn:v.getArg(Z,"column")},K=this._findMapping($,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,v.getArg(Z,"bias",P.GREATEST_LOWER_BOUND));if(K>=0){var J=this._originalMappings[K];if(J.source===$.source)return{line:v.getArg(J,"generatedLine",null),column:v.getArg(J,"generatedColumn",null),lastColumn:v.getArg(J,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};q6.BasicSourceMapConsumer=f;o.prototype=Object.create(P.prototype);o.prototype.constructor=P;o.prototype._version=3;Object.defineProperty(o.prototype,"sources",{get:function(){var z=[];for(var Z=0;Z<this._sections.length;Z++)for(var Y=0;Y<this._sections[Z].consumer.sources.length;Y++)z.push(this._sections[Z].consumer.sources[Y]);return z}});o.prototype.originalPositionFor=function z(Z){var Y={generatedLine:v.getArg(Z,"line"),generatedColumn:v.getArg(Z,"column")},$=O$.search(Y,this._sections,function(J,X){var q=J.generatedLine-X.generatedOffset.generatedLine;if(q)return q;return J.generatedColumn-X.generatedOffset.generatedColumn}),K=this._sections[$];if(!K)return{source:null,line:null,column:null,name:null};return K.consumer.originalPositionFor({line:Y.generatedLine-(K.generatedOffset.generatedLine-1),column:Y.generatedColumn-(K.generatedOffset.generatedLine===Y.generatedLine?K.generatedOffset.generatedColumn-1:0),bias:Z.bias})};o.prototype.hasContentsOfAllSources=function z(){return this._sections.every(function(Z){return Z.consumer.hasContentsOfAllSources()})};o.prototype.sourceContentFor=function z(Z,Y){for(var $=0;$<this._sections.length;$++){var K=this._sections[$],J=K.consumer.sourceContentFor(Z,!0);if(J)return J}if(Y)return null;else throw new Error('"'+Z+'" is not in the SourceMap.')};o.prototype.generatedPositionFor=function z(Z){for(var Y=0;Y<this._sections.length;Y++){var $=this._sections[Y];if($.consumer._findSourceIndex(v.getArg(Z,"source"))===-1)continue;var K=$.consumer.generatedPositionFor(Z);if(K){var J={line:K.line+($.generatedOffset.generatedLine-1),column:K.column+($.generatedOffset.generatedLine===K.line?$.generatedOffset.generatedColumn-1:0)};return J}}return{line:null,column:null}};o.prototype._parseMappings=function z(Z,Y){this.__generatedMappings=[],this.__originalMappings=[];for(var $=0;$<this._sections.length;$++){var K=this._sections[$],J=K.consumer._generatedMappings;for(var X=0;X<J.length;X++){var q=J[X],W=K.consumer._sources.at(q.source);W=v.computeSourceURL(K.consumer.sourceRoot,W,this._sourceMapURL),this._sources.add(W),W=this._sources.indexOf(W);var G=null;if(q.name)G=K.consumer._names.at(q.name),this._names.add(G),G=this._names.indexOf(G);var O={source:W,generatedLine:q.generatedLine+(K.generatedOffset.generatedLine-1),generatedColumn:q.generatedColumn+(K.generatedOffset.generatedLine===q.generatedLine?K.generatedOffset.generatedColumn-1:0),originalLine:q.originalLine,originalColumn:q.originalColumn,name:G};if(this.__generatedMappings.push(O),typeof O.originalLine==="number")this.__originalMappings.push(O)}}wY(this.__generatedMappings,v.compareByGeneratedPositionsDeflated),wY(this.__originalMappings,v.compareByOriginalPositions)};q6.IndexedSourceMapConsumer=o});var g4=N((w6)=>{var d=function(z,Z,Y,$,K){if(this.children=[],this.sourceContents={},this.line=z==null?null:z,this.column=Z==null?null:Z,this.source=Y==null?null:Y,this.name=K==null?null:K,this[qY]=!0,$!=null)this.add($)},E6=q$().SourceMapGenerator,NY=DY(),O6=/(\r?\n)/,V6=10,qY="$$$isSourceNode$$$";d.fromStringWithSourceMap=function z(Z,Y,$){var K=new d,J=Z.split(O6),X=0,q=function(){var I=D(),V=D()||"";return I+V;function D(){return X<J.length?J[X++]:void 0}},W=1,G=0,O=null;if(Y.eachMapping(function(I){if(O!==null)if(W<I.generatedLine)w(O,q()),W++,G=0;else{var V=J[X]||"",D=V.substr(0,I.generatedColumn-G);J[X]=V.substr(I.generatedColumn-G),G=I.generatedColumn,w(O,D),O=I;return}while(W<I.generatedLine)K.add(q()),W++;if(G<I.generatedColumn){var V=J[X]||"";K.add(V.substr(0,I.generatedColumn)),J[X]=V.substr(I.generatedColumn),G=I.generatedColumn}O=I},this),X<J.length){if(O)w(O,q());K.add(J.splice(X).join(""))}return Y.sources.forEach(function(I){var V=Y.sourceContentFor(I);if(V!=null){if($!=null)I=NY.join($,I);K.setSourceContent(I,V)}}),K;function w(I,V){if(I===null||I.source===void 0)K.add(V);else{var D=$?NY.join($,I.source):I.source;K.add(new d(I.originalLine,I.originalColumn,D,V,I.name))}}};d.prototype.add=function z(Z){if(Array.isArray(Z))Z.forEach(function(Y){this.add(Y)},this);else if(Z[qY]||typeof Z==="string"){if(Z)this.children.push(Z)}else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+Z);return this};d.prototype.prepend=function z(Z){if(Array.isArray(Z))for(var Y=Z.length-1;Y>=0;Y--)this.prepend(Z[Y]);else if(Z[qY]||typeof Z==="string")this.children.unshift(Z);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+Z);return this};d.prototype.walk=function z(Z){var Y;for(var $=0,K=this.children.length;$<K;$++)if(Y=this.children[$],Y[qY])Y.walk(Z);else if(Y!=="")Z(Y,{source:this.source,line:this.line,column:this.column,name:this.name})};d.prototype.join=function z(Z){var Y,$,K=this.children.length;if(K>0){Y=[];for($=0;$<K-1;$++)Y.push(this.children[$]),Y.push(Z);Y.push(this.children[$]),this.children=Y}return this};d.prototype.replaceRight=function z(Z,Y){var $=this.children[this.children.length-1];if($[qY])$.replaceRight(Z,Y);else if(typeof $==="string")this.children[this.children.length-1]=$.replace(Z,Y);else this.children.push("".replace(Z,Y));return this};d.prototype.setSourceContent=function z(Z,Y){this.sourceContents[NY.toSetString(Z)]=Y};d.prototype.walkSourceContents=function z(Z){for(var Y=0,$=this.children.length;Y<$;Y++)if(this.children[Y][qY])this.children[Y].walkSourceContents(Z);var K=Object.keys(this.sourceContents);for(var Y=0,$=K.length;Y<$;Y++)Z(NY.fromSetString(K[Y]),this.sourceContents[K[Y]])};d.prototype.toString=function z(){var Z="";return this.walk(function(Y){Z+=Y}),Z};d.prototype.toStringWithSourceMap=function z(Z){var Y={code:"",line:1,column:0},$=new E6(Z),K=!1,J=null,X=null,q=null,W=null;return this.walk(function(G,O){if(Y.code+=G,O.source!==null&&O.line!==null&&O.column!==null){if(J!==O.source||X!==O.line||q!==O.column||W!==O.name)$.addMapping({source:O.source,original:{line:O.line,column:O.column},generated:{line:Y.line,column:Y.column},name:O.name});J=O.source,X=O.line,q=O.column,W=O.name,K=!0}else if(K)$.addMapping({generated:{line:Y.line,column:Y.column}}),J=null,K=!1;for(var w=0,I=G.length;w<I;w++)if(G.charCodeAt(w)===V6){if(Y.line++,Y.column=0,w+1===I)J=null,K=!1;else if(K)$.addMapping({source:O.source,original:{line:O.line,column:O.column},generated:{line:Y.line,column:Y.column},name:O.name})}else Y.column++}),this.walkSourceContents(function(G,O){$.setSourceContent(G,O)}),{code:Y.code,map:$}};w6.SourceNode=d});var h4=N((U6)=>{U6.SourceMapGenerator=q$().SourceMapGenerator;U6.SourceMapConsumer=y4().SourceMapConsumer;U6.SourceNode=g4().SourceNode});var o6=N((l4)=>{var v6=function(){return u4()?"\n":import.meta.require("os").EOL||"\n"},u4=function(){return typeof window!=="undefined"&&typeof window.document!=="undefined"},k6=function(z,Z,Y){if(z&&f4.call(z,Z))return z[Z];return Y},C6=function(){var z=[];for(var Z=0;Z<arguments.length;Z++)z[Z]=arguments[Z];var Y={},$=z.length;for(var K=0;K<$;++K){var J=Object.keys(z[K]),X=J.length;for(var q=0;q<X;++q)Y[J[q]]=!0}return Y},p=function(z,Z){return z.line-Z.line||z.column-Z.column},e=function(z){return{line:z.line,column:z.column}},N6=function(z,Z){if(z){if(!Z)return z}else return Z||null;var Y=new c4(z),$=new c4(Z),K=new T6({file:Z.file,sourceRoot:Z.sourceRoot}),J={};return $.eachMapping(function(X){var q=Y.originalPositionFor({line:X.originalLine,column:X.originalColumn}),W=q.source;if(W===null)return;K.addMapping({source:W,original:e(q),generated:{line:X.generatedLine,column:X.generatedColumn},name:X.name});var G=Y.sourceContentFor(W);if(G&&!f4.call(J,W))J[W]=G,K.setSourceContent(W,G)}),K.toJSON()},M6=function(z,Z){if(!z.loc)return null;var Y={start:z.loc.start,end:z.loc.end};function $(K){V$(Y,K.loc)}if(z.declaration&&z.declaration.decorators&&xY(z))z.declaration.decorators.forEach($);if(p(Y.start,Y.end)<0){if(Y.start=e(Y.start),Z.skipSpaces(Y.start,!1,!0),p(Y.start,Y.end)<0)Y.end=e(Y.end),Z.skipSpaces(Y.end,!0,!0)}if(z.comments)z.comments.forEach($);return Y},V$=function(z,Z){if(z&&Z){if(p(Z.start,z.start)<0)z.start=Z.start;if(p(z.end,Z.end)<0)z.end=Z.end}},x6=function(z,Z){var Y=z.loc;if(Y){if(Y.start.line<1)Y.start.line=1;if(Y.end.line<1)Y.end.line=1}if(z.type==="File")Y.start=Z.firstPos(),Y.end=Z.lastPos();if(_6(z,Z),S6(z,Z),Y&&z.decorators)z.decorators.forEach(function(X){V$(Y,X.loc)});else if(z.declaration&&xY(z)){z.declaration.loc=null;var $=z.declaration.decorators;if($)$.forEach(function(X){V$(Y,X.loc)})}else if(MY.MethodDefinition&&MY.MethodDefinition.check(z)||MY.Property.check(z)&&(z.method||z.shorthand)){if(z.value.loc=null,MY.FunctionExpression.check(z.value))z.value.id=null}else if(z.type==="ObjectTypeProperty"){var K=z.loc,J=K&&K.end;if(J){if(J=e(J),Z.prevPos(J)&&Z.charAt(J)===","){if(J=Z.skipSpaces(J,!0,!0))K.end=J}}}},_6=function(z,Z){if(z.type!=="ForStatement")return;function Y($){var K=$&&$.loc,J=K&&K.start,X=K&&e(K.end);while(J&&X&&p(J,X)<0)if(Z.prevPos(X),Z.charAt(X)===";")K.end.line=X.line,K.end.column=X.column;else break}Y(z.init),Y(z.test),Y(z.update)},S6=function(z,Z){if(z.type!=="TemplateLiteral")return;if(z.quasis.length===0)return;if(z.loc){var Y=e(z.loc.start);jY.default(Z.charAt(Y)==="`"),jY.default(Z.nextPos(Y));var $=z.quasis[0];if(p($.loc.start,Y)<0)$.loc.start=Y;var K=e(z.loc.end);jY.default(Z.prevPos(K)),jY.default(Z.charAt(K)==="`");var J=z.quasis[z.quasis.length-1];if(p(K,J.loc.end)<0)J.loc.end=K}z.expressions.forEach(function(X,q){var W=Z.skipSpaces(X.loc.start,!0,!1);if(Z.prevPos(W)&&Z.charAt(W)==="{"&&Z.prevPos(W)&&Z.charAt(W)==="$"){var G=z.quasis[q];if(p(W,G.loc.end)<0)G.loc.end=W}var O=Z.skipSpaces(X.loc.end,!1,!1);if(Z.charAt(O)==="}"){jY.default(Z.nextPos(O));var w=z.quasis[q+1];if(p(w.loc.start,O)<0)w.loc.start=O}})},xY=function(z){if(z)switch(z.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1},b6=function(z){var Z=z.getParentNode();if(z.getName()==="declaration"&&xY(Z))return Z;return null},P6=function(z,Z){var Y=z.trailingComma;if(typeof Y==="object")return!!Y[Z];return!!Y};Object.defineProperty(l4,"__esModule",{value:!0});l4.isTrailingCommaEnabled=l4.getParentExportDeclaration=l4.isExportDeclaration=l4.fixFaultyLocations=l4.getTrueLoc=l4.composeSourceMaps=l4.copyPos=l4.comparePos=l4.getUnionOfKeys=l4.getOption=l4.isBrowser=l4.getLineTerminator=void 0;var w$=_(),jY=w$.__importDefault(B$()),L6=w$.__importStar(w4()),MY=L6.namedTypes,m4=w$.__importDefault(h4()),c4=m4.default.SourceMapConsumer,T6=m4.default.SourceMapGenerator,f4=Object.prototype.hasOwnProperty;l4.getLineTerminator=v6;l4.isBrowser=u4;l4.getOption=k6;l4.getUnionOfKeys=C6;l4.comparePos=p;l4.copyPos=e;l4.composeSourceMaps=N6;l4.getTrueLoc=M6;l4.fixFaultyLocations=x6;l4.isExportDeclaration=xY;l4.getParentExportDeclaration=b6;l4.isTrailingCommaEnabled=P6});
|
|
2
|
-
export{w4 as
|
|
1
|
+
import{z as N} from"./chunk-7ce930fe69575c87.js";import{J as _} from"./chunk-0c3a31bca25291a6.js";var B$=N((i6,U$)=>{var Y9=function(z,Z){if(z)return;if(e4)throw new Error(PY);var Y=typeof Z==="function"?Z():Z,$=Y?"".concat(PY,": ").concat(Y):PY;throw new Error($)},e4=!1,PY="Invariant failed";U$.exports=Y9});var S=N((R$)=>{var z9=function(z){var Z=z.use(Z9.default),Y=Z.Type,$=Z.builtInTypes,K=$.number;function J(G){return Y.from(function(O){return K.check(O)&&O>=G},K+" >= "+G)}var X={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},q=Y.or($.string,$.number,$.boolean,$.null,$.undefined),W=Y.from(function(G){if(G===null)return!0;var O=typeof G;if(O==="object"||O==="function")return!1;return!0},q.toString());return{geq:J,defaults:X,isPrimitive:W}},K9=function(z){try{var Z=z(),Y=Z.exports,$=Y.default}catch(K){return}if($&&$!==Y&&typeof Y==="object"){if(Object.assign($,Y,{default:$}),Y.__esModule)Object.defineProperty($,"__esModule",{value:!0});Z.exports=$}};Object.defineProperty(R$,"__esModule",{value:!0});R$.maybeSetModuleExports=void 0;var $9=_(),Z9=$9.__importDefault(y());R$.default=z9;R$.maybeSetModuleExports=K9});var y=N((N$,M$)=>{var gY=function(z){if(Array.isArray(z))return"["+z.map(gY).join(", ")+"]";if(z&&typeof z==="object")return"{ "+Object.keys(z).map(function(Z){return Z+": "+z[Z]}).join(", ")+" }";return JSON.stringify(z)},X9=function(z){var Z={or:function(){var R=[];for(var T=0;T<arguments.length;T++)R[T]=arguments[T];return new v$(R.map(function(L){return Z.from(L)}))},from:function(R,T){if(R instanceof yY||R instanceof L$||R instanceof T$||R instanceof v$||R instanceof FY)return R;if(R instanceof UY)return R.type;if(q.check(R)){if(R.length!==1)throw new Error("only one element type is permitted for typed arrays");return new yY(Z.from(R[0]))}if(W.check(R))return new T$(Object.keys(R).map(function(C){return new k$(C,Z.from(R[C],C))}));if(typeof R==="function"){var L=Y.indexOf(R);if(L>=0)return $[L];if(typeof T!=="string")throw new Error("missing name");return new FY(T,R)}return new L$(R)},def:function(R){return s.call(Q,R)?Q[R]:Q[R]=new A(R)},hasDef:function(R){return s.call(Q,R)}},Y=[],$=[];function K(R,T){var L=BY.call(T),C=new FY(R,function(M){return BY.call(M)===L});if(T&&typeof T.constructor==="function")Y.push(T.constructor),$.push(C);return C}var J=K("string","truthy"),X=K("function",function(){}),q=K("array",[]),W=K("object",{}),G=K("RegExp",/./),O=K("Date",new Date),w=K("number",3),I=K("boolean",!0),V=K("null",null),D=K("undefined",void 0),H=typeof BigInt==="function"?K("BigInt",BigInt(1234)):new FY("BigInt",function(){return!1}),E={string:J,function:X,array:q,object:W,RegExp:G,Date:O,number:w,boolean:I,null:V,undefined:D,BigInt:H},Q=Object.create(null);function U(R){if(R&&typeof R==="object"){var T=R.type;if(typeof T==="string"&&s.call(Q,T)){var L=Q[T];if(L.finalized)return L}}return null}var A=function(R){KY.__extends(T,R);function T(L){var C=R.call(this,new FY(L,function(M,x){return C.check(M,x)}),L)||this;return C}return T.prototype.check=function(L,C){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(L===null||typeof L!=="object")return!1;var M=U(L);if(!M){if(this.typeName==="SourceLocation"||this.typeName==="Position")return this.checkAllFields(L,C);return!1}if(C&&M===this)return this.checkAllFields(L,C);if(!this.isSupertypeOf(M))return!1;if(!C)return!0;return M.checkAllFields(L,C)&&this.checkAllFields(L,!1)},T.prototype.build=function(){var L=this,C=[];for(var M=0;M<arguments.length;M++)C[M]=arguments[M];if(this.buildParams=C,this.buildable)return this;this.field("type",String,function(){return L.typeName}),this.buildable=!0;var x=function(g,h,t,YY){if(s.call(g,h))return;var a=L.allFields;if(!s.call(a,h))throw new Error(""+h);var $Y=a[h],r4=$Y.type,GY;if(YY)GY=t;else if($Y.defaultFn)GY=$Y.defaultFn.call(g);else{var t4="no value or default function given for field "+JSON.stringify(h)+" of "+L.typeName+"("+L.buildParams.map(function(a4){return a[a4]}).join(", ")+")";throw new Error(t4)}if(!r4.check(GY))throw new Error(gY(GY)+" does not match field "+$Y+" of type "+L.typeName);g[h]=GY},l=function(){var g=[];for(var h=0;h<arguments.length;h++)g[h]=arguments[h];var t=g.length;if(!L.finalized)throw new Error("attempting to instantiate unfinalized type "+L.typeName);var YY=Object.create(k);if(L.buildParams.forEach(function(a,$Y){if($Y<t)x(YY,a,g[$Y],!0);else x(YY,a,null,!1)}),Object.keys(L.allFields).forEach(function(a){x(YY,a,null,!1)}),YY.type!==L.typeName)throw new Error("");return YY};return l.from=function(g){if(!L.finalized)throw new Error("attempting to instantiate unfinalized type "+L.typeName);var h=Object.create(k);if(Object.keys(L.allFields).forEach(function(t){if(s.call(g,t))x(h,t,g[t],!0);else x(h,t,null,!1)}),h.type!==L.typeName)throw new Error("");return h},Object.defineProperty(B,u(this.typeName),{enumerable:!0,value:l}),this},T.prototype.field=function(L,C,M,x){if(this.finalized)return console.error("Ignoring attempt to redefine field "+JSON.stringify(L)+" of finalized type "+JSON.stringify(this.typeName)),this;return this.ownFields[L]=new k$(L,Z.from(C),M,x),this},T.prototype.finalize=function(){var L=this;if(!this.finalized){var C=this.allFields,M=this.allSupertypes;this.baseNames.forEach(function(l){var g=Q[l];if(g instanceof UY)g.finalize(),bY(C,g.allFields),bY(M,g.allSupertypes);else{var h="unknown supertype name "+JSON.stringify(l)+" for subtype "+JSON.stringify(L.typeName);throw new Error(h)}}),bY(C,this.ownFields),M[this.typeName]=this,this.fieldNames.length=0;for(var x in C)if(s.call(C,x)&&!C[x].hidden)this.fieldNames.push(x);if(Object.defineProperty(j$,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,i4(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0)o4(this.typeName)}},T}(UY);function F(R){if(!s.call(Q,R))throw new Error("");var T=Q[R];if(T.finalized!==!0)throw new Error("");return T.supertypeList.slice(1)}function j(R){var T={},L=Object.keys(Q),C=L.length;for(var M=0;M<C;++M){var x=L[M],l=Q[x];if(l.finalized!==!0)throw new Error(""+x);for(var g=0;g<l.supertypeList.length;++g){var h=l.supertypeList[g];if(s.call(R,h)){T[x]=h;break}}}return T}var B=Object.create(null),k={};function b(R,T){var L=k[R];if(D.check(T))delete k[R];else X.assert(T),Object.defineProperty(k,R,{enumerable:!0,configurable:!0,value:T});return L}function u(R){return R.replace(/^[A-Z]+/,function(T){var L=T.length;switch(L){case 0:return"";case 1:return T.toLowerCase();default:return T.slice(0,L-1).toLowerCase()+T.charAt(L-1)}})}function i(R){return R=u(R),R.replace(/(Expression)?$/,"Statement")}var j$={};function _Y(R){var T=U(R);if(T)return T.fieldNames.slice(0);if("type"in R)throw new Error("did not recognize object of type "+JSON.stringify(R.type));return Object.keys(R)}function SY(R,T){var L=U(R);if(L){var C=L.allFields[T];if(C)return C.getValue(R)}return R&&R[T]}function s4(R,T,L){_Y(R).forEach(function(C){T.call(this,C,SY(R,C))},L)}function n4(R,T,L){return _Y(R).some(function(C){return T.call(this,C,SY(R,C))},L)}function o4(R){var T=i(R);if(B[T])return;var L=B[u(R)];if(!L)return;var C=function(){var M=[];for(var x=0;x<arguments.length;x++)M[x]=arguments[x];return B.expressionStatement(L.apply(B,M))};C.from=function(){var M=[];for(var x=0;x<arguments.length;x++)M[x]=arguments[x];return B.expressionStatement(L.from.apply(B,M))},B[T]=C}function i4(R,T){T.length=0,T.push(R);var L=Object.create(null);for(var C=0;C<T.length;++C){R=T[C];var M=Q[R];if(M.finalized!==!0)throw new Error("");if(s.call(L,R))delete T[L[R]];L[R]=C,T.push.apply(T,M.baseNames)}for(var x=0,l=x,g=T.length;l<g;++l)if(s.call(T,l))T[x++]=T[l];T.length=x}function bY(R,T){return Object.keys(T).forEach(function(L){R[L]=T[L]}),R}function p4(){Object.keys(Q).forEach(function(R){Q[R].finalize()})}return{Type:Z,builtInTypes:E,getSupertypeNames:F,computeSupertypeLookupTable:j,builders:B,defineMethod:b,getBuilderName:u,getStatementBuilderName:i,namedTypes:j$,getFieldNames:_Y,getFieldValue:SY,eachField:s4,someField:n4,finalize:p4}};Object.defineProperty(N$,"__esModule",{value:!0});N$.Def=void 0;var KY=_(),W9=S(),C$=Object.prototype,BY=C$.toString,s=C$.hasOwnProperty,IY=function(){function z(){}return z.prototype.assert=function(Z,Y){if(!this.check(Z,Y)){var $=gY(Z);throw new Error($+" does not match type "+this)}return!0},z.prototype.arrayOf=function(){var Z=this;return new yY(Z)},z}(),yY=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.elemType=Y,$.kind="ArrayType",$}return Z.prototype.toString=function(){return"["+this.elemType+"]"},Z.prototype.check=function(Y,$){var K=this;return Array.isArray(Y)&&Y.every(function(J){return K.elemType.check(J,$)})},Z}(IY),L$=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.value=Y,$.kind="IdentityType",$}return Z.prototype.toString=function(){return String(this.value)},Z.prototype.check=function(Y,$){var K=Y===this.value;if(!K&&typeof $==="function")$(this,Y);return K},Z}(IY),T$=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.fields=Y,$.kind="ObjectType",$}return Z.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},Z.prototype.check=function(Y,$){return BY.call(Y)===BY.call({})&&this.fields.every(function(K){return K.type.check(Y[K.name],$)})},Z}(IY),v$=function(z){KY.__extends(Z,z);function Z(Y){var $=z.call(this)||this;return $.types=Y,$.kind="OrType",$}return Z.prototype.toString=function(){return this.types.join(" | ")},Z.prototype.check=function(Y,$){if(this.types.some(function(K){return K.check(Y,!!$)}))return!0;if(typeof $==="function")$(this,Y);return!1},Z}(IY),FY=function(z){KY.__extends(Z,z);function Z(Y,$){var K=z.call(this)||this;return K.name=Y,K.predicate=$,K.kind="PredicateType",K}return Z.prototype.toString=function(){return this.name},Z.prototype.check=function(Y,$){var K=this.predicate(Y,$);if(!K&&typeof $==="function")$(this,Y);return K},Z}(IY),UY=function(){function z(Z,Y){this.type=Z,this.typeName=Y,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return z.prototype.isSupertypeOf=function(Z){if(Z instanceof z){if(this.finalized!==!0||Z.finalized!==!0)throw new Error("");return s.call(Z.allSupertypes,this.typeName)}else throw new Error(Z+" is not a Def")},z.prototype.checkAllFields=function(Z,Y){var $=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function K(J){var X=$[J],q=X.type,W=X.getValue(Z);return q.check(W,Y)}return Z!==null&&typeof Z==="object"&&Object.keys($).every(K)},z.prototype.bases=function(){var Z=[];for(var Y=0;Y<arguments.length;Y++)Z[Y]=arguments[Y];var $=this.baseNames;if(this.finalized){if(Z.length!==$.length)throw new Error("");for(var K=0;K<Z.length;K++)if(Z[K]!==$[K])throw new Error("");return this}return Z.forEach(function(J){if($.indexOf(J)<0)$.push(J)}),this},z}();N$.Def=UY;var k$=function(){function z(Z,Y,$,K){this.name=Z,this.type=Y,this.defaultFn=$,this.hidden=!!K}return z.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},z.prototype.getValue=function(Z){var Y=Z[this.name];if(typeof Y!=="undefined")return Y;if(typeof this.defaultFn==="function")Y=this.defaultFn.call(Z);return Y},z}();N$.default=X9;W9.maybeSetModuleExports(function(){return M$})});var hY=N((_$,S$)=>{var F9=function(z){var Z=z.use(q9.default),Y=Z.builtInTypes.array,$=Z.builtInTypes.number,K=function w(I,V,D){if(!(this instanceof w))throw new Error("Path constructor cannot be invoked without 'new'");if(V){if(!(V instanceof w))throw new Error("")}else V=null,D=null;this.value=I,this.parentPath=V,this.name=D,this.__childCache=null},J=K.prototype;function X(w){return w.__childCache||(w.__childCache=Object.create(null))}function q(w,I){var V=X(w),D=w.getValueProperty(I),H=V[I];if(!RY.call(V,I)||H.value!==D)H=V[I]=new w.constructor(D,w,I);return H}J.getValueProperty=function w(I){return this.value[I]},J.get=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=this,H=I.length;for(var E=0;E<H;++E)D=q(D,I[E]);return D},J.each=function w(I,V){var D=[],H=this.value.length,E=0;for(var E=0;E<H;++E)if(RY.call(this.value,E))D[E]=this.get(E);V=V||this;for(E=0;E<H;++E)if(RY.call(D,E))I.call(V,D[E])},J.map=function w(I,V){var D=[];return this.each(function(H){D.push(I.call(this,H))},V),D},J.filter=function w(I,V){var D=[];return this.each(function(H){if(I.call(this,H))D.push(H)},V),D};function W(){}function G(w,I,V,D){if(Y.assert(w.value),I===0)return W;var H=w.value.length;if(H<1)return W;var E=arguments.length;if(E===2)V=0,D=H;else if(E===3)V=Math.max(V,0),D=H;else V=Math.max(V,0),D=Math.min(D,H);$.assert(V),$.assert(D);var Q=Object.create(null),U=X(w);for(var A=V;A<D;++A)if(RY.call(w.value,A)){var F=w.get(A);if(F.name!==A)throw new Error("");var j=A+I;F.name=j,Q[j]=F,delete U[A]}return delete U.length,function(){for(var B in Q){var k=Q[B];if(k.name!==+B)throw new Error("");U[B]=k,w.value[B]=k.value}}}J.shift=function w(){var I=G(this,-1),V=this.value.shift();return I(),V},J.unshift=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=G(this,I.length),H=this.value.unshift.apply(this.value,I);return D(),H},J.push=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];return Y.assert(this.value),delete X(this).length,this.value.push.apply(this.value,I)},J.pop=function w(){Y.assert(this.value);var I=X(this);return delete I[this.value.length-1],delete I.length,this.value.pop()},J.insertAt=function w(I){var V=arguments.length,D=G(this,V-1,I);if(D===W&&V<=1)return this;I=Math.max(I,0);for(var H=1;H<V;++H)this.value[I+H-1]=arguments[H];return D(),this},J.insertBefore=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=this.parentPath,H=I.length,E=[this.name];for(var Q=0;Q<H;++Q)E.push(I[Q]);return D.insertAt.apply(D,E)},J.insertAfter=function w(){var I=[];for(var V=0;V<arguments.length;V++)I[V]=arguments[V];var D=this.parentPath,H=I.length,E=[this.name+1];for(var Q=0;Q<H;++Q)E.push(I[Q]);return D.insertAt.apply(D,E)};function O(w){if(!(w instanceof K))throw new Error("");var I=w.parentPath;if(!I)return w;var V=I.value,D=X(I);if(V[w.name]===w.value)D[w.name]=w;else if(Y.check(V)){var H=V.indexOf(w.value);if(H>=0)D[w.name=H]=w}else V[w.name]=w.value,D[w.name]=w;if(V[w.name]!==w.value)throw new Error("");if(w.parentPath.get(w.name)!==w)throw new Error("");return w}return J.replace=function w(I){var V=[],D=this.parentPath.value,H=X(this.parentPath),E=arguments.length;if(O(this),Y.check(D)){var Q=D.length,U=G(this.parentPath,E-1,this.name+1),A=[this.name,1];for(var F=0;F<E;++F)A.push(arguments[F]);var j=D.splice.apply(D,A);if(j[0]!==this.value)throw new Error("");if(D.length!==Q-1+E)throw new Error("");if(U(),E===0)delete this.value,delete H[this.name],this.__childCache=null;else{if(D[this.name]!==I)throw new Error("");if(this.value!==I)this.value=I,this.__childCache=null;for(F=0;F<E;++F)V.push(this.parentPath.get(this.name+F));if(V[0]!==this)throw new Error("")}}else if(E===1){if(this.value!==I)this.__childCache=null;this.value=D[this.name]=I,V.push(this)}else if(E===0)delete D[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return V},K};Object.defineProperty(_$,"__esModule",{value:!0});var D9=_(),H9=S(),q9=D9.__importDefault(y()),G9=Object.prototype,RY=G9.hasOwnProperty;_$.default=F9;H9.maybeSetModuleExports(function(){return S$})});var y$=N((b$,P$)=>{var w9=function(z){var Z=z.use(V9.default),Y=Z.Type,$=Z.namedTypes,K=$.Node,J=$.Expression,X=Z.builtInTypes.array,q=Z.builders,W=function F(j,B){if(!(this instanceof F))throw new Error("Scope constructor cannot be invoked without 'new'");if(!O.check(j.value))G.assert(j.value);var k;if(B){if(!(B instanceof F))throw new Error("");k=B.depth+1}else B=null,k=0;Object.defineProperties(this,{path:{value:j},node:{value:j.value},isGlobal:{value:!B,enumerable:!0},depth:{value:k},parent:{value:B},bindings:{value:{}},types:{value:{}}})},G=Y.or($.Program,$.Function,$.CatchClause),O=Y.or($.Function,$.ClassDeclaration,$.ClassExpression,$.InterfaceDeclaration,$.TSInterfaceDeclaration,$.TypeAlias,$.TSTypeAliasDeclaration),w=Y.or($.TypeParameter,$.TSTypeParameter);W.isEstablishedBy=function(F){return G.check(F)||O.check(F)};var I=W.prototype;I.didScan=!1,I.declares=function(F){return this.scan(),JY.call(this.bindings,F)},I.declaresType=function(F){return this.scan(),JY.call(this.types,F)},I.declareTemporary=function(F){if(F){if(!/^[a-z$_]/i.test(F))throw new Error("")}else F="t$";F+=this.depth.toString(36)+"$",this.scan();var j=0;while(this.declares(F+j))++j;var B=F+j;return this.bindings[B]=Z.builders.identifier(B)},I.injectTemporary=function(F,j){F||(F=this.declareTemporary());var B=this.path.get("body");if($.BlockStatement.check(B.value))B=B.get("body");return B.unshift(q.variableDeclaration("var",[q.variableDeclarator(F,j||null)])),F},I.scan=function(F){if(F||!this.didScan){for(var j in this.bindings)delete this.bindings[j];for(var j in this.types)delete this.types[j];V(this.path,this.bindings,this.types),this.didScan=!0}},I.getBindings=function(){return this.scan(),this.bindings},I.getTypes=function(){return this.scan(),this.types};function V(F,j,B){var k=F.value;if(O.check(k)){var b=F.get("typeParameters","params");if(X.check(b.value))b.each(function(u){A(u,B)})}if(G.check(k))if($.CatchClause.check(k))Q(F.get("param"),j);else D(F,j,B)}function D(F,j,B){var k=F.value;if(F.parent&&$.FunctionExpression.check(F.parent.node)&&F.parent.node.id)Q(F.parent.get("id"),j);if(!k);else if(X.check(k))F.each(function(b){E(b,j,B)});else if($.Function.check(k))F.get("params").each(function(b){Q(b,j)}),E(F.get("body"),j,B),D(F.get("typeParameters"),j,B);else if($.TypeAlias&&$.TypeAlias.check(k)||$.InterfaceDeclaration&&$.InterfaceDeclaration.check(k)||$.TSTypeAliasDeclaration&&$.TSTypeAliasDeclaration.check(k)||$.TSInterfaceDeclaration&&$.TSInterfaceDeclaration.check(k))U(F.get("id"),B);else if($.VariableDeclarator.check(k))Q(F.get("id"),j),E(F.get("init"),j,B);else if(k.type==="ImportSpecifier"||k.type==="ImportNamespaceSpecifier"||k.type==="ImportDefaultSpecifier")Q(F.get(k.local?"local":k.name?"name":"id"),j);else if(K.check(k)&&!J.check(k))Z.eachField(k,function(b,u){var i=F.get(b);if(!H(i,u))throw new Error("");E(i,j,B)})}function H(F,j){if(F.value===j)return!0;if(Array.isArray(F.value)&&F.value.length===0&&Array.isArray(j)&&j.length===0)return!0;return!1}function E(F,j,B){var k=F.value;if(!k||J.check(k));else if($.FunctionDeclaration.check(k)&&k.id!==null)Q(F.get("id"),j);else if($.ClassDeclaration&&$.ClassDeclaration.check(k)&&k.id!==null)Q(F.get("id"),j),D(F.get("typeParameters"),j,B);else if($.InterfaceDeclaration&&$.InterfaceDeclaration.check(k)||$.TSInterfaceDeclaration&&$.TSInterfaceDeclaration.check(k))U(F.get("id"),B);else if(G.check(k)){if($.CatchClause.check(k)&&$.Identifier.check(k.param)){var b=k.param.name,u=JY.call(j,b);if(D(F.get("body"),j,B),!u)delete j[b]}}else D(F,j,B)}function Q(F,j){var B=F.value;if($.Pattern.assert(B),$.Identifier.check(B))if(JY.call(j,B.name))j[B.name].push(F);else j[B.name]=[F];else if($.AssignmentPattern&&$.AssignmentPattern.check(B))Q(F.get("left"),j);else if($.ObjectPattern&&$.ObjectPattern.check(B))F.get("properties").each(function(k){var b=k.value;if($.Pattern.check(b))Q(k,j);else if($.Property.check(b)||$.ObjectProperty&&$.ObjectProperty.check(b))Q(k.get("value"),j);else if($.SpreadProperty&&$.SpreadProperty.check(b))Q(k.get("argument"),j)});else if($.ArrayPattern&&$.ArrayPattern.check(B))F.get("elements").each(function(k){var b=k.value;if($.Pattern.check(b))Q(k,j);else if($.SpreadElement&&$.SpreadElement.check(b))Q(k.get("argument"),j)});else if($.PropertyPattern&&$.PropertyPattern.check(B))Q(F.get("pattern"),j);else if($.SpreadElementPattern&&$.SpreadElementPattern.check(B)||$.RestElement&&$.RestElement.check(B)||$.SpreadPropertyPattern&&$.SpreadPropertyPattern.check(B))Q(F.get("argument"),j)}function U(F,j){var B=F.value;if($.Pattern.assert(B),$.Identifier.check(B))if(JY.call(j,B.name))j[B.name].push(F);else j[B.name]=[F]}function A(F,j){var B=F.value;if(w.assert(B),JY.call(j,B.name))j[B.name].push(F);else j[B.name]=[F]}return I.lookup=function(F){for(var j=this;j;j=j.parent)if(j.declares(F))break;return j},I.lookupType=function(F){for(var j=this;j;j=j.parent)if(j.declaresType(F))break;return j},I.getGlobalScope=function(){var F=this;while(!F.isGlobal)F=F.parent;return F},W};Object.defineProperty(b$,"__esModule",{value:!0});var E9=_(),O9=S(),V9=E9.__importDefault(y()),JY=Object.prototype.hasOwnProperty;b$.default=w9;O9.maybeSetModuleExports(function(){return P$})});var mY=N((g$,h$)=>{var L9=function(z){var Z=z.use(U9.default),Y=Z.namedTypes,$=Z.builders,K=Z.builtInTypes.number,J=Z.builtInTypes.array,X=z.use(B9.default),q=z.use(R9.default),W=function Q(U,A,F){if(!(this instanceof Q))throw new Error("NodePath constructor cannot be invoked without 'new'");X.call(this,U,A,F)},G=W.prototype=Object.create(X.prototype,{constructor:{value:W,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(G,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),G.replace=function(){return delete this.node,delete this.parent,delete this.scope,X.prototype.replace.apply(this,arguments)},G.prune=function(){var Q=this.parent;return this.replace(),H(Q)},G._computeNode=function(){var Q=this.value;if(Y.Node.check(Q))return Q;var U=this.parentPath;return U&&U.node||null},G._computeParent=function(){var Q=this.value,U=this.parentPath;if(!Y.Node.check(Q)){while(U&&!Y.Node.check(U.value))U=U.parentPath;if(U)U=U.parentPath}while(U&&!Y.Node.check(U.value))U=U.parentPath;return U||null},G._computeScope=function(){var Q=this.value,U=this.parentPath,A=U&&U.scope;if(Y.Node.check(Q)&&q.isEstablishedBy(Q))A=new q(this,A);return A||null},G.getValueProperty=function(Q){return Z.getFieldValue(this.value,Q)},G.needsParens=function(Q){var U=this.parentPath;if(!U)return!1;var A=this.value;if(!Y.Expression.check(A))return!1;if(A.type==="Identifier")return!1;while(!Y.Node.check(U.value))if(U=U.parentPath,!U)return!1;var F=U.value;switch(A.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return F.type==="MemberExpression"&&this.name==="object"&&F.object===A;case"BinaryExpression":case"LogicalExpression":switch(F.type){case"CallExpression":return this.name==="callee"&&F.callee===A;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&F.object===A;case"BinaryExpression":case"LogicalExpression":{var j=A,B=F.operator,k=I[B],b=j.operator,u=I[b];if(k>u)return!0;if(k===u&&this.name==="right"){if(F.right!==j)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(F.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(F.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return F.type==="MemberExpression"&&K.check(A.value)&&this.name==="object"&&F.object===A;case"AssignmentExpression":case"ConditionalExpression":switch(F.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&F.callee===A;case"ConditionalExpression":return this.name==="test"&&F.test===A;case"MemberExpression":return this.name==="object"&&F.object===A;default:return!1}default:if(F.type==="NewExpression"&&this.name==="callee"&&F.callee===A)return V(A)}if(Q!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())return!0;return!1};function O(Q){return Y.BinaryExpression.check(Q)||Y.LogicalExpression.check(Q)}function w(Q){return Y.UnaryExpression.check(Q)||Y.SpreadElement&&Y.SpreadElement.check(Q)||Y.SpreadProperty&&Y.SpreadProperty.check(Q)}var I={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(Q,U){Q.forEach(function(A){I[A]=U})});function V(Q){if(Y.CallExpression.check(Q))return!0;if(J.check(Q))return Q.some(V);if(Y.Node.check(Q))return Z.someField(Q,function(U,A){return V(A)});return!1}G.canBeFirstInStatement=function(){var Q=this.node;return!Y.FunctionExpression.check(Q)&&!Y.ObjectExpression.check(Q)},G.firstInStatement=function(){return D(this)};function D(Q){for(var U,A;Q.parent;Q=Q.parent){if(U=Q.node,A=Q.parent.node,Y.BlockStatement.check(A)&&Q.parent.name==="body"&&Q.name===0){if(A.body[0]!==U)throw new Error("Nodes must be equal");return!0}if(Y.ExpressionStatement.check(A)&&Q.name==="expression"){if(A.expression!==U)throw new Error("Nodes must be equal");return!0}if(Y.SequenceExpression.check(A)&&Q.parent.name==="expressions"&&Q.name===0){if(A.expressions[0]!==U)throw new Error("Nodes must be equal");continue}if(Y.CallExpression.check(A)&&Q.name==="callee"){if(A.callee!==U)throw new Error("Nodes must be equal");continue}if(Y.MemberExpression.check(A)&&Q.name==="object"){if(A.object!==U)throw new Error("Nodes must be equal");continue}if(Y.ConditionalExpression.check(A)&&Q.name==="test"){if(A.test!==U)throw new Error("Nodes must be equal");continue}if(O(A)&&Q.name==="left"){if(A.left!==U)throw new Error("Nodes must be equal");continue}if(Y.UnaryExpression.check(A)&&!A.prefix&&Q.name==="argument"){if(A.argument!==U)throw new Error("Nodes must be equal");continue}return!1}return!0}function H(Q){if(Y.VariableDeclaration.check(Q.node)){var U=Q.get("declarations").value;if(!U||U.length===0)return Q.prune()}else if(Y.ExpressionStatement.check(Q.node)){if(!Q.get("expression").value)return Q.prune()}else if(Y.IfStatement.check(Q.node))E(Q);return Q}function E(Q){var U=Q.get("test").value,A=Q.get("alternate").value,F=Q.get("consequent").value;if(!F&&!A){var j=$.expressionStatement(U);Q.replace(j)}else if(!F&&A){var B=$.unaryExpression("!",U,!0);if(Y.UnaryExpression.check(U)&&U.operator==="!")B=U.argument;Q.get("test").replace(B),Q.get("consequent").replace(A),Q.get("alternate").replace()}}return W};Object.defineProperty(g$,"__esModule",{value:!0});var cY=_(),U9=cY.__importDefault(y()),B9=cY.__importDefault(hY()),R9=cY.__importDefault(y$()),A9=S();g$.default=L9;A9.maybeSetModuleExports(function(){return h$})});var u$=N((m$,f$)=>{var N9=function(z){var Z=z.use(v9.default),Y=z.use(k9.default),$=Z.builtInTypes.array,K=Z.builtInTypes.object,J=Z.builtInTypes.function,X,q=function D(){if(!(this instanceof D))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=W(this),this._shouldVisitComments=AY.call(this._methodNameTable,"Block")||AY.call(this._methodNameTable,"Line"),this.Context=I(this),this._visiting=!1,this._changeReported=!1};function W(D){var H=Object.create(null);for(var E in D)if(/^visit[A-Z]/.test(E))H[E.slice("visit".length)]=!0;var Q=Z.computeSupertypeLookupTable(H),U=Object.create(null),A=Object.keys(Q),F=A.length;for(var j=0;j<F;++j){var B=A[j];if(E="visit"+Q[B],J.check(D[E]))U[B]=E}return U}q.fromMethodsObject=function D(H){if(H instanceof q)return H;if(!K.check(H))return new q;var E=function U(){if(!(this instanceof U))throw new Error("Visitor constructor cannot be invoked without 'new'");q.call(this)},Q=E.prototype=Object.create(O);return Q.constructor=E,G(Q,H),G(E,q),J.assert(E.fromMethodsObject),J.assert(E.visit),new E};function G(D,H){for(var E in H)if(AY.call(H,E))D[E]=H[E];return D}q.visit=function D(H,E){return q.fromMethodsObject(E).visit(H)};var O=q.prototype;O.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;var D=arguments.length,H=new Array(D);for(var E=0;E<D;++E)H[E]=arguments[E];if(!(H[0]instanceof Y))H[0]=new Y({root:H[0]}).get("root");this.reset.apply(this,H);var Q;try{var U=this.visitWithoutReset(H[0]);Q=!0}finally{if(this._visiting=!1,!Q&&this._abortRequested)return H[0].value}return U},O.AbortRequest=function D(){},O.abort=function(){var D=this;D._abortRequested=!0;var H=new D.AbortRequest;throw H.cancel=function(){D._abortRequested=!1},H},O.reset=function(D){},O.visitWithoutReset=function(D){if(this instanceof this.Context)return this.visitor.visitWithoutReset(D);if(!(D instanceof Y))throw new Error("");var H=D.value,E=H&&typeof H==="object"&&typeof H.type==="string"&&this._methodNameTable[H.type];if(E){var Q=this.acquireContext(D);try{return Q.invokeVisitorMethod(E)}finally{this.releaseContext(Q)}}else return w(D,this)};function w(D,H){if(!(D instanceof Y))throw new Error("");if(!(H instanceof q))throw new Error("");var E=D.value;if($.check(E))D.each(H.visitWithoutReset,H);else if(!K.check(E));else{var Q=Z.getFieldNames(E);if(H._shouldVisitComments&&E.comments&&Q.indexOf("comments")<0)Q.push("comments");var U=Q.length,A=[];for(var F=0;F<U;++F){var j=Q[F];if(!AY.call(E,j))E[j]=Z.getFieldValue(E,j);A.push(D.get(j))}for(var F=0;F<U;++F)H.visitWithoutReset(A[F])}return D.value}O.acquireContext=function(D){if(this._reusableContextStack.length===0)return new this.Context(D);return this._reusableContextStack.pop().reset(D)},O.releaseContext=function(D){if(!(D instanceof this.Context))throw new Error("");this._reusableContextStack.push(D),D.currentPath=null},O.reportChanged=function(){this._changeReported=!0},O.wasChangeReported=function(){return this._changeReported};function I(D){function H(Q){if(!(this instanceof H))throw new Error("");if(!(this instanceof q))throw new Error("");if(!(Q instanceof Y))throw new Error("");Object.defineProperty(this,"visitor",{value:D,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=Q,this.needToCallTraverse=!0,Object.seal(this)}if(!(D instanceof q))throw new Error("");var E=H.prototype=Object.create(D);return E.constructor=H,G(E,V),H}var V=Object.create(null);return V.reset=function D(H){if(!(this instanceof this.Context))throw new Error("");if(!(H instanceof Y))throw new Error("");return this.currentPath=H,this.needToCallTraverse=!0,this},V.invokeVisitorMethod=function D(H){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof Y))throw new Error("");var E=this.visitor[H].call(this,this.currentPath);if(E===!1)this.needToCallTraverse=!1;else if(E!==X){if(this.currentPath=this.currentPath.replace(E)[0],this.needToCallTraverse)this.traverse(this.currentPath)}if(this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+H);var Q=this.currentPath;return Q&&Q.value},V.traverse=function D(H,E){if(!(this instanceof this.Context))throw new Error("");if(!(H instanceof Y))throw new Error("");if(!(this.currentPath instanceof Y))throw new Error("");return this.needToCallTraverse=!1,w(H,q.fromMethodsObject(E||this.visitor))},V.visit=function D(H,E){if(!(this instanceof this.Context))throw new Error("");if(!(H instanceof Y))throw new Error("");if(!(this.currentPath instanceof Y))throw new Error("");return this.needToCallTraverse=!1,q.fromMethodsObject(E||this.visitor).visitWithoutReset(H)},V.reportChanged=function D(){this.visitor.reportChanged()},V.abort=function D(){this.needToCallTraverse=!1,this.visitor.abort()},q};Object.defineProperty(m$,"__esModule",{value:!0});var c$=_(),v9=c$.__importDefault(y()),k9=c$.__importDefault(mY()),C9=S(),AY=Object.prototype.hasOwnProperty;m$.default=N9;C9.maybeSetModuleExports(function(){return f$})});var s$=N((l$,d$)=>{var b9=function(z){var Z=z.use(S9.default),Y=Z.getFieldNames,$=Z.getFieldValue,K=Z.builtInTypes.array,J=Z.builtInTypes.object,X=Z.builtInTypes.Date,q=Z.builtInTypes.RegExp,W=Object.prototype.hasOwnProperty;function G(D,H,E){if(K.check(E))E.length=0;else E=null;return w(D,H,E)}G.assert=function(D,H){var E=[];if(!G(D,H,E))if(E.length===0){if(D!==H)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+E.map(O).join(""))};function O(D){if(/[_$a-z][_$a-z0-9]*/i.test(D))return"."+D;return"["+JSON.stringify(D)+"]"}function w(D,H,E){if(D===H)return!0;if(K.check(D))return I(D,H,E);if(J.check(D))return V(D,H,E);if(X.check(D))return X.check(H)&&+D===+H;if(q.check(D))return q.check(H)&&(D.source===H.source&&D.global===H.global&&D.multiline===H.multiline&&D.ignoreCase===H.ignoreCase);return D==H}function I(D,H,E){K.assert(D);var Q=D.length;if(!K.check(H)||H.length!==Q){if(E)E.push("length");return!1}for(var U=0;U<Q;++U){if(E)E.push(U);if(U in D!==U in H)return!1;if(!w(D[U],H[U],E))return!1;if(E){var A=E.pop();if(A!==U)throw new Error(""+A)}}return!0}function V(D,H,E){if(J.assert(D),!J.check(H))return!1;if(D.type!==H.type){if(E)E.push("type");return!1}var Q=Y(D),U=Q.length,A=Y(H),F=A.length;if(U===F){for(var j=0;j<U;++j){var B=Q[j],k=$(D,B),b=$(H,B);if(E)E.push(B);if(!w(k,b,E))return!1;if(E){var u=E.pop();if(u!==B)throw new Error(""+u)}}return!0}if(!E)return!1;var i=Object.create(null);for(j=0;j<U;++j)i[Q[j]]=!0;for(j=0;j<F;++j){if(B=A[j],!W.call(i,B))return E.push(B),!1;delete i[B]}for(B in i){E.push(B);break}return!1}return G};Object.defineProperty(l$,"__esModule",{value:!0});var x9=_(),_9=S(),S9=x9.__importDefault(y());l$.default=b9;_9.maybeSetModuleExports(function(){return d$})});var i$=N((n$,o$)=>{var u9=function(z){var Z=l9(),Y=Z.use(y9.default);z.forEach(Z.use),Y.finalize();var $=Z.use(g9.default);return{Type:Y.Type,builtInTypes:Y.builtInTypes,namedTypes:Y.namedTypes,builders:Y.builders,defineMethod:Y.defineMethod,getFieldNames:Y.getFieldNames,getFieldValue:Y.getFieldValue,eachField:Y.eachField,someField:Y.someField,getSupertypeNames:Y.getSupertypeNames,getBuilderName:Y.getBuilderName,astNodesAreEquivalent:Z.use(h9.default),finalize:Y.finalize,Path:Z.use(c9.default),NodePath:Z.use(m9.default),PathVisitor:$,use:Z.use,visit:$.visit}},l9=function(){var z=[],Z=[];function Y(K){var J=z.indexOf(K);if(J===-1)J=z.length,z.push(K),Z[J]=K($);return Z[J]}var $={use:Y};return $};Object.defineProperty(n$,"__esModule",{value:!0});var EY=_(),y9=EY.__importDefault(y()),g9=EY.__importDefault(u$()),h9=EY.__importDefault(s$()),c9=EY.__importDefault(hY()),m9=EY.__importDefault(mY()),f9=S();n$.default=u9;f9.maybeSetModuleExports(function(){return o$})});var fY=N((p$,r$)=>{var n9=function(){return{BinaryOperators:["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],AssignmentOperators:["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],LogicalOperators:["||","&&"]}};Object.defineProperty(p$,"__esModule",{value:!0});var s9=S();p$.default=n9;s9.maybeSetModuleExports(function(){return r$})});var uY=N((t$,a$)=>{var t9=function(z){var Z=z.use(r9.default);if(Z.BinaryOperators.indexOf("**")<0)Z.BinaryOperators.push("**");if(Z.AssignmentOperators.indexOf("**=")<0)Z.AssignmentOperators.push("**=");return Z};Object.defineProperty(t$,"__esModule",{value:!0});var i9=_(),p9=S(),r9=i9.__importDefault(fY());t$.default=t9;p9.maybeSetModuleExports(function(){return a$})});var lY=N((e$,YZ)=>{var Zz=function(z){var Z=z.use($z.default);if(Z.LogicalOperators.indexOf("??")<0)Z.LogicalOperators.push("??");return Z};Object.defineProperty(e$,"__esModule",{value:!0});var e9=_(),Yz=S(),$z=e9.__importDefault(uY());e$.default=Zz;Yz.maybeSetModuleExports(function(){return YZ})});var zZ=N(($Z,ZZ)=>{var Xz=function(z){var Z=z.use(Wz.default);return Z.LogicalOperators.forEach(function(Y){var $=Y+"=";if(Z.AssignmentOperators.indexOf($)<0)Z.AssignmentOperators.push($)}),Z};Object.defineProperty($Z,"__esModule",{value:!0});var Kz=_(),Jz=S(),Wz=Kz.__importDefault(lY());$Z.default=Xz;Jz.maybeSetModuleExports(function(){return ZZ})});var XZ=N((JZ,WZ)=>{var qz=function(z){var Z=z.use(Hz.default),Y=Z.Type,$=Y.def,K=Y.or,J=z.use(KZ.default),X=J.defaults,q=J.geq,W=z.use(Dz.default),G=W.BinaryOperators,O=W.AssignmentOperators,w=W.LogicalOperators;$("Printable").field("loc",K($("SourceLocation"),null),X.null,!0),$("Node").bases("Printable").field("type",String).field("comments",K([$("Comment")],null),X.null,!0),$("SourceLocation").field("start",$("Position")).field("end",$("Position")).field("source",K(String,null),X.null),$("Position").field("line",q(1)).field("column",q(0)),$("File").bases("Node").build("program","name").field("program",$("Program")).field("name",K(String,null),X.null),$("Program").bases("Node").build("body").field("body",[$("Statement")]),$("Function").bases("Node").field("id",K($("Identifier"),null),X.null).field("params",[$("Pattern")]).field("body",$("BlockStatement")).field("generator",Boolean,X.false).field("async",Boolean,X.false),$("Statement").bases("Node"),$("EmptyStatement").bases("Statement").build(),$("BlockStatement").bases("Statement").build("body").field("body",[$("Statement")]),$("ExpressionStatement").bases("Statement").build("expression").field("expression",$("Expression")),$("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",$("Expression")).field("consequent",$("Statement")).field("alternate",K($("Statement"),null),X.null),$("LabeledStatement").bases("Statement").build("label","body").field("label",$("Identifier")).field("body",$("Statement")),$("BreakStatement").bases("Statement").build("label").field("label",K($("Identifier"),null),X.null),$("ContinueStatement").bases("Statement").build("label").field("label",K($("Identifier"),null),X.null),$("WithStatement").bases("Statement").build("object","body").field("object",$("Expression")).field("body",$("Statement")),$("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",$("Expression")).field("cases",[$("SwitchCase")]).field("lexical",Boolean,X.false),$("ReturnStatement").bases("Statement").build("argument").field("argument",K($("Expression"),null)),$("ThrowStatement").bases("Statement").build("argument").field("argument",$("Expression")),$("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",$("BlockStatement")).field("handler",K($("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[$("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[$("CatchClause")],X.emptyArray).field("finalizer",K($("BlockStatement"),null),X.null),$("CatchClause").bases("Node").build("param","guard","body").field("param",$("Pattern")).field("guard",K($("Expression"),null),X.null).field("body",$("BlockStatement")),$("WhileStatement").bases("Statement").build("test","body").field("test",$("Expression")).field("body",$("Statement")),$("DoWhileStatement").bases("Statement").build("body","test").field("body",$("Statement")).field("test",$("Expression")),$("ForStatement").bases("Statement").build("init","test","update","body").field("init",K($("VariableDeclaration"),$("Expression"),null)).field("test",K($("Expression"),null)).field("update",K($("Expression"),null)).field("body",$("Statement")),$("ForInStatement").bases("Statement").build("left","right","body").field("left",K($("VariableDeclaration"),$("Expression"))).field("right",$("Expression")).field("body",$("Statement")),$("DebuggerStatement").bases("Statement").build(),$("Declaration").bases("Statement"),$("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",$("Identifier")),$("FunctionExpression").bases("Function","Expression").build("id","params","body"),$("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",K("var","let","const")).field("declarations",[$("VariableDeclarator")]),$("VariableDeclarator").bases("Node").build("id","init").field("id",$("Pattern")).field("init",K($("Expression"),null),X.null),$("Expression").bases("Node"),$("ThisExpression").bases("Expression").build(),$("ArrayExpression").bases("Expression").build("elements").field("elements",[K($("Expression"),null)]),$("ObjectExpression").bases("Expression").build("properties").field("properties",[$("Property")]),$("Property").bases("Node").build("kind","key","value").field("kind",K("init","get","set")).field("key",K($("Literal"),$("Identifier"))).field("value",$("Expression")),$("SequenceExpression").bases("Expression").build("expressions").field("expressions",[$("Expression")]);var I=K("-","+","!","~","typeof","void","delete");$("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",I).field("argument",$("Expression")).field("prefix",Boolean,X.true);var V=K.apply(void 0,G);$("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",V).field("left",$("Expression")).field("right",$("Expression"));var D=K.apply(void 0,O);$("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",D).field("left",K($("Pattern"),$("MemberExpression"))).field("right",$("Expression"));var H=K("++","--");$("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",H).field("argument",$("Expression")).field("prefix",Boolean);var E=K.apply(void 0,w);$("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",E).field("left",$("Expression")).field("right",$("Expression")),$("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",$("Expression")).field("consequent",$("Expression")).field("alternate",$("Expression")),$("NewExpression").bases("Expression").build("callee","arguments").field("callee",$("Expression")).field("arguments",[$("Expression")]),$("CallExpression").bases("Expression").build("callee","arguments").field("callee",$("Expression")).field("arguments",[$("Expression")]),$("MemberExpression").bases("Expression").build("object","property","computed").field("object",$("Expression")).field("property",K($("Identifier"),$("Expression"))).field("computed",Boolean,function(){var Q=this.property.type;if(Q==="Literal"||Q==="MemberExpression"||Q==="BinaryExpression")return!0;return!1}),$("Pattern").bases("Node"),$("SwitchCase").bases("Node").build("test","consequent").field("test",K($("Expression"),null)).field("consequent",[$("Statement")]),$("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,X.false),$("Literal").bases("Expression").build("value").field("value",K(String,Boolean,null,Number,RegExp,BigInt)),$("Comment").bases("Printable").field("value",String).field("leading",Boolean,X.true).field("trailing",Boolean,X.false)};Object.defineProperty(JZ,"__esModule",{value:!0});var dY=_(),Dz=dY.__importDefault(fY()),Hz=dY.__importDefault(y()),KZ=dY.__importStar(S());JZ.default=qz;KZ.maybeSetModuleExports(function(){return WZ})});var qZ=N((DZ,HZ)=>{var Ez=function(z){z.use(Fz.default);var Z=z.use(Iz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(QZ.default).defaults;Y("Function").field("generator",Boolean,K.false).field("expression",Boolean,K.false).field("defaults",[$(Y("Expression"),null)],K.emptyArray).field("rest",$(Y("Identifier"),null),K.null),Y("RestElement").bases("Pattern").build("argument").field("argument",Y("Pattern")).field("typeAnnotation",$(Y("TypeAnnotation"),Y("TSTypeAnnotation"),null),K.null),Y("SpreadElementPattern").bases("Pattern").build("argument").field("argument",Y("Pattern")),Y("FunctionDeclaration").build("id","params","body","generator","expression").field("id",$(Y("Identifier"),null)),Y("FunctionExpression").build("id","params","body","generator","expression"),Y("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,K.null).field("body",$(Y("BlockStatement"),Y("Expression"))).field("generator",!1,K.false),Y("ForOfStatement").bases("Statement").build("left","right","body").field("left",$(Y("VariableDeclaration"),Y("Pattern"))).field("right",Y("Expression")).field("body",Y("Statement")),Y("YieldExpression").bases("Expression").build("argument","delegate").field("argument",$(Y("Expression"),null)).field("delegate",Boolean,K.false),Y("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",Y("Expression")).field("blocks",[Y("ComprehensionBlock")]).field("filter",$(Y("Expression"),null)),Y("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",Y("Expression")).field("blocks",[Y("ComprehensionBlock")]).field("filter",$(Y("Expression"),null)),Y("ComprehensionBlock").bases("Node").build("left","right","each").field("left",Y("Pattern")).field("right",Y("Expression")).field("each",Boolean),Y("Property").field("key",$(Y("Literal"),Y("Identifier"),Y("Expression"))).field("value",$(Y("Expression"),Y("Pattern"))).field("method",Boolean,K.false).field("shorthand",Boolean,K.false).field("computed",Boolean,K.false),Y("ObjectProperty").field("shorthand",Boolean,K.false),Y("PropertyPattern").bases("Pattern").build("key","pattern").field("key",$(Y("Literal"),Y("Identifier"),Y("Expression"))).field("pattern",Y("Pattern")).field("computed",Boolean,K.false),Y("ObjectPattern").bases("Pattern").build("properties").field("properties",[$(Y("PropertyPattern"),Y("Property"))]),Y("ArrayPattern").bases("Pattern").build("elements").field("elements",[$(Y("Pattern"),null)]),Y("SpreadElement").bases("Node").build("argument").field("argument",Y("Expression")),Y("ArrayExpression").field("elements",[$(Y("Expression"),Y("SpreadElement"),Y("RestElement"),null)]),Y("NewExpression").field("arguments",[$(Y("Expression"),Y("SpreadElement"))]),Y("CallExpression").field("arguments",[$(Y("Expression"),Y("SpreadElement"))]),Y("AssignmentPattern").bases("Pattern").build("left","right").field("left",Y("Pattern")).field("right",Y("Expression")),Y("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",$("constructor","method","get","set")).field("key",Y("Expression")).field("value",Y("Function")).field("computed",Boolean,K.false).field("static",Boolean,K.false);var J=$(Y("MethodDefinition"),Y("VariableDeclarator"),Y("ClassPropertyDefinition"),Y("ClassProperty"),Y("StaticBlock"));Y("ClassProperty").bases("Declaration").build("key").field("key",$(Y("Literal"),Y("Identifier"),Y("Expression"))).field("computed",Boolean,K.false),Y("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",J),Y("ClassBody").bases("Declaration").build("body").field("body",[J]),Y("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",$(Y("Identifier"),null)).field("body",Y("ClassBody")).field("superClass",$(Y("Expression"),null),K.null),Y("ClassExpression").bases("Expression").build("id","body","superClass").field("id",$(Y("Identifier"),null),K.null).field("body",Y("ClassBody")).field("superClass",$(Y("Expression"),null),K.null),Y("Super").bases("Expression").build(),Y("Specifier").bases("Node"),Y("ModuleSpecifier").bases("Specifier").field("local",$(Y("Identifier"),null),K.null).field("id",$(Y("Identifier"),null),K.null).field("name",$(Y("Identifier"),null),K.null),Y("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",Y("Identifier")),Y("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),Y("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),Y("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[$(Y("ImportSpecifier"),Y("ImportNamespaceSpecifier"),Y("ImportDefaultSpecifier"))],K.emptyArray).field("source",Y("Literal")).field("importKind",$("value","type"),function(){return"value"}),Y("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",$(Y("Declaration"),null)).field("specifiers",[Y("ExportSpecifier")],K.emptyArray).field("source",$(Y("Literal"),null),K.null),Y("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",Y("Identifier")),Y("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",$(Y("Declaration"),Y("Expression"))),Y("ExportAllDeclaration").bases("Declaration").build("source").field("source",Y("Literal")),Y("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",Y("Expression")).field("quasi",Y("TemplateLiteral")),Y("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[Y("TemplateElement")]).field("expressions",[Y("Expression")]),Y("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),Y("MetaProperty").bases("Expression").build("meta","property").field("meta",Y("Identifier")).field("property",Y("Identifier"))};Object.defineProperty(DZ,"__esModule",{value:!0});var sY=_(),Fz=sY.__importDefault(XZ()),Iz=sY.__importDefault(y()),QZ=sY.__importStar(S());DZ.default=Ez;QZ.maybeSetModuleExports(function(){return HZ})});var EZ=N((FZ,IZ)=>{var Uz=function(z){z.use(Vz.default),z.use(wz.default)};Object.defineProperty(FZ,"__esModule",{value:!0});var GZ=_(),Vz=GZ.__importDefault(uY()),wz=GZ.__importDefault(qZ()),jz=S();FZ.default=Uz;jz.maybeSetModuleExports(function(){return IZ})});var jZ=N((VZ,wZ)=>{var Lz=function(z){z.use(Rz.default);var Z=z.use(Az.default),Y=Z.Type.def,$=z.use(OZ.default).defaults;Y("Function").field("async",Boolean,$.false),Y("AwaitExpression").bases("Expression").build("argument").field("argument",Y("Expression"))};Object.defineProperty(VZ,"__esModule",{value:!0});var nY=_(),Rz=nY.__importDefault(EZ()),Az=nY.__importDefault(y()),OZ=nY.__importStar(S());VZ.default=Lz;OZ.maybeSetModuleExports(function(){return wZ})});var AZ=N((BZ,RZ)=>{var Cz=function(z){z.use(vz.default);var Z=z.use(kz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(UZ.default).defaults;Y("ForOfStatement").field("await",Boolean,K.false),Y("SpreadProperty").bases("Node").build("argument").field("argument",Y("Expression")),Y("ObjectExpression").field("properties",[$(Y("Property"),Y("SpreadProperty"),Y("SpreadElement"))]),Y("TemplateElement").field("value",{cooked:$(String,null),raw:String}),Y("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",Y("Pattern")),Y("ObjectPattern").field("properties",[$(Y("PropertyPattern"),Y("Property"),Y("RestElement"),Y("SpreadPropertyPattern"))])};Object.defineProperty(BZ,"__esModule",{value:!0});var oY=_(),vz=oY.__importDefault(jZ()),kz=oY.__importDefault(y()),UZ=oY.__importStar(S());BZ.default=Cz;UZ.maybeSetModuleExports(function(){return RZ})});var kZ=N((TZ,vZ)=>{var _z=function(z){z.use(Mz.default);var Z=z.use(xz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(LZ.default).defaults;Y("CatchClause").field("param",$(Y("Pattern"),null),K.null)};Object.defineProperty(TZ,"__esModule",{value:!0});var iY=_(),Mz=iY.__importDefault(AZ()),xz=iY.__importDefault(y()),LZ=iY.__importStar(S());TZ.default=_z;LZ.maybeSetModuleExports(function(){return vZ})});var xZ=N((NZ,MZ)=>{var gz=function(z){z.use(bz.default),z.use(Pz.default);var Z=z.use(yz.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(CZ.default),J=K.defaults;Y("ImportExpression").bases("Expression").build("source").field("source",Y("Expression")),Y("ExportAllDeclaration").bases("Declaration").build("source","exported").field("source",Y("Literal")).field("exported",$(Y("Identifier"),null,void 0),J.null),Y("ChainElement").bases("Node").field("optional",Boolean,J.false),Y("CallExpression").bases("Expression","ChainElement"),Y("MemberExpression").bases("Expression","ChainElement"),Y("ChainExpression").bases("Expression").build("expression").field("expression",Y("ChainElement")),Y("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,J.true),Y("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,J.true)};Object.defineProperty(NZ,"__esModule",{value:!0});var LY=_(),bz=LY.__importDefault(lY()),Pz=LY.__importDefault(kZ()),yz=LY.__importDefault(y()),CZ=LY.__importStar(S());NZ.default=gz;CZ.maybeSetModuleExports(function(){return MZ})});var PZ=N((SZ,bZ)=>{var uz=function(z){z.use(cz.default),z.use(mz.default)};Object.defineProperty(SZ,"__esModule",{value:!0});var _Z=_(),cz=_Z.__importDefault(zZ()),mz=_Z.__importDefault(xZ()),fz=S();SZ.default=uz;fz.maybeSetModuleExports(function(){return bZ})});var cZ=N((gZ,hZ)=>{var oz=function(z){z.use(dz.default);var Z=z.use(sz.default),Y=Z.Type.def;Y("StaticBlock").bases("Declaration").build("body").field("body",[Y("Statement")])};Object.defineProperty(gZ,"__esModule",{value:!0});var yZ=_(),dz=yZ.__importDefault(PZ()),sz=yZ.__importDefault(y()),nz=S();gZ.default=oz;nz.maybeSetModuleExports(function(){return hZ})});var WY=N((fZ,uZ)=>{var tz=function(z){z.use(rz.default);var Z=z.use(pz.default),Y=Z.Type,$=Z.Type.def,K=Y.or,J=z.use(mZ.default),X=J.defaults;$("AwaitExpression").build("argument","all").field("argument",K($("Expression"),null)).field("all",Boolean,X.false),$("Decorator").bases("Node").build("expression").field("expression",$("Expression")),$("Property").field("decorators",K([$("Decorator")],null),X.null),$("MethodDefinition").field("decorators",K([$("Decorator")],null),X.null),$("PrivateName").bases("Expression","Pattern").build("id").field("id",$("Identifier")),$("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",$("PrivateName")).field("value",K($("Expression"),null),X.null),$("ImportAttribute").bases("Node").build("key","value").field("key",K($("Identifier"),$("Literal"))).field("value",$("Expression")),["ImportDeclaration","ExportAllDeclaration","ExportNamedDeclaration"].forEach(function(q){$(q).field("assertions",[$("ImportAttribute")],X.emptyArray)}),$("RecordExpression").bases("Expression").build("properties").field("properties",[K($("ObjectProperty"),$("ObjectMethod"),$("SpreadElement"))]),$("TupleExpression").bases("Expression").build("elements").field("elements",[K($("Expression"),$("SpreadElement"),null)]),$("ModuleExpression").bases("Node").build("body").field("body",$("Program"))};Object.defineProperty(fZ,"__esModule",{value:!0});var pY=_(),pz=pY.__importDefault(y()),mZ=pY.__importStar(S()),rz=pY.__importDefault(cZ());fZ.default=tz;mZ.maybeSetModuleExports(function(){return uZ})});var nZ=N((dZ,sZ)=>{var $8=function(z){z.use(ez.default);var Z=z.use(Y8.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(lZ.default).defaults;Y("JSXAttribute").bases("Node").build("name","value").field("name",$(Y("JSXIdentifier"),Y("JSXNamespacedName"))).field("value",$(Y("Literal"),Y("JSXExpressionContainer"),Y("JSXElement"),Y("JSXFragment"),null),K.null),Y("JSXIdentifier").bases("Identifier").build("name").field("name",String),Y("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",Y("JSXIdentifier")).field("name",Y("JSXIdentifier")),Y("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",$(Y("JSXIdentifier"),Y("JSXMemberExpression"))).field("property",Y("JSXIdentifier")).field("computed",Boolean,K.false);var J=$(Y("JSXIdentifier"),Y("JSXNamespacedName"),Y("JSXMemberExpression"));Y("JSXSpreadAttribute").bases("Node").build("argument").field("argument",Y("Expression"));var X=[$(Y("JSXAttribute"),Y("JSXSpreadAttribute"))];Y("JSXExpressionContainer").bases("Expression").build("expression").field("expression",$(Y("Expression"),Y("JSXEmptyExpression")));var q=[$(Y("JSXText"),Y("JSXExpressionContainer"),Y("JSXSpreadChild"),Y("JSXElement"),Y("JSXFragment"),Y("Literal"))];Y("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",Y("JSXOpeningElement")).field("closingElement",$(Y("JSXClosingElement"),null),K.null).field("children",q,K.emptyArray).field("name",J,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",X,function(){return this.openingElement.attributes},!0),Y("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",J).field("attributes",X,K.emptyArray).field("selfClosing",Boolean,K.false),Y("JSXClosingElement").bases("Node").build("name").field("name",J),Y("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",Y("JSXOpeningFragment")).field("closingFragment",Y("JSXClosingFragment")).field("children",q,K.emptyArray),Y("JSXOpeningFragment").bases("Node").build(),Y("JSXClosingFragment").bases("Node").build(),Y("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),Y("JSXEmptyExpression").bases("Node").build(),Y("JSXSpreadChild").bases("Node").build("expression").field("expression",Y("Expression"))};Object.defineProperty(dZ,"__esModule",{value:!0});var rY=_(),ez=rY.__importDefault(WY()),Y8=rY.__importDefault(y()),lZ=rY.__importStar(S());dZ.default=$8;lZ.maybeSetModuleExports(function(){return sZ})});var tY=N((pZ,rZ)=>{var K8=function(z){var Z=z.use(z8.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(iZ.default).defaults,J=$(Y("TypeAnnotation"),Y("TSTypeAnnotation"),null),X=$(Y("TypeParameterDeclaration"),Y("TSTypeParameterDeclaration"),null);Y("Identifier").field("typeAnnotation",J,K.null),Y("ObjectPattern").field("typeAnnotation",J,K.null),Y("Function").field("returnType",J,K.null).field("typeParameters",X,K.null),Y("ClassProperty").build("key","value","typeAnnotation","static").field("value",$(Y("Expression"),null)).field("static",Boolean,K.false).field("typeAnnotation",J,K.null),["ClassDeclaration","ClassExpression"].forEach(function(q){Y(q).field("typeParameters",X,K.null).field("superTypeParameters",$(Y("TypeParameterInstantiation"),Y("TSTypeParameterInstantiation"),null),K.null).field("implements",$([Y("ClassImplements")],[Y("TSExpressionWithTypeArguments")]),K.emptyArray)})};Object.defineProperty(pZ,"__esModule",{value:!0});var oZ=_(),z8=oZ.__importDefault(y()),iZ=oZ.__importStar(S());pZ.default=K8;iZ.maybeSetModuleExports(function(){return rZ})});var aY=N((aZ,eZ)=>{var D8=function(z){z.use(W8.default),z.use(X8.default);var Z=z.use(Q8.default),Y=Z.Type.def,$=Z.Type.or,K=z.use(tZ.default).defaults;Y("Flow").bases("Node"),Y("FlowType").bases("Flow"),Y("AnyTypeAnnotation").bases("FlowType").build(),Y("EmptyTypeAnnotation").bases("FlowType").build(),Y("MixedTypeAnnotation").bases("FlowType").build(),Y("VoidTypeAnnotation").bases("FlowType").build(),Y("SymbolTypeAnnotation").bases("FlowType").build(),Y("NumberTypeAnnotation").bases("FlowType").build(),Y("BigIntTypeAnnotation").bases("FlowType").build(),Y("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),Y("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),Y("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),Y("StringTypeAnnotation").bases("FlowType").build(),Y("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),Y("BooleanTypeAnnotation").bases("FlowType").build(),Y("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),Y("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",Y("FlowType")),Y("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",Y("FlowType")),Y("NullLiteralTypeAnnotation").bases("FlowType").build(),Y("NullTypeAnnotation").bases("FlowType").build(),Y("ThisTypeAnnotation").bases("FlowType").build(),Y("ExistsTypeAnnotation").bases("FlowType").build(),Y("ExistentialTypeParam").bases("FlowType").build(),Y("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[Y("FunctionTypeParam")]).field("returnType",Y("FlowType")).field("rest",$(Y("FunctionTypeParam"),null)).field("typeParameters",$(Y("TypeParameterDeclaration"),null)),Y("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",$(Y("Identifier"),null)).field("typeAnnotation",Y("FlowType")).field("optional",Boolean),Y("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",Y("FlowType")),Y("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[$(Y("ObjectTypeProperty"),Y("ObjectTypeSpreadProperty"))]).field("indexers",[Y("ObjectTypeIndexer")],K.emptyArray).field("callProperties",[Y("ObjectTypeCallProperty")],K.emptyArray).field("inexact",$(Boolean,void 0),K.undefined).field("exact",Boolean,K.false).field("internalSlots",[Y("ObjectTypeInternalSlot")],K.emptyArray),Y("Variance").bases("Node").build("kind").field("kind",$("plus","minus"));var J=$(Y("Variance"),"plus","minus",null);Y("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",$(Y("Literal"),Y("Identifier"))).field("value",Y("FlowType")).field("optional",Boolean).field("variance",J,K.null),Y("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",Y("Identifier")).field("key",Y("FlowType")).field("value",Y("FlowType")).field("variance",J,K.null).field("static",Boolean,K.false),Y("ObjectTypeCallProperty").bases("Node").build("value").field("value",Y("FunctionTypeAnnotation")).field("static",Boolean,K.false),Y("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",$(Y("Identifier"),Y("QualifiedTypeIdentifier"))).field("id",Y("Identifier")),Y("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",$(Y("Identifier"),Y("QualifiedTypeIdentifier"))).field("typeParameters",$(Y("TypeParameterInstantiation"),null)),Y("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",Y("Identifier")).field("property",$(Y("MemberTypeAnnotation"),Y("GenericTypeAnnotation"))),Y("IndexedAccessType").bases("FlowType").build("objectType","indexType").field("objectType",Y("FlowType")).field("indexType",Y("FlowType")),Y("OptionalIndexedAccessType").bases("FlowType").build("objectType","indexType","optional").field("objectType",Y("FlowType")).field("indexType",Y("FlowType")).field("optional",Boolean),Y("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[Y("FlowType")]),Y("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[Y("FlowType")]),Y("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",Y("FlowType")),Y("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",Y("FlowType")),Y("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",Y("Identifier")).field("value",Y("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),Y("TypeParameterDeclaration").bases("Node").build("params").field("params",[Y("TypeParameter")]),Y("TypeParameterInstantiation").bases("Node").build("params").field("params",[Y("FlowType")]),Y("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",J,K.null).field("bound",$(Y("TypeAnnotation"),null),K.null).field("default",$(Y("FlowType"),null),K.null),Y("ClassProperty").field("variance",J,K.null),Y("ClassImplements").bases("Node").build("id").field("id",Y("Identifier")).field("superClass",$(Y("Expression"),null),K.null).field("typeParameters",$(Y("TypeParameterInstantiation"),null),K.null),Y("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",Y("ObjectTypeAnnotation")).field("extends",$([Y("InterfaceExtends")],null),K.null),Y("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterDeclaration"),null),K.null).field("body",Y("ObjectTypeAnnotation")).field("extends",[Y("InterfaceExtends")]),Y("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),Y("InterfaceExtends").bases("Node").build("id").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterInstantiation"),null),K.null),Y("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterDeclaration"),null)).field("right",Y("FlowType")),Y("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),Y("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",Y("Identifier")).field("typeParameters",$(Y("TypeParameterDeclaration"),null)).field("impltype",Y("FlowType")).field("supertype",$(Y("FlowType"),null)),Y("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",$(Y("FlowType"),null)),Y("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",Y("Expression")).field("typeAnnotation",Y("TypeAnnotation")),Y("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[Y("FlowType")]),Y("DeclareVariable").bases("Statement").build("id").field("id",Y("Identifier")),Y("DeclareFunction").bases("Statement").build("id").field("id",Y("Identifier")).field("predicate",$(Y("FlowPredicate"),null),K.null),Y("DeclareClass").bases("InterfaceDeclaration").build("id"),Y("DeclareModule").bases("Statement").build("id","body").field("id",$(Y("Identifier"),Y("Literal"))).field("body",Y("BlockStatement")),Y("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",Y("TypeAnnotation")),Y("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",$(Y("DeclareVariable"),Y("DeclareFunction"),Y("DeclareClass"),Y("FlowType"),Y("TypeAlias"),Y("DeclareOpaqueType"),Y("InterfaceDeclaration"),null)).field("specifiers",[$(Y("ExportSpecifier"),Y("ExportBatchSpecifier"))],K.emptyArray).field("source",$(Y("Literal"),null),K.null),Y("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",$(Y("Literal"),null),K.null),Y("ImportDeclaration").field("importKind",$("value","type","typeof"),function(){return"value"}),Y("FlowPredicate").bases("Flow"),Y("InferredPredicate").bases("FlowPredicate").build(),Y("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",Y("Expression")),Y("Function").field("predicate",$(Y("FlowPredicate"),null),K.null),Y("CallExpression").field("typeArguments",$(null,Y("TypeParameterInstantiation")),K.null),Y("NewExpression").field("typeArguments",$(null,Y("TypeParameterInstantiation")),K.null),Y("EnumDeclaration").bases("Declaration").build("id","body").field("id",Y("Identifier")).field("body",$(Y("EnumBooleanBody"),Y("EnumNumberBody"),Y("EnumStringBody"),Y("EnumSymbolBody"))),Y("EnumBooleanBody").build("members","explicitType").field("members",[Y("EnumBooleanMember")]).field("explicitType",Boolean),Y("EnumNumberBody").build("members","explicitType").field("members",[Y("EnumNumberMember")]).field("explicitType",Boolean),Y("EnumStringBody").build("members","explicitType").field("members",$([Y("EnumStringMember")],[Y("EnumDefaultedMember")])).field("explicitType",Boolean),Y("EnumSymbolBody").build("members").field("members",[Y("EnumDefaultedMember")]),Y("EnumBooleanMember").build("id","init").field("id",Y("Identifier")).field("init",$(Y("Literal"),Boolean)),Y("EnumNumberMember").build("id","init").field("id",Y("Identifier")).field("init",Y("Literal")),Y("EnumStringMember").build("id","init").field("id",Y("Identifier")).field("init",Y("Literal")),Y("EnumDefaultedMember").build("id").field("id",Y("Identifier"))};Object.defineProperty(aZ,"__esModule",{value:!0});var TY=_(),W8=TY.__importDefault(WY()),X8=TY.__importDefault(tY()),Q8=TY.__importDefault(y()),tZ=TY.__importStar(S());aZ.default=D8;tZ.maybeSetModuleExports(function(){return eZ})});var z4=N(($4,Z4)=>{var F8=function(z){z.use(q8.default);var Z=z.use(G8.default),Y=z.use(Y4.default).defaults,$=Z.Type.def,K=Z.Type.or;$("VariableDeclaration").field("declarations",[K($("VariableDeclarator"),$("Identifier"))]),$("Property").field("value",K($("Expression"),$("Pattern"))),$("ArrayPattern").field("elements",[K($("Pattern"),$("SpreadElement"),null)]),$("ObjectPattern").field("properties",[K($("Property"),$("PropertyPattern"),$("SpreadPropertyPattern"),$("SpreadProperty"))]),$("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),$("ExportBatchSpecifier").bases("Specifier").build(),$("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",K($("Declaration"),$("Expression"),null)).field("specifiers",[K($("ExportSpecifier"),$("ExportBatchSpecifier"))],Y.emptyArray).field("source",K($("Literal"),null),Y.null),$("Block").bases("Comment").build("value","leading","trailing"),$("Line").bases("Comment").build("value","leading","trailing")};Object.defineProperty($4,"__esModule",{value:!0});var eY=_(),q8=eY.__importDefault(WY()),G8=eY.__importDefault(y()),Y4=eY.__importStar(S());$4.default=F8;Y4.maybeSetModuleExports(function(){return Z4})});var $$=N((J4,W4)=>{var V8=function(z){var Z,Y,$,K,J;z.use(E8.default);var X=z.use(O8.default),q=z.use(K4.default).defaults,W=X.Type.def,G=X.Type.or,O=X.builtInTypes.undefined;W("Noop").bases("Statement").build(),W("DoExpression").bases("Expression").build("body").field("body",[W("Statement")]),W("BindExpression").bases("Expression").build("object","callee").field("object",G(W("Expression"),null)).field("callee",W("Expression")),W("ParenthesizedExpression").bases("Expression").build("expression").field("expression",W("Expression")),W("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",W("Identifier")),W("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",W("Identifier")),W("CommentBlock").bases("Comment").build("value","leading","trailing"),W("CommentLine").bases("Comment").build("value","leading","trailing"),W("Directive").bases("Node").build("value").field("value",W("DirectiveLiteral")),W("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,q["use strict"]),W("InterpreterDirective").bases("Node").build("value").field("value",String),W("BlockStatement").bases("Statement").build("body").field("body",[W("Statement")]).field("directives",[W("Directive")],q.emptyArray),W("Program").bases("Node").build("body").field("body",[W("Statement")]).field("directives",[W("Directive")],q.emptyArray).field("interpreter",G(W("InterpreterDirective"),null),q.null);function w(H,E){if(H===void 0)H=String;return["extra",{rawValue:H,raw:String},function Q(){var U=X.getFieldValue(this,"value");return{rawValue:U,raw:E?E(U):String(U)}}]}(Z=W("StringLiteral").bases("Literal").build("value").field("value",String)).field.apply(Z,w(String,function(H){return JSON.stringify(H)})),(Y=W("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",G(String,null),q.null)).field.apply(Y,w(Number)),($=W("BigIntLiteral").bases("Literal").build("value").field("value",G(String,Number))).field.apply($,w(String,function(H){return H+"n"})),(K=W("DecimalLiteral").bases("Literal").build("value").field("value",String)).field.apply(K,w(String,function(H){return H+"m"})),W("NullLiteral").bases("Literal").build().field("value",null,q.null),W("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),(J=W("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)})).field.apply(J,w(G(RegExp,O),function(H){return"/".concat(H.pattern,"/").concat(H.flags||"")})).field("regex",{pattern:String,flags:String},function(){return{pattern:this.pattern,flags:this.flags}});var I=G(W("Property"),W("ObjectMethod"),W("ObjectProperty"),W("SpreadProperty"),W("SpreadElement"));W("ObjectExpression").bases("Expression").build("properties").field("properties",[I]),W("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",G("method","get","set")).field("key",G(W("Literal"),W("Identifier"),W("Expression"))).field("params",[W("Pattern")]).field("body",W("BlockStatement")).field("computed",Boolean,q.false).field("generator",Boolean,q.false).field("async",Boolean,q.false).field("accessibility",G(W("Literal"),null),q.null).field("decorators",G([W("Decorator")],null),q.null),W("ObjectProperty").bases("Node").build("key","value").field("key",G(W("Literal"),W("Identifier"),W("Expression"))).field("value",G(W("Expression"),W("Pattern"))).field("accessibility",G(W("Literal"),null),q.null).field("computed",Boolean,q.false);var V=G(W("MethodDefinition"),W("VariableDeclarator"),W("ClassPropertyDefinition"),W("ClassProperty"),W("ClassPrivateProperty"),W("ClassMethod"),W("ClassPrivateMethod"),W("ClassAccessorProperty"),W("StaticBlock"));W("ClassBody").bases("Declaration").build("body").field("body",[V]),W("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",G(W("Literal"),W("Identifier"),W("Expression"))),W("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",W("PrivateName")),W("ClassAccessorProperty").bases("Declaration").build("key","value","decorators","computed","static").field("key",G(W("Literal"),W("Identifier"),W("PrivateName"),W("Expression"))).field("value",G(W("Expression"),null),q.null),["ClassMethod","ClassPrivateMethod"].forEach(function(H){W(H).field("kind",G("get","set","method","constructor"),function(){return"method"}).field("body",W("BlockStatement")).field("access",G("public","private","protected",null),q.null)}),["ClassMethod","ClassPrivateMethod","ClassAccessorProperty"].forEach(function(H){W(H).field("computed",Boolean,q.false).field("static",Boolean,q.false).field("abstract",Boolean,q.false).field("accessibility",G("public","private","protected",null),q.null).field("decorators",G([W("Decorator")],null),q.null).field("definite",Boolean,q.false).field("optional",Boolean,q.false).field("override",Boolean,q.false).field("readonly",Boolean,q.false)});var D=G(W("Property"),W("PropertyPattern"),W("SpreadPropertyPattern"),W("SpreadProperty"),W("ObjectProperty"),W("RestProperty"),W("RestElement"));W("ObjectPattern").bases("Pattern").build("properties").field("properties",[D]).field("decorators",G([W("Decorator")],null),q.null),W("SpreadProperty").bases("Node").build("argument").field("argument",W("Expression")),W("RestProperty").bases("Node").build("argument").field("argument",W("Expression")),W("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",G(W("VariableDeclaration"),W("Expression"))).field("right",W("Expression")).field("body",W("Statement")),W("Import").bases("Expression").build()};Object.defineProperty(J4,"__esModule",{value:!0});var Y$=_(),E8=Y$.__importDefault(WY()),O8=Y$.__importDefault(y()),K4=Y$.__importStar(S());J4.default=V8;K4.maybeSetModuleExports(function(){return W4})});var D4=N((X4,Q4)=>{var A8=function(z){var Z=z.use(j8.default),Y=Z.Type.def;z.use(U8.default),z.use(B8.default),Y("V8IntrinsicIdentifier").bases("Expression").build("name").field("name",String),Y("TopicReference").bases("Expression").build()};Object.defineProperty(X4,"__esModule",{value:!0});var Z$=_(),j8=Z$.__importDefault(y()),U8=Z$.__importDefault($$()),B8=Z$.__importDefault(aY()),R8=S();X4.default=A8;R8.maybeSetModuleExports(function(){return Q4})});var F4=N((q4,G4)=>{var C8=function(z){z.use(T8.default),z.use(v8.default);var Z=z.use(k8.default),Y=Z.namedTypes,$=Z.Type.def,K=Z.Type.or,J=z.use(H4.default).defaults,X=Z.Type.from(function(O,w){if(Y.StringLiteral&&Y.StringLiteral.check(O,w))return!0;if(Y.Literal&&Y.Literal.check(O,w)&&typeof O.value==="string")return!0;return!1},"StringLiteral");$("TSType").bases("Node");var q=K($("Identifier"),$("TSQualifiedName"));$("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",q),$("TSHasOptionalTypeParameterInstantiation").field("typeParameters",K($("TSTypeParameterInstantiation"),null),J.null),$("TSHasOptionalTypeParameters").field("typeParameters",K($("TSTypeParameterDeclaration"),null,void 0),J.null),$("TSHasOptionalTypeAnnotation").field("typeAnnotation",K($("TSTypeAnnotation"),null),J.null),$("TSQualifiedName").bases("Node").build("left","right").field("left",q).field("right",q),$("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",$("Expression")).field("typeAnnotation",$("TSType")).field("extra",K({parenthesized:Boolean},null),J.null),$("TSTypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",$("Expression")).field("typeAnnotation",$("TSType")),$("TSSatisfiesExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",$("Expression")).field("typeAnnotation",$("TSType")),$("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",$("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSIntrinsicKeyword","TSThisType"].forEach(function(O){$(O).bases("TSType").build()}),$("TSArrayType").bases("TSType").build("elementType").field("elementType",$("TSType")),$("TSLiteralType").bases("TSType").build("literal").field("literal",K($("NumericLiteral"),$("StringLiteral"),$("BooleanLiteral"),$("TemplateLiteral"),$("UnaryExpression"),$("BigIntLiteral"))),$("TemplateLiteral").field("expressions",K([$("Expression")],[$("TSType")])),["TSUnionType","TSIntersectionType"].forEach(function(O){$(O).bases("TSType").build("types").field("types",[$("TSType")])}),$("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",$("TSType")).field("extendsType",$("TSType")).field("trueType",$("TSType")).field("falseType",$("TSType")),$("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",$("TSTypeParameter")),$("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",$("TSType"));var W=[K($("Identifier"),$("RestElement"),$("ArrayPattern"),$("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(O){$(O).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",W)}),$("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,J.false).field("async",Boolean,J.false).field("generator",Boolean,J.false).field("id",K($("Identifier"),null),J.null).field("params",[$("Pattern")]).field("returnType",K($("TSTypeAnnotation"),$("Noop"),null),J.null),$("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,J.false).field("generator",Boolean,J.false).field("params",[$("Pattern")]).field("abstract",Boolean,J.false).field("accessibility",K("public","private","protected",void 0),J.undefined).field("static",Boolean,J.false).field("computed",Boolean,J.false).field("optional",Boolean,J.false).field("key",K($("Identifier"),$("StringLiteral"),$("NumericLiteral"),$("Expression"))).field("kind",K("get","set","method","constructor"),function O(){return"method"}).field("access",K("public","private","protected",void 0),J.undefined).field("decorators",K([$("Decorator")],null),J.null).field("returnType",K($("TSTypeAnnotation"),$("Noop"),null),J.null),$("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",K(Boolean,"+","-"),J.false).field("typeParameter",$("TSTypeParameter")).field("optional",K(Boolean,"+","-"),J.false).field("typeAnnotation",K($("TSType"),null),J.null),$("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[K($("TSType"),$("TSNamedTupleMember"))]),$("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",$("Identifier")).field("optional",Boolean,J.false).field("elementType",$("TSType")),$("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",$("TSType")),$("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",$("TSType")),$("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",$("TSType")).field("indexType",$("TSType")),$("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",$("TSType")),$("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",K($("TSType"),$("TSTypeAnnotation"))),$("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[$("Identifier")]).field("readonly",Boolean,J.false),$("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",$("Expression")).field("computed",Boolean,J.false).field("readonly",Boolean,J.false).field("optional",Boolean,J.false).field("initializer",K($("Expression"),null),J.null),$("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",$("Expression")).field("computed",Boolean,J.false).field("optional",Boolean,J.false).field("parameters",W),$("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",K($("Identifier"),$("TSThisType"))).field("typeAnnotation",K($("TSTypeAnnotation"),null),J.null).field("asserts",Boolean,J.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(O){$(O).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",W)}),$("TSEnumMember").bases("Node").build("id","initializer").field("id",K($("Identifier"),X)).field("initializer",K($("Expression"),null),J.null),$("TSTypeQuery").bases("TSType").build("exprName").field("exprName",K(q,$("TSImportType")));var G=K($("TSCallSignatureDeclaration"),$("TSConstructSignatureDeclaration"),$("TSIndexSignature"),$("TSMethodSignature"),$("TSPropertySignature"));$("TSTypeLiteral").bases("TSType").build("members").field("members",[G]),$("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",K($("Identifier"),String)).field("constraint",K($("TSType"),void 0),J.undefined).field("default",K($("TSType"),void 0),J.undefined),$("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",$("TSType")).field("expression",$("Expression")).field("extra",K({parenthesized:Boolean},null),J.null),$("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[$("TSTypeParameter")]),$("TSInstantiationExpression").bases("Expression","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",$("Expression")),$("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[$("TSType")]),$("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",$("Identifier")).field("const",Boolean,J.false).field("declare",Boolean,J.false).field("members",[$("TSEnumMember")]).field("initializer",K($("Expression"),null),J.null),$("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",$("Identifier")).field("declare",Boolean,J.false).field("typeAnnotation",$("TSType")),$("TSModuleBlock").bases("Node").build("body").field("body",[$("Statement")]),$("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",K(X,q)).field("declare",Boolean,J.false).field("global",Boolean,J.false).field("body",K($("TSModuleBlock"),$("TSModuleDeclaration"),null),J.null),$("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",X).field("qualifier",K(q,void 0),J.undefined),$("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",$("Identifier")).field("isExport",Boolean,J.false).field("moduleReference",K(q,$("TSExternalModuleReference"))),$("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",X),$("TSExportAssignment").bases("Statement").build("expression").field("expression",$("Expression")),$("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",$("Identifier")),$("TSInterfaceBody").bases("Node").build("body").field("body",[G]),$("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",q),$("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",q).field("declare",Boolean,J.false).field("extends",K([$("TSExpressionWithTypeArguments")],null),J.null).field("body",$("TSInterfaceBody")),$("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",K("public","private","protected",void 0),J.undefined).field("readonly",Boolean,J.false).field("parameter",K($("Identifier"),$("AssignmentPattern"))),$("ClassProperty").field("access",K("public","private","protected",void 0),J.undefined),$("ClassAccessorProperty").bases("Declaration","TSHasOptionalTypeAnnotation"),$("ClassBody").field("body",[K($("MethodDefinition"),$("VariableDeclarator"),$("ClassPropertyDefinition"),$("ClassProperty"),$("ClassPrivateProperty"),$("ClassAccessorProperty"),$("ClassMethod"),$("ClassPrivateMethod"),$("StaticBlock"),$("TSDeclareMethod"),G)])};Object.defineProperty(q4,"__esModule",{value:!0});var vY=_(),T8=vY.__importDefault($$()),v8=vY.__importDefault(tY()),k8=vY.__importDefault(y()),H4=vY.__importStar(S());q4.default=C8;H4.maybeSetModuleExports(function(){return G4})});var E4=N((I4)=>{Object.defineProperty(I4,"__esModule",{value:!0});I4.namedTypes=void 0;var M8;(function(z){})(M8=I4.namedTypes||(I4.namedTypes={}))});var w4=N((K$)=>{Object.defineProperty(K$,"__esModule",{value:!0});K$.visit=K$.use=K$.Type=K$.someField=K$.PathVisitor=K$.Path=K$.NodePath=K$.namedTypes=K$.getSupertypeNames=K$.getFieldValue=K$.getFieldNames=K$.getBuilderName=K$.finalize=K$.eachField=K$.defineMethod=K$.builtInTypes=K$.builders=K$.astNodesAreEquivalent=void 0;var ZY=_(),x8=ZY.__importDefault(i$()),_8=ZY.__importDefault(WY()),S8=ZY.__importDefault(nZ()),b8=ZY.__importDefault(aY()),P8=ZY.__importDefault(z4()),y8=ZY.__importDefault(D4()),g8=ZY.__importDefault(F4()),O4=E4();Object.defineProperty(K$,"namedTypes",{enumerable:!0,get:function(){return O4.namedTypes}});var m=x8.default([_8.default,S8.default,b8.default,P8.default,y8.default,g8.default]),h8=m.astNodesAreEquivalent,c8=m.builders,m8=m.builtInTypes,f8=m.defineMethod,u8=m.eachField,l8=m.finalize,d8=m.getBuilderName,s8=m.getFieldNames,n8=m.getFieldValue,o8=m.getSupertypeNames,i8=m.namedTypes,p8=m.NodePath,r8=m.Path,t8=m.PathVisitor,a8=m.someField,e8=m.Type,YK=m.use,$K=m.visit;K$.astNodesAreEquivalent=h8;K$.builders=c8;K$.builtInTypes=m8;K$.defineMethod=f8;K$.eachField=u8;K$.finalize=l8;K$.getBuilderName=d8;K$.getFieldNames=s8;K$.getFieldValue=n8;K$.getSupertypeNames=o8;K$.NodePath=p8;K$.Path=r8;K$.PathVisitor=t8;K$.someField=a8;K$.Type=e8;K$.use=YK;K$.visit=$K;Object.assign(O4.namedTypes,i8)});var U4=N((wK)=>{var j4="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");wK.encode=function(z){if(0<=z&&z<j4.length)return j4[z];throw new TypeError("Must be between 0 and 63: "+z)};wK.decode=function(z){var Z=65,Y=90,$=97,K=122,J=48,X=57,q=43,W=47,G=26,O=52;if(Z<=z&&z<=Y)return z-Z;if($<=z&&z<=K)return z-$+G;if(J<=z&&z<=X)return z-J+O;if(z==q)return 62;if(z==W)return 63;return-1}});var W$=N((AK)=>{var BK=function(z){return z<0?(-z<<1)+1:(z<<1)+0},RK=function(z){var Z=(z&1)===1,Y=z>>1;return Z?-Y:Y},B4=U4(),J$=5,R4=1<<J$,A4=R4-1,L4=R4;AK.encode=function z(Z){var Y="",$,K=BK(Z);do{if($=K&A4,K>>>=J$,K>0)$|=L4;Y+=B4.encode($)}while(K>0);return Y};AK.decode=function z(Z,Y,$){var K=Z.length,J=0,X=0,q,W;do{if(Y>=K)throw new Error("Expected more digits in base 64 VLQ value.");if(W=B4.decode(Z.charCodeAt(Y++)),W===-1)throw new Error("Invalid base64 digit: "+Z.charAt(Y-1));q=!!(W&L4),W&=A4,J=J+(W<<X),X+=J$}while(q);$.value=RK(J),$.rest=Y}});var DY=N((yK)=>{var vK=function(z,Z,Y){if(Z in z)return z[Z];else if(arguments.length===3)return Y;else throw new Error('"'+Z+'" is a required argument.')},OY=function(z){var Z=z.match(T4);if(!Z)return null;return{scheme:Z[1],auth:Z[2],host:Z[3],port:Z[4],path:Z[5]}},XY=function(z){var Z="";if(z.scheme)Z+=z.scheme+":";if(Z+="//",z.auth)Z+=z.auth+"@";if(z.host)Z+=z.host;if(z.port)Z+=":"+z.port;if(z.path)Z+=z.path;return Z},X$=function(z){var Z=z,Y=OY(z);if(Y){if(!Y.path)return z;Z=Y.path}var $=yK.isAbsolute(Z),K=Z.split(/\/+/);for(var J,X=0,q=K.length-1;q>=0;q--)if(J=K[q],J===".")K.splice(q,1);else if(J==="..")X++;else if(X>0)if(J==="")K.splice(q+1,X),X=0;else K.splice(q,2),X--;if(Z=K.join("/"),Z==="")Z=$?"/":".";if(Y)return Y.path=Z,XY(Y);return Z},v4=function(z,Z){if(z==="")z=".";if(Z==="")Z=".";var Y=OY(Z),$=OY(z);if($)z=$.path||"/";if(Y&&!Y.scheme){if($)Y.scheme=$.scheme;return XY(Y)}if(Y||Z.match(kK))return Z;if($&&!$.host&&!$.path)return $.host=Z,XY($);var K=Z.charAt(0)==="/"?Z:X$(z.replace(/\/+$/,"")+"/"+Z);if($)return $.path=K,XY($);return K},CK=function(z,Z){if(z==="")z=".";z=z.replace(/\/$/,"");var Y=0;while(Z.indexOf(z+"/")!==0){var $=z.lastIndexOf("/");if($<0)return Z;if(z=z.slice(0,$),z.match(/^([^\/]+:\/)?\/*$/))return Z;++Y}return Array(Y+1).join("../")+Z.substr(z.length+1)},C4=function(z){return z},NK=function(z){if(N4(z))return"$"+z;return z},MK=function(z){if(N4(z))return z.slice(1);return z},N4=function(z){if(!z)return!1;var Z=z.length;if(Z<9)return!1;if(z.charCodeAt(Z-1)!==95||z.charCodeAt(Z-2)!==95||z.charCodeAt(Z-3)!==111||z.charCodeAt(Z-4)!==116||z.charCodeAt(Z-5)!==111||z.charCodeAt(Z-6)!==114||z.charCodeAt(Z-7)!==112||z.charCodeAt(Z-8)!==95||z.charCodeAt(Z-9)!==95)return!1;for(var Y=Z-10;Y>=0;Y--)if(z.charCodeAt(Y)!==36)return!1;return!0},xK=function(z,Z,Y){var $=QY(z.source,Z.source);if($!==0)return $;if($=z.originalLine-Z.originalLine,$!==0)return $;if($=z.originalColumn-Z.originalColumn,$!==0||Y)return $;if($=z.generatedColumn-Z.generatedColumn,$!==0)return $;if($=z.generatedLine-Z.generatedLine,$!==0)return $;return QY(z.name,Z.name)},_K=function(z,Z,Y){var $=z.generatedLine-Z.generatedLine;if($!==0)return $;if($=z.generatedColumn-Z.generatedColumn,$!==0||Y)return $;if($=QY(z.source,Z.source),$!==0)return $;if($=z.originalLine-Z.originalLine,$!==0)return $;if($=z.originalColumn-Z.originalColumn,$!==0)return $;return QY(z.name,Z.name)},QY=function(z,Z){if(z===Z)return 0;if(z===null)return 1;if(Z===null)return-1;if(z>Z)return 1;return-1},SK=function(z,Z){var Y=z.generatedLine-Z.generatedLine;if(Y!==0)return Y;if(Y=z.generatedColumn-Z.generatedColumn,Y!==0)return Y;if(Y=QY(z.source,Z.source),Y!==0)return Y;if(Y=z.originalLine-Z.originalLine,Y!==0)return Y;if(Y=z.originalColumn-Z.originalColumn,Y!==0)return Y;return QY(z.name,Z.name)},bK=function(z){return JSON.parse(z.replace(/^\)]}'[^\n]*\n/,""))},PK=function(z,Z,Y){if(Z=Z||"",z){if(z[z.length-1]!=="/"&&Z[0]!=="/")z+="/";Z=z+Z}if(Y){var $=OY(Y);if(!$)throw new Error("sourceMapURL could not be parsed");if($.path){var K=$.path.lastIndexOf("/");if(K>=0)$.path=$.path.substring(0,K+1)}Z=v4(XY($),Z)}return X$(Z)};yK.getArg=vK;var T4=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,kK=/^data:.+\,.+$/;yK.urlParse=OY;yK.urlGenerate=XY;yK.normalize=X$;yK.join=v4;yK.isAbsolute=function(z){return z.charAt(0)==="/"||T4.test(z)};yK.relative=CK;var k4=function(){var z=Object.create(null);return!("__proto__"in z)}();yK.toSetString=k4?C4:NK;yK.fromSetString=k4?C4:MK;yK.compareByOriginalPositions=xK;yK.compareByGeneratedPositionsDeflated=_K;yK.compareByGeneratedPositionsInflated=SK;yK.parseSourceMapInput=bK;yK.computeSourceURL=PK});var H$=N((tK)=>{var r=function(){this._array=[],this._set=zY?new Map:Object.create(null)},Q$=DY(),D$=Object.prototype.hasOwnProperty,zY=typeof Map!=="undefined";r.fromArray=function z(Z,Y){var $=new r;for(var K=0,J=Z.length;K<J;K++)$.add(Z[K],Y);return $};r.prototype.size=function z(){return zY?this._set.size:Object.getOwnPropertyNames(this._set).length};r.prototype.add=function z(Z,Y){var $=zY?Z:Q$.toSetString(Z),K=zY?this.has(Z):D$.call(this._set,$),J=this._array.length;if(!K||Y)this._array.push(Z);if(!K)if(zY)this._set.set(Z,J);else this._set[$]=J};r.prototype.has=function z(Z){if(zY)return this._set.has(Z);else{var Y=Q$.toSetString(Z);return D$.call(this._set,Y)}};r.prototype.indexOf=function z(Z){if(zY){var Y=this._set.get(Z);if(Y>=0)return Y}else{var $=Q$.toSetString(Z);if(D$.call(this._set,$))return this._set[$]}throw new Error('"'+Z+'" is not in the set.')};r.prototype.at=function z(Z){if(Z>=0&&Z<this._array.length)return this._array[Z];throw new Error("No element indexed by "+Z)};r.prototype.toArray=function z(){return this._array.slice()};tK.ArraySet=r});var x4=N((Y6)=>{var eK=function(z,Z){var Y=z.generatedLine,$=Z.generatedLine,K=z.generatedColumn,J=Z.generatedColumn;return $>Y||$==Y&&J>=K||M4.compareByGeneratedPositionsInflated(z,Z)<=0},kY=function(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}},M4=DY();kY.prototype.unsortedForEach=function z(Z,Y){this._array.forEach(Z,Y)};kY.prototype.add=function z(Z){if(eK(this._last,Z))this._last=Z,this._array.push(Z);else this._sorted=!1,this._array.push(Z)};kY.prototype.toArray=function z(){if(!this._sorted)this._array.sort(M4.compareByGeneratedPositionsInflated),this._sorted=!0;return this._array};Y6.MappingList=kY});var q$=N((z6)=>{var n=function(z){if(!z)z={};this._file=c.getArg(z,"file",null),this._sourceRoot=c.getArg(z,"sourceRoot",null),this._skipValidation=c.getArg(z,"skipValidation",!1),this._sources=new CY,this._names=new CY,this._mappings=new Z6,this._sourcesContents=null},VY=W$(),c=DY(),CY=H$().ArraySet,Z6=x4().MappingList;n.prototype._version=3;n.fromSourceMap=function z(Z){var Y=Z.sourceRoot,$=new n({file:Z.file,sourceRoot:Y});return Z.eachMapping(function(K){var J={generated:{line:K.generatedLine,column:K.generatedColumn}};if(K.source!=null){if(J.source=K.source,Y!=null)J.source=c.relative(Y,J.source);if(J.original={line:K.originalLine,column:K.originalColumn},K.name!=null)J.name=K.name}$.addMapping(J)}),Z.sources.forEach(function(K){var J=K;if(Y!==null)J=c.relative(Y,K);if(!$._sources.has(J))$._sources.add(J);var X=Z.sourceContentFor(K);if(X!=null)$.setSourceContent(K,X)}),$};n.prototype.addMapping=function z(Z){var Y=c.getArg(Z,"generated"),$=c.getArg(Z,"original",null),K=c.getArg(Z,"source",null),J=c.getArg(Z,"name",null);if(!this._skipValidation)this._validateMapping(Y,$,K,J);if(K!=null){if(K=String(K),!this._sources.has(K))this._sources.add(K)}if(J!=null){if(J=String(J),!this._names.has(J))this._names.add(J)}this._mappings.add({generatedLine:Y.line,generatedColumn:Y.column,originalLine:$!=null&&$.line,originalColumn:$!=null&&$.column,source:K,name:J})};n.prototype.setSourceContent=function z(Z,Y){var $=Z;if(this._sourceRoot!=null)$=c.relative(this._sourceRoot,$);if(Y!=null){if(!this._sourcesContents)this._sourcesContents=Object.create(null);this._sourcesContents[c.toSetString($)]=Y}else if(this._sourcesContents){if(delete this._sourcesContents[c.toSetString($)],Object.keys(this._sourcesContents).length===0)this._sourcesContents=null}};n.prototype.applySourceMap=function z(Z,Y,$){var K=Y;if(Y==null){if(Z.file==null)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');K=Z.file}var J=this._sourceRoot;if(J!=null)K=c.relative(J,K);var X=new CY,q=new CY;this._mappings.unsortedForEach(function(W){if(W.source===K&&W.originalLine!=null){var G=Z.originalPositionFor({line:W.originalLine,column:W.originalColumn});if(G.source!=null){if(W.source=G.source,$!=null)W.source=c.join($,W.source);if(J!=null)W.source=c.relative(J,W.source);if(W.originalLine=G.line,W.originalColumn=G.column,G.name!=null)W.name=G.name}}var O=W.source;if(O!=null&&!X.has(O))X.add(O);var w=W.name;if(w!=null&&!q.has(w))q.add(w)},this),this._sources=X,this._names=q,Z.sources.forEach(function(W){var G=Z.sourceContentFor(W);if(G!=null){if($!=null)W=c.join($,W);if(J!=null)W=c.relative(J,W);this.setSourceContent(W,G)}},this)};n.prototype._validateMapping=function z(Z,Y,$,K){if(Y&&typeof Y.line!=="number"&&typeof Y.column!=="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(Z&&"line"in Z&&"column"in Z&&Z.line>0&&Z.column>=0&&!Y&&!$&&!K)return;else if(Z&&"line"in Z&&"column"in Z&&Y&&"line"in Y&&"column"in Y&&Z.line>0&&Z.column>=0&&Y.line>0&&Y.column>=0&&$)return;else throw new Error("Invalid mapping: "+JSON.stringify({generated:Z,source:$,original:Y,name:K}))};n.prototype._serializeMappings=function z(){var Z=0,Y=1,$=0,K=0,J=0,X=0,q="",W,G,O,w,I=this._mappings.toArray();for(var V=0,D=I.length;V<D;V++){if(G=I[V],W="",G.generatedLine!==Y){Z=0;while(G.generatedLine!==Y)W+=";",Y++}else if(V>0){if(!c.compareByGeneratedPositionsInflated(G,I[V-1]))continue;W+=","}if(W+=VY.encode(G.generatedColumn-Z),Z=G.generatedColumn,G.source!=null){if(w=this._sources.indexOf(G.source),W+=VY.encode(w-X),X=w,W+=VY.encode(G.originalLine-1-K),K=G.originalLine-1,W+=VY.encode(G.originalColumn-$),$=G.originalColumn,G.name!=null)O=this._names.indexOf(G.name),W+=VY.encode(O-J),J=O}q+=W}return q};n.prototype._generateSourcesContent=function z(Z,Y){return Z.map(function($){if(!this._sourcesContents)return null;if(Y!=null)$=c.relative(Y,$);var K=c.toSetString($);return Object.prototype.hasOwnProperty.call(this._sourcesContents,K)?this._sourcesContents[K]:null},this)};n.prototype.toJSON=function z(){var Z={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null)Z.file=this._file;if(this._sourceRoot!=null)Z.sourceRoot=this._sourceRoot;if(this._sourcesContents)Z.sourcesContent=this._generateSourcesContent(Z.sources,Z.sourceRoot);return Z};n.prototype.toString=function z(){return JSON.stringify(this.toJSON())};z6.SourceMapGenerator=n});var S4=N((J6)=>{var G$=function(z,Z,Y,$,K,J){var X=Math.floor((Z-z)/2)+z,q=K(Y,$[X],!0);if(q===0)return X;else if(q>0){if(Z-X>1)return G$(X,Z,Y,$,K,J);if(J==J6.LEAST_UPPER_BOUND)return Z<$.length?Z:-1;else return X}else{if(X-z>1)return G$(z,X,Y,$,K,J);if(J==J6.LEAST_UPPER_BOUND)return X;else return z<0?-1:z}};J6.GREATEST_LOWER_BOUND=1;J6.LEAST_UPPER_BOUND=2;J6.search=function z(Z,Y,$,K){if(Y.length===0)return-1;var J=G$(-1,Y.length,Z,Y,$,K||J6.GREATEST_LOWER_BOUND);if(J<0)return-1;while(J-1>=0){if($(Y[J],Y[J-1],!0)!==0)break;--J}return J}});var b4=N((Q6)=>{var I$=function(z,Z,Y){var $=z[Z];z[Z]=z[Y],z[Y]=$},X6=function(z,Z){return Math.round(z+Math.random()*(Z-z))},E$=function(z,Z,Y,$){if(Y<$){var K=X6(Y,$),J=Y-1;I$(z,K,$);var X=z[$];for(var q=Y;q<$;q++)if(Z(z[q],X)<=0)J+=1,I$(z,J,q);I$(z,J+1,q);var W=J+1;E$(z,Z,Y,W-1),E$(z,Z,W+1,$)}};Q6.quickSort=function(z,Z){E$(z,Z,0,z.length-1)}});var y4=N((q6)=>{var P=function(z,Z){var Y=z;if(typeof z==="string")Y=v.parseSourceMapInput(z);return Y.sections!=null?new o(Y,Z):new f(Y,Z)},f=function(z,Z){var Y=z;if(typeof z==="string")Y=v.parseSourceMapInput(z);var $=v.getArg(Y,"version"),K=v.getArg(Y,"sources"),J=v.getArg(Y,"names",[]),X=v.getArg(Y,"sourceRoot",null),q=v.getArg(Y,"sourcesContent",null),W=v.getArg(Y,"mappings"),G=v.getArg(Y,"file",null);if($!=this._version)throw new Error("Unsupported version: "+$);if(X)X=v.normalize(X);K=K.map(String).map(v.normalize).map(function(O){return X&&v.isAbsolute(X)&&v.isAbsolute(O)?v.relative(X,O):O}),this._names=HY.fromArray(J.map(String),!0),this._sources=HY.fromArray(K,!0),this._absoluteSources=this._sources.toArray().map(function(O){return v.computeSourceURL(X,O,Z)}),this.sourceRoot=X,this.sourcesContent=q,this._mappings=W,this._sourceMapURL=Z,this.file=G},P4=function(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null},o=function(z,Z){var Y=z;if(typeof z==="string")Y=v.parseSourceMapInput(z);var $=v.getArg(Y,"version"),K=v.getArg(Y,"sections");if($!=this._version)throw new Error("Unsupported version: "+$);this._sources=new HY,this._names=new HY;var J={line:-1,column:0};this._sections=K.map(function(X){if(X.url)throw new Error("Support for url field in sections not implemented.");var q=v.getArg(X,"offset"),W=v.getArg(q,"line"),G=v.getArg(q,"column");if(W<J.line||W===J.line&&G<J.column)throw new Error("Section offsets must be ordered and non-overlapping.");return J=q,{generatedOffset:{generatedLine:W+1,generatedColumn:G+1},consumer:new P(v.getArg(X,"map"),Z)}})},v=DY(),O$=S4(),HY=H$().ArraySet,H6=W$(),wY=b4().quickSort;P.fromSourceMap=function(z,Z){return f.fromSourceMap(z,Z)};P.prototype._version=3;P.prototype.__generatedMappings=null;Object.defineProperty(P.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){if(!this.__generatedMappings)this._parseMappings(this._mappings,this.sourceRoot);return this.__generatedMappings}});P.prototype.__originalMappings=null;Object.defineProperty(P.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){if(!this.__originalMappings)this._parseMappings(this._mappings,this.sourceRoot);return this.__originalMappings}});P.prototype._charIsMappingSeparator=function z(Z,Y){var $=Z.charAt(Y);return $===";"||$===","};P.prototype._parseMappings=function z(Z,Y){throw new Error("Subclasses must implement _parseMappings")};P.GENERATED_ORDER=1;P.ORIGINAL_ORDER=2;P.GREATEST_LOWER_BOUND=1;P.LEAST_UPPER_BOUND=2;P.prototype.eachMapping=function z(Z,Y,$){var K=Y||null,J=$||P.GENERATED_ORDER,X;switch(J){case P.GENERATED_ORDER:X=this._generatedMappings;break;case P.ORIGINAL_ORDER:X=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var q=this.sourceRoot;X.map(function(W){var G=W.source===null?null:this._sources.at(W.source);return G=v.computeSourceURL(q,G,this._sourceMapURL),{source:G,generatedLine:W.generatedLine,generatedColumn:W.generatedColumn,originalLine:W.originalLine,originalColumn:W.originalColumn,name:W.name===null?null:this._names.at(W.name)}},this).forEach(Z,K)};P.prototype.allGeneratedPositionsFor=function z(Z){var Y=v.getArg(Z,"line"),$={source:v.getArg(Z,"source"),originalLine:Y,originalColumn:v.getArg(Z,"column",0)};if($.source=this._findSourceIndex($.source),$.source<0)return[];var K=[],J=this._findMapping($,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,O$.LEAST_UPPER_BOUND);if(J>=0){var X=this._originalMappings[J];if(Z.column===void 0){var q=X.originalLine;while(X&&X.originalLine===q)K.push({line:v.getArg(X,"generatedLine",null),column:v.getArg(X,"generatedColumn",null),lastColumn:v.getArg(X,"lastGeneratedColumn",null)}),X=this._originalMappings[++J]}else{var W=X.originalColumn;while(X&&X.originalLine===Y&&X.originalColumn==W)K.push({line:v.getArg(X,"generatedLine",null),column:v.getArg(X,"generatedColumn",null),lastColumn:v.getArg(X,"lastGeneratedColumn",null)}),X=this._originalMappings[++J]}}return K};q6.SourceMapConsumer=P;f.prototype=Object.create(P.prototype);f.prototype.consumer=P;f.prototype._findSourceIndex=function(z){var Z=z;if(this.sourceRoot!=null)Z=v.relative(this.sourceRoot,Z);if(this._sources.has(Z))return this._sources.indexOf(Z);var Y;for(Y=0;Y<this._absoluteSources.length;++Y)if(this._absoluteSources[Y]==z)return Y;return-1};f.fromSourceMap=function z(Z,Y){var $=Object.create(f.prototype),K=$._names=HY.fromArray(Z._names.toArray(),!0),J=$._sources=HY.fromArray(Z._sources.toArray(),!0);$.sourceRoot=Z._sourceRoot,$.sourcesContent=Z._generateSourcesContent($._sources.toArray(),$.sourceRoot),$.file=Z._file,$._sourceMapURL=Y,$._absoluteSources=$._sources.toArray().map(function(V){return v.computeSourceURL($.sourceRoot,V,Y)});var X=Z._mappings.toArray().slice(),q=$.__generatedMappings=[],W=$.__originalMappings=[];for(var G=0,O=X.length;G<O;G++){var w=X[G],I=new P4;if(I.generatedLine=w.generatedLine,I.generatedColumn=w.generatedColumn,w.source){if(I.source=J.indexOf(w.source),I.originalLine=w.originalLine,I.originalColumn=w.originalColumn,w.name)I.name=K.indexOf(w.name);W.push(I)}q.push(I)}return wY($.__originalMappings,v.compareByOriginalPositions),$};f.prototype._version=3;Object.defineProperty(f.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});f.prototype._parseMappings=function z(Z,Y){var $=1,K=0,J=0,X=0,q=0,W=0,G=Z.length,O=0,w={},I={},V=[],D=[],H,E,Q,U,A;while(O<G)if(Z.charAt(O)===";")$++,O++,K=0;else if(Z.charAt(O)===",")O++;else{H=new P4,H.generatedLine=$;for(U=O;U<G;U++)if(this._charIsMappingSeparator(Z,U))break;if(E=Z.slice(O,U),Q=w[E],Q)O+=E.length;else{Q=[];while(O<U)H6.decode(Z,O,I),A=I.value,O=I.rest,Q.push(A);if(Q.length===2)throw new Error("Found a source, but no line and column");if(Q.length===3)throw new Error("Found a source and line, but no column");w[E]=Q}if(H.generatedColumn=K+Q[0],K=H.generatedColumn,Q.length>1){if(H.source=q+Q[1],q+=Q[1],H.originalLine=J+Q[2],J=H.originalLine,H.originalLine+=1,H.originalColumn=X+Q[3],X=H.originalColumn,Q.length>4)H.name=W+Q[4],W+=Q[4]}if(D.push(H),typeof H.originalLine==="number")V.push(H)}wY(D,v.compareByGeneratedPositionsDeflated),this.__generatedMappings=D,wY(V,v.compareByOriginalPositions),this.__originalMappings=V};f.prototype._findMapping=function z(Z,Y,$,K,J,X){if(Z[$]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+Z[$]);if(Z[K]<0)throw new TypeError("Column must be greater than or equal to 0, got "+Z[K]);return O$.search(Z,Y,J,X)};f.prototype.computeColumnSpans=function z(){for(var Z=0;Z<this._generatedMappings.length;++Z){var Y=this._generatedMappings[Z];if(Z+1<this._generatedMappings.length){var $=this._generatedMappings[Z+1];if(Y.generatedLine===$.generatedLine){Y.lastGeneratedColumn=$.generatedColumn-1;continue}}Y.lastGeneratedColumn=Infinity}};f.prototype.originalPositionFor=function z(Z){var Y={generatedLine:v.getArg(Z,"line"),generatedColumn:v.getArg(Z,"column")},$=this._findMapping(Y,this._generatedMappings,"generatedLine","generatedColumn",v.compareByGeneratedPositionsDeflated,v.getArg(Z,"bias",P.GREATEST_LOWER_BOUND));if($>=0){var K=this._generatedMappings[$];if(K.generatedLine===Y.generatedLine){var J=v.getArg(K,"source",null);if(J!==null)J=this._sources.at(J),J=v.computeSourceURL(this.sourceRoot,J,this._sourceMapURL);var X=v.getArg(K,"name",null);if(X!==null)X=this._names.at(X);return{source:J,line:v.getArg(K,"originalLine",null),column:v.getArg(K,"originalColumn",null),name:X}}}return{source:null,line:null,column:null,name:null}};f.prototype.hasContentsOfAllSources=function z(){if(!this.sourcesContent)return!1;return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(Z){return Z==null})};f.prototype.sourceContentFor=function z(Z,Y){if(!this.sourcesContent)return null;var $=this._findSourceIndex(Z);if($>=0)return this.sourcesContent[$];var K=Z;if(this.sourceRoot!=null)K=v.relative(this.sourceRoot,K);var J;if(this.sourceRoot!=null&&(J=v.urlParse(this.sourceRoot))){var X=K.replace(/^file:\/\//,"");if(J.scheme=="file"&&this._sources.has(X))return this.sourcesContent[this._sources.indexOf(X)];if((!J.path||J.path=="/")&&this._sources.has("/"+K))return this.sourcesContent[this._sources.indexOf("/"+K)]}if(Y)return null;else throw new Error('"'+K+'" is not in the SourceMap.')};f.prototype.generatedPositionFor=function z(Z){var Y=v.getArg(Z,"source");if(Y=this._findSourceIndex(Y),Y<0)return{line:null,column:null,lastColumn:null};var $={source:Y,originalLine:v.getArg(Z,"line"),originalColumn:v.getArg(Z,"column")},K=this._findMapping($,this._originalMappings,"originalLine","originalColumn",v.compareByOriginalPositions,v.getArg(Z,"bias",P.GREATEST_LOWER_BOUND));if(K>=0){var J=this._originalMappings[K];if(J.source===$.source)return{line:v.getArg(J,"generatedLine",null),column:v.getArg(J,"generatedColumn",null),lastColumn:v.getArg(J,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};q6.BasicSourceMapConsumer=f;o.prototype=Object.create(P.prototype);o.prototype.constructor=P;o.prototype._version=3;Object.defineProperty(o.prototype,"sources",{get:function(){var z=[];for(var Z=0;Z<this._sections.length;Z++)for(var Y=0;Y<this._sections[Z].consumer.sources.length;Y++)z.push(this._sections[Z].consumer.sources[Y]);return z}});o.prototype.originalPositionFor=function z(Z){var Y={generatedLine:v.getArg(Z,"line"),generatedColumn:v.getArg(Z,"column")},$=O$.search(Y,this._sections,function(J,X){var q=J.generatedLine-X.generatedOffset.generatedLine;if(q)return q;return J.generatedColumn-X.generatedOffset.generatedColumn}),K=this._sections[$];if(!K)return{source:null,line:null,column:null,name:null};return K.consumer.originalPositionFor({line:Y.generatedLine-(K.generatedOffset.generatedLine-1),column:Y.generatedColumn-(K.generatedOffset.generatedLine===Y.generatedLine?K.generatedOffset.generatedColumn-1:0),bias:Z.bias})};o.prototype.hasContentsOfAllSources=function z(){return this._sections.every(function(Z){return Z.consumer.hasContentsOfAllSources()})};o.prototype.sourceContentFor=function z(Z,Y){for(var $=0;$<this._sections.length;$++){var K=this._sections[$],J=K.consumer.sourceContentFor(Z,!0);if(J)return J}if(Y)return null;else throw new Error('"'+Z+'" is not in the SourceMap.')};o.prototype.generatedPositionFor=function z(Z){for(var Y=0;Y<this._sections.length;Y++){var $=this._sections[Y];if($.consumer._findSourceIndex(v.getArg(Z,"source"))===-1)continue;var K=$.consumer.generatedPositionFor(Z);if(K){var J={line:K.line+($.generatedOffset.generatedLine-1),column:K.column+($.generatedOffset.generatedLine===K.line?$.generatedOffset.generatedColumn-1:0)};return J}}return{line:null,column:null}};o.prototype._parseMappings=function z(Z,Y){this.__generatedMappings=[],this.__originalMappings=[];for(var $=0;$<this._sections.length;$++){var K=this._sections[$],J=K.consumer._generatedMappings;for(var X=0;X<J.length;X++){var q=J[X],W=K.consumer._sources.at(q.source);W=v.computeSourceURL(K.consumer.sourceRoot,W,this._sourceMapURL),this._sources.add(W),W=this._sources.indexOf(W);var G=null;if(q.name)G=K.consumer._names.at(q.name),this._names.add(G),G=this._names.indexOf(G);var O={source:W,generatedLine:q.generatedLine+(K.generatedOffset.generatedLine-1),generatedColumn:q.generatedColumn+(K.generatedOffset.generatedLine===q.generatedLine?K.generatedOffset.generatedColumn-1:0),originalLine:q.originalLine,originalColumn:q.originalColumn,name:G};if(this.__generatedMappings.push(O),typeof O.originalLine==="number")this.__originalMappings.push(O)}}wY(this.__generatedMappings,v.compareByGeneratedPositionsDeflated),wY(this.__originalMappings,v.compareByOriginalPositions)};q6.IndexedSourceMapConsumer=o});var g4=N((w6)=>{var d=function(z,Z,Y,$,K){if(this.children=[],this.sourceContents={},this.line=z==null?null:z,this.column=Z==null?null:Z,this.source=Y==null?null:Y,this.name=K==null?null:K,this[qY]=!0,$!=null)this.add($)},E6=q$().SourceMapGenerator,NY=DY(),O6=/(\r?\n)/,V6=10,qY="$$$isSourceNode$$$";d.fromStringWithSourceMap=function z(Z,Y,$){var K=new d,J=Z.split(O6),X=0,q=function(){var I=D(),V=D()||"";return I+V;function D(){return X<J.length?J[X++]:void 0}},W=1,G=0,O=null;if(Y.eachMapping(function(I){if(O!==null)if(W<I.generatedLine)w(O,q()),W++,G=0;else{var V=J[X]||"",D=V.substr(0,I.generatedColumn-G);J[X]=V.substr(I.generatedColumn-G),G=I.generatedColumn,w(O,D),O=I;return}while(W<I.generatedLine)K.add(q()),W++;if(G<I.generatedColumn){var V=J[X]||"";K.add(V.substr(0,I.generatedColumn)),J[X]=V.substr(I.generatedColumn),G=I.generatedColumn}O=I},this),X<J.length){if(O)w(O,q());K.add(J.splice(X).join(""))}return Y.sources.forEach(function(I){var V=Y.sourceContentFor(I);if(V!=null){if($!=null)I=NY.join($,I);K.setSourceContent(I,V)}}),K;function w(I,V){if(I===null||I.source===void 0)K.add(V);else{var D=$?NY.join($,I.source):I.source;K.add(new d(I.originalLine,I.originalColumn,D,V,I.name))}}};d.prototype.add=function z(Z){if(Array.isArray(Z))Z.forEach(function(Y){this.add(Y)},this);else if(Z[qY]||typeof Z==="string"){if(Z)this.children.push(Z)}else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+Z);return this};d.prototype.prepend=function z(Z){if(Array.isArray(Z))for(var Y=Z.length-1;Y>=0;Y--)this.prepend(Z[Y]);else if(Z[qY]||typeof Z==="string")this.children.unshift(Z);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+Z);return this};d.prototype.walk=function z(Z){var Y;for(var $=0,K=this.children.length;$<K;$++)if(Y=this.children[$],Y[qY])Y.walk(Z);else if(Y!=="")Z(Y,{source:this.source,line:this.line,column:this.column,name:this.name})};d.prototype.join=function z(Z){var Y,$,K=this.children.length;if(K>0){Y=[];for($=0;$<K-1;$++)Y.push(this.children[$]),Y.push(Z);Y.push(this.children[$]),this.children=Y}return this};d.prototype.replaceRight=function z(Z,Y){var $=this.children[this.children.length-1];if($[qY])$.replaceRight(Z,Y);else if(typeof $==="string")this.children[this.children.length-1]=$.replace(Z,Y);else this.children.push("".replace(Z,Y));return this};d.prototype.setSourceContent=function z(Z,Y){this.sourceContents[NY.toSetString(Z)]=Y};d.prototype.walkSourceContents=function z(Z){for(var Y=0,$=this.children.length;Y<$;Y++)if(this.children[Y][qY])this.children[Y].walkSourceContents(Z);var K=Object.keys(this.sourceContents);for(var Y=0,$=K.length;Y<$;Y++)Z(NY.fromSetString(K[Y]),this.sourceContents[K[Y]])};d.prototype.toString=function z(){var Z="";return this.walk(function(Y){Z+=Y}),Z};d.prototype.toStringWithSourceMap=function z(Z){var Y={code:"",line:1,column:0},$=new E6(Z),K=!1,J=null,X=null,q=null,W=null;return this.walk(function(G,O){if(Y.code+=G,O.source!==null&&O.line!==null&&O.column!==null){if(J!==O.source||X!==O.line||q!==O.column||W!==O.name)$.addMapping({source:O.source,original:{line:O.line,column:O.column},generated:{line:Y.line,column:Y.column},name:O.name});J=O.source,X=O.line,q=O.column,W=O.name,K=!0}else if(K)$.addMapping({generated:{line:Y.line,column:Y.column}}),J=null,K=!1;for(var w=0,I=G.length;w<I;w++)if(G.charCodeAt(w)===V6){if(Y.line++,Y.column=0,w+1===I)J=null,K=!1;else if(K)$.addMapping({source:O.source,original:{line:O.line,column:O.column},generated:{line:Y.line,column:Y.column},name:O.name})}else Y.column++}),this.walkSourceContents(function(G,O){$.setSourceContent(G,O)}),{code:Y.code,map:$}};w6.SourceNode=d});var h4=N((U6)=>{U6.SourceMapGenerator=q$().SourceMapGenerator;U6.SourceMapConsumer=y4().SourceMapConsumer;U6.SourceNode=g4().SourceNode});var o6=N((l4)=>{var v6=function(){return u4()?"\n":import.meta.require("os").EOL||"\n"},u4=function(){return typeof window!=="undefined"&&typeof window.document!=="undefined"},k6=function(z,Z,Y){if(z&&f4.call(z,Z))return z[Z];return Y},C6=function(){var z=[];for(var Z=0;Z<arguments.length;Z++)z[Z]=arguments[Z];var Y={},$=z.length;for(var K=0;K<$;++K){var J=Object.keys(z[K]),X=J.length;for(var q=0;q<X;++q)Y[J[q]]=!0}return Y},p=function(z,Z){return z.line-Z.line||z.column-Z.column},e=function(z){return{line:z.line,column:z.column}},N6=function(z,Z){if(z){if(!Z)return z}else return Z||null;var Y=new c4(z),$=new c4(Z),K=new T6({file:Z.file,sourceRoot:Z.sourceRoot}),J={};return $.eachMapping(function(X){var q=Y.originalPositionFor({line:X.originalLine,column:X.originalColumn}),W=q.source;if(W===null)return;K.addMapping({source:W,original:e(q),generated:{line:X.generatedLine,column:X.generatedColumn},name:X.name});var G=Y.sourceContentFor(W);if(G&&!f4.call(J,W))J[W]=G,K.setSourceContent(W,G)}),K.toJSON()},M6=function(z,Z){if(!z.loc)return null;var Y={start:z.loc.start,end:z.loc.end};function $(K){V$(Y,K.loc)}if(z.declaration&&z.declaration.decorators&&xY(z))z.declaration.decorators.forEach($);if(p(Y.start,Y.end)<0){if(Y.start=e(Y.start),Z.skipSpaces(Y.start,!1,!0),p(Y.start,Y.end)<0)Y.end=e(Y.end),Z.skipSpaces(Y.end,!0,!0)}if(z.comments)z.comments.forEach($);return Y},V$=function(z,Z){if(z&&Z){if(p(Z.start,z.start)<0)z.start=Z.start;if(p(z.end,Z.end)<0)z.end=Z.end}},x6=function(z,Z){var Y=z.loc;if(Y){if(Y.start.line<1)Y.start.line=1;if(Y.end.line<1)Y.end.line=1}if(z.type==="File")Y.start=Z.firstPos(),Y.end=Z.lastPos();if(_6(z,Z),S6(z,Z),Y&&z.decorators)z.decorators.forEach(function(X){V$(Y,X.loc)});else if(z.declaration&&xY(z)){z.declaration.loc=null;var $=z.declaration.decorators;if($)$.forEach(function(X){V$(Y,X.loc)})}else if(MY.MethodDefinition&&MY.MethodDefinition.check(z)||MY.Property.check(z)&&(z.method||z.shorthand)){if(z.value.loc=null,MY.FunctionExpression.check(z.value))z.value.id=null}else if(z.type==="ObjectTypeProperty"){var K=z.loc,J=K&&K.end;if(J){if(J=e(J),Z.prevPos(J)&&Z.charAt(J)===","){if(J=Z.skipSpaces(J,!0,!0))K.end=J}}}},_6=function(z,Z){if(z.type!=="ForStatement")return;function Y($){var K=$&&$.loc,J=K&&K.start,X=K&&e(K.end);while(J&&X&&p(J,X)<0)if(Z.prevPos(X),Z.charAt(X)===";")K.end.line=X.line,K.end.column=X.column;else break}Y(z.init),Y(z.test),Y(z.update)},S6=function(z,Z){if(z.type!=="TemplateLiteral")return;if(z.quasis.length===0)return;if(z.loc){var Y=e(z.loc.start);jY.default(Z.charAt(Y)==="`"),jY.default(Z.nextPos(Y));var $=z.quasis[0];if(p($.loc.start,Y)<0)$.loc.start=Y;var K=e(z.loc.end);jY.default(Z.prevPos(K)),jY.default(Z.charAt(K)==="`");var J=z.quasis[z.quasis.length-1];if(p(K,J.loc.end)<0)J.loc.end=K}z.expressions.forEach(function(X,q){var W=Z.skipSpaces(X.loc.start,!0,!1);if(Z.prevPos(W)&&Z.charAt(W)==="{"&&Z.prevPos(W)&&Z.charAt(W)==="$"){var G=z.quasis[q];if(p(W,G.loc.end)<0)G.loc.end=W}var O=Z.skipSpaces(X.loc.end,!1,!1);if(Z.charAt(O)==="}"){jY.default(Z.nextPos(O));var w=z.quasis[q+1];if(p(w.loc.start,O)<0)w.loc.start=O}})},xY=function(z){if(z)switch(z.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1},b6=function(z){var Z=z.getParentNode();if(z.getName()==="declaration"&&xY(Z))return Z;return null},P6=function(z,Z){var Y=z.trailingComma;if(typeof Y==="object")return!!Y[Z];return!!Y};Object.defineProperty(l4,"__esModule",{value:!0});l4.isTrailingCommaEnabled=l4.getParentExportDeclaration=l4.isExportDeclaration=l4.fixFaultyLocations=l4.getTrueLoc=l4.composeSourceMaps=l4.copyPos=l4.comparePos=l4.getUnionOfKeys=l4.getOption=l4.isBrowser=l4.getLineTerminator=void 0;var w$=_(),jY=w$.__importDefault(B$()),L6=w$.__importStar(w4()),MY=L6.namedTypes,m4=w$.__importDefault(h4()),c4=m4.default.SourceMapConsumer,T6=m4.default.SourceMapGenerator,f4=Object.prototype.hasOwnProperty;l4.getLineTerminator=v6;l4.isBrowser=u4;l4.getOption=k6;l4.getUnionOfKeys=C6;l4.comparePos=p;l4.copyPos=e;l4.composeSourceMaps=N6;l4.getTrueLoc=M6;l4.fixFaultyLocations=x6;l4.isExportDeclaration=xY;l4.getParentExportDeclaration=b6;l4.isTrailingCommaEnabled=P6});
|
|
2
|
+
export{w4 as F,B$ as G,h4 as H,o6 as I};
|