@nestia/editor 11.0.0-dev.20260313-3 → 11.0.0-dev.20260313-5

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.
@@ -176,7 +176,7 @@ Error generating stack: `+q0.message+`
176
176
  `,K0+1)):K0===0?q0&&(s.result+=" "):s.result+=common$1.repeat(`
177
177
  `,K0):s.result+=common$1.repeat(`
178
178
  `,q0?1+K0:K0),q0=!0,W0=!0,K0=0,F0=s.position;!is_EOL(F_)&&F_!==0;)F_=s.input.charCodeAt(++s.position);captureSegment(s,F0,s.position,!1)}return!0}function readBlockSequence(s,o){var F0,L0=s.tag,B0=s.anchor,q0=[],W0,X0=!1,K0;if(s.firstTabInLine!==-1)return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=q0),K0=s.input.charCodeAt(s.position);K0!==0&&(s.firstTabInLine!==-1&&(s.position=s.firstTabInLine,throwError$2(s,"tab characters must not be used in indentation")),!(K0!==45||(W0=s.input.charCodeAt(s.position+1),!is_WS_OR_EOL(W0))));){if(X0=!0,s.position++,skipSeparationSpace(s,!0,-1)&&s.lineIndent<=o){q0.push(null),K0=s.input.charCodeAt(s.position);continue}if(F0=s.line,composeNode(s,o,CONTEXT_BLOCK_IN,!1,!0),q0.push(s.result),skipSeparationSpace(s,!0,-1),K0=s.input.charCodeAt(s.position),(s.line===F0||s.lineIndent>o)&&K0!==0)throwError$2(s,"bad indentation of a sequence entry");else if(s.lineIndent<o)break}return X0?(s.tag=L0,s.anchor=B0,s.kind="sequence",s.result=q0,!0):!1}function readBlockMapping(s,o,F0){var L0,B0,q0,W0,X0,K0,D_=s.tag,I_=s.anchor,F_={},R_=Object.create(null),z_=null,H_=null,Oy=null,qv=!1,Lv=!1,S1;if(s.firstTabInLine!==-1)return!1;for(s.anchor!==null&&(s.anchorMap[s.anchor]=F_),S1=s.input.charCodeAt(s.position);S1!==0;){if(!qv&&s.firstTabInLine!==-1&&(s.position=s.firstTabInLine,throwError$2(s,"tab characters must not be used in indentation")),L0=s.input.charCodeAt(s.position+1),q0=s.line,(S1===63||S1===58)&&is_WS_OR_EOL(L0))S1===63?(qv&&(storeMappingPair(s,F_,R_,z_,H_,null,W0,X0,K0),z_=H_=Oy=null),Lv=!0,qv=!0,B0=!0):qv?(qv=!1,B0=!0):throwError$2(s,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),s.position+=1,S1=L0;else{if(W0=s.line,X0=s.lineStart,K0=s.position,!composeNode(s,F0,CONTEXT_FLOW_OUT,!1,!0))break;if(s.line===q0){for(S1=s.input.charCodeAt(s.position);is_WHITE_SPACE(S1);)S1=s.input.charCodeAt(++s.position);if(S1===58)S1=s.input.charCodeAt(++s.position),is_WS_OR_EOL(S1)||throwError$2(s,"a whitespace character is expected after the key-value separator within a block mapping"),qv&&(storeMappingPair(s,F_,R_,z_,H_,null,W0,X0,K0),z_=H_=Oy=null),Lv=!0,qv=!1,B0=!1,z_=s.tag,H_=s.result;else if(Lv)throwError$2(s,"can not read an implicit mapping pair; a colon is missed");else return s.tag=D_,s.anchor=I_,!0}else if(Lv)throwError$2(s,"can not read a block mapping entry; a multiline key may not be an implicit key");else return s.tag=D_,s.anchor=I_,!0}if((s.line===q0||s.lineIndent>o)&&(qv&&(W0=s.line,X0=s.lineStart,K0=s.position),composeNode(s,o,CONTEXT_BLOCK_OUT,!0,B0)&&(qv?H_=s.result:Oy=s.result),qv||(storeMappingPair(s,F_,R_,z_,H_,Oy,W0,X0,K0),z_=H_=Oy=null),skipSeparationSpace(s,!0,-1),S1=s.input.charCodeAt(s.position)),(s.line===q0||s.lineIndent>o)&&S1!==0)throwError$2(s,"bad indentation of a mapping entry");else if(s.lineIndent<o)break}return qv&&storeMappingPair(s,F_,R_,z_,H_,null,W0,X0,K0),Lv&&(s.tag=D_,s.anchor=I_,s.kind="mapping",s.result=F_),Lv}function readTagProperty(s){var o,F0=!1,L0=!1,B0,q0,W0;if(W0=s.input.charCodeAt(s.position),W0!==33)return!1;if(s.tag!==null&&throwError$2(s,"duplication of a tag property"),W0=s.input.charCodeAt(++s.position),W0===60?(F0=!0,W0=s.input.charCodeAt(++s.position)):W0===33?(L0=!0,B0="!!",W0=s.input.charCodeAt(++s.position)):B0="!",o=s.position,F0){do W0=s.input.charCodeAt(++s.position);while(W0!==0&&W0!==62);s.position<s.length?(q0=s.input.slice(o,s.position),W0=s.input.charCodeAt(++s.position)):throwError$2(s,"unexpected end of the stream within a verbatim tag")}else{for(;W0!==0&&!is_WS_OR_EOL(W0);)W0===33&&(L0?throwError$2(s,"tag suffix cannot contain exclamation marks"):(B0=s.input.slice(o-1,s.position+1),PATTERN_TAG_HANDLE.test(B0)||throwError$2(s,"named tag handle cannot contain such characters"),L0=!0,o=s.position+1)),W0=s.input.charCodeAt(++s.position);q0=s.input.slice(o,s.position),PATTERN_FLOW_INDICATORS.test(q0)&&throwError$2(s,"tag suffix cannot contain flow indicator characters")}q0&&!PATTERN_TAG_URI.test(q0)&&throwError$2(s,"tag name cannot contain such characters: "+q0);try{q0=decodeURIComponent(q0)}catch{throwError$2(s,"tag name is malformed: "+q0)}return F0?s.tag=q0:_hasOwnProperty$1.call(s.tagMap,B0)?s.tag=s.tagMap[B0]+q0:B0==="!"?s.tag="!"+q0:B0==="!!"?s.tag="tag:yaml.org,2002:"+q0:throwError$2(s,'undeclared tag handle "'+B0+'"'),!0}function readAnchorProperty(s){var o,F0;if(F0=s.input.charCodeAt(s.position),F0!==38)return!1;for(s.anchor!==null&&throwError$2(s,"duplication of an anchor property"),F0=s.input.charCodeAt(++s.position),o=s.position;F0!==0&&!is_WS_OR_EOL(F0)&&!is_FLOW_INDICATOR(F0);)F0=s.input.charCodeAt(++s.position);return s.position===o&&throwError$2(s,"name of an anchor node must contain at least one character"),s.anchor=s.input.slice(o,s.position),!0}function readAlias(s){var o,F0,L0;if(L0=s.input.charCodeAt(s.position),L0!==42)return!1;for(L0=s.input.charCodeAt(++s.position),o=s.position;L0!==0&&!is_WS_OR_EOL(L0)&&!is_FLOW_INDICATOR(L0);)L0=s.input.charCodeAt(++s.position);return s.position===o&&throwError$2(s,"name of an alias node must contain at least one character"),F0=s.input.slice(o,s.position),_hasOwnProperty$1.call(s.anchorMap,F0)||throwError$2(s,'unidentified alias "'+F0+'"'),s.result=s.anchorMap[F0],skipSeparationSpace(s,!0,-1),!0}function composeNode(s,o,F0,L0,B0){var q0,W0,X0,K0=1,D_=!1,I_=!1,F_,R_,z_,H_,Oy,qv;if(s.listener!==null&&s.listener("open",s),s.tag=null,s.anchor=null,s.kind=null,s.result=null,q0=W0=X0=CONTEXT_BLOCK_OUT===F0||CONTEXT_BLOCK_IN===F0,L0&&skipSeparationSpace(s,!0,-1)&&(D_=!0,s.lineIndent>o?K0=1:s.lineIndent===o?K0=0:s.lineIndent<o&&(K0=-1)),K0===1)for(;readTagProperty(s)||readAnchorProperty(s);)skipSeparationSpace(s,!0,-1)?(D_=!0,X0=q0,s.lineIndent>o?K0=1:s.lineIndent===o?K0=0:s.lineIndent<o&&(K0=-1)):X0=!1;if(X0&&(X0=D_||B0),(K0===1||CONTEXT_BLOCK_OUT===F0)&&(CONTEXT_FLOW_IN===F0||CONTEXT_FLOW_OUT===F0?Oy=o:Oy=o+1,qv=s.position-s.lineStart,K0===1?X0&&(readBlockSequence(s,qv)||readBlockMapping(s,qv,Oy))||readFlowCollection(s,Oy)?I_=!0:(W0&&readBlockScalar(s,Oy)||readSingleQuotedScalar(s,Oy)||readDoubleQuotedScalar(s,Oy)?I_=!0:readAlias(s)?(I_=!0,(s.tag!==null||s.anchor!==null)&&throwError$2(s,"alias node should not have any properties")):readPlainScalar(s,Oy,CONTEXT_FLOW_IN===F0)&&(I_=!0,s.tag===null&&(s.tag="?")),s.anchor!==null&&(s.anchorMap[s.anchor]=s.result)):K0===0&&(I_=X0&&readBlockSequence(s,qv))),s.tag===null)s.anchor!==null&&(s.anchorMap[s.anchor]=s.result);else if(s.tag==="?"){for(s.result!==null&&s.kind!=="scalar"&&throwError$2(s,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+s.kind+'"'),F_=0,R_=s.implicitTypes.length;F_<R_;F_+=1)if(H_=s.implicitTypes[F_],H_.resolve(s.result)){s.result=H_.construct(s.result),s.tag=H_.tag,s.anchor!==null&&(s.anchorMap[s.anchor]=s.result);break}}else if(s.tag!=="!"){if(_hasOwnProperty$1.call(s.typeMap[s.kind||"fallback"],s.tag))H_=s.typeMap[s.kind||"fallback"][s.tag];else for(H_=null,z_=s.typeMap.multi[s.kind||"fallback"],F_=0,R_=z_.length;F_<R_;F_+=1)if(s.tag.slice(0,z_[F_].tag.length)===z_[F_].tag){H_=z_[F_];break}H_||throwError$2(s,"unknown tag !<"+s.tag+">"),s.result!==null&&H_.kind!==s.kind&&throwError$2(s,"unacceptable node kind for !<"+s.tag+'> tag; it should be "'+H_.kind+'", not "'+s.kind+'"'),H_.resolve(s.result,s.tag)?(s.result=H_.construct(s.result,s.tag),s.anchor!==null&&(s.anchorMap[s.anchor]=s.result)):throwError$2(s,"cannot resolve a node with !<"+s.tag+"> explicit tag")}return s.listener!==null&&s.listener("close",s),s.tag!==null||s.anchor!==null||I_}function readDocument(s){var o=s.position,F0,L0,B0,q0=!1,W0;for(s.version=null,s.checkLineBreaks=s.legacy,s.tagMap=Object.create(null),s.anchorMap=Object.create(null);(W0=s.input.charCodeAt(s.position))!==0&&(skipSeparationSpace(s,!0,-1),W0=s.input.charCodeAt(s.position),!(s.lineIndent>0||W0!==37));){for(q0=!0,W0=s.input.charCodeAt(++s.position),F0=s.position;W0!==0&&!is_WS_OR_EOL(W0);)W0=s.input.charCodeAt(++s.position);for(L0=s.input.slice(F0,s.position),B0=[],L0.length<1&&throwError$2(s,"directive name must not be less than one character in length");W0!==0;){for(;is_WHITE_SPACE(W0);)W0=s.input.charCodeAt(++s.position);if(W0===35){do W0=s.input.charCodeAt(++s.position);while(W0!==0&&!is_EOL(W0));break}if(is_EOL(W0))break;for(F0=s.position;W0!==0&&!is_WS_OR_EOL(W0);)W0=s.input.charCodeAt(++s.position);B0.push(s.input.slice(F0,s.position))}W0!==0&&readLineBreak(s),_hasOwnProperty$1.call(directiveHandlers,L0)?directiveHandlers[L0](s,L0,B0):throwWarning(s,'unknown document directive "'+L0+'"')}if(skipSeparationSpace(s,!0,-1),s.lineIndent===0&&s.input.charCodeAt(s.position)===45&&s.input.charCodeAt(s.position+1)===45&&s.input.charCodeAt(s.position+2)===45?(s.position+=3,skipSeparationSpace(s,!0,-1)):q0&&throwError$2(s,"directives end mark is expected"),composeNode(s,s.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(s,!0,-1),s.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(s.input.slice(o,s.position))&&throwWarning(s,"non-ASCII line breaks are interpreted as content"),s.documents.push(s.result),s.position===s.lineStart&&testDocumentSeparator(s)){s.input.charCodeAt(s.position)===46&&(s.position+=3,skipSeparationSpace(s,!0,-1));return}if(s.position<s.length-1)throwError$2(s,"end of the stream or a document separator is expected");else return}function loadDocuments(s,o){s=String(s),o=o||{},s.length!==0&&(s.charCodeAt(s.length-1)!==10&&s.charCodeAt(s.length-1)!==13&&(s+=`
179
- `),s.charCodeAt(0)===65279&&(s=s.slice(1)));var F0=new State$1(s,o),L0=s.indexOf("\0");for(L0!==-1&&(F0.position=L0,throwError$2(F0,"null byte is not allowed in input")),F0.input+="\0";F0.input.charCodeAt(F0.position)===32;)F0.lineIndent+=1,F0.position+=1;for(;F0.position<F0.length-1;)readDocument(F0);return F0.documents}function load$1(s,o){var F0=loadDocuments(s,o);if(F0.length!==0){if(F0.length===1)return F0[0];throw new exception("expected a single document in the stream, but found more")}}var load_1=load$1,loader={load:load_1},load=loader.load,MapUtil$1;(function(s){s.take=(o,F0,L0)=>{const B0=o.get(F0);if(B0)return B0;const q0=L0();return o.set(F0,q0),q0}})(MapUtil$1||(MapUtil$1={}));var OpenApiTypeCheckerBase;(function(s){s.isNull=F_=>F_.type==="null",s.isUnknown=F_=>F_.type===void 0&&!s.isConstant(F_)&&!s.isOneOf(F_)&&!s.isReference(F_),s.isConstant=F_=>F_.const!==void 0,s.isBoolean=F_=>F_.type==="boolean",s.isInteger=F_=>F_.type==="integer",s.isNumber=F_=>F_.type==="number",s.isString=F_=>F_.type==="string",s.isArray=F_=>F_.type==="array"&&F_.items!==void 0,s.isTuple=F_=>F_.type==="array"&&F_.prefixItems!==void 0,s.isObject=F_=>F_.type==="object",s.isReference=F_=>F_.$ref!==void 0,s.isOneOf=F_=>F_.oneOf!==void 0,s.isRecursiveReference=F_=>{if(s.isReference(F_.schema)===!1)return!1;const R_=F_.schema.$ref.split(F_.prefix)[1]??F_.schema.$ref.split("/").at(-1);let z_=0;return s.visit({prefix:F_.prefix,components:F_.components,schema:F_.schema,closure:H_=>{if(s.isReference(H_)){const Oy=H_.$ref.split(F_.prefix)[1]??H_.$ref.split("/").at(-1);R_===Oy&&++z_}}}),z_>1},s.unreference=F_=>{const R_=[],z_=o({prefix:F_.prefix,refAccessor:F_.refAccessor??`$input.${F_.prefix.substring(2).split("/").filter(H_=>!!H_.length).join(".")}`,accessor:F_.accessor??"$input.schema",components:F_.components,schema:F_.schema,reasons:R_});return z_===null?{success:!1,error:{method:F_.method,message:"failed to unreference due to unable to find.",reasons:R_}}:{success:!0,value:z_}},s.escape=F_=>{const R_=[],z_=F0({...F_,reasons:R_,visited:new Map,accessor:F_.accessor??"$input.schema",refAccessor:F_.refAccessor??getReference(F_.prefix)})||null;return z_===null?{success:!1,error:{method:F_.method,message:`failed to escape some reference type(s) due to unable to find${Number(F_.recursive)===0?" or recursive relationship":""}.`,reasons:R_}}:{success:!0,value:z_}},s.visit=F_=>{const R_=new Set,z_=F_.refAccessor??`$input.${getReference(F_.prefix)}`,H_=(Oy,qv)=>{var Lv;if(F_.closure(Oy,qv),s.isReference(Oy)){const S1=Oy.$ref.split(F_.prefix).pop();if(R_.has(S1)===!0)return;R_.add(S1);const iv=(Lv=F_.components.schemas)==null?void 0:Lv[S1];iv!==void 0&&H_(iv,`${z_}[${JSON.stringify(S1)}]`)}else if(s.isOneOf(Oy))Oy.oneOf.forEach((S1,iv)=>H_(S1,`${qv}.oneOf[${iv}]`));else if(s.isObject(Oy)){for(const[S1,iv]of Object.entries(Oy.properties??{}))H_(iv,`${qv}.properties[${JSON.stringify(S1)}]`);typeof Oy.additionalProperties=="object"&&Oy.additionalProperties!==null&&H_(Oy.additionalProperties,`${qv}.additionalProperties`)}else s.isArray(Oy)?H_(Oy.items,`${qv}.items`):s.isTuple(Oy)&&((Oy.prefixItems??[]).forEach((S1,iv)=>H_(S1,`${qv}.prefixItems[${iv}]`)),typeof Oy.additionalItems=="object"&&Oy.additionalItems!==null&&H_(Oy.additionalItems,`${qv}.additionalItems`))};H_(F_.schema,F_.accessor??"$input.schema")},s.covers=F_=>L0({prefix:F_.prefix,components:F_.components,x:F_.x,y:F_.y,visited:new Map});const o=F_=>{var H_;if(s.isReference(F_.schema)===!1)return F_.schema;const R_=F_.schema.$ref.split(F_.prefix).pop(),z_=(H_=F_.components.schemas)==null?void 0:H_[R_];return z_===void 0?(F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`unable to find reference type ${JSON.stringify(R_)}.`}),null):s.isReference(z_)===!1?z_:F_.first===R_?(F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`recursive reference type ${JSON.stringify(R_)}.`}),null):o({...F_,accessor:`${F_.refAccessor}[${JSON.stringify(R_)}]`,first:R_})},F0=F_=>{var R_,z_;if(s.isReference(F_.schema)){const H_=F_.schema.$ref.split(F_.prefix)[1]??F_.schema.$ref.split("/").at(-1),Oy=(R_=F_.components.schemas)==null?void 0:R_[H_];if(Oy===void 0)return F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`unable to find reference type ${JSON.stringify(H_)}.`}),null;if(F_.visited.has(H_)===!0){if(F_.recursive===!1)return null;const qv=F_.visited.get(H_);if(qv>F_.recursive)return F_.recursive===0?(F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`recursive reference type ${JSON.stringify(H_)}.`}),null):void 0;F_.visited.set(H_,qv+1);const Lv=F0({...F_,schema:Oy,accessor:`${F_.refAccessor}[${JSON.stringify(H_)}]`});return Lv&&{...Lv,description:JsonDescriptor.cascade({prefix:F_.prefix,components:F_.components,schema:F_.schema,escape:!0})}}else{const qv=F0({...F_,schema:Oy,accessor:`${F_.refAccessor}[${JSON.stringify(H_)}]`,visited:new Map([...F_.visited,[H_,1]])});return qv&&{...qv,description:JsonDescriptor.cascade({prefix:F_.prefix,components:F_.components,schema:F_.schema,escape:!0})}}}else if(s.isOneOf(F_.schema)){const H_=F_.schema.oneOf.map((qv,Lv)=>F0({...F_,schema:qv,accessor:`${F_.accessor}.oneOf[${Lv}]`}));if(H_.some(qv=>qv===null))return null;const Oy=H_.filter(qv=>qv!==void 0);return Oy.length===0?void 0:{...F_.schema,oneOf:Oy.map(qv=>D_({prefix:F_.prefix,components:F_.components,schema:qv})).flat()}}else if(s.isObject(F_.schema)){const H_=F_.schema,Oy=Object.entries(H_.properties??{}).map(([Lv,S1])=>[Lv,F0({...F_,schema:S1,visited:F_.visited,accessor:`${F_.accessor}.properties[${JSON.stringify(Lv)}]`})]),qv=H_.additionalProperties?typeof H_.additionalProperties=="object"&&H_.additionalProperties!==null?F0({...F_,schema:H_.additionalProperties,accessor:`${F_.accessor}.additionalProperties`}):H_.additionalProperties:!1;return Oy.some(([Lv,S1])=>S1===null)||qv===null?null:Oy.some(([Lv,S1])=>{var iv;return S1===void 0&&((iv=H_.required)==null?void 0:iv.includes(Lv))===!0})===!0?void 0:{...H_,properties:Object.fromEntries(Oy.filter(([Lv,S1])=>S1!==void 0)),additionalProperties:qv??!1,required:((z_=H_.required)==null?void 0:z_.filter(Lv=>Oy.some(([S1,iv])=>S1===Lv&&iv!==void 0)))??[]}}else if(s.isTuple(F_.schema)){const H_=F_.schema.prefixItems.map((qv,Lv)=>F0({...F_,schema:qv,accessor:`${F_.accessor}.prefixItems[${Lv}]`})),Oy=F_.schema.additionalItems?typeof F_.schema.additionalItems=="object"&&F_.schema.additionalItems!==null?F0({...F_,schema:F_.schema.additionalItems,accessor:`${F_.accessor}.additionalItems`}):F_.schema.additionalItems:!1;return H_.some(qv=>qv===null)||Oy===null?null:H_.some(qv=>qv===void 0)?void 0:{...F_.schema,prefixItems:H_,additionalItems:Oy??!1}}else if(s.isArray(F_.schema)){const H_=F0({...F_,schema:F_.schema.items,accessor:`${F_.accessor}.items`});return H_===null?null:H_===void 0?{...F_.schema,minItems:void 0,maxItems:0,items:{}}:{...F_.schema,items:H_}}return F_.schema},L0=F_=>{var Oy;const R_=(Oy=F_.visited.get(F_.x))==null?void 0:Oy.get(F_.y);if(R_!==void 0)return R_;const z_=MapUtil$1.take(F_.visited,F_.x,()=>new Map);z_.set(F_.y,!0);const H_=B0(F_);return z_.set(F_.y,H_),H_},B0=F_=>{if(F_.x===F_.y)return!0;if(s.isReference(F_.x)&&s.isReference(F_.y)&&F_.x.$ref===F_.y.$ref)return!0;const R_=D_({prefix:F_.prefix,components:F_.components,schema:F_.x}),z_=D_({prefix:F_.prefix,components:F_.components,schema:F_.y});return R_.some(H_=>s.isUnknown(H_))?!0:z_.some(H_=>s.isUnknown(H_))?!1:z_.every(H_=>R_.some(Oy=>q0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:Oy,y:H_})))},q0=F_=>F_.x===F_.y||s.isUnknown(F_.x)?!0:s.isUnknown(F_.y)?!1:s.isNull(F_.x)?s.isNull(F_.y):s.isConstant(F_.x)?s.isConstant(F_.y)&&F_.x.const===F_.y.const:s.isBoolean(F_.x)?s.isBoolean(F_.y)||s.isConstant(F_.y)&&typeof F_.y.const=="boolean":s.isInteger(F_.x)?(s.isInteger(F_.y)||s.isConstant(F_.y))&&s.coverInteger(F_.x,F_.y):s.isNumber(F_.x)?(s.isConstant(F_.y)||s.isInteger(F_.y)||s.isNumber(F_.y))&&s.coverNumber(F_.x,F_.y):s.isString(F_.x)?(s.isConstant(F_.y)||s.isString(F_.y))&&s.coverString(F_.x,F_.y):s.isArray(F_.x)?(s.isArray(F_.y)||s.isTuple(F_.y))&&W0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x,y:F_.y}):s.isObject(F_.x)?s.isObject(F_.y)&&X0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x,y:F_.y}):s.isReference(F_.x)?s.isReference(F_.y)&&F_.x.$ref===F_.y.$ref:!1,W0=F_=>{if(s.isTuple(F_.y))return F_.y.prefixItems.every(R_=>L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.items,y:R_}))&&(F_.y.additionalItems===void 0||typeof F_.y.additionalItems=="object"&&L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.items,y:F_.y.additionalItems}));if(F_.x.minItems===void 0||F_.y.minItems!==void 0&&F_.x.minItems<=F_.y.minItems){if(!(F_.x.maxItems===void 0||F_.y.maxItems!==void 0&&F_.x.maxItems>=F_.y.maxItems))return!1}else return!1;return L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.items,y:F_.y.items})},X0=F_=>!F_.x.additionalProperties&&F_.y.additionalProperties||F_.x.additionalProperties&&F_.y.additionalProperties&&(typeof F_.x.additionalProperties=="object"&&F_.y.additionalProperties===!0||typeof F_.x.additionalProperties=="object"&&typeof F_.y.additionalProperties=="object"&&!L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.additionalProperties,y:F_.y.additionalProperties}))?!1:Object.entries(F_.y.properties??{}).every(([R_,z_])=>{var Oy,qv,Lv;const H_=(Oy=F_.x.properties)==null?void 0:Oy[R_];return H_===void 0||((qv=F_.x.required)==null?void 0:qv.includes(R_))===!0&&(((Lv=F_.y.required)==null?void 0:Lv.includes(R_))??!1)===!1?!1:L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:H_,y:z_})});s.coverInteger=(F_,R_)=>s.isConstant(R_)?typeof R_.const=="number"&&Number.isInteger(R_.const):F_.type===R_.type&&s.coverNumericRange(F_,R_),s.coverNumber=(F_,R_)=>s.isConstant(R_)?typeof R_.const=="number":(F_.type===R_.type||F_.type==="number"&&R_.type==="integer")&&s.coverNumericRange(F_,R_),s.coverString=(F_,R_)=>s.isConstant(R_)?typeof R_.const=="string":[F_.format===void 0||R_.format!==void 0&&K0(F_.format,R_.format),F_.pattern===void 0||F_.pattern===R_.pattern,F_.minLength===void 0||R_.minLength!==void 0&&F_.minLength<=R_.minLength,F_.maxLength===void 0||R_.maxLength!==void 0&&F_.maxLength>=R_.maxLength].every(z_=>z_);const K0=(F_,R_)=>F_===R_||F_==="idn-email"&&R_==="email"||F_==="idn-hostname"&&R_==="hostname"||["uri","iri"].includes(F_)&&R_==="url"||F_==="iri"&&R_==="uri"||F_==="iri-reference"&&R_==="uri-reference",D_=F_=>{const R_=I_(F_);return s.isOneOf(R_)?R_.oneOf.map(z_=>D_({prefix:F_.prefix,components:F_.components,schema:z_})).flat():[R_]},I_=F_=>{var H_;if(s.isReference(F_.schema)===!1)return F_.schema;const R_=F_.schema.$ref.replace(F_.prefix,""),z_=I_({prefix:F_.prefix,components:F_.components,schema:((H_=F_.components.schemas)==null?void 0:H_[R_])??{}});if(z_===void 0)throw new Error(`Reference type not found: ${JSON.stringify(F_.schema.$ref)}`);return I_({prefix:F_.prefix,components:F_.components,schema:z_})};s.coverNumericRange=(F_,R_)=>[F_.minimum===void 0||R_.minimum!==void 0&&F_.minimum<=R_.minimum||R_.exclusiveMinimum!==void 0&&F_.minimum<R_.exclusiveMinimum,F_.maximum===void 0||R_.maximum!==void 0&&F_.maximum>=R_.maximum||R_.exclusiveMaximum!==void 0&&F_.maximum>R_.exclusiveMaximum,F_.exclusiveMinimum===void 0||R_.minimum!==void 0&&F_.exclusiveMinimum<=R_.minimum||R_.exclusiveMinimum!==void 0&&F_.exclusiveMinimum<=R_.exclusiveMinimum,F_.exclusiveMaximum===void 0||R_.maximum!==void 0&&F_.exclusiveMaximum>=R_.maximum||R_.exclusiveMaximum!==void 0&&F_.exclusiveMaximum>=R_.exclusiveMaximum,F_.multipleOf===void 0||R_.multipleOf!==void 0&&R_.multipleOf/F_.multipleOf===Math.floor(R_.multipleOf/F_.multipleOf)].every(z_=>z_)})(OpenApiTypeCheckerBase||(OpenApiTypeCheckerBase={}));const getReference=s=>s.split("/").filter((o,F0)=>!!o.length&&!(F0===0&&o==="#")).join(".");var OpenApiTypeChecker;(function(s){s.isNull=o=>OpenApiTypeCheckerBase.isNull(o),s.isUnknown=o=>OpenApiTypeCheckerBase.isUnknown(o),s.isConstant=o=>OpenApiTypeCheckerBase.isConstant(o),s.isBoolean=o=>OpenApiTypeCheckerBase.isBoolean(o),s.isInteger=o=>OpenApiTypeCheckerBase.isInteger(o),s.isNumber=o=>OpenApiTypeCheckerBase.isNumber(o),s.isString=o=>OpenApiTypeCheckerBase.isString(o),s.isArray=o=>OpenApiTypeCheckerBase.isArray(o),s.isTuple=o=>OpenApiTypeCheckerBase.isTuple(o),s.isObject=o=>OpenApiTypeCheckerBase.isObject(o),s.isReference=o=>OpenApiTypeCheckerBase.isReference(o),s.isOneOf=o=>OpenApiTypeCheckerBase.isOneOf(o),s.isRecursiveReference=o=>OpenApiTypeCheckerBase.isRecursiveReference({prefix:"#/components/schemas/",components:o.components,schema:o.schema}),s.escape=o=>OpenApiTypeCheckerBase.escape({...o,prefix:"#/components/schemas/",method:"OpenApiTypeChecker.method"}),s.unreference=o=>OpenApiTypeCheckerBase.unreference({...o,prefix:"#/components/schemas/",method:"OpenApiTypeChecker.unreference"}),s.visit=o=>OpenApiTypeCheckerBase.visit({...o,prefix:"#/components/schemas/"}),s.covers=o=>OpenApiTypeCheckerBase.covers({prefix:"#/components/schemas/",components:o.components,x:o.x,y:o.y})})(OpenApiTypeChecker||(OpenApiTypeChecker={}));var NamingConvention;(function(s){function o(B0){return unsnake({plain:q0=>q0.length?q0===q0.toUpperCase()?q0.toLocaleLowerCase():`${q0[0].toLowerCase()}${q0.substring(1)}`:q0,snake:(q0,W0)=>W0===0?q0.toLowerCase():s.capitalize(q0.toLowerCase())})(B0)}s.camel=o;function F0(B0){return unsnake({plain:q0=>q0.length?`${q0[0].toUpperCase()}${q0.substring(1)}`:q0,snake:s.capitalize})(B0)}s.pascal=F0;function L0(B0){if(B0.length===0)return B0;let q0="";for(let I_=0;I_<B0.length&&B0[I_]==="_";I_++)q0+="_";q0.length!==0&&(B0=B0.substring(q0.length));const W0=I_=>`${q0}${I_}`,X0=B0.split("_");if(X0.length>1)return W0(X0.map(I_=>I_.toLowerCase()).join("_"));const K0=[];for(let I_=0;I_<B0.length;I_++){const F_=B0.charCodeAt(I_);65<=F_&&F_<=90&&K0.push(I_)}for(let I_=K0.length-1;I_>0;--I_){const F_=K0[I_],R_=K0[I_-1];F_-R_===1&&K0.splice(I_,1)}if(K0.length!==0&&K0[0]===0&&K0.splice(0,1),K0.length===0)return B0.toLowerCase();let D_="";for(let I_=0;I_<K0.length;I_++){const F_=I_===0?0:K0[I_-1],R_=K0[I_];D_+=B0.substring(F_,R_).toLowerCase(),D_+="_"}return D_+=B0.substring(K0[K0.length-1]).toLowerCase(),W0(D_)}s.snake=L0,s.capitalize=B0=>B0.length!==0?B0[0].toUpperCase()+B0.slice(1):B0,s.localize=B0=>B0[0].toLowerCase()+B0.slice(1),s.variable=B0=>s.reserved(B0)===!1&&/^[a-zA-Z_$][a-zA-Z_$0-9]*$/g.test(B0),s.reserved=B0=>RESERVED$1.has(B0)})(NamingConvention||(NamingConvention={}));const RESERVED$1=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","module","new","null","package","public","private","protected","return","super","switch","this","throw","true","try","typeof","var","void","while","with"]),unsnake=s=>o=>{let F0="";for(let q0=0;q0<o.length&&o[q0]==="_";q0++)F0+="_";F0.length!==0&&(o=o.substring(F0.length));const L0=q0=>`${F0}${q0}`;if(o.length===0)return L0("");const B0=o.split("_").filter(q0=>q0.length!==0);return B0.length===0?L0(""):B0.length===1?L0(s.plain(B0[0])):L0(B0.map(s.snake).join(""))};var JsonDescriptor;(function(s){s.cascade=o=>{var B0,q0;const F0=(o.schema.$ref.split(o.prefix)[1]??o.schema.$ref.split("/").at(-1)).split("."),L0=F0.slice(0,o.escape?F0.length:F0.length-1).map((W0,X0,K0)=>K0.slice(0,X0+1).join(".")).map(W0=>{var X0,K0;return{key:W0,description:(K0=(X0=o.components.schemas)==null?void 0:X0[W0])==null?void 0:K0.description}}).reverse().filter((W0,X0)=>X0===0||!!(W0!=null&&W0.description));if(!(!((B0=o.schema.description)!=null&&B0.length)&&L0.length===0))return[...(q0=o.schema.description)!=null&&q0.length?[o.schema.description]:[],...L0.map((W0,X0)=>W0.description===void 0?`Current Type: {@link ${W0.key}}`:`Description of the ${X0===0&&o.escape?"current":"parent"} {@link ${W0.key}} type:
179
+ `),s.charCodeAt(0)===65279&&(s=s.slice(1)));var F0=new State$1(s,o),L0=s.indexOf("\0");for(L0!==-1&&(F0.position=L0,throwError$2(F0,"null byte is not allowed in input")),F0.input+="\0";F0.input.charCodeAt(F0.position)===32;)F0.lineIndent+=1,F0.position+=1;for(;F0.position<F0.length-1;)readDocument(F0);return F0.documents}function load$1(s,o){var F0=loadDocuments(s,o);if(F0.length!==0){if(F0.length===1)return F0[0];throw new exception("expected a single document in the stream, but found more")}}var load_1=load$1,loader={load:load_1},load=loader.load;class HttpError extends Error{constructor(F0,L0,B0,q0,W0){super(W0);mA(this,"method");mA(this,"path");mA(this,"status");mA(this,"headers");mA(this,"body_",NOT_YET);this.method=F0,this.path=L0,this.status=B0,this.headers=q0;const X0=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,X0):this.__proto__=X0}toJSON(){if(this.body_===NOT_YET)try{this.body_=JSON.parse(this.message)}catch{this.body_=this.message}return{method:this.method,path:this.path,status:this.status,headers:this.headers,message:this.body_}}}const NOT_YET={};var MapUtil$1;(function(s){s.take=(o,F0,L0)=>{const B0=o.get(F0);if(B0)return B0;const q0=L0();return o.set(F0,q0),q0}})(MapUtil$1||(MapUtil$1={}));var NamingConvention;(function(s){function o(B0){return unsnake({plain:q0=>q0.length?q0===q0.toUpperCase()?q0.toLocaleLowerCase():`${q0[0].toLowerCase()}${q0.substring(1)}`:q0,snake:(q0,W0)=>W0===0?q0.toLowerCase():s.capitalize(q0.toLowerCase())})(B0)}s.camel=o;function F0(B0){return unsnake({plain:q0=>q0.length?`${q0[0].toUpperCase()}${q0.substring(1)}`:q0,snake:s.capitalize})(B0)}s.pascal=F0;function L0(B0){if(B0.length===0)return B0;let q0="";for(let I_=0;I_<B0.length&&B0[I_]==="_";I_++)q0+="_";q0.length!==0&&(B0=B0.substring(q0.length));const W0=I_=>`${q0}${I_}`,X0=B0.split("_");if(X0.length>1)return W0(X0.map(I_=>I_.toLowerCase()).join("_"));const K0=[];for(let I_=0;I_<B0.length;I_++){const F_=B0.charCodeAt(I_);65<=F_&&F_<=90&&K0.push(I_)}for(let I_=K0.length-1;I_>0;--I_){const F_=K0[I_],R_=K0[I_-1];F_-R_===1&&K0.splice(I_,1)}if(K0.length!==0&&K0[0]===0&&K0.splice(0,1),K0.length===0)return B0.toLowerCase();let D_="";for(let I_=0;I_<K0.length;I_++){const F_=I_===0?0:K0[I_-1],R_=K0[I_];D_+=B0.substring(F_,R_).toLowerCase(),D_+="_"}return D_+=B0.substring(K0[K0.length-1]).toLowerCase(),W0(D_)}s.snake=L0,s.capitalize=B0=>B0.length!==0?B0[0].toUpperCase()+B0.slice(1):B0,s.localize=B0=>B0[0].toLowerCase()+B0.slice(1),s.variable=B0=>s.reserved(B0)===!1&&/^[a-zA-Z_$][a-zA-Z_$0-9]*$/g.test(B0),s.reserved=B0=>RESERVED$1.has(B0)})(NamingConvention||(NamingConvention={}));const RESERVED$1=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","module","new","null","package","public","private","protected","return","super","switch","this","throw","true","try","typeof","var","void","while","with"]),unsnake=s=>o=>{let F0="";for(let q0=0;q0<o.length&&o[q0]==="_";q0++)F0+="_";F0.length!==0&&(o=o.substring(F0.length));const L0=q0=>`${F0}${q0}`;if(o.length===0)return L0("");const B0=o.split("_").filter(q0=>q0.length!==0);return B0.length===0?L0(""):B0.length===1?L0(s.plain(B0[0])):L0(B0.map(s.snake).join(""))};var JsonDescriptor;(function(s){s.cascade=o=>{var B0,q0;const F0=(o.schema.$ref.split(o.prefix)[1]??o.schema.$ref.split("/").at(-1)).split("."),L0=F0.slice(0,o.escape?F0.length:F0.length-1).map((W0,X0,K0)=>K0.slice(0,X0+1).join(".")).map(W0=>{var X0,K0;return{key:W0,description:(K0=(X0=o.components.schemas)==null?void 0:X0[W0])==null?void 0:K0.description}}).reverse().filter((W0,X0)=>X0===0||!!(W0!=null&&W0.description));if(!(!((B0=o.schema.description)!=null&&B0.length)&&L0.length===0))return[...(q0=o.schema.description)!=null&&q0.length?[o.schema.description]:[],...L0.map((W0,X0)=>W0.description===void 0?`Current Type: {@link ${W0.key}}`:`Description of the ${X0===0&&o.escape?"current":"parent"} {@link ${W0.key}} type:
180
180
 
181
181
  `+W0.description.split(`
182
182
  `).map(K0=>`> ${K0}`).join(`
@@ -190,7 +190,7 @@ Error generating stack: `+q0.message+`
190
190
  `).map(W0=>`> ${W0}`).join(`
191
191
  `))].join(`
192
192
 
193
- `);return F0.length?F0:void 0}})(JsonDescriptor||(JsonDescriptor={}));var OpenApiExclusiveEmender;(function(s){s.emend=o=>{const F0=typeof o.minimum=="number"&&typeof o.exclusiveMinimum=="number"?{minimum:o.minimum>o.exclusiveMinimum?o.minimum:void 0,exclusiveMinimum:o.minimum>o.exclusiveMinimum?void 0:o.exclusiveMinimum}:{},L0=typeof o.maximum=="number"&&typeof o.exclusiveMaximum=="number"?{maximum:o.maximum<o.exclusiveMaximum?o.maximum:void 0,exclusiveMaximum:o.maximum<o.exclusiveMaximum?void 0:o.exclusiveMaximum}:{};return{...o,...F0,...L0}}})(OpenApiExclusiveEmender||(OpenApiExclusiveEmender={}));var OpenApiV3Downgrader;(function(s){s.downgrade=D_=>{const I_=s.downgradeComponents(D_.components);return{openapi:"3.0.0",servers:D_.servers,info:D_.info,components:I_.downgraded,paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)])):void 0,security:D_.security,tags:D_.tags}};const o=D_=>I_=>{const F_={};if(I_.query&&(F_.query=F0(D_)(I_.query)),I_.additionalOperations)for(const[R_,z_]of Object.entries(I_.additionalOperations))z_!==void 0&&(F_[R_]=F0(D_)(z_));return{...I_,...I_.get?{get:F0(D_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_.trace)}:void 0,...Object.keys(F_).length>0?{"x-additionalOperations":F_}:void 0,query:void 0,additionalOperations:void 0}},F0=D_=>I_=>({...I_,parameters:I_.parameters?I_.parameters.map(L0(D_)):void 0,requestBody:I_.requestBody?B0(D_)(I_.requestBody):void 0,responses:I_.responses?Object.fromEntries(Object.entries(I_.responses).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,q0(D_)(R_)])):void 0}),L0=D_=>I_=>({...I_,in:I_.in==="querystring"?"query":I_.in,schema:s.downgradeSchema(D_)(I_.schema)}),B0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0}),q0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:s.downgradeSchema(D_)(R_.schema)}])):void 0}),W0=D_=>I_=>Object.fromEntries(Object.entries(I_).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:R_!=null&&R_.schema?s.downgradeSchema(D_)(R_.schema):void 0}]));s.downgradeComponents=D_=>{const I_={original:D_,downgraded:{securitySchemes:D_.securitySchemes}};if(D_.schemas){I_.downgraded.schemas={};for(const[F_,R_]of Object.entries(D_.schemas))R_!==void 0&&(I_.downgraded.schemas[F_]=s.downgradeSchema(I_)(R_))}return I_},s.downgradeSchema=D_=>I_=>{const F_=K0(new Set)(D_.original)(I_),R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,writeOnly:I_.writeOnly,example:I_.example,examples:I_.examples,...Object.fromEntries(Object.entries(I_).filter(([qv,Lv])=>qv.startsWith("x-")&&Lv!==void 0))},H_=qv=>{OpenApiTypeChecker.isBoolean(qv)?R_.push({type:"boolean"}):OpenApiTypeChecker.isBoolean(qv)||OpenApiTypeChecker.isInteger(qv)||OpenApiTypeChecker.isNumber(qv)||OpenApiTypeChecker.isString(qv)||OpenApiTypeChecker.isReference(qv)?R_.push({...qv}):OpenApiTypeChecker.isArray(qv)?R_.push({...qv,items:s.downgradeSchema(D_)(qv.items)}):OpenApiTypeChecker.isTuple(qv)?R_.push({...qv,items:(()=>{if(qv.additionalItems===!0)return{};const Lv=[...qv.prefixItems,...typeof qv.additionalItems=="object"?[s.downgradeSchema(D_)(qv.additionalItems)]:[]];return Lv.length===0?{}:{oneOf:Lv.map(s.downgradeSchema(D_))}})(),minItems:qv.prefixItems.length,maxItems:qv.additionalItems?void 0:qv.prefixItems.length,prefixItems:void 0,additionalItems:void 0}):OpenApiTypeChecker.isObject(qv)?R_.push({...qv,properties:qv.properties?Object.fromEntries(Object.entries(qv.properties).filter(([Lv,S1])=>S1!==void 0).map(([Lv,S1])=>[Lv,s.downgradeSchema(D_)(S1)])):void 0,additionalProperties:typeof qv.additionalProperties=="object"?s.downgradeSchema(D_)(qv.additionalProperties):qv.additionalProperties,required:qv.required}):OpenApiTypeChecker.isOneOf(qv)&&qv.oneOf.forEach(H_)},Oy=qv=>{const Lv=S1=>{const iv=R_.find(Yv=>Yv.type===typeof S1);iv!==void 0?(iv.enum??(iv.enum=[]),iv.enum.push(S1)):R_.push({type:typeof S1,enum:[S1]})};if(OpenApiTypeChecker.isConstant(qv))Lv(qv.const);else if(OpenApiTypeChecker.isOneOf(qv))for(const S1 of qv.oneOf)OpenApiTypeChecker.isConstant(S1)&&Lv(S1.const)};if(H_(I_),Oy(I_),F_===!0)for(const qv of R_)OpenApiTypeChecker.isReference(qv)?X0(new Set)(D_)(qv):qv.nullable=!0;return F_===!0&&R_.length===0?{type:"null",...z_}:{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_},...z_}};const X0=D_=>I_=>F_=>{var H_,Oy,qv;const R_=F_.$ref.split("/").pop();if(R_.endsWith(".Nullable"))return;const z_=(H_=I_.original.schemas)==null?void 0:H_[R_];if(z_!==void 0){{if(K0(D_)(I_.original)(z_)===!0)return;((Oy=I_.downgraded.schemas)==null?void 0:Oy[`${R_}.Nullable`])===void 0&&((qv=I_.downgraded).schemas??(qv.schemas={}),I_.downgraded.schemas[`${R_}.Nullable`]={},I_.downgraded.schemas[`${R_}.Nullable`]=s.downgradeSchema(I_)(OpenApiTypeChecker.isOneOf(z_)?{...z_,oneOf:[...z_.oneOf,{type:"null"}]}:{oneOf:[z_,{type:"null"}],title:z_.title,description:z_.description,example:z_.example,examples:z_.examples,...Object.fromEntries(Object.entries(z_).filter(([Lv,S1])=>Lv.startsWith("x-")&&S1!==void 0))}))}F_.$ref+=".Nullable"}},K0=D_=>I_=>F_=>{var R_;if(OpenApiTypeChecker.isNull(F_))return!0;if(OpenApiTypeChecker.isReference(F_)){if(D_.has(F_.$ref))return!1;D_.add(F_.$ref);const z_=F_.$ref.split("/").pop(),H_=(R_=I_.schemas)==null?void 0:R_[z_];return H_?K0(D_)(I_)(H_):!1}return OpenApiTypeChecker.isOneOf(F_)&&F_.oneOf.some(K0(D_)(I_))}})(OpenApiV3Downgrader||(OpenApiV3Downgrader={}));var OpenApiV3TypeChecker;(function(s){s.isBoolean=o=>o.type==="boolean",s.isInteger=o=>o.type==="integer",s.isNumber=o=>o.type==="number",s.isString=o=>o.type==="string",s.isArray=o=>o.type==="array",s.isObject=o=>o.type==="object",s.isReference=o=>o.$ref!==void 0,s.isAllOf=o=>o.allOf!==void 0,s.isAnyOf=o=>o.anyOf!==void 0,s.isOneOf=o=>o.oneOf!==void 0,s.isNullOnly=o=>o.type==="null"})(OpenApiV3TypeChecker||(OpenApiV3TypeChecker={}));var OpenApiV3Upgrader;(function(s){s.convert=D_=>({...D_,components:s.convertComponents(D_.components??{}),paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,o(D_)(F_)])):void 0,openapi:"3.2.0","x-typia-emended-v12":!0});const o=D_=>I_=>{const F_=I_["x-additionalOperations"],R_=F_==null?void 0:F_.query,z_=F_?Object.fromEntries(Object.entries(F_).filter(([H_,Oy])=>H_!=="query"&&Oy!==void 0).map(([H_,Oy])=>[H_,F0(D_)(I_)(Oy)])):void 0;return{...I_,...I_.get?{get:F0(D_)(I_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_)(I_.trace)}:void 0,...R_?{query:F0(D_)(I_)(R_)}:void 0,...z_&&Object.keys(z_).length>0?{additionalOperations:z_}:void 0,"x-additionalOperations":void 0}},F0=D_=>I_=>F_=>({...F_,parameters:I_.parameters!==void 0||F_.parameters!==void 0?[...I_.parameters??[],...F_.parameters??[]].map(R_=>{var H_,Oy,qv,Lv;if(!OpenApiV3TypeChecker.isReference(R_))return L0(D_.components??{})(R_);const z_=R_.$ref.startsWith("#/components/headers/")?(Oy=(H_=D_.components)==null?void 0:H_.headers)==null?void 0:Oy[R_.$ref.split("/").pop()??""]:(Lv=(qv=D_.components)==null?void 0:qv.parameters)==null?void 0:Lv[R_.$ref.split("/").pop()??""];return z_!==void 0?L0(D_.components??{})({...z_,in:"header"}):void 0}).filter((R_,z_)=>z_!==void 0):void 0,requestBody:F_.requestBody?B0(D_)(F_.requestBody):void 0,responses:F_.responses?Object.fromEntries(Object.entries(F_.responses).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,q0(D_)(z_)]).filter(([R_,z_])=>z_!==void 0)):void 0}),L0=D_=>I_=>({...I_,schema:s.convertSchema(D_)(I_.schema),examples:I_.examples?Object.fromEntries(Object.entries(I_.examples).map(([F_,R_])=>{var z_;return[F_,OpenApiV3TypeChecker.isReference(R_)?(z_=D_.examples)==null?void 0:z_[R_.$ref.split("/").pop()??""]:R_]}).filter(([F_,R_])=>R_!==void 0)):void 0}),B0=D_=>I_=>{var F_,R_;if(OpenApiV3TypeChecker.isReference(I_)){const z_=(R_=(F_=D_.components)==null?void 0:F_.requestBodies)==null?void 0:R_[I_.$ref.split("/").pop()??""];if(z_===void 0)return;I_=z_}return{...I_,content:I_.content?W0(D_.components??{})(I_.content):void 0}},q0=D_=>I_=>{var F_,R_;if(OpenApiV3TypeChecker.isReference(I_)){const z_=(R_=(F_=D_.components)==null?void 0:F_.responses)==null?void 0:R_[I_.$ref.split("/").pop()??""];if(z_===void 0)return;I_=z_}return{...I_,content:I_.content?W0(D_.components??{})(I_.content):void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([z_,H_])=>H_!==void 0).map(([z_,H_])=>[z_,(()=>{var qv,Lv;if(OpenApiV3TypeChecker.isReference(H_)===!1)return L0(D_.components??{})({...H_,in:"header"});const Oy=H_.$ref.startsWith("#/components/headers/")?(Lv=(qv=D_.components)==null?void 0:qv.headers)==null?void 0:Lv[H_.$ref.split("/").pop()??""]:void 0;return Oy!==void 0?L0(D_.components??{})({...Oy,in:"header"}):void 0})()]).filter(([z_,H_])=>H_!==void 0)):void 0}},W0=D_=>I_=>Object.fromEntries(Object.entries(I_).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:R_.schema?s.convertSchema(D_)(R_.schema):void 0,examples:R_.examples?Object.fromEntries(Object.entries(R_.examples).map(([z_,H_])=>{var Oy;return[z_,OpenApiV3TypeChecker.isReference(H_)?(Oy=D_.examples)==null?void 0:Oy[H_.$ref.split("/").pop()??""]:H_]}).filter(([z_,H_])=>H_!==void 0)):void 0}]));s.convertComponents=D_=>({schemas:Object.fromEntries(Object.entries(D_.schemas??{}).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,s.convertSchema(D_)(F_)])),securitySchemes:D_.securitySchemes}),s.convertSchema=D_=>I_=>{const F_={value:!1,default:void 0},R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,writeOnly:I_.writeOnly,example:I_.example,examples:Array.isArray(I_.examples)?Object.fromEntries(I_.examples.map((Oy,qv)=>[`v${qv}`,Oy])):I_.examples,...Object.fromEntries(Object.entries(I_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0))},H_=Oy=>{var qv,Lv,S1;Oy.nullable===!0&&(F_.value||(F_.value=!0),Oy.default===null&&(F_.default=null)),Array.isArray(Oy.enum)&&((qv=Oy.enum)!=null&&qv.length)&&((Lv=Oy.enum)!=null&&Lv.some(iv=>iv===null))&&(F_.value||(F_.value=!0)),OpenApiV3TypeChecker.isAnyOf(Oy)?Oy.anyOf.forEach(H_):OpenApiV3TypeChecker.isOneOf(Oy)?Oy.oneOf.forEach(H_):OpenApiV3TypeChecker.isAllOf(Oy)?Oy.allOf.length===1?H_(Oy.allOf[0]):R_.push(X0(D_)(Oy)):OpenApiV3TypeChecker.isBoolean(Oy)||OpenApiV3TypeChecker.isInteger(Oy)||OpenApiV3TypeChecker.isNumber(Oy)||OpenApiV3TypeChecker.isString(Oy)?(S1=Oy.enum)!=null&&S1.length&&Oy.enum.filter(iv=>iv!==null).length?R_.push(...Oy.enum.filter(iv=>iv!==null).map(iv=>({const:iv}))):OpenApiV3TypeChecker.isInteger(Oy)||OpenApiV3TypeChecker.isNumber(Oy)?R_.push(OpenApiExclusiveEmender.emend({...Oy,default:Oy.default??void 0,exclusiveMinimum:typeof Oy.exclusiveMinimum=="boolean"?Oy.exclusiveMinimum===!0?Oy.minimum:void 0:Oy.exclusiveMinimum,exclusiveMaximum:typeof Oy.exclusiveMaximum=="boolean"?Oy.exclusiveMaximum===!0?Oy.maximum:void 0:Oy.exclusiveMaximum,minimum:Oy.exclusiveMinimum===!0?void 0:Oy.minimum,maximum:Oy.exclusiveMaximum===!0?void 0:Oy.maximum,enum:void 0})):R_.push({...Oy,default:Oy.default??void 0,enum:void 0}):OpenApiV3TypeChecker.isArray(Oy)?R_.push({...Oy,items:s.convertSchema(D_)(Oy.items)}):OpenApiV3TypeChecker.isObject(Oy)?R_.push({...Oy,properties:Oy.properties?Object.fromEntries(Object.entries(Oy.properties).filter(([iv,Yv])=>Yv!==void 0).map(([iv,Yv])=>[iv,s.convertSchema(D_)(Yv)])):{},additionalProperties:Oy.additionalProperties?typeof Oy.additionalProperties=="object"&&Oy.additionalProperties!==null?s.convertSchema(D_)(Oy.additionalProperties):Oy.additionalProperties:void 0,required:Oy.required??[]}):(OpenApiV3TypeChecker.isReference(Oy),R_.push(Oy))};if(H_(I_),F_.value===!0&&!R_.some(Oy=>Oy.type==="null")&&R_.push({type:"null",default:F_.default}),R_.length===2&&R_.filter(Oy=>OpenApiTypeChecker.isNull(Oy)).length===1){const Oy=R_.filter(qv=>OpenApiTypeChecker.isNull(qv)===!1)[0];for(const qv of["title","description","deprecated","readOnly","writeOnly","example","examples"])Oy[qv]!==void 0&&delete Oy[qv]}return{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_.map(Oy=>({...Oy,nullable:void 0}))},...z_,nullable:void 0}};const X0=D_=>I_=>{const F_=I_.allOf.map(R_=>K0(D_)(R_));return F_.some(R_=>R_===null)?{type:void 0,allOf:void 0}:{...I_,type:"object",properties:Object.fromEntries(F_.map(R_=>Object.entries((R_==null?void 0:R_.properties)??{})).flat().map(([R_,z_])=>[R_,s.convertSchema(D_)(z_)])),allOf:void 0,required:[...new Set(F_.map(R_=>(R_==null?void 0:R_.required)??[]).flat())]}},K0=D_=>(I_,F_=new Set)=>{var R_;return OpenApiV3TypeChecker.isObject(I_)?I_.properties!==void 0&&!I_.additionalProperties?I_:null:F_.has(I_)?null:(F_.add(I_),OpenApiV3TypeChecker.isReference(I_)?K0(D_)(((R_=D_.schemas)==null?void 0:R_[I_.$ref.split("/").pop()??""])??{},F_):null)}})(OpenApiV3Upgrader||(OpenApiV3Upgrader={}));var OpenApiV3_1Downgrader;(function(s){s.downgrade=D_=>{const I_=s.downgradeComponents(D_.components);return{openapi:"3.1.0",servers:D_.servers,info:D_.info,components:I_.downgraded,paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)])):void 0,webhooks:D_.webhooks?Object.fromEntries(Object.entries(D_.webhooks).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)])):void 0,security:D_.security,tags:D_.tags}};const o=D_=>I_=>{const F_={};if(I_.query&&(F_.query=F0(D_)(I_.query)),I_.additionalOperations)for(const[R_,z_]of Object.entries(I_.additionalOperations))z_!==void 0&&(F_[R_]=F0(D_)(z_));return{...I_,...I_.get?{get:F0(D_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_.trace)}:void 0,...Object.keys(F_).length>0?{"x-additionalOperations":F_}:void 0,query:void 0,additionalOperations:void 0}},F0=D_=>I_=>({...I_,parameters:I_.parameters?I_.parameters.map(L0(D_)):void 0,requestBody:I_.requestBody?B0(D_)(I_.requestBody):void 0,responses:I_.responses?Object.fromEntries(Object.entries(I_.responses).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,q0(D_)(R_)])):void 0}),L0=D_=>I_=>({...I_,in:I_.in==="querystring"?"query":I_.in,schema:s.downgradeSchema(D_)(I_.schema)}),B0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0}),q0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:s.downgradeSchema(D_)(R_.schema)}])):void 0}),W0=D_=>I_=>Object.fromEntries(Object.entries(I_).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:R_!=null&&R_.schema?s.downgradeSchema(D_)(R_.schema):void 0,itemSchema:void 0}]));s.downgradeComponents=D_=>{const I_={original:D_,downgraded:{securitySchemes:D_.securitySchemes?X0(D_.securitySchemes):void 0}};if(D_.schemas){I_.downgraded.schemas={};for(const[F_,R_]of Object.entries(D_.schemas))R_!==void 0&&(I_.downgraded.schemas[F_]=s.downgradeSchema(I_)(R_))}return I_},s.downgradeSchema=D_=>I_=>{const F_=[],R_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,writeOnly:I_.writeOnly,example:I_.example,examples:I_.examples,...Object.fromEntries(Object.entries(I_).filter(([H_,Oy])=>H_.startsWith("x-")&&Oy!==void 0))},z_=H_=>{OpenApiTypeChecker.isNull(H_)?F_.push({type:"null"}):OpenApiTypeChecker.isConstant(H_)?F_.push({const:H_.const}):OpenApiTypeChecker.isBoolean(H_)||OpenApiTypeChecker.isInteger(H_)||OpenApiTypeChecker.isNumber(H_)||OpenApiTypeChecker.isString(H_)||OpenApiTypeChecker.isReference(H_)?F_.push({...H_}):OpenApiTypeChecker.isArray(H_)?F_.push({...H_,items:s.downgradeSchema(D_)(H_.items)}):OpenApiTypeChecker.isTuple(H_)?F_.push({...H_,prefixItems:H_.prefixItems.map(s.downgradeSchema(D_)),additionalItems:typeof H_.additionalItems=="object"?s.downgradeSchema(D_)(H_.additionalItems):H_.additionalItems}):OpenApiTypeChecker.isObject(H_)?F_.push({...H_,properties:H_.properties?Object.fromEntries(Object.entries(H_.properties).filter(([Oy,qv])=>qv!==void 0).map(([Oy,qv])=>[Oy,s.downgradeSchema(D_)(qv)])):void 0,additionalProperties:typeof H_.additionalProperties=="object"?s.downgradeSchema(D_)(H_.additionalProperties):H_.additionalProperties,required:H_.required}):OpenApiTypeChecker.isOneOf(H_)&&H_.oneOf.forEach(z_)};return z_(I_),{...F_.length===0?{type:void 0}:F_.length===1?{...F_[0]}:{oneOf:F_},...R_}};const X0=D_=>Object.fromEntries(Object.entries(D_).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,K0(F_)])),K0=D_=>{if(D_.type==="oauth2"){const{deviceAuthorization:I_,...F_}=D_.flows;return{type:"oauth2",flows:F_,description:D_.description}}return{...D_}}})(OpenApiV3_1Downgrader||(OpenApiV3_1Downgrader={}));var OpenApiV3_1TypeChecker;(function(s){s.isConstant=o=>o.const!==void 0,s.isBoolean=o=>o.type==="boolean",s.isInteger=o=>o.type==="integer",s.isNumber=o=>o.type==="number",s.isString=o=>o.type==="string",s.isArray=o=>o.type==="array",s.isObject=o=>o.type==="object",s.isReference=o=>o.$ref!==void 0,s.isRecursiveReference=o=>o.$recursiveRef!==void 0,s.isAllOf=o=>o.allOf!==void 0,s.isAnyOf=o=>o.anyOf!==void 0,s.isOneOf=o=>o.oneOf!==void 0,s.isNullOnly=o=>o.type==="null",s.isMixed=o=>Array.isArray(o.type)})(OpenApiV3_1TypeChecker||(OpenApiV3_1TypeChecker={}));var OpenApiV3_1Upgrader;(function(s){s.convert=I_=>I_["x-typia-emended-v12"]===!0?I_:{...I_,openapi:"3.2.0",components:s.convertComponents(I_.components??{}),paths:I_.paths?Object.fromEntries(Object.entries(I_.paths).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,F0(I_)(R_)])):void 0,webhooks:I_.webhooks?Object.fromEntries(Object.entries(I_.webhooks).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)]).filter(([F_,R_])=>R_!==void 0)):void 0,"x-typia-emended-v12":!0};const o=I_=>F_=>{var z_,H_;if(!OpenApiV3_1TypeChecker.isReference(F_))return F0(I_)(F_);const R_=(H_=(z_=I_.components)==null?void 0:z_.pathItems)==null?void 0:H_[F_.$ref.split("/").pop()??""];return R_?F0(I_)(R_):void 0},F0=I_=>F_=>{const R_=F_["x-additionalOperations"],z_=R_==null?void 0:R_.query,H_=R_?Object.fromEntries(Object.entries(R_).filter(([Oy,qv])=>Oy!=="query"&&qv!==void 0).map(([Oy,qv])=>[Oy,L0(I_)(F_)(qv)])):void 0;return{...F_,...F_.get?{get:L0(I_)(F_)(F_.get)}:void 0,...F_.put?{put:L0(I_)(F_)(F_.put)}:void 0,...F_.post?{post:L0(I_)(F_)(F_.post)}:void 0,...F_.delete?{delete:L0(I_)(F_)(F_.delete)}:void 0,...F_.options?{options:L0(I_)(F_)(F_.options)}:void 0,...F_.head?{head:L0(I_)(F_)(F_.head)}:void 0,...F_.patch?{patch:L0(I_)(F_)(F_.patch)}:void 0,...F_.trace?{trace:L0(I_)(F_)(F_.trace)}:void 0,...z_?{query:L0(I_)(F_)(z_)}:void 0,...H_&&Object.keys(H_).length>0?{additionalOperations:H_}:void 0,"x-additionalOperations":void 0}},L0=I_=>F_=>R_=>({...R_,parameters:F_.parameters!==void 0||R_.parameters!==void 0?[...F_.parameters??[],...R_.parameters??[]].map(z_=>{var Oy,qv,Lv,S1;if(!OpenApiV3_1TypeChecker.isReference(z_))return B0(I_.components??{})(z_);const H_=z_.$ref.startsWith("#/components/headers/")?(qv=(Oy=I_.components)==null?void 0:Oy.headers)==null?void 0:qv[z_.$ref.split("/").pop()??""]:(S1=(Lv=I_.components)==null?void 0:Lv.parameters)==null?void 0:S1[z_.$ref.split("/").pop()??""];return H_!==void 0?B0(I_.components??{})({...H_,in:"header"}):void 0}).filter((z_,H_)=>H_!==void 0):void 0,requestBody:R_.requestBody?q0(I_)(R_.requestBody):void 0,responses:R_.responses?Object.fromEntries(Object.entries(R_.responses).filter(([z_,H_])=>H_!==void 0).map(([z_,H_])=>[z_,W0(I_)(H_)]).filter(([z_,H_])=>H_!==void 0)):void 0}),B0=I_=>F_=>({...F_,schema:s.convertSchema(I_)(F_.schema),examples:F_.examples?Object.fromEntries(Object.entries(F_.examples).map(([R_,z_])=>{var H_;return[R_,OpenApiV3_1TypeChecker.isReference(z_)?(H_=I_.examples)==null?void 0:H_[z_.$ref.split("/").pop()??""]:z_]}).filter(([R_,z_])=>z_!==void 0)):void 0}),q0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.requestBodies)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?X0(I_.components??{})(F_.content):void 0}},W0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.responses)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?X0(I_.components??{})(F_.content):void 0,headers:F_.headers?Object.fromEntries(Object.entries(F_.headers).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>[H_,(()=>{var Lv,S1;if(OpenApiV3_1TypeChecker.isReference(Oy)===!1)return B0(I_.components??{})({...Oy,in:"header"});const qv=Oy.$ref.startsWith("#/components/headers/")?(S1=(Lv=I_.components)==null?void 0:Lv.headers)==null?void 0:S1[Oy.$ref.split("/").pop()??""]:void 0;return qv!==void 0?B0(I_.components??{})({...qv,in:"header"}):void 0})()]).filter(([H_,Oy])=>Oy!==void 0)):void 0}},X0=I_=>F_=>Object.fromEntries(Object.entries(F_).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{...z_,schema:z_.schema?s.convertSchema(I_)(z_.schema):void 0,examples:z_.examples?Object.fromEntries(Object.entries(z_.examples).map(([H_,Oy])=>{var qv;return[H_,OpenApiV3_1TypeChecker.isReference(Oy)?(qv=I_.examples)==null?void 0:qv[Oy.$ref.split("/").pop()??""]:Oy]}).filter(([H_,Oy])=>Oy!==void 0)):void 0}]));s.convertComponents=I_=>({schemas:Object.fromEntries(Object.entries(I_.schemas??{}).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,s.convertSchema(I_)(R_)])),securitySchemes:I_.securitySchemes}),s.convertSchema=I_=>F_=>{const R_=[],z_={title:F_.title,description:F_.description,deprecated:F_.deprecated,readOnly:F_.readOnly,writeOnly:F_.writeOnly,example:F_.example,examples:Array.isArray(F_.examples)?Object.fromEntries(F_.examples.map((qv,Lv)=>[`v${Lv}`,qv])):F_.examples,...Object.fromEntries(Object.entries(F_).filter(([qv,Lv])=>qv.startsWith("x-")&&Lv!==void 0))},H_={value:!1,default:void 0},Oy=qv=>{var Lv,S1,iv,Yv,_x,Qv,Fx;if(qv.nullable===!0&&(H_.value||(H_.value=!0),qv.default===null&&(H_.default=null)),Array.isArray(qv.enum)&&((Lv=qv.enum)!=null&&Lv.length)&&((S1=qv.enum)!=null&&S1.some(jx=>jx===null))&&(H_.value||(H_.value=!0)),OpenApiV3_1TypeChecker.isMixed(qv)){qv.const!==void 0&&Oy({...qv,type:void 0,oneOf:void 0,anyOf:void 0,allOf:void 0,$ref:void 0}),qv.oneOf!==void 0&&Oy({...qv,type:void 0,anyOf:void 0,allOf:void 0,$ref:void 0}),qv.anyOf!==void 0&&Oy({...qv,type:void 0,oneOf:void 0,allOf:void 0,$ref:void 0}),qv.allOf!==void 0&&Oy({...qv,type:void 0,oneOf:void 0,anyOf:void 0,$ref:void 0});for(const jx of qv.type)Oy(jx==="boolean"||jx==="number"||jx==="string"?{...qv,enum:(iv=qv.enum)!=null&&iv.length&&qv.enum.filter(K7=>K7!==null)?qv.enum.filter(K7=>typeof K7===jx):void 0,type:jx}:jx==="integer"?{...qv,enum:(Yv=qv.enum)!=null&&Yv.length&&qv.enum.filter(K7=>K7!==null)?qv.enum.filter(K7=>K7!==null&&typeof K7=="number"&&Number.isInteger(K7)):void 0,type:jx}:{...qv,type:jx})}else if(OpenApiV3_1TypeChecker.isOneOf(qv))qv.oneOf.forEach(Oy);else if(OpenApiV3_1TypeChecker.isAnyOf(qv))qv.anyOf.forEach(Oy);else if(OpenApiV3_1TypeChecker.isAllOf(qv))qv.allOf.length===1?Oy(qv.allOf[0]):R_.push(K0(I_)(qv));else if(OpenApiV3_1TypeChecker.isBoolean(qv))if((_x=qv.enum)!=null&&_x.length&&qv.enum.filter(jx=>jx!==null).length)for(const jx of qv.enum.filter(K7=>K7!==null))R_.push({const:jx,...qv,type:void 0,enum:void 0,default:void 0});else R_.push({...qv,default:qv.default??void 0,enum:void 0});else if(OpenApiV3_1TypeChecker.isInteger(qv)||OpenApiV3_1TypeChecker.isNumber(qv))if((Qv=qv.enum)!=null&&Qv.length&&qv.enum.filter(jx=>jx!==null))for(const jx of qv.enum.filter(K7=>K7!==null))R_.push({const:jx,...qv,type:void 0,enum:void 0,default:void 0,minimum:void 0,maximum:void 0,exclusiveMinimum:void 0,exclusiveMaximum:void 0,multipleOf:void 0});else R_.push(OpenApiExclusiveEmender.emend({...qv,default:qv.default??void 0,enum:void 0,exclusiveMinimum:typeof qv.exclusiveMinimum=="boolean"?qv.exclusiveMinimum===!0?qv.minimum:void 0:qv.exclusiveMinimum,exclusiveMaximum:typeof qv.exclusiveMaximum=="boolean"?qv.exclusiveMaximum===!0?qv.maximum:void 0:qv.exclusiveMaximum,minimum:qv.exclusiveMinimum===!0?void 0:qv.minimum,maximum:qv.exclusiveMaximum===!0?void 0:qv.maximum}));else if(OpenApiV3_1TypeChecker.isString(qv))if((Fx=qv.enum)!=null&&Fx.length&&qv.enum.filter(jx=>jx!==null).length)for(const jx of qv.enum.filter(K7=>K7!==null))R_.push({const:jx,...qv,type:void 0,enum:void 0,default:void 0});else R_.push({...qv,default:qv.default??void 0,enum:void 0});else OpenApiV3_1TypeChecker.isArray(qv)?Array.isArray(qv.items)?R_.push({...qv,items:void 0,prefixItems:qv.items.map(s.convertSchema(I_)),additionalItems:typeof qv.additionalItems=="object"&&qv.additionalItems!==null?s.convertSchema(I_)(qv.additionalItems):qv.additionalItems}):Array.isArray(qv.prefixItems)?R_.push({...qv,items:void 0,prefixItems:qv.prefixItems.map(s.convertSchema(I_)),additionalItems:typeof qv.additionalItems=="object"&&qv.additionalItems!==null?s.convertSchema(I_)(qv.additionalItems):qv.additionalItems}):qv.items===void 0?R_.push({...qv,items:void 0,prefixItems:[]}):R_.push({...qv,items:s.convertSchema(I_)(qv.items),prefixItems:void 0,additionalItems:void 0}):OpenApiV3_1TypeChecker.isObject(qv)?R_.push({...qv,properties:qv.properties?Object.fromEntries(Object.entries(qv.properties).filter(([jx,K7])=>K7!==void 0).map(([jx,K7])=>[jx,s.convertSchema(I_)(K7)])):{},additionalProperties:qv.additionalProperties?typeof qv.additionalProperties=="object"&&qv.additionalProperties!==null?s.convertSchema(I_)(qv.additionalProperties):qv.additionalProperties:void 0,required:qv.required??[]}):OpenApiV3_1TypeChecker.isReference(qv)?R_.push({...qv,$ref:`#/components/schemas/${qv.$ref.split("/").pop()}`}):OpenApiV3_1TypeChecker.isRecursiveReference(qv)?R_.push({...qv,$ref:`#/components/schemas/${qv.$recursiveRef.split("/").pop()}`,$recursiveRef:void 0}):R_.push(qv)};if(Oy(F_),H_.value===!0&&!R_.some(qv=>qv.type==="null")&&R_.push({type:"null",default:H_.default}),R_.length===2&&R_.filter(qv=>OpenApiTypeChecker.isNull(qv)).length===1){const qv=R_.filter(Lv=>OpenApiTypeChecker.isNull(Lv)===!1)[0];for(const Lv of["title","description","deprecated","readOnly","writeOnly","example","examples"])qv[Lv]!==void 0&&delete qv[Lv]}return{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_.map(qv=>({...qv,nullable:void 0,$defs:void 0}))},...z_,nullable:void 0,$defs:void 0}};const K0=I_=>F_=>{const R_=F_.allOf.map(z_=>D_(I_)(z_));return R_.some(z_=>z_===null)?{type:void 0,allOf:void 0}:{...F_,type:"object",properties:Object.fromEntries(R_.map(z_=>Object.entries((z_==null?void 0:z_.properties)??{})).flat().map(([z_,H_])=>[z_,s.convertSchema(I_)(H_)])),allOf:void 0,required:[...new Set(R_.map(z_=>(z_==null?void 0:z_.required)??[]).flat())]}},D_=I_=>(F_,R_=new Set)=>{var z_,H_;return OpenApiV3_1TypeChecker.isObject(F_)?F_.properties!==void 0&&!F_.additionalProperties?F_:null:R_.has(F_)?null:(R_.add(F_),OpenApiV3_1TypeChecker.isReference(F_)?D_(I_)(((z_=I_.schemas)==null?void 0:z_[F_.$ref.split("/").pop()??""])??{},R_):OpenApiV3_1TypeChecker.isRecursiveReference(F_)?D_(I_)(((H_=I_.schemas)==null?void 0:H_[F_.$recursiveRef.split("/").pop()??""])??{},R_):null)}})(OpenApiV3_1Upgrader||(OpenApiV3_1Upgrader={}));var OpenApiV3_2Upgrader;(function(s){s.convert=I_=>{var F_;return I_["x-typia-emended-v12"]===!0?I_:{...I_,openapi:"3.2.0",components:s.convertComponents(I_.components??{}),tags:(F_=I_.tags)==null?void 0:F_.map(o),paths:I_.paths?Object.fromEntries(Object.entries(I_.paths).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,L0(I_)(z_)])):void 0,webhooks:I_.webhooks?Object.fromEntries(Object.entries(I_.webhooks).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,F0(I_)(z_)]).filter(([R_,z_])=>z_!==void 0)):void 0,"x-typia-emended-v12":!0}};const o=I_=>({name:I_.name,summary:I_.summary,description:I_.description,parent:I_.parent,kind:I_.kind}),F0=I_=>F_=>{var z_,H_;if(!OpenApiV3_1TypeChecker.isReference(F_))return L0(I_)(F_);const R_=(H_=(z_=I_.components)==null?void 0:z_.pathItems)==null?void 0:H_[F_.$ref.split("/").pop()??""];return R_?L0(I_)(R_):void 0},L0=I_=>F_=>({...F_,...F_.get?{get:B0(I_)(F_)(F_.get)}:void 0,...F_.put?{put:B0(I_)(F_)(F_.put)}:void 0,...F_.post?{post:B0(I_)(F_)(F_.post)}:void 0,...F_.delete?{delete:B0(I_)(F_)(F_.delete)}:void 0,...F_.options?{options:B0(I_)(F_)(F_.options)}:void 0,...F_.head?{head:B0(I_)(F_)(F_.head)}:void 0,...F_.patch?{patch:B0(I_)(F_)(F_.patch)}:void 0,...F_.trace?{trace:B0(I_)(F_)(F_.trace)}:void 0,...F_.query?{query:B0(I_)(F_)(F_.query)}:void 0,...F_.additionalOperations?{additionalOperations:Object.fromEntries(Object.entries(F_.additionalOperations).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,B0(I_)(F_)(z_)]))}:void 0}),B0=I_=>F_=>R_=>({...R_,parameters:F_.parameters!==void 0||R_.parameters!==void 0?[...F_.parameters??[],...R_.parameters??[]].map(z_=>{var Oy,qv,Lv,S1;if(!OpenApiV3_1TypeChecker.isReference(z_))return q0(I_.components??{})(z_);const H_=z_.$ref.startsWith("#/components/headers/")?(qv=(Oy=I_.components)==null?void 0:Oy.headers)==null?void 0:qv[z_.$ref.split("/").pop()??""]:(S1=(Lv=I_.components)==null?void 0:Lv.parameters)==null?void 0:S1[z_.$ref.split("/").pop()??""];return H_!==void 0?q0(I_.components??{})({...H_,in:"header"}):void 0}).filter((z_,H_)=>H_!==void 0):void 0,requestBody:R_.requestBody?W0(I_)(R_.requestBody):void 0,responses:R_.responses?Object.fromEntries(Object.entries(R_.responses).filter(([z_,H_])=>H_!==void 0).map(([z_,H_])=>[z_,X0(I_)(H_)]).filter(([z_,H_])=>H_!==void 0)):void 0}),q0=I_=>F_=>({...F_,schema:s.convertSchema(I_)(F_.schema),examples:F_.examples?Object.fromEntries(Object.entries(F_.examples).map(([R_,z_])=>{var H_;return[R_,OpenApiV3_1TypeChecker.isReference(z_)?(H_=I_.examples)==null?void 0:H_[z_.$ref.split("/").pop()??""]:z_]}).filter(([R_,z_])=>z_!==void 0)):void 0}),W0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.requestBodies)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?K0(I_.components??{})(F_.content):void 0}},X0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.responses)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?K0(I_.components??{})(F_.content):void 0,headers:F_.headers?Object.fromEntries(Object.entries(F_.headers).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>[H_,(()=>{var Lv,S1;if(OpenApiV3_1TypeChecker.isReference(Oy)===!1)return q0(I_.components??{})({...Oy,in:"header"});const qv=Oy.$ref.startsWith("#/components/headers/")?(S1=(Lv=I_.components)==null?void 0:Lv.headers)==null?void 0:S1[Oy.$ref.split("/").pop()??""]:void 0;return qv!==void 0?q0(I_.components??{})({...qv,in:"header"}):void 0})()]).filter(([H_,Oy])=>Oy!==void 0)):void 0}},K0=I_=>F_=>Object.fromEntries(Object.entries(F_).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{...z_,schema:z_.schema?s.convertSchema(I_)(z_.schema):void 0,itemSchema:z_.itemSchema?s.convertSchema(I_)(z_.itemSchema):void 0,examples:z_.examples?Object.fromEntries(Object.entries(z_.examples).map(([H_,Oy])=>{var qv;return[H_,OpenApiV3_1TypeChecker.isReference(Oy)?(qv=I_.examples)==null?void 0:qv[Oy.$ref.split("/").pop()??""]:Oy]}).filter(([H_,Oy])=>Oy!==void 0)):void 0}]));s.convertComponents=I_=>({schemas:Object.fromEntries(Object.entries(I_.schemas??{}).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,s.convertSchema(I_)(R_)])),securitySchemes:I_.securitySchemes?Object.fromEntries(Object.entries(I_.securitySchemes).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,D_(R_)])):void 0});const D_=I_=>I_.type==="oauth2"?{...I_,flows:{...I_.flows,deviceAuthorization:I_.flows.deviceAuthorization},oauth2MetadataUrl:I_.oauth2MetadataUrl}:I_;s.convertSchema=I_=>F_=>OpenApiV3_1Upgrader.convertSchema(I_)(F_)})(OpenApiV3_2Upgrader||(OpenApiV3_2Upgrader={}));var SwaggerV2Downgrader;(function(s){s.downgrade=D_=>{var F_,R_,z_;const I_=s.downgradeComponents(D_.components);return{swagger:"2.0",info:D_.info,host:(R_=(F_=D_.servers)==null?void 0:F_[0])!=null&&R_.url?D_.servers[0].url.split("://").pop():"",definitions:I_.downgraded,securityDefinitions:(z_=D_.components)!=null&&z_.securitySchemes?Object.fromEntries(Object.entries(D_.components.securitySchemes).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>X0(Oy).map(qv=>[H_,qv])).flat()):void 0,paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>[H_,o(I_)(Oy)])):void 0,security:D_.security,tags:D_.tags}};const o=D_=>I_=>{const F_={};if(I_.query&&(F_.query=F0(D_)(I_.query)),I_.additionalOperations)for(const[R_,z_]of Object.entries(I_.additionalOperations))z_!==void 0&&(F_[R_]=F0(D_)(z_));return{...I_,...I_.get?{get:F0(D_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_.trace)}:void 0,...Object.keys(F_).length>0?{"x-additionalOperations":F_}:void 0,query:void 0,additionalOperations:void 0}},F0=D_=>I_=>({...I_,parameters:I_.parameters!==void 0||I_.requestBody!==void 0?[...(I_.parameters??[]).map(L0(D_)),...I_.requestBody?[B0(D_)(I_.requestBody)]:[]]:void 0,responses:I_.responses?Object.fromEntries(Object.entries(I_.responses).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,q0(D_)(R_)])):void 0,requestBody:void 0,servers:void 0}),L0=D_=>(I_,F_)=>{var R_;return{...s.downgradeSchema(D_)(I_.schema),...I_,in:I_.in==="querystring"?"query":I_.in,required:(R_=I_.schema)==null?void 0:R_.required,schema:void 0,name:I_.name??`p${F_}`,example:void 0,examples:void 0}},B0=D_=>I_=>{var F_;return{name:"body",in:"body",description:I_.description,required:I_.required,schema:s.downgradeSchema(D_)(((F_=Object.values(I_.content??{})[0])==null?void 0:F_.schema)??{})}},q0=D_=>I_=>{var F_;return{description:I_.description,schema:s.downgradeSchema(D_)(((F_=Object.values(I_.content??{})[0])==null?void 0:F_.schema)??{}),headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{...z_,schema:s.downgradeSchema(D_)(z_.schema),example:void 0,examples:void 0}])):void 0}};s.downgradeComponents=D_=>{const I_={original:D_,downgraded:{}};if(D_.schemas){I_.downgraded.schemas={};for(const[F_,R_]of Object.entries(D_.schemas))R_!==void 0&&(I_.downgraded[F_.split("/").pop()]=s.downgradeSchema(I_)(R_))}return I_},s.downgradeSchema=D_=>I_=>{const F_=K0(new Set)(D_.original)(I_),R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,example:I_.example,examples:I_.examples?Object.values(I_.examples):void 0,...Object.fromEntries(Object.entries(I_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0))},H_=Oy=>{OpenApiTypeChecker.isBoolean(Oy)?R_.push({type:"boolean"}):OpenApiTypeChecker.isBoolean(Oy)||OpenApiTypeChecker.isInteger(Oy)||OpenApiTypeChecker.isNumber(Oy)||OpenApiTypeChecker.isString(Oy)?R_.push({...Oy,examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isReference(Oy)?R_.push({$ref:`#/definitions/${Oy.$ref.split("/").pop()}`}):OpenApiTypeChecker.isArray(Oy)?R_.push({...Oy,items:s.downgradeSchema(D_)(Oy.items),examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isTuple(Oy)?R_.push({...Oy,items:(()=>{if(Oy.additionalItems===!0)return{};const qv=[...Oy.prefixItems,...typeof Oy.additionalItems=="object"?[s.downgradeSchema(D_)(Oy.additionalItems)]:[]];return qv.length===0?{}:{"x-oneOf":qv.map(s.downgradeSchema(D_))}})(),minItems:Oy.prefixItems.length,maxItems:Oy.additionalItems?void 0:Oy.prefixItems.length,prefixItems:void 0,additionalItems:void 0,examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isObject(Oy)?R_.push({...Oy,properties:Oy.properties?Object.fromEntries(Object.entries(Oy.properties).filter(([qv,Lv])=>Lv!==void 0).map(([qv,Lv])=>[qv,s.downgradeSchema(D_)(Lv)])):void 0,additionalProperties:typeof Oy.additionalProperties=="object"?s.downgradeSchema(D_)(Oy.additionalProperties):Oy.additionalProperties,required:Oy.required,examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isOneOf(Oy)&&Oy.oneOf.forEach(H_)};if(H_(I_),F_)for(const Oy of R_)OpenApiTypeChecker.isReference(Oy)?W0(new Set)(D_)(Oy):Oy["x-nullable"]=!0;return F_===!0&&R_.length===0?{type:"null",...z_}:{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{"x-oneOf":R_},...z_,...R_.length>1?{discriminator:void 0}:{}}};const W0=D_=>I_=>F_=>{var H_;const R_=F_.$ref.split("/").pop();if(R_.endsWith(".Nullable"))return;const z_=(H_=I_.original.schemas)==null?void 0:H_[R_];if(z_!==void 0){{if(K0(D_)(I_.original)(z_)===!0)return;I_.downgraded[`${R_}.Nullable`]===void 0&&(I_.downgraded[`${R_}.Nullable`]={},I_.downgraded[`${R_}.Nullable`]=s.downgradeSchema(I_)(OpenApiTypeChecker.isOneOf(z_)?{...z_,oneOf:[...z_.oneOf,{type:"null"}]}:{title:z_.title,description:z_.description,example:z_.example,examples:z_.examples?Object.values(z_.examples):void 0,...Object.fromEntries(Object.entries(z_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0)),oneOf:[z_,{type:"null"}]}))}F_.$ref+=".Nullable"}},X0=D_=>{if(D_.type==="apiKey")return[D_];if(D_.type==="http")return D_.scheme==="basic"?[{type:"basic",description:D_.description}]:[];if(D_.type==="oauth2"){const I_=[];return D_.flows.implicit&&I_.push({type:"oauth2",flow:"implicit",authorizationUrl:D_.flows.implicit.authorizationUrl,scopes:D_.flows.implicit.scopes}),D_.flows.password&&I_.push({type:"oauth2",flow:"password",tokenUrl:D_.flows.password.tokenUrl,scopes:D_.flows.password.scopes}),D_.flows.clientCredentials&&I_.push({type:"oauth2",flow:"application",tokenUrl:D_.flows.clientCredentials.tokenUrl,scopes:D_.flows.clientCredentials.scopes}),D_.flows.authorizationCode&&I_.push({type:"oauth2",flow:"accessCode",authorizationUrl:D_.flows.authorizationCode.authorizationUrl,tokenUrl:D_.flows.authorizationCode.tokenUrl,scopes:D_.flows.authorizationCode.scopes}),I_}return[]},K0=D_=>I_=>F_=>{var R_;if(OpenApiTypeChecker.isNull(F_))return!0;if(OpenApiTypeChecker.isReference(F_)){if(D_.has(F_.$ref))return!1;D_.add(F_.$ref);const z_=F_.$ref.split("/").pop(),H_=(R_=I_.schemas)==null?void 0:R_[z_];return H_?K0(D_)(I_)(H_):!1}return OpenApiTypeChecker.isOneOf(F_)&&F_.oneOf.some(K0(D_)(I_))}})(SwaggerV2Downgrader||(SwaggerV2Downgrader={}));var SwaggerV2TypeChecker;(function(s){s.isBoolean=o=>o.type==="boolean",s.isInteger=o=>o.type==="integer",s.isNumber=o=>o.type==="number",s.isString=o=>o.type==="string",s.isArray=o=>o.type==="array",s.isObject=o=>o.type==="object",s.isReference=o=>o.$ref!==void 0,s.isAllOf=o=>o.allOf!==void 0,s.isOneOf=o=>o["x-oneOf"]!==void 0,s.isAnyOf=o=>o["x-anyOf"]!==void 0,s.isNullOnly=o=>o.type==="null"})(SwaggerV2TypeChecker||(SwaggerV2TypeChecker={}));var SwaggerV2Upgrader;(function(s){s.convert=D_=>({openapi:"3.2.0",info:D_.info,components:s.convertComponents(D_),paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,o(D_)(F_)])):void 0,servers:D_.host?[{url:D_.host}]:void 0,security:D_.security,tags:D_.tags,"x-typia-emended-v12":!0});const o=D_=>I_=>{const F_=I_["x-additionalOperations"],R_=F_==null?void 0:F_.query,z_=F_?Object.fromEntries(Object.entries(F_).filter(([H_,Oy])=>H_!=="query"&&Oy!==void 0).map(([H_,Oy])=>[H_,F0(D_)(I_)(Oy)])):void 0;return{...I_,...I_.get?{get:F0(D_)(I_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_)(I_.trace)}:void 0,...R_?{query:F0(D_)(I_)(R_)}:void 0,...z_&&Object.keys(z_).length>0?{additionalOperations:z_}:void 0,"x-additionalOperations":void 0}},F0=D_=>I_=>F_=>({...F_,parameters:I_.parameters!==void 0||F_.parameters!==void 0?[...I_.parameters??[],...F_.parameters??[]].map(R_=>{var z_;return SwaggerV2TypeChecker.isReference(R_)?(z_=D_.parameters)==null?void 0:z_[R_.$ref.split("/").pop()??""]:R_}).filter(R_=>R_!==void 0&&R_.in!=="body"&&R_.schema===void 0).map(L0(D_.definitions??{})):void 0,requestBody:(()=>{var z_;const R_=(z_=F_.parameters)==null?void 0:z_.find(H_=>{var Oy;return SwaggerV2TypeChecker.isReference(H_)&&(H_=(Oy=D_.parameters)==null?void 0:Oy[H_.$ref.split("/").pop()??""]),(H_==null?void 0:H_.schema)!==void 0});return R_?B0(D_.definitions??{})(R_):void 0})(),responses:F_.responses?Object.fromEntries(Object.entries(F_.responses).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,q0(D_)(z_)]).filter(([R_,z_])=>z_!==void 0)):void 0}),L0=D_=>I_=>({name:I_.name,in:I_.in,description:I_.description,schema:s.convertSchema(D_)(I_),required:!0}),B0=D_=>I_=>({description:I_.description,content:{"application/json":{schema:s.convertSchema(D_)(I_.schema)}}}),q0=D_=>I_=>{var F_;if(SwaggerV2TypeChecker.isReference(I_)){const R_=(F_=D_.responses)==null?void 0:F_[I_.$ref.split("/").pop()??""];if(R_===void 0)return;I_=R_}return{description:I_.description,content:I_.schema?{"application/json":{schema:s.convertSchema(D_.definitions??{})(I_.schema),example:I_.example}}:void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{schema:s.convertSchema(D_.definitions??{})(z_),in:"header"}])):void 0}};s.convertComponents=D_=>({schemas:Object.fromEntries(Object.entries(D_.definitions??{}).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,s.convertSchema(D_.definitions??{})(F_)])),securitySchemes:D_.securityDefinitions?Object.fromEntries(Object.entries(D_.securityDefinitions).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,W0(F_)]).filter(([I_,F_])=>F_!==void 0)):void 0});const W0=D_=>{if(D_.type==="apiKey")return D_;if(D_.type==="basic")return{type:"http",scheme:"basic",description:D_.description};if(D_.type==="oauth2")return D_.flow==="implicit"?{type:"oauth2",description:D_.description,flows:{implicit:{authorizationUrl:D_.authorizationUrl,scopes:D_.scopes}}}:D_.flow==="accessCode"?{type:"oauth2",description:D_.description,flows:{authorizationCode:{authorizationUrl:D_.authorizationUrl,tokenUrl:D_.tokenUrl,scopes:D_.scopes}}}:D_.flow==="password"?{type:"oauth2",description:D_.description,flows:{password:{tokenUrl:D_.tokenUrl,scopes:D_.scopes}}}:D_.flow==="application"?{type:"oauth2",description:D_.description,flows:{clientCredentials:{tokenUrl:D_.tokenUrl,scopes:D_.scopes}}}:void 0};s.convertSchema=D_=>I_=>{const F_={value:!1,default:void 0},R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,example:I_.example,examples:I_.examples?Object.fromEntries(I_.examples.map((Oy,qv)=>[`v${qv}`,Oy])):void 0,...Object.fromEntries(Object.entries(I_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0))},H_=Oy=>{var qv,Lv,S1;Oy["x-nullable"]===!0&&(F_.value||(F_.value=!0),Oy.default===null&&(F_.default=null)),Array.isArray(Oy.enum)&&((qv=Oy.enum)!=null&&qv.length)&&((Lv=Oy.enum)!=null&&Lv.some(iv=>iv===null))&&(F_.value||(F_.value=!0)),SwaggerV2TypeChecker.isAnyOf(Oy)?Oy["x-anyOf"].forEach(H_):SwaggerV2TypeChecker.isOneOf(Oy)?Oy["x-oneOf"].forEach(H_):SwaggerV2TypeChecker.isAllOf(Oy)?Oy.allOf.length===1?H_(Oy.allOf[0]):R_.push(X0(D_)(Oy)):SwaggerV2TypeChecker.isBoolean(Oy)||SwaggerV2TypeChecker.isInteger(Oy)||SwaggerV2TypeChecker.isNumber(Oy)||SwaggerV2TypeChecker.isString(Oy)?(S1=Oy.enum)!=null&&S1.length&&Oy.enum.filter(iv=>iv!==null).length?R_.push(...Oy.enum.filter(iv=>iv!==null).map(iv=>({const:iv}))):SwaggerV2TypeChecker.isInteger(Oy)||SwaggerV2TypeChecker.isNumber(Oy)?R_.push(OpenApiExclusiveEmender.emend({...Oy,default:Oy.default??void 0,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0,exclusiveMinimum:typeof Oy.exclusiveMinimum=="boolean"?Oy.exclusiveMinimum===!0?Oy.minimum:void 0:Oy.exclusiveMinimum,exclusiveMaximum:typeof Oy.exclusiveMaximum=="boolean"?Oy.exclusiveMaximum===!0?Oy.maximum:void 0:Oy.exclusiveMaximum,minimum:Oy.exclusiveMinimum===!0?void 0:Oy.minimum,maximum:Oy.exclusiveMaximum===!0?void 0:Oy.maximum,enum:void 0})):R_.push({...Oy,default:Oy.default??void 0,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0,enum:void 0}):SwaggerV2TypeChecker.isArray(Oy)?R_.push({...Oy,items:s.convertSchema(D_)(Oy.items),examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0}):SwaggerV2TypeChecker.isObject(Oy)?R_.push({...Oy,properties:Oy.properties?Object.fromEntries(Object.entries(Oy.properties).filter(([iv,Yv])=>Yv!==void 0).map(([iv,Yv])=>[iv,s.convertSchema(D_)(Yv)])):{},additionalProperties:Oy.additionalProperties?typeof Oy.additionalProperties=="object"&&Oy.additionalProperties!==null?s.convertSchema(D_)(Oy.additionalProperties):Oy.additionalProperties:void 0,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0,required:Oy.required??[]}):SwaggerV2TypeChecker.isReference(Oy)?R_.push({...Oy,$ref:Oy.$ref.replace("#/definitions/","#/components/schemas/"),examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0}):R_.push({...Oy,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0})};if(H_(I_),F_.value===!0&&!R_.some(Oy=>Oy.type==="null")&&R_.push({type:"null",default:F_.default}),R_.length===2&&R_.filter(Oy=>OpenApiTypeChecker.isNull(Oy)).length===1){const Oy=R_.filter(qv=>OpenApiTypeChecker.isNull(qv)===!1)[0];for(const qv of["title","description","deprecated","example","examples"])Oy[qv]!==void 0&&delete Oy[qv]}return{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_.map(Oy=>({...Oy,"x-nullable":void 0}))},...z_,"x-nullable":void 0}};const X0=D_=>I_=>{const F_=I_.allOf.map(R_=>K0(D_)(R_));return F_.some(R_=>R_===null)?{type:void 0,allOf:void 0}:{...I_,type:"object",properties:Object.fromEntries(F_.map(R_=>Object.entries((R_==null?void 0:R_.properties)??{})).flat().map(([R_,z_])=>[R_,s.convertSchema(D_)(z_)])),allOf:void 0,required:[...new Set(F_.map(R_=>(R_==null?void 0:R_.required)??[]).flat())]}},K0=D_=>(I_,F_=new Set)=>SwaggerV2TypeChecker.isObject(I_)?I_.properties!==void 0&&!I_.additionalProperties?I_:null:F_.has(I_)?null:(F_.add(I_),SwaggerV2TypeChecker.isReference(I_)?K0(D_)((D_==null?void 0:D_[I_.$ref.split("/").pop()??""])??{},F_):null)})(SwaggerV2Upgrader||(SwaggerV2Upgrader={}));var OpenApiConverter;(function(s){function o(X0){if(isUpgraded(X0))return X0;if(is_v32(X0))return OpenApiV3_2Upgrader.convert(X0);if(is_v31(X0))return OpenApiV3_1Upgrader.convert(X0);if(is_v30(X0))return OpenApiV3Upgrader.convert(X0);if(is_v20(X0))return SwaggerV2Upgrader.convert(X0);throw new Error("Invalid OpenAPI document")}s.upgradeDocument=o;function F0(X0,K0){if(K0==="2.0")return SwaggerV2Downgrader.downgrade(X0);if(K0==="3.0")return OpenApiV3Downgrader.downgrade(X0);if(K0==="3.1")return OpenApiV3_1Downgrader.downgrade(X0);throw new Error("Invalid OpenAPI version")}s.downgradeDocument=F0;function L0(X0){return is_v20(X0)?SwaggerV2Upgrader.convertComponents(X0):OpenApiV3_1Upgrader.convertComponents(X0)}s.upgradeComponents=L0;function B0(X0,K0){return K0==="2.0"?SwaggerV2Downgrader.downgradeComponents(X0).downgraded:K0==="3.1"?OpenApiV3_1Downgrader.downgradeComponents(X0).downgraded:OpenApiV3Downgrader.downgradeComponents(X0).downgraded}s.downgradeComponents=B0;function q0(X0){return"definitions"in X0?SwaggerV2Upgrader.convertSchema(X0.definitions)(X0.schema):OpenApiV3_1Upgrader.convertSchema(X0.components)(X0.schema)}s.upgradeSchema=q0;function W0(X0){return X0.version==="2.0"?SwaggerV2Downgrader.downgradeSchema({original:X0.components,downgraded:X0.downgraded})(X0.schema):X0.version==="3.1"?OpenApiV3_1Downgrader.downgradeSchema({original:X0.components,downgraded:X0.downgraded})(X0.schema):OpenApiV3Downgrader.downgradeSchema({original:X0.components,downgraded:X0.downgraded})(X0.schema)}s.downgradeSchema=W0})(OpenApiConverter||(OpenApiConverter={}));const is_v20=s=>typeof s=="object"&&s!==null&&"swagger"in s&&typeof s.swagger=="string"&&s.swagger.startsWith("2.0"),is_v30=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.0"),is_v31=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.1"),is_v32=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.2"),isUpgraded=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.2")&&s["x-typia-emended-v12"]===!0;class HttpError extends Error{constructor(F0,L0,B0,q0,W0){super(W0);mA(this,"method");mA(this,"path");mA(this,"status");mA(this,"headers");mA(this,"body_",NOT_YET);this.method=F0,this.path=L0,this.status=B0,this.headers=q0;const X0=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,X0):this.__proto__=X0}toJSON(){if(this.body_===NOT_YET)try{this.body_=JSON.parse(this.message)}catch{this.body_=this.message}return{method:this.method,path:this.path,status:this.status,headers:this.headers,message:this.body_}}}const NOT_YET={};var EndpointUtil;(function(s){s.capitalize=o=>o.length!==0?o[0].toUpperCase()+o.slice(1).toLowerCase():o,s.pascal=o=>s.splitWithNormalization(o).filter(F0=>F0[0]!=="{").map(NamingConvention.pascal).join(""),s.splitWithNormalization=o=>o.split("/").map(F0=>s.normalize(F0.trim())).filter(F0=>!!F0.length),s.reJoinWithDecimalParameters=o=>(o=o.split("/").map(F0=>F0[0]==="{"&&F0[F0.length-1]==="}"?`:${F0.substring(1,F0.length-1)}`:F0).join("/"),`${o.startsWith("/")?"":"/"}${o}`),s.normalize=o=>(o=o.split(".").join("_").split("-").join("_").trim(),o.length===0?o:NamingConvention.reserved(o)?`_${o}`:(o.length!==0&&"0"<=o[0]&&o[0]<="9"&&(o=`_${o}`),o)),s.escapeDuplicate=o=>F0=>o.includes(F0)?s.escapeDuplicate(o)(`_${F0}`):F0})(EndpointUtil||(EndpointUtil={}));var HttpMigrateRouteAccessor;(function(s){s.overwrite=B0=>{const q0=L0(B0),W0=o(X0=>X0.emendedPath.split("/").filter(K0=>!!K0.length&&K0[0]!==":").map(EndpointUtil.normalize).map(K0=>NamingConvention.variable(K0)?K0:`_${K0}`))(B0);for(const X0 of W0.values())X0.entries.forEach((K0,D_)=>{K0.alias=EndpointUtil.escapeDuplicate([...X0.children,...X0.entries.filter((R_,z_)=>D_!==z_).map(R_=>R_.alias)].map(EndpointUtil.normalize))(EndpointUtil.normalize(K0.alias));const I_=[...K0.route.parameters,...K0.route.body?[K0.route.body]:[],...K0.route.headers?[K0.route.headers]:[],...K0.route.query?[K0.route.query]:[]];I_.forEach((R_,z_)=>R_.key=EndpointUtil.escapeDuplicate(["connection",K0.alias,...I_.filter((H_,Oy)=>z_!==Oy).map(H_=>H_.key)])(R_.key));const F_=K0.route.operation()["x-samchon-accessor"];F_!==void 0&&q0.get(F_.join("."))===1?K0.route.accessor=F_:K0.route.accessor=[...X0.namespace,K0.alias]});for(const X0 of B0)for(;;){const K0=B0.find(D_=>D_.accessor.length<X0.accessor.length&&X0.accessor.slice(0,D_.accessor.length).every((I_,F_)=>I_===D_.accessor[F_]));if(K0===void 0)break;X0.accessor[K0.accessor.length-1]=`_${X0.accessor[K0.accessor.length-1]}`}};const o=B0=>q0=>{const W0=new Map;for(const X0 of q0){const K0=B0(X0);let D_=MapUtil$1.take(W0,K0.join("."),()=>({namespace:K0,children:new Set,entries:[]}));D_.entries.push({route:X0,alias:F0(X0)}),K0.slice(0,-1).forEach((F_,R_,z_)=>{const H_=K0.slice(0,z_.length-R_);MapUtil$1.take(W0,H_.join("."),()=>({namespace:H_,children:new Set,entries:[]})).children.add(D_.namespace.at(-1))});const I_=MapUtil$1.take(W0,"",()=>({namespace:[],children:new Set,entries:[]}));K0.length&&I_.children.add(K0[0])}return W0},F0=B0=>{const q0=B0.method==="delete"?"erase":B0.method;return B0.parameters.length===0?q0:q0+"By"+B0.parameters.map(W0=>EndpointUtil.capitalize(W0.key)).join("And")},L0=B0=>{var W0;const q0=new Map;for(const X0 of B0){const K0=(W0=X0.operation()["x-samchon-accessor"])==null?void 0:W0.join(".");K0!==void 0&&(q0.has(K0)?q0.set(K0,q0.get(K0)+1):q0.set(K0,1))}return q0}})(HttpMigrateRouteAccessor||(HttpMigrateRouteAccessor={}));var HttpMigrateRouteComposer;(function(s){s.compose=W0=>{const X0=L0("request")(Oy=>B0({document:W0.document,name:EndpointUtil.pascal(`I/Api/${W0.path}`)+"."+EndpointUtil.pascal(`${W0.method}/Body`),schema:Oy}))(W0.operation.requestBody),K0=(()=>{var qv,Lv,S1,iv,Yv;const Oy=L0("response")(_x=>B0({document:W0.document,name:EndpointUtil.pascal(`I/Api/${W0.path}`)+"."+EndpointUtil.pascal(`${W0.method}/Response`),schema:_x}))(((qv=W0.operation.responses)==null?void 0:qv["201"])??((Lv=W0.operation.responses)==null?void 0:Lv["200"])??((S1=W0.operation.responses)==null?void 0:S1.default));return Oy&&{...Oy,status:(iv=W0.operation.responses)!=null&&iv["201"]?"201":(Yv=W0.operation.responses)!=null&&Yv["200"]?"200":"default"}})(),D_=[];X0===!1&&D_.push('supports only "application/json", "application/x-www-form-urlencoded", "multipart/form-data" and "text/plain" content type in the request body.'),K0===!1&&D_.push('supports only "application/json", "application/x-www-form-urlencoded" and "text/plain" content type in the response body.');const[I_,F_]=["header","query"].map(Oy=>{const qv=(W0.operation.parameters??[]).filter(Qv=>Qv.in===Oy);if(qv.length===0)return null;const Lv=qv.map(Qv=>{var Fx;return OpenApiTypeChecker.isObject(Qv.schema)||OpenApiTypeChecker.isReference(Qv.schema)&&OpenApiTypeChecker.isObject(((Fx=W0.document.components.schemas)==null?void 0:Fx[Qv.schema.$ref.replace("#/components/schemas/","")])??{})?Qv.schema:null}).filter(Qv=>!!Qv),S1=qv.filter(Qv=>OpenApiTypeChecker.isBoolean(Qv.schema)||OpenApiTypeChecker.isInteger(Qv.schema)||OpenApiTypeChecker.isNumber(Qv.schema)||OpenApiTypeChecker.isString(Qv.schema)||OpenApiTypeChecker.isArray(Qv.schema)||OpenApiTypeChecker.isTuple(Qv.schema)),iv=Qv=>({...Qv,name:Oy,key:Oy,title:()=>Qv.title,description:()=>Qv.description,example:()=>Qv.example,examples:()=>Qv.examples});if(Lv.length===1&&S1.length===0)return iv(qv[0]);if(Lv.length>1)return D_.push(`${Oy} typed parameters must be only one object type`),!1;const Yv=Lv[0]?OpenApiTypeChecker.isObject(Lv[0])?Lv[0]:(W0.document.components.schemas??{})[Lv[0].$ref.replace("#/components/schemas/","")]:null,_x=[...Lv.map(Qv=>{var Fx;return OpenApiTypeChecker.isObject(Qv)?Qv:(Fx=W0.document.components.schemas)==null?void 0:Fx[Qv.$ref.replace("#/components/schemas/","")]}),{type:"object",properties:Object.fromEntries([...S1.map(Qv=>[Qv.name,{...Qv.schema,description:Qv.schema.description??Qv.description}]),...Yv?Object.entries(Yv.properties??{}):[]]),required:[...new Set([...S1.filter(Qv=>Qv.required).map(Qv=>Qv.name),...(Yv==null?void 0:Yv.required)??[]])]}];return qv.length===0?null:iv({schema:B0({document:W0.document,name:EndpointUtil.pascal(`I/Api/${W0.path}`)+"."+EndpointUtil.pascal(`${W0.method}/${Oy}`),schema:{type:"object",properties:Object.fromEntries([...new Map(_x.map(Qv=>Object.entries(Qv.properties??{}).map(([Fx,jx])=>[Fx,{...jx,description:jx.description??jx.description}])).flat())]),required:[...new Set(_x.map(Qv=>Qv.required??[]).flat())]}})})}),R_=EndpointUtil.splitWithNormalization(W0.emendedPath).filter(Oy=>Oy[0]===":").map(Oy=>Oy.substring(1)),z_=(W0.operation.parameters??[]).filter(Oy=>Oy.in==="path");if(R_.length!==z_.length)if(z_.length<R_.length&&z_.every(Oy=>Oy.name!==void 0&&R_.includes(Oy.name))){for(const Oy of R_)z_.find(qv=>qv.name===Oy)===void 0&&z_.push({name:Oy,in:"path",schema:{type:"string"}});z_.sort((Oy,qv)=>R_.indexOf(Oy.name)-R_.indexOf(qv.name)),W0.operation.parameters=[...z_,...(W0.operation.parameters??[]).filter(Oy=>Oy.in!=="path")]}else D_.push("number of path parameters are not matched with its full path.");if(D_.length)return D_;const H_=(W0.operation.parameters??[]).filter(Oy=>Oy.in==="path").map((Oy,qv)=>({name:R_[qv],key:(()=>{let Lv=EndpointUtil.normalize(R_[qv]);if(NamingConvention.variable(Lv))return Lv;for(;;)if(Lv="_"+Lv,!R_.some(S1=>S1===Lv))return Lv})(),schema:Oy.schema,parameter:()=>Oy}));return{method:W0.method,path:W0.path,emendedPath:W0.emendedPath,accessor:["@lazy"],parameters:(W0.operation.parameters??[]).filter(Oy=>Oy.in==="path").map((Oy,qv)=>({name:R_[qv],key:(()=>{let Lv=EndpointUtil.normalize(R_[qv]);if(NamingConvention.variable(Lv))return Lv;for(;;)if(Lv="_"+Lv,!R_.some(S1=>S1===Lv))return Lv})(),schema:Oy.schema,parameter:()=>Oy})),headers:I_||null,query:F_||null,body:X0||null,success:K0||null,exceptions:Object.fromEntries(Object.entries(W0.operation.responses??{}).filter(([Oy])=>Oy!=="200"&&Oy!=="201"&&Oy!=="default").map(([Oy,qv])=>{var Lv,S1;return[Oy,{schema:((S1=(Lv=qv.content)==null?void 0:Lv["application/json"])==null?void 0:S1.schema)??{},response:()=>qv,media:()=>{var iv;return((iv=qv.content)==null?void 0:iv["application/json"])??{}}}]})),comment:()=>o({operation:W0.operation,parameters:H_,body:X0||null}),operation:()=>W0.operation}};const o=W0=>{var I_,F_,R_;let X0=W0.operation.description??"";if((I_=W0.operation.summary)!=null&&I_.length){const z_=W0.operation.summary.endsWith(".")?W0.operation.summary:W0.operation.summary+".";X0.length&&!X0.startsWith(W0.operation.summary)&&(X0=`${z_}
193
+ `);return F0.length?F0:void 0}})(JsonDescriptor||(JsonDescriptor={}));var OpenApiTypeCheckerBase;(function(s){s.isNull=F_=>F_.type==="null",s.isUnknown=F_=>F_.type===void 0&&!s.isConstant(F_)&&!s.isOneOf(F_)&&!s.isReference(F_),s.isConstant=F_=>F_.const!==void 0,s.isBoolean=F_=>F_.type==="boolean",s.isInteger=F_=>F_.type==="integer",s.isNumber=F_=>F_.type==="number",s.isString=F_=>F_.type==="string",s.isArray=F_=>F_.type==="array"&&F_.items!==void 0,s.isTuple=F_=>F_.type==="array"&&F_.prefixItems!==void 0,s.isObject=F_=>F_.type==="object",s.isReference=F_=>F_.$ref!==void 0,s.isOneOf=F_=>F_.oneOf!==void 0,s.isRecursiveReference=F_=>{if(s.isReference(F_.schema)===!1)return!1;const R_=F_.schema.$ref.split(F_.prefix)[1]??F_.schema.$ref.split("/").at(-1);let z_=0;return s.visit({prefix:F_.prefix,components:F_.components,schema:F_.schema,closure:H_=>{if(s.isReference(H_)){const Oy=H_.$ref.split(F_.prefix)[1]??H_.$ref.split("/").at(-1);R_===Oy&&++z_}}}),z_>1},s.unreference=F_=>{const R_=[],z_=o({prefix:F_.prefix,refAccessor:F_.refAccessor??`$input.${F_.prefix.substring(2).split("/").filter(H_=>!!H_.length).join(".")}`,accessor:F_.accessor??"$input.schema",components:F_.components,schema:F_.schema,reasons:R_});return z_===null?{success:!1,error:{method:F_.method,message:"failed to unreference due to unable to find.",reasons:R_}}:{success:!0,value:z_}},s.escape=F_=>{const R_=[],z_=F0({...F_,reasons:R_,visited:new Map,accessor:F_.accessor??"$input.schema",refAccessor:F_.refAccessor??getReference(F_.prefix)})||null;return z_===null?{success:!1,error:{method:F_.method,message:`failed to escape some reference type(s) due to unable to find${Number(F_.recursive)===0?" or recursive relationship":""}.`,reasons:R_}}:{success:!0,value:z_}},s.visit=F_=>{const R_=new Set,z_=F_.refAccessor??`$input.${getReference(F_.prefix)}`,H_=(Oy,qv)=>{var Lv;if(F_.closure(Oy,qv),s.isReference(Oy)){const S1=Oy.$ref.split(F_.prefix).pop();if(R_.has(S1)===!0)return;R_.add(S1);const iv=(Lv=F_.components.schemas)==null?void 0:Lv[S1];iv!==void 0&&H_(iv,`${z_}[${JSON.stringify(S1)}]`)}else if(s.isOneOf(Oy))Oy.oneOf.forEach((S1,iv)=>H_(S1,`${qv}.oneOf[${iv}]`));else if(s.isObject(Oy)){for(const[S1,iv]of Object.entries(Oy.properties??{}))H_(iv,`${qv}.properties[${JSON.stringify(S1)}]`);typeof Oy.additionalProperties=="object"&&Oy.additionalProperties!==null&&H_(Oy.additionalProperties,`${qv}.additionalProperties`)}else s.isArray(Oy)?H_(Oy.items,`${qv}.items`):s.isTuple(Oy)&&((Oy.prefixItems??[]).forEach((S1,iv)=>H_(S1,`${qv}.prefixItems[${iv}]`)),typeof Oy.additionalItems=="object"&&Oy.additionalItems!==null&&H_(Oy.additionalItems,`${qv}.additionalItems`))};H_(F_.schema,F_.accessor??"$input.schema")},s.covers=F_=>L0({prefix:F_.prefix,components:F_.components,x:F_.x,y:F_.y,visited:new Map});const o=F_=>{var H_;if(s.isReference(F_.schema)===!1)return F_.schema;const R_=F_.schema.$ref.split(F_.prefix).pop(),z_=(H_=F_.components.schemas)==null?void 0:H_[R_];return z_===void 0?(F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`unable to find reference type ${JSON.stringify(R_)}.`}),null):s.isReference(z_)===!1?z_:F_.first===R_?(F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`recursive reference type ${JSON.stringify(R_)}.`}),null):o({...F_,accessor:`${F_.refAccessor}[${JSON.stringify(R_)}]`,first:R_})},F0=F_=>{var R_,z_;if(s.isReference(F_.schema)){const H_=F_.schema.$ref.split(F_.prefix)[1]??F_.schema.$ref.split("/").at(-1),Oy=(R_=F_.components.schemas)==null?void 0:R_[H_];if(Oy===void 0)return F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`unable to find reference type ${JSON.stringify(H_)}.`}),null;if(F_.visited.has(H_)===!0){if(F_.recursive===!1)return null;const qv=F_.visited.get(H_);if(qv>F_.recursive)return F_.recursive===0?(F_.reasons.push({schema:F_.schema,accessor:F_.accessor,message:`recursive reference type ${JSON.stringify(H_)}.`}),null):void 0;F_.visited.set(H_,qv+1);const Lv=F0({...F_,schema:Oy,accessor:`${F_.refAccessor}[${JSON.stringify(H_)}]`});return Lv&&{...Lv,description:JsonDescriptor.cascade({prefix:F_.prefix,components:F_.components,schema:F_.schema,escape:!0})}}else{const qv=F0({...F_,schema:Oy,accessor:`${F_.refAccessor}[${JSON.stringify(H_)}]`,visited:new Map([...F_.visited,[H_,1]])});return qv&&{...qv,description:JsonDescriptor.cascade({prefix:F_.prefix,components:F_.components,schema:F_.schema,escape:!0})}}}else if(s.isOneOf(F_.schema)){const H_=F_.schema.oneOf.map((qv,Lv)=>F0({...F_,schema:qv,accessor:`${F_.accessor}.oneOf[${Lv}]`}));if(H_.some(qv=>qv===null))return null;const Oy=H_.filter(qv=>qv!==void 0);return Oy.length===0?void 0:{...F_.schema,oneOf:Oy.map(qv=>D_({prefix:F_.prefix,components:F_.components,schema:qv})).flat()}}else if(s.isObject(F_.schema)){const H_=F_.schema,Oy=Object.entries(H_.properties??{}).map(([Lv,S1])=>[Lv,F0({...F_,schema:S1,visited:F_.visited,accessor:`${F_.accessor}.properties[${JSON.stringify(Lv)}]`})]),qv=H_.additionalProperties?typeof H_.additionalProperties=="object"&&H_.additionalProperties!==null?F0({...F_,schema:H_.additionalProperties,accessor:`${F_.accessor}.additionalProperties`}):H_.additionalProperties:!1;return Oy.some(([Lv,S1])=>S1===null)||qv===null?null:Oy.some(([Lv,S1])=>{var iv;return S1===void 0&&((iv=H_.required)==null?void 0:iv.includes(Lv))===!0})===!0?void 0:{...H_,properties:Object.fromEntries(Oy.filter(([Lv,S1])=>S1!==void 0)),additionalProperties:qv??!1,required:((z_=H_.required)==null?void 0:z_.filter(Lv=>Oy.some(([S1,iv])=>S1===Lv&&iv!==void 0)))??[]}}else if(s.isTuple(F_.schema)){const H_=F_.schema.prefixItems.map((qv,Lv)=>F0({...F_,schema:qv,accessor:`${F_.accessor}.prefixItems[${Lv}]`})),Oy=F_.schema.additionalItems?typeof F_.schema.additionalItems=="object"&&F_.schema.additionalItems!==null?F0({...F_,schema:F_.schema.additionalItems,accessor:`${F_.accessor}.additionalItems`}):F_.schema.additionalItems:!1;return H_.some(qv=>qv===null)||Oy===null?null:H_.some(qv=>qv===void 0)?void 0:{...F_.schema,prefixItems:H_,additionalItems:Oy??!1}}else if(s.isArray(F_.schema)){const H_=F0({...F_,schema:F_.schema.items,accessor:`${F_.accessor}.items`});return H_===null?null:H_===void 0?{...F_.schema,minItems:void 0,maxItems:0,items:{}}:{...F_.schema,items:H_}}return F_.schema},L0=F_=>{var Oy;const R_=(Oy=F_.visited.get(F_.x))==null?void 0:Oy.get(F_.y);if(R_!==void 0)return R_;const z_=MapUtil$1.take(F_.visited,F_.x,()=>new Map);z_.set(F_.y,!0);const H_=B0(F_);return z_.set(F_.y,H_),H_},B0=F_=>{if(F_.x===F_.y)return!0;if(s.isReference(F_.x)&&s.isReference(F_.y)&&F_.x.$ref===F_.y.$ref)return!0;const R_=D_({prefix:F_.prefix,components:F_.components,schema:F_.x}),z_=D_({prefix:F_.prefix,components:F_.components,schema:F_.y});return R_.some(H_=>s.isUnknown(H_))?!0:z_.some(H_=>s.isUnknown(H_))?!1:z_.every(H_=>R_.some(Oy=>q0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:Oy,y:H_})))},q0=F_=>F_.x===F_.y||s.isUnknown(F_.x)?!0:s.isUnknown(F_.y)?!1:s.isNull(F_.x)?s.isNull(F_.y):s.isConstant(F_.x)?s.isConstant(F_.y)&&F_.x.const===F_.y.const:s.isBoolean(F_.x)?s.isBoolean(F_.y)||s.isConstant(F_.y)&&typeof F_.y.const=="boolean":s.isInteger(F_.x)?(s.isInteger(F_.y)||s.isConstant(F_.y))&&s.coverInteger(F_.x,F_.y):s.isNumber(F_.x)?(s.isConstant(F_.y)||s.isInteger(F_.y)||s.isNumber(F_.y))&&s.coverNumber(F_.x,F_.y):s.isString(F_.x)?(s.isConstant(F_.y)||s.isString(F_.y))&&s.coverString(F_.x,F_.y):s.isArray(F_.x)?(s.isArray(F_.y)||s.isTuple(F_.y))&&W0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x,y:F_.y}):s.isObject(F_.x)?s.isObject(F_.y)&&X0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x,y:F_.y}):s.isReference(F_.x)?s.isReference(F_.y)&&F_.x.$ref===F_.y.$ref:!1,W0=F_=>{if(s.isTuple(F_.y))return F_.y.prefixItems.every(R_=>L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.items,y:R_}))&&(F_.y.additionalItems===void 0||typeof F_.y.additionalItems=="object"&&L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.items,y:F_.y.additionalItems}));if(F_.x.minItems===void 0||F_.y.minItems!==void 0&&F_.x.minItems<=F_.y.minItems){if(!(F_.x.maxItems===void 0||F_.y.maxItems!==void 0&&F_.x.maxItems>=F_.y.maxItems))return!1}else return!1;return L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.items,y:F_.y.items})},X0=F_=>!F_.x.additionalProperties&&F_.y.additionalProperties||F_.x.additionalProperties&&F_.y.additionalProperties&&(typeof F_.x.additionalProperties=="object"&&F_.y.additionalProperties===!0||typeof F_.x.additionalProperties=="object"&&typeof F_.y.additionalProperties=="object"&&!L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:F_.x.additionalProperties,y:F_.y.additionalProperties}))?!1:Object.entries(F_.y.properties??{}).every(([R_,z_])=>{var Oy,qv,Lv;const H_=(Oy=F_.x.properties)==null?void 0:Oy[R_];return H_===void 0||((qv=F_.x.required)==null?void 0:qv.includes(R_))===!0&&(((Lv=F_.y.required)==null?void 0:Lv.includes(R_))??!1)===!1?!1:L0({prefix:F_.prefix,components:F_.components,visited:F_.visited,x:H_,y:z_})});s.coverInteger=(F_,R_)=>s.isConstant(R_)?typeof R_.const=="number"&&Number.isInteger(R_.const):F_.type===R_.type&&s.coverNumericRange(F_,R_),s.coverNumber=(F_,R_)=>s.isConstant(R_)?typeof R_.const=="number":(F_.type===R_.type||F_.type==="number"&&R_.type==="integer")&&s.coverNumericRange(F_,R_),s.coverString=(F_,R_)=>s.isConstant(R_)?typeof R_.const=="string":[F_.format===void 0||R_.format!==void 0&&K0(F_.format,R_.format),F_.pattern===void 0||F_.pattern===R_.pattern,F_.minLength===void 0||R_.minLength!==void 0&&F_.minLength<=R_.minLength,F_.maxLength===void 0||R_.maxLength!==void 0&&F_.maxLength>=R_.maxLength].every(z_=>z_);const K0=(F_,R_)=>F_===R_||F_==="idn-email"&&R_==="email"||F_==="idn-hostname"&&R_==="hostname"||["uri","iri"].includes(F_)&&R_==="url"||F_==="iri"&&R_==="uri"||F_==="iri-reference"&&R_==="uri-reference",D_=F_=>{const R_=I_(F_);return s.isOneOf(R_)?R_.oneOf.map(z_=>D_({prefix:F_.prefix,components:F_.components,schema:z_})).flat():[R_]},I_=F_=>{var H_;if(s.isReference(F_.schema)===!1)return F_.schema;const R_=F_.schema.$ref.replace(F_.prefix,""),z_=I_({prefix:F_.prefix,components:F_.components,schema:((H_=F_.components.schemas)==null?void 0:H_[R_])??{}});if(z_===void 0)throw new Error(`Reference type not found: ${JSON.stringify(F_.schema.$ref)}`);return I_({prefix:F_.prefix,components:F_.components,schema:z_})};s.coverNumericRange=(F_,R_)=>[F_.minimum===void 0||R_.minimum!==void 0&&F_.minimum<=R_.minimum||R_.exclusiveMinimum!==void 0&&F_.minimum<R_.exclusiveMinimum,F_.maximum===void 0||R_.maximum!==void 0&&F_.maximum>=R_.maximum||R_.exclusiveMaximum!==void 0&&F_.maximum>R_.exclusiveMaximum,F_.exclusiveMinimum===void 0||R_.minimum!==void 0&&F_.exclusiveMinimum<=R_.minimum||R_.exclusiveMinimum!==void 0&&F_.exclusiveMinimum<=R_.exclusiveMinimum,F_.exclusiveMaximum===void 0||R_.maximum!==void 0&&F_.exclusiveMaximum>=R_.maximum||R_.exclusiveMaximum!==void 0&&F_.exclusiveMaximum>=R_.exclusiveMaximum,F_.multipleOf===void 0||R_.multipleOf!==void 0&&R_.multipleOf/F_.multipleOf===Math.floor(R_.multipleOf/F_.multipleOf)].every(z_=>z_)})(OpenApiTypeCheckerBase||(OpenApiTypeCheckerBase={}));const getReference=s=>s.split("/").filter((o,F0)=>!!o.length&&!(F0===0&&o==="#")).join(".");var OpenApiTypeChecker;(function(s){s.isNull=o=>OpenApiTypeCheckerBase.isNull(o),s.isUnknown=o=>OpenApiTypeCheckerBase.isUnknown(o),s.isConstant=o=>OpenApiTypeCheckerBase.isConstant(o),s.isBoolean=o=>OpenApiTypeCheckerBase.isBoolean(o),s.isInteger=o=>OpenApiTypeCheckerBase.isInteger(o),s.isNumber=o=>OpenApiTypeCheckerBase.isNumber(o),s.isString=o=>OpenApiTypeCheckerBase.isString(o),s.isArray=o=>OpenApiTypeCheckerBase.isArray(o),s.isTuple=o=>OpenApiTypeCheckerBase.isTuple(o),s.isObject=o=>OpenApiTypeCheckerBase.isObject(o),s.isReference=o=>OpenApiTypeCheckerBase.isReference(o),s.isOneOf=o=>OpenApiTypeCheckerBase.isOneOf(o),s.isRecursiveReference=o=>OpenApiTypeCheckerBase.isRecursiveReference({prefix:"#/components/schemas/",components:o.components,schema:o.schema}),s.escape=o=>OpenApiTypeCheckerBase.escape({...o,prefix:"#/components/schemas/",method:"OpenApiTypeChecker.method"}),s.unreference=o=>OpenApiTypeCheckerBase.unreference({...o,prefix:"#/components/schemas/",method:"OpenApiTypeChecker.unreference"}),s.visit=o=>OpenApiTypeCheckerBase.visit({...o,prefix:"#/components/schemas/"}),s.covers=o=>OpenApiTypeCheckerBase.covers({prefix:"#/components/schemas/",components:o.components,x:o.x,y:o.y})})(OpenApiTypeChecker||(OpenApiTypeChecker={}));var OpenApiV3Downgrader;(function(s){s.downgrade=D_=>{const I_=s.downgradeComponents(D_.components);return{openapi:"3.0.0",servers:D_.servers,info:D_.info,components:I_.downgraded,paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)])):void 0,security:D_.security,tags:D_.tags}};const o=D_=>I_=>{const F_={};if(I_.query&&(F_.query=F0(D_)(I_.query)),I_.additionalOperations)for(const[R_,z_]of Object.entries(I_.additionalOperations))z_!==void 0&&(F_[R_]=F0(D_)(z_));return{...I_,...I_.get?{get:F0(D_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_.trace)}:void 0,...Object.keys(F_).length>0?{"x-additionalOperations":F_}:void 0,query:void 0,additionalOperations:void 0}},F0=D_=>I_=>({...I_,parameters:I_.parameters?I_.parameters.map(L0(D_)):void 0,requestBody:I_.requestBody?B0(D_)(I_.requestBody):void 0,responses:I_.responses?Object.fromEntries(Object.entries(I_.responses).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,q0(D_)(R_)])):void 0}),L0=D_=>I_=>({...I_,in:I_.in==="querystring"?"query":I_.in,schema:s.downgradeSchema(D_)(I_.schema)}),B0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0}),q0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:s.downgradeSchema(D_)(R_.schema)}])):void 0}),W0=D_=>I_=>Object.fromEntries(Object.entries(I_).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:R_!=null&&R_.schema?s.downgradeSchema(D_)(R_.schema):void 0}]));s.downgradeComponents=D_=>{const I_={original:D_,downgraded:{securitySchemes:D_.securitySchemes}};if(D_.schemas){I_.downgraded.schemas={};for(const[F_,R_]of Object.entries(D_.schemas))R_!==void 0&&(I_.downgraded.schemas[F_]=s.downgradeSchema(I_)(R_))}return I_},s.downgradeSchema=D_=>I_=>{const F_=K0(new Set)(D_.original)(I_),R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,writeOnly:I_.writeOnly,example:I_.example,examples:I_.examples,...Object.fromEntries(Object.entries(I_).filter(([qv,Lv])=>qv.startsWith("x-")&&Lv!==void 0))},H_=qv=>{OpenApiTypeChecker.isBoolean(qv)?R_.push({type:"boolean"}):OpenApiTypeChecker.isBoolean(qv)||OpenApiTypeChecker.isInteger(qv)||OpenApiTypeChecker.isNumber(qv)||OpenApiTypeChecker.isString(qv)||OpenApiTypeChecker.isReference(qv)?R_.push({...qv}):OpenApiTypeChecker.isArray(qv)?R_.push({...qv,items:s.downgradeSchema(D_)(qv.items)}):OpenApiTypeChecker.isTuple(qv)?R_.push({...qv,items:(()=>{if(qv.additionalItems===!0)return{};const Lv=[...qv.prefixItems,...typeof qv.additionalItems=="object"?[s.downgradeSchema(D_)(qv.additionalItems)]:[]];return Lv.length===0?{}:{oneOf:Lv.map(s.downgradeSchema(D_))}})(),minItems:qv.prefixItems.length,maxItems:qv.additionalItems?void 0:qv.prefixItems.length,prefixItems:void 0,additionalItems:void 0}):OpenApiTypeChecker.isObject(qv)?R_.push({...qv,properties:qv.properties?Object.fromEntries(Object.entries(qv.properties).filter(([Lv,S1])=>S1!==void 0).map(([Lv,S1])=>[Lv,s.downgradeSchema(D_)(S1)])):void 0,additionalProperties:typeof qv.additionalProperties=="object"?s.downgradeSchema(D_)(qv.additionalProperties):qv.additionalProperties,required:qv.required}):OpenApiTypeChecker.isOneOf(qv)&&qv.oneOf.forEach(H_)},Oy=qv=>{const Lv=S1=>{const iv=R_.find(Yv=>Yv.type===typeof S1);iv!==void 0?(iv.enum??(iv.enum=[]),iv.enum.push(S1)):R_.push({type:typeof S1,enum:[S1]})};if(OpenApiTypeChecker.isConstant(qv))Lv(qv.const);else if(OpenApiTypeChecker.isOneOf(qv))for(const S1 of qv.oneOf)OpenApiTypeChecker.isConstant(S1)&&Lv(S1.const)};if(H_(I_),Oy(I_),F_===!0)for(const qv of R_)OpenApiTypeChecker.isReference(qv)?X0(new Set)(D_)(qv):qv.nullable=!0;return F_===!0&&R_.length===0?{type:"null",...z_}:{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_},...z_}};const X0=D_=>I_=>F_=>{var H_,Oy,qv;const R_=F_.$ref.split("/").pop();if(R_.endsWith(".Nullable"))return;const z_=(H_=I_.original.schemas)==null?void 0:H_[R_];if(z_!==void 0){{if(K0(D_)(I_.original)(z_)===!0)return;((Oy=I_.downgraded.schemas)==null?void 0:Oy[`${R_}.Nullable`])===void 0&&((qv=I_.downgraded).schemas??(qv.schemas={}),I_.downgraded.schemas[`${R_}.Nullable`]={},I_.downgraded.schemas[`${R_}.Nullable`]=s.downgradeSchema(I_)(OpenApiTypeChecker.isOneOf(z_)?{...z_,oneOf:[...z_.oneOf,{type:"null"}]}:{oneOf:[z_,{type:"null"}],title:z_.title,description:z_.description,example:z_.example,examples:z_.examples,...Object.fromEntries(Object.entries(z_).filter(([Lv,S1])=>Lv.startsWith("x-")&&S1!==void 0))}))}F_.$ref+=".Nullable"}},K0=D_=>I_=>F_=>{var R_;if(OpenApiTypeChecker.isNull(F_))return!0;if(OpenApiTypeChecker.isReference(F_)){if(D_.has(F_.$ref))return!1;D_.add(F_.$ref);const z_=F_.$ref.split("/").pop(),H_=(R_=I_.schemas)==null?void 0:R_[z_];return H_?K0(D_)(I_)(H_):!1}return OpenApiTypeChecker.isOneOf(F_)&&F_.oneOf.some(K0(D_)(I_))}})(OpenApiV3Downgrader||(OpenApiV3Downgrader={}));var OpenApiV3TypeChecker;(function(s){s.isBoolean=o=>o.type==="boolean",s.isInteger=o=>o.type==="integer",s.isNumber=o=>o.type==="number",s.isString=o=>o.type==="string",s.isArray=o=>o.type==="array",s.isObject=o=>o.type==="object",s.isReference=o=>o.$ref!==void 0,s.isAllOf=o=>o.allOf!==void 0,s.isAnyOf=o=>o.anyOf!==void 0,s.isOneOf=o=>o.oneOf!==void 0,s.isNullOnly=o=>o.type==="null"})(OpenApiV3TypeChecker||(OpenApiV3TypeChecker={}));var OpenApiExclusiveEmender;(function(s){s.emend=o=>{const F0=typeof o.minimum=="number"&&typeof o.exclusiveMinimum=="number"?{minimum:o.minimum>o.exclusiveMinimum?o.minimum:void 0,exclusiveMinimum:o.minimum>o.exclusiveMinimum?void 0:o.exclusiveMinimum}:{},L0=typeof o.maximum=="number"&&typeof o.exclusiveMaximum=="number"?{maximum:o.maximum<o.exclusiveMaximum?o.maximum:void 0,exclusiveMaximum:o.maximum<o.exclusiveMaximum?void 0:o.exclusiveMaximum}:{};return{...o,...F0,...L0}}})(OpenApiExclusiveEmender||(OpenApiExclusiveEmender={}));var OpenApiV3Upgrader;(function(s){s.convert=D_=>({...D_,components:s.convertComponents(D_.components??{}),paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,o(D_)(F_)])):void 0,openapi:"3.2.0","x-typia-emended-v12":!0});const o=D_=>I_=>{const F_=I_["x-additionalOperations"],R_=F_==null?void 0:F_.query,z_=F_?Object.fromEntries(Object.entries(F_).filter(([H_,Oy])=>H_!=="query"&&Oy!==void 0).map(([H_,Oy])=>[H_,F0(D_)(I_)(Oy)])):void 0;return{...I_,...I_.get?{get:F0(D_)(I_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_)(I_.trace)}:void 0,...R_?{query:F0(D_)(I_)(R_)}:void 0,...z_&&Object.keys(z_).length>0?{additionalOperations:z_}:void 0,"x-additionalOperations":void 0}},F0=D_=>I_=>F_=>({...F_,parameters:I_.parameters!==void 0||F_.parameters!==void 0?[...I_.parameters??[],...F_.parameters??[]].map(R_=>{var H_,Oy,qv,Lv;if(!OpenApiV3TypeChecker.isReference(R_))return L0(D_.components??{})(R_);const z_=R_.$ref.startsWith("#/components/headers/")?(Oy=(H_=D_.components)==null?void 0:H_.headers)==null?void 0:Oy[R_.$ref.split("/").pop()??""]:(Lv=(qv=D_.components)==null?void 0:qv.parameters)==null?void 0:Lv[R_.$ref.split("/").pop()??""];return z_!==void 0?L0(D_.components??{})({...z_,in:"header"}):void 0}).filter((R_,z_)=>z_!==void 0):void 0,requestBody:F_.requestBody?B0(D_)(F_.requestBody):void 0,responses:F_.responses?Object.fromEntries(Object.entries(F_.responses).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,q0(D_)(z_)]).filter(([R_,z_])=>z_!==void 0)):void 0}),L0=D_=>I_=>({...I_,schema:s.convertSchema(D_)(I_.schema),examples:I_.examples?Object.fromEntries(Object.entries(I_.examples).map(([F_,R_])=>{var z_;return[F_,OpenApiV3TypeChecker.isReference(R_)?(z_=D_.examples)==null?void 0:z_[R_.$ref.split("/").pop()??""]:R_]}).filter(([F_,R_])=>R_!==void 0)):void 0}),B0=D_=>I_=>{var F_,R_;if(OpenApiV3TypeChecker.isReference(I_)){const z_=(R_=(F_=D_.components)==null?void 0:F_.requestBodies)==null?void 0:R_[I_.$ref.split("/").pop()??""];if(z_===void 0)return;I_=z_}return{...I_,content:I_.content?W0(D_.components??{})(I_.content):void 0}},q0=D_=>I_=>{var F_,R_;if(OpenApiV3TypeChecker.isReference(I_)){const z_=(R_=(F_=D_.components)==null?void 0:F_.responses)==null?void 0:R_[I_.$ref.split("/").pop()??""];if(z_===void 0)return;I_=z_}return{...I_,content:I_.content?W0(D_.components??{})(I_.content):void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([z_,H_])=>H_!==void 0).map(([z_,H_])=>[z_,(()=>{var qv,Lv;if(OpenApiV3TypeChecker.isReference(H_)===!1)return L0(D_.components??{})({...H_,in:"header"});const Oy=H_.$ref.startsWith("#/components/headers/")?(Lv=(qv=D_.components)==null?void 0:qv.headers)==null?void 0:Lv[H_.$ref.split("/").pop()??""]:void 0;return Oy!==void 0?L0(D_.components??{})({...Oy,in:"header"}):void 0})()]).filter(([z_,H_])=>H_!==void 0)):void 0}},W0=D_=>I_=>Object.fromEntries(Object.entries(I_).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:R_.schema?s.convertSchema(D_)(R_.schema):void 0,examples:R_.examples?Object.fromEntries(Object.entries(R_.examples).map(([z_,H_])=>{var Oy;return[z_,OpenApiV3TypeChecker.isReference(H_)?(Oy=D_.examples)==null?void 0:Oy[H_.$ref.split("/").pop()??""]:H_]}).filter(([z_,H_])=>H_!==void 0)):void 0}]));s.convertComponents=D_=>({schemas:Object.fromEntries(Object.entries(D_.schemas??{}).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,s.convertSchema(D_)(F_)])),securitySchemes:D_.securitySchemes}),s.convertSchema=D_=>I_=>{const F_={value:!1,default:void 0},R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,writeOnly:I_.writeOnly,example:I_.example,examples:Array.isArray(I_.examples)?Object.fromEntries(I_.examples.map((Oy,qv)=>[`v${qv}`,Oy])):I_.examples,...Object.fromEntries(Object.entries(I_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0))},H_=Oy=>{var qv,Lv,S1;Oy.nullable===!0&&(F_.value||(F_.value=!0),Oy.default===null&&(F_.default=null)),Array.isArray(Oy.enum)&&((qv=Oy.enum)!=null&&qv.length)&&((Lv=Oy.enum)!=null&&Lv.some(iv=>iv===null))&&(F_.value||(F_.value=!0)),OpenApiV3TypeChecker.isAnyOf(Oy)?Oy.anyOf.forEach(H_):OpenApiV3TypeChecker.isOneOf(Oy)?Oy.oneOf.forEach(H_):OpenApiV3TypeChecker.isAllOf(Oy)?Oy.allOf.length===1?H_(Oy.allOf[0]):R_.push(X0(D_)(Oy)):OpenApiV3TypeChecker.isBoolean(Oy)||OpenApiV3TypeChecker.isInteger(Oy)||OpenApiV3TypeChecker.isNumber(Oy)||OpenApiV3TypeChecker.isString(Oy)?(S1=Oy.enum)!=null&&S1.length&&Oy.enum.filter(iv=>iv!==null).length?R_.push(...Oy.enum.filter(iv=>iv!==null).map(iv=>({const:iv}))):OpenApiV3TypeChecker.isInteger(Oy)||OpenApiV3TypeChecker.isNumber(Oy)?R_.push(OpenApiExclusiveEmender.emend({...Oy,default:Oy.default??void 0,exclusiveMinimum:typeof Oy.exclusiveMinimum=="boolean"?Oy.exclusiveMinimum===!0?Oy.minimum:void 0:Oy.exclusiveMinimum,exclusiveMaximum:typeof Oy.exclusiveMaximum=="boolean"?Oy.exclusiveMaximum===!0?Oy.maximum:void 0:Oy.exclusiveMaximum,minimum:Oy.exclusiveMinimum===!0?void 0:Oy.minimum,maximum:Oy.exclusiveMaximum===!0?void 0:Oy.maximum,enum:void 0})):R_.push({...Oy,default:Oy.default??void 0,enum:void 0}):OpenApiV3TypeChecker.isArray(Oy)?R_.push({...Oy,items:s.convertSchema(D_)(Oy.items)}):OpenApiV3TypeChecker.isObject(Oy)?R_.push({...Oy,properties:Oy.properties?Object.fromEntries(Object.entries(Oy.properties).filter(([iv,Yv])=>Yv!==void 0).map(([iv,Yv])=>[iv,s.convertSchema(D_)(Yv)])):{},additionalProperties:Oy.additionalProperties?typeof Oy.additionalProperties=="object"&&Oy.additionalProperties!==null?s.convertSchema(D_)(Oy.additionalProperties):Oy.additionalProperties:void 0,required:Oy.required??[]}):(OpenApiV3TypeChecker.isReference(Oy),R_.push(Oy))};if(H_(I_),F_.value===!0&&!R_.some(Oy=>Oy.type==="null")&&R_.push({type:"null",default:F_.default}),R_.length===2&&R_.filter(Oy=>OpenApiTypeChecker.isNull(Oy)).length===1){const Oy=R_.filter(qv=>OpenApiTypeChecker.isNull(qv)===!1)[0];for(const qv of["title","description","deprecated","readOnly","writeOnly","example","examples"])Oy[qv]!==void 0&&delete Oy[qv]}return{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_.map(Oy=>({...Oy,nullable:void 0}))},...z_,nullable:void 0}};const X0=D_=>I_=>{const F_=I_.allOf.map(R_=>K0(D_)(R_));return F_.some(R_=>R_===null)?{type:void 0,allOf:void 0}:{...I_,type:"object",properties:Object.fromEntries(F_.map(R_=>Object.entries((R_==null?void 0:R_.properties)??{})).flat().map(([R_,z_])=>[R_,s.convertSchema(D_)(z_)])),allOf:void 0,required:[...new Set(F_.map(R_=>(R_==null?void 0:R_.required)??[]).flat())]}},K0=D_=>(I_,F_=new Set)=>{var R_;return OpenApiV3TypeChecker.isObject(I_)?I_.properties!==void 0&&!I_.additionalProperties?I_:null:F_.has(I_)?null:(F_.add(I_),OpenApiV3TypeChecker.isReference(I_)?K0(D_)(((R_=D_.schemas)==null?void 0:R_[I_.$ref.split("/").pop()??""])??{},F_):null)}})(OpenApiV3Upgrader||(OpenApiV3Upgrader={}));var OpenApiV3_1Downgrader;(function(s){s.downgrade=D_=>{const I_=s.downgradeComponents(D_.components);return{openapi:"3.1.0",servers:D_.servers,info:D_.info,components:I_.downgraded,paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)])):void 0,webhooks:D_.webhooks?Object.fromEntries(Object.entries(D_.webhooks).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)])):void 0,security:D_.security,tags:D_.tags}};const o=D_=>I_=>{const F_={};if(I_.query&&(F_.query=F0(D_)(I_.query)),I_.additionalOperations)for(const[R_,z_]of Object.entries(I_.additionalOperations))z_!==void 0&&(F_[R_]=F0(D_)(z_));return{...I_,...I_.get?{get:F0(D_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_.trace)}:void 0,...Object.keys(F_).length>0?{"x-additionalOperations":F_}:void 0,query:void 0,additionalOperations:void 0}},F0=D_=>I_=>({...I_,parameters:I_.parameters?I_.parameters.map(L0(D_)):void 0,requestBody:I_.requestBody?B0(D_)(I_.requestBody):void 0,responses:I_.responses?Object.fromEntries(Object.entries(I_.responses).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,q0(D_)(R_)])):void 0}),L0=D_=>I_=>({...I_,in:I_.in==="querystring"?"query":I_.in,schema:s.downgradeSchema(D_)(I_.schema)}),B0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0}),q0=D_=>I_=>({...I_,content:I_.content?W0(D_)(I_.content):void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:s.downgradeSchema(D_)(R_.schema)}])):void 0}),W0=D_=>I_=>Object.fromEntries(Object.entries(I_).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,{...R_,schema:R_!=null&&R_.schema?s.downgradeSchema(D_)(R_.schema):void 0,itemSchema:void 0}]));s.downgradeComponents=D_=>{const I_={original:D_,downgraded:{securitySchemes:D_.securitySchemes?X0(D_.securitySchemes):void 0}};if(D_.schemas){I_.downgraded.schemas={};for(const[F_,R_]of Object.entries(D_.schemas))R_!==void 0&&(I_.downgraded.schemas[F_]=s.downgradeSchema(I_)(R_))}return I_},s.downgradeSchema=D_=>I_=>{const F_=[],R_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,writeOnly:I_.writeOnly,example:I_.example,examples:I_.examples,...Object.fromEntries(Object.entries(I_).filter(([H_,Oy])=>H_.startsWith("x-")&&Oy!==void 0))},z_=H_=>{OpenApiTypeChecker.isNull(H_)?F_.push({type:"null"}):OpenApiTypeChecker.isConstant(H_)?F_.push({const:H_.const}):OpenApiTypeChecker.isBoolean(H_)||OpenApiTypeChecker.isInteger(H_)||OpenApiTypeChecker.isNumber(H_)||OpenApiTypeChecker.isString(H_)||OpenApiTypeChecker.isReference(H_)?F_.push({...H_}):OpenApiTypeChecker.isArray(H_)?F_.push({...H_,items:s.downgradeSchema(D_)(H_.items)}):OpenApiTypeChecker.isTuple(H_)?F_.push({...H_,prefixItems:H_.prefixItems.map(s.downgradeSchema(D_)),additionalItems:typeof H_.additionalItems=="object"?s.downgradeSchema(D_)(H_.additionalItems):H_.additionalItems}):OpenApiTypeChecker.isObject(H_)?F_.push({...H_,properties:H_.properties?Object.fromEntries(Object.entries(H_.properties).filter(([Oy,qv])=>qv!==void 0).map(([Oy,qv])=>[Oy,s.downgradeSchema(D_)(qv)])):void 0,additionalProperties:typeof H_.additionalProperties=="object"?s.downgradeSchema(D_)(H_.additionalProperties):H_.additionalProperties,required:H_.required}):OpenApiTypeChecker.isOneOf(H_)&&H_.oneOf.forEach(z_)};return z_(I_),{...F_.length===0?{type:void 0}:F_.length===1?{...F_[0]}:{oneOf:F_},...R_}};const X0=D_=>Object.fromEntries(Object.entries(D_).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,K0(F_)])),K0=D_=>{if(D_.type==="oauth2"){const{deviceAuthorization:I_,...F_}=D_.flows;return{type:"oauth2",flows:F_,description:D_.description}}return{...D_}}})(OpenApiV3_1Downgrader||(OpenApiV3_1Downgrader={}));var OpenApiV3_1TypeChecker;(function(s){s.isConstant=o=>o.const!==void 0,s.isBoolean=o=>o.type==="boolean",s.isInteger=o=>o.type==="integer",s.isNumber=o=>o.type==="number",s.isString=o=>o.type==="string",s.isArray=o=>o.type==="array",s.isObject=o=>o.type==="object",s.isReference=o=>o.$ref!==void 0,s.isRecursiveReference=o=>o.$recursiveRef!==void 0,s.isAllOf=o=>o.allOf!==void 0,s.isAnyOf=o=>o.anyOf!==void 0,s.isOneOf=o=>o.oneOf!==void 0,s.isNullOnly=o=>o.type==="null",s.isMixed=o=>Array.isArray(o.type)})(OpenApiV3_1TypeChecker||(OpenApiV3_1TypeChecker={}));var OpenApiV3_1Upgrader;(function(s){s.convert=I_=>I_["x-typia-emended-v12"]===!0?I_:{...I_,openapi:"3.2.0",components:s.convertComponents(I_.components??{}),paths:I_.paths?Object.fromEntries(Object.entries(I_.paths).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,F0(I_)(R_)])):void 0,webhooks:I_.webhooks?Object.fromEntries(Object.entries(I_.webhooks).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,o(I_)(R_)]).filter(([F_,R_])=>R_!==void 0)):void 0,"x-typia-emended-v12":!0};const o=I_=>F_=>{var z_,H_;if(!OpenApiV3_1TypeChecker.isReference(F_))return F0(I_)(F_);const R_=(H_=(z_=I_.components)==null?void 0:z_.pathItems)==null?void 0:H_[F_.$ref.split("/").pop()??""];return R_?F0(I_)(R_):void 0},F0=I_=>F_=>{const R_=F_["x-additionalOperations"],z_=R_==null?void 0:R_.query,H_=R_?Object.fromEntries(Object.entries(R_).filter(([Oy,qv])=>Oy!=="query"&&qv!==void 0).map(([Oy,qv])=>[Oy,L0(I_)(F_)(qv)])):void 0;return{...F_,...F_.get?{get:L0(I_)(F_)(F_.get)}:void 0,...F_.put?{put:L0(I_)(F_)(F_.put)}:void 0,...F_.post?{post:L0(I_)(F_)(F_.post)}:void 0,...F_.delete?{delete:L0(I_)(F_)(F_.delete)}:void 0,...F_.options?{options:L0(I_)(F_)(F_.options)}:void 0,...F_.head?{head:L0(I_)(F_)(F_.head)}:void 0,...F_.patch?{patch:L0(I_)(F_)(F_.patch)}:void 0,...F_.trace?{trace:L0(I_)(F_)(F_.trace)}:void 0,...z_?{query:L0(I_)(F_)(z_)}:void 0,...H_&&Object.keys(H_).length>0?{additionalOperations:H_}:void 0,"x-additionalOperations":void 0}},L0=I_=>F_=>R_=>({...R_,parameters:F_.parameters!==void 0||R_.parameters!==void 0?[...F_.parameters??[],...R_.parameters??[]].map(z_=>{var Oy,qv,Lv,S1;if(!OpenApiV3_1TypeChecker.isReference(z_))return B0(I_.components??{})(z_);const H_=z_.$ref.startsWith("#/components/headers/")?(qv=(Oy=I_.components)==null?void 0:Oy.headers)==null?void 0:qv[z_.$ref.split("/").pop()??""]:(S1=(Lv=I_.components)==null?void 0:Lv.parameters)==null?void 0:S1[z_.$ref.split("/").pop()??""];return H_!==void 0?B0(I_.components??{})({...H_,in:"header"}):void 0}).filter((z_,H_)=>H_!==void 0):void 0,requestBody:R_.requestBody?q0(I_)(R_.requestBody):void 0,responses:R_.responses?Object.fromEntries(Object.entries(R_.responses).filter(([z_,H_])=>H_!==void 0).map(([z_,H_])=>[z_,W0(I_)(H_)]).filter(([z_,H_])=>H_!==void 0)):void 0}),B0=I_=>F_=>({...F_,schema:s.convertSchema(I_)(F_.schema),examples:F_.examples?Object.fromEntries(Object.entries(F_.examples).map(([R_,z_])=>{var H_;return[R_,OpenApiV3_1TypeChecker.isReference(z_)?(H_=I_.examples)==null?void 0:H_[z_.$ref.split("/").pop()??""]:z_]}).filter(([R_,z_])=>z_!==void 0)):void 0}),q0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.requestBodies)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?X0(I_.components??{})(F_.content):void 0}},W0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.responses)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?X0(I_.components??{})(F_.content):void 0,headers:F_.headers?Object.fromEntries(Object.entries(F_.headers).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>[H_,(()=>{var Lv,S1;if(OpenApiV3_1TypeChecker.isReference(Oy)===!1)return B0(I_.components??{})({...Oy,in:"header"});const qv=Oy.$ref.startsWith("#/components/headers/")?(S1=(Lv=I_.components)==null?void 0:Lv.headers)==null?void 0:S1[Oy.$ref.split("/").pop()??""]:void 0;return qv!==void 0?B0(I_.components??{})({...qv,in:"header"}):void 0})()]).filter(([H_,Oy])=>Oy!==void 0)):void 0}},X0=I_=>F_=>Object.fromEntries(Object.entries(F_).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{...z_,schema:z_.schema?s.convertSchema(I_)(z_.schema):void 0,examples:z_.examples?Object.fromEntries(Object.entries(z_.examples).map(([H_,Oy])=>{var qv;return[H_,OpenApiV3_1TypeChecker.isReference(Oy)?(qv=I_.examples)==null?void 0:qv[Oy.$ref.split("/").pop()??""]:Oy]}).filter(([H_,Oy])=>Oy!==void 0)):void 0}]));s.convertComponents=I_=>({schemas:Object.fromEntries(Object.entries(I_.schemas??{}).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,s.convertSchema(I_)(R_)])),securitySchemes:I_.securitySchemes}),s.convertSchema=I_=>F_=>{const R_=[],z_={title:F_.title,description:F_.description,deprecated:F_.deprecated,readOnly:F_.readOnly,writeOnly:F_.writeOnly,example:F_.example,examples:Array.isArray(F_.examples)?Object.fromEntries(F_.examples.map((qv,Lv)=>[`v${Lv}`,qv])):F_.examples,...Object.fromEntries(Object.entries(F_).filter(([qv,Lv])=>qv.startsWith("x-")&&Lv!==void 0))},H_={value:!1,default:void 0},Oy=qv=>{var Lv,S1,iv,Yv,_x,Qv,Fx;if(qv.nullable===!0&&(H_.value||(H_.value=!0),qv.default===null&&(H_.default=null)),Array.isArray(qv.enum)&&((Lv=qv.enum)!=null&&Lv.length)&&((S1=qv.enum)!=null&&S1.some(jx=>jx===null))&&(H_.value||(H_.value=!0)),OpenApiV3_1TypeChecker.isMixed(qv)){qv.const!==void 0&&Oy({...qv,type:void 0,oneOf:void 0,anyOf:void 0,allOf:void 0,$ref:void 0}),qv.oneOf!==void 0&&Oy({...qv,type:void 0,anyOf:void 0,allOf:void 0,$ref:void 0}),qv.anyOf!==void 0&&Oy({...qv,type:void 0,oneOf:void 0,allOf:void 0,$ref:void 0}),qv.allOf!==void 0&&Oy({...qv,type:void 0,oneOf:void 0,anyOf:void 0,$ref:void 0});for(const jx of qv.type)Oy(jx==="boolean"||jx==="number"||jx==="string"?{...qv,enum:(iv=qv.enum)!=null&&iv.length&&qv.enum.filter(K7=>K7!==null)?qv.enum.filter(K7=>typeof K7===jx):void 0,type:jx}:jx==="integer"?{...qv,enum:(Yv=qv.enum)!=null&&Yv.length&&qv.enum.filter(K7=>K7!==null)?qv.enum.filter(K7=>K7!==null&&typeof K7=="number"&&Number.isInteger(K7)):void 0,type:jx}:{...qv,type:jx})}else if(OpenApiV3_1TypeChecker.isOneOf(qv))qv.oneOf.forEach(Oy);else if(OpenApiV3_1TypeChecker.isAnyOf(qv))qv.anyOf.forEach(Oy);else if(OpenApiV3_1TypeChecker.isAllOf(qv))qv.allOf.length===1?Oy(qv.allOf[0]):R_.push(K0(I_)(qv));else if(OpenApiV3_1TypeChecker.isBoolean(qv))if((_x=qv.enum)!=null&&_x.length&&qv.enum.filter(jx=>jx!==null).length)for(const jx of qv.enum.filter(K7=>K7!==null))R_.push({const:jx,...qv,type:void 0,enum:void 0,default:void 0});else R_.push({...qv,default:qv.default??void 0,enum:void 0});else if(OpenApiV3_1TypeChecker.isInteger(qv)||OpenApiV3_1TypeChecker.isNumber(qv))if((Qv=qv.enum)!=null&&Qv.length&&qv.enum.filter(jx=>jx!==null))for(const jx of qv.enum.filter(K7=>K7!==null))R_.push({const:jx,...qv,type:void 0,enum:void 0,default:void 0,minimum:void 0,maximum:void 0,exclusiveMinimum:void 0,exclusiveMaximum:void 0,multipleOf:void 0});else R_.push(OpenApiExclusiveEmender.emend({...qv,default:qv.default??void 0,enum:void 0,exclusiveMinimum:typeof qv.exclusiveMinimum=="boolean"?qv.exclusiveMinimum===!0?qv.minimum:void 0:qv.exclusiveMinimum,exclusiveMaximum:typeof qv.exclusiveMaximum=="boolean"?qv.exclusiveMaximum===!0?qv.maximum:void 0:qv.exclusiveMaximum,minimum:qv.exclusiveMinimum===!0?void 0:qv.minimum,maximum:qv.exclusiveMaximum===!0?void 0:qv.maximum}));else if(OpenApiV3_1TypeChecker.isString(qv))if((Fx=qv.enum)!=null&&Fx.length&&qv.enum.filter(jx=>jx!==null).length)for(const jx of qv.enum.filter(K7=>K7!==null))R_.push({const:jx,...qv,type:void 0,enum:void 0,default:void 0});else R_.push({...qv,default:qv.default??void 0,enum:void 0});else OpenApiV3_1TypeChecker.isArray(qv)?Array.isArray(qv.items)?R_.push({...qv,items:void 0,prefixItems:qv.items.map(s.convertSchema(I_)),additionalItems:typeof qv.additionalItems=="object"&&qv.additionalItems!==null?s.convertSchema(I_)(qv.additionalItems):qv.additionalItems}):Array.isArray(qv.prefixItems)?R_.push({...qv,items:void 0,prefixItems:qv.prefixItems.map(s.convertSchema(I_)),additionalItems:typeof qv.additionalItems=="object"&&qv.additionalItems!==null?s.convertSchema(I_)(qv.additionalItems):qv.additionalItems}):qv.items===void 0?R_.push({...qv,items:void 0,prefixItems:[]}):R_.push({...qv,items:s.convertSchema(I_)(qv.items),prefixItems:void 0,additionalItems:void 0}):OpenApiV3_1TypeChecker.isObject(qv)?R_.push({...qv,properties:qv.properties?Object.fromEntries(Object.entries(qv.properties).filter(([jx,K7])=>K7!==void 0).map(([jx,K7])=>[jx,s.convertSchema(I_)(K7)])):{},additionalProperties:qv.additionalProperties?typeof qv.additionalProperties=="object"&&qv.additionalProperties!==null?s.convertSchema(I_)(qv.additionalProperties):qv.additionalProperties:void 0,required:qv.required??[]}):OpenApiV3_1TypeChecker.isReference(qv)?R_.push({...qv,$ref:`#/components/schemas/${qv.$ref.split("/").pop()}`}):OpenApiV3_1TypeChecker.isRecursiveReference(qv)?R_.push({...qv,$ref:`#/components/schemas/${qv.$recursiveRef.split("/").pop()}`,$recursiveRef:void 0}):R_.push(qv)};if(Oy(F_),H_.value===!0&&!R_.some(qv=>qv.type==="null")&&R_.push({type:"null",default:H_.default}),R_.length===2&&R_.filter(qv=>OpenApiTypeChecker.isNull(qv)).length===1){const qv=R_.filter(Lv=>OpenApiTypeChecker.isNull(Lv)===!1)[0];for(const Lv of["title","description","deprecated","readOnly","writeOnly","example","examples"])qv[Lv]!==void 0&&delete qv[Lv]}return{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_.map(qv=>({...qv,nullable:void 0,$defs:void 0}))},...z_,nullable:void 0,$defs:void 0}};const K0=I_=>F_=>{const R_=F_.allOf.map(z_=>D_(I_)(z_));return R_.some(z_=>z_===null)?{type:void 0,allOf:void 0}:{...F_,type:"object",properties:Object.fromEntries(R_.map(z_=>Object.entries((z_==null?void 0:z_.properties)??{})).flat().map(([z_,H_])=>[z_,s.convertSchema(I_)(H_)])),allOf:void 0,required:[...new Set(R_.map(z_=>(z_==null?void 0:z_.required)??[]).flat())]}},D_=I_=>(F_,R_=new Set)=>{var z_,H_;return OpenApiV3_1TypeChecker.isObject(F_)?F_.properties!==void 0&&!F_.additionalProperties?F_:null:R_.has(F_)?null:(R_.add(F_),OpenApiV3_1TypeChecker.isReference(F_)?D_(I_)(((z_=I_.schemas)==null?void 0:z_[F_.$ref.split("/").pop()??""])??{},R_):OpenApiV3_1TypeChecker.isRecursiveReference(F_)?D_(I_)(((H_=I_.schemas)==null?void 0:H_[F_.$recursiveRef.split("/").pop()??""])??{},R_):null)}})(OpenApiV3_1Upgrader||(OpenApiV3_1Upgrader={}));var OpenApiV3_2Upgrader;(function(s){s.convert=I_=>{var F_;return I_["x-typia-emended-v12"]===!0?I_:{...I_,openapi:"3.2.0",components:s.convertComponents(I_.components??{}),tags:(F_=I_.tags)==null?void 0:F_.map(o),paths:I_.paths?Object.fromEntries(Object.entries(I_.paths).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,L0(I_)(z_)])):void 0,webhooks:I_.webhooks?Object.fromEntries(Object.entries(I_.webhooks).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,F0(I_)(z_)]).filter(([R_,z_])=>z_!==void 0)):void 0,"x-typia-emended-v12":!0}};const o=I_=>({name:I_.name,summary:I_.summary,description:I_.description,parent:I_.parent,kind:I_.kind}),F0=I_=>F_=>{var z_,H_;if(!OpenApiV3_1TypeChecker.isReference(F_))return L0(I_)(F_);const R_=(H_=(z_=I_.components)==null?void 0:z_.pathItems)==null?void 0:H_[F_.$ref.split("/").pop()??""];return R_?L0(I_)(R_):void 0},L0=I_=>F_=>({...F_,...F_.get?{get:B0(I_)(F_)(F_.get)}:void 0,...F_.put?{put:B0(I_)(F_)(F_.put)}:void 0,...F_.post?{post:B0(I_)(F_)(F_.post)}:void 0,...F_.delete?{delete:B0(I_)(F_)(F_.delete)}:void 0,...F_.options?{options:B0(I_)(F_)(F_.options)}:void 0,...F_.head?{head:B0(I_)(F_)(F_.head)}:void 0,...F_.patch?{patch:B0(I_)(F_)(F_.patch)}:void 0,...F_.trace?{trace:B0(I_)(F_)(F_.trace)}:void 0,...F_.query?{query:B0(I_)(F_)(F_.query)}:void 0,...F_.additionalOperations?{additionalOperations:Object.fromEntries(Object.entries(F_.additionalOperations).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,B0(I_)(F_)(z_)]))}:void 0}),B0=I_=>F_=>R_=>({...R_,parameters:F_.parameters!==void 0||R_.parameters!==void 0?[...F_.parameters??[],...R_.parameters??[]].map(z_=>{var Oy,qv,Lv,S1;if(!OpenApiV3_1TypeChecker.isReference(z_))return q0(I_.components??{})(z_);const H_=z_.$ref.startsWith("#/components/headers/")?(qv=(Oy=I_.components)==null?void 0:Oy.headers)==null?void 0:qv[z_.$ref.split("/").pop()??""]:(S1=(Lv=I_.components)==null?void 0:Lv.parameters)==null?void 0:S1[z_.$ref.split("/").pop()??""];return H_!==void 0?q0(I_.components??{})({...H_,in:"header"}):void 0}).filter((z_,H_)=>H_!==void 0):void 0,requestBody:R_.requestBody?W0(I_)(R_.requestBody):void 0,responses:R_.responses?Object.fromEntries(Object.entries(R_.responses).filter(([z_,H_])=>H_!==void 0).map(([z_,H_])=>[z_,X0(I_)(H_)]).filter(([z_,H_])=>H_!==void 0)):void 0}),q0=I_=>F_=>({...F_,schema:s.convertSchema(I_)(F_.schema),examples:F_.examples?Object.fromEntries(Object.entries(F_.examples).map(([R_,z_])=>{var H_;return[R_,OpenApiV3_1TypeChecker.isReference(z_)?(H_=I_.examples)==null?void 0:H_[z_.$ref.split("/").pop()??""]:z_]}).filter(([R_,z_])=>z_!==void 0)):void 0}),W0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.requestBodies)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?K0(I_.components??{})(F_.content):void 0}},X0=I_=>F_=>{var R_,z_;if(OpenApiV3_1TypeChecker.isReference(F_)){const H_=(z_=(R_=I_.components)==null?void 0:R_.responses)==null?void 0:z_[F_.$ref.split("/").pop()??""];if(H_===void 0)return;F_=H_}return{...F_,content:F_.content?K0(I_.components??{})(F_.content):void 0,headers:F_.headers?Object.fromEntries(Object.entries(F_.headers).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>[H_,(()=>{var Lv,S1;if(OpenApiV3_1TypeChecker.isReference(Oy)===!1)return q0(I_.components??{})({...Oy,in:"header"});const qv=Oy.$ref.startsWith("#/components/headers/")?(S1=(Lv=I_.components)==null?void 0:Lv.headers)==null?void 0:S1[Oy.$ref.split("/").pop()??""]:void 0;return qv!==void 0?q0(I_.components??{})({...qv,in:"header"}):void 0})()]).filter(([H_,Oy])=>Oy!==void 0)):void 0}},K0=I_=>F_=>Object.fromEntries(Object.entries(F_).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{...z_,schema:z_.schema?s.convertSchema(I_)(z_.schema):void 0,itemSchema:z_.itemSchema?s.convertSchema(I_)(z_.itemSchema):void 0,examples:z_.examples?Object.fromEntries(Object.entries(z_.examples).map(([H_,Oy])=>{var qv;return[H_,OpenApiV3_1TypeChecker.isReference(Oy)?(qv=I_.examples)==null?void 0:qv[Oy.$ref.split("/").pop()??""]:Oy]}).filter(([H_,Oy])=>Oy!==void 0)):void 0}]));s.convertComponents=I_=>({schemas:Object.fromEntries(Object.entries(I_.schemas??{}).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,s.convertSchema(I_)(R_)])),securitySchemes:I_.securitySchemes?Object.fromEntries(Object.entries(I_.securitySchemes).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,D_(R_)])):void 0});const D_=I_=>I_.type==="oauth2"?{...I_,flows:{...I_.flows,deviceAuthorization:I_.flows.deviceAuthorization},oauth2MetadataUrl:I_.oauth2MetadataUrl}:I_;s.convertSchema=I_=>F_=>OpenApiV3_1Upgrader.convertSchema(I_)(F_)})(OpenApiV3_2Upgrader||(OpenApiV3_2Upgrader={}));var SwaggerV2Downgrader;(function(s){s.downgrade=D_=>{var F_,R_,z_;const I_=s.downgradeComponents(D_.components);return{swagger:"2.0",info:D_.info,host:(R_=(F_=D_.servers)==null?void 0:F_[0])!=null&&R_.url?D_.servers[0].url.split("://").pop():"",definitions:I_.downgraded,securityDefinitions:(z_=D_.components)!=null&&z_.securitySchemes?Object.fromEntries(Object.entries(D_.components.securitySchemes).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>X0(Oy).map(qv=>[H_,qv])).flat()):void 0,paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([H_,Oy])=>Oy!==void 0).map(([H_,Oy])=>[H_,o(I_)(Oy)])):void 0,security:D_.security,tags:D_.tags}};const o=D_=>I_=>{const F_={};if(I_.query&&(F_.query=F0(D_)(I_.query)),I_.additionalOperations)for(const[R_,z_]of Object.entries(I_.additionalOperations))z_!==void 0&&(F_[R_]=F0(D_)(z_));return{...I_,...I_.get?{get:F0(D_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_.trace)}:void 0,...Object.keys(F_).length>0?{"x-additionalOperations":F_}:void 0,query:void 0,additionalOperations:void 0}},F0=D_=>I_=>({...I_,parameters:I_.parameters!==void 0||I_.requestBody!==void 0?[...(I_.parameters??[]).map(L0(D_)),...I_.requestBody?[B0(D_)(I_.requestBody)]:[]]:void 0,responses:I_.responses?Object.fromEntries(Object.entries(I_.responses).filter(([F_,R_])=>R_!==void 0).map(([F_,R_])=>[F_,q0(D_)(R_)])):void 0,requestBody:void 0,servers:void 0}),L0=D_=>(I_,F_)=>{var R_;return{...s.downgradeSchema(D_)(I_.schema),...I_,in:I_.in==="querystring"?"query":I_.in,required:(R_=I_.schema)==null?void 0:R_.required,schema:void 0,name:I_.name??`p${F_}`,example:void 0,examples:void 0}},B0=D_=>I_=>{var F_;return{name:"body",in:"body",description:I_.description,required:I_.required,schema:s.downgradeSchema(D_)(((F_=Object.values(I_.content??{})[0])==null?void 0:F_.schema)??{})}},q0=D_=>I_=>{var F_;return{description:I_.description,schema:s.downgradeSchema(D_)(((F_=Object.values(I_.content??{})[0])==null?void 0:F_.schema)??{}),headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{...z_,schema:s.downgradeSchema(D_)(z_.schema),example:void 0,examples:void 0}])):void 0}};s.downgradeComponents=D_=>{const I_={original:D_,downgraded:{}};if(D_.schemas){I_.downgraded.schemas={};for(const[F_,R_]of Object.entries(D_.schemas))R_!==void 0&&(I_.downgraded[F_.split("/").pop()]=s.downgradeSchema(I_)(R_))}return I_},s.downgradeSchema=D_=>I_=>{const F_=K0(new Set)(D_.original)(I_),R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,example:I_.example,examples:I_.examples?Object.values(I_.examples):void 0,...Object.fromEntries(Object.entries(I_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0))},H_=Oy=>{OpenApiTypeChecker.isBoolean(Oy)?R_.push({type:"boolean"}):OpenApiTypeChecker.isBoolean(Oy)||OpenApiTypeChecker.isInteger(Oy)||OpenApiTypeChecker.isNumber(Oy)||OpenApiTypeChecker.isString(Oy)?R_.push({...Oy,examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isReference(Oy)?R_.push({$ref:`#/definitions/${Oy.$ref.split("/").pop()}`}):OpenApiTypeChecker.isArray(Oy)?R_.push({...Oy,items:s.downgradeSchema(D_)(Oy.items),examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isTuple(Oy)?R_.push({...Oy,items:(()=>{if(Oy.additionalItems===!0)return{};const qv=[...Oy.prefixItems,...typeof Oy.additionalItems=="object"?[s.downgradeSchema(D_)(Oy.additionalItems)]:[]];return qv.length===0?{}:{"x-oneOf":qv.map(s.downgradeSchema(D_))}})(),minItems:Oy.prefixItems.length,maxItems:Oy.additionalItems?void 0:Oy.prefixItems.length,prefixItems:void 0,additionalItems:void 0,examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isObject(Oy)?R_.push({...Oy,properties:Oy.properties?Object.fromEntries(Object.entries(Oy.properties).filter(([qv,Lv])=>Lv!==void 0).map(([qv,Lv])=>[qv,s.downgradeSchema(D_)(Lv)])):void 0,additionalProperties:typeof Oy.additionalProperties=="object"?s.downgradeSchema(D_)(Oy.additionalProperties):Oy.additionalProperties,required:Oy.required,examples:Oy.examples?Object.values(Oy.examples):void 0}):OpenApiTypeChecker.isOneOf(Oy)&&Oy.oneOf.forEach(H_)};if(H_(I_),F_)for(const Oy of R_)OpenApiTypeChecker.isReference(Oy)?W0(new Set)(D_)(Oy):Oy["x-nullable"]=!0;return F_===!0&&R_.length===0?{type:"null",...z_}:{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{"x-oneOf":R_},...z_,...R_.length>1?{discriminator:void 0}:{}}};const W0=D_=>I_=>F_=>{var H_;const R_=F_.$ref.split("/").pop();if(R_.endsWith(".Nullable"))return;const z_=(H_=I_.original.schemas)==null?void 0:H_[R_];if(z_!==void 0){{if(K0(D_)(I_.original)(z_)===!0)return;I_.downgraded[`${R_}.Nullable`]===void 0&&(I_.downgraded[`${R_}.Nullable`]={},I_.downgraded[`${R_}.Nullable`]=s.downgradeSchema(I_)(OpenApiTypeChecker.isOneOf(z_)?{...z_,oneOf:[...z_.oneOf,{type:"null"}]}:{title:z_.title,description:z_.description,example:z_.example,examples:z_.examples?Object.values(z_.examples):void 0,...Object.fromEntries(Object.entries(z_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0)),oneOf:[z_,{type:"null"}]}))}F_.$ref+=".Nullable"}},X0=D_=>{if(D_.type==="apiKey")return[D_];if(D_.type==="http")return D_.scheme==="basic"?[{type:"basic",description:D_.description}]:[];if(D_.type==="oauth2"){const I_=[];return D_.flows.implicit&&I_.push({type:"oauth2",flow:"implicit",authorizationUrl:D_.flows.implicit.authorizationUrl,scopes:D_.flows.implicit.scopes}),D_.flows.password&&I_.push({type:"oauth2",flow:"password",tokenUrl:D_.flows.password.tokenUrl,scopes:D_.flows.password.scopes}),D_.flows.clientCredentials&&I_.push({type:"oauth2",flow:"application",tokenUrl:D_.flows.clientCredentials.tokenUrl,scopes:D_.flows.clientCredentials.scopes}),D_.flows.authorizationCode&&I_.push({type:"oauth2",flow:"accessCode",authorizationUrl:D_.flows.authorizationCode.authorizationUrl,tokenUrl:D_.flows.authorizationCode.tokenUrl,scopes:D_.flows.authorizationCode.scopes}),I_}return[]},K0=D_=>I_=>F_=>{var R_;if(OpenApiTypeChecker.isNull(F_))return!0;if(OpenApiTypeChecker.isReference(F_)){if(D_.has(F_.$ref))return!1;D_.add(F_.$ref);const z_=F_.$ref.split("/").pop(),H_=(R_=I_.schemas)==null?void 0:R_[z_];return H_?K0(D_)(I_)(H_):!1}return OpenApiTypeChecker.isOneOf(F_)&&F_.oneOf.some(K0(D_)(I_))}})(SwaggerV2Downgrader||(SwaggerV2Downgrader={}));var SwaggerV2TypeChecker;(function(s){s.isBoolean=o=>o.type==="boolean",s.isInteger=o=>o.type==="integer",s.isNumber=o=>o.type==="number",s.isString=o=>o.type==="string",s.isArray=o=>o.type==="array",s.isObject=o=>o.type==="object",s.isReference=o=>o.$ref!==void 0,s.isAllOf=o=>o.allOf!==void 0,s.isOneOf=o=>o["x-oneOf"]!==void 0,s.isAnyOf=o=>o["x-anyOf"]!==void 0,s.isNullOnly=o=>o.type==="null"})(SwaggerV2TypeChecker||(SwaggerV2TypeChecker={}));var SwaggerV2Upgrader;(function(s){s.convert=D_=>({openapi:"3.2.0",info:D_.info,components:s.convertComponents(D_),paths:D_.paths?Object.fromEntries(Object.entries(D_.paths).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,o(D_)(F_)])):void 0,servers:D_.host?[{url:D_.host}]:void 0,security:D_.security,tags:D_.tags,"x-typia-emended-v12":!0});const o=D_=>I_=>{const F_=I_["x-additionalOperations"],R_=F_==null?void 0:F_.query,z_=F_?Object.fromEntries(Object.entries(F_).filter(([H_,Oy])=>H_!=="query"&&Oy!==void 0).map(([H_,Oy])=>[H_,F0(D_)(I_)(Oy)])):void 0;return{...I_,...I_.get?{get:F0(D_)(I_)(I_.get)}:void 0,...I_.put?{put:F0(D_)(I_)(I_.put)}:void 0,...I_.post?{post:F0(D_)(I_)(I_.post)}:void 0,...I_.delete?{delete:F0(D_)(I_)(I_.delete)}:void 0,...I_.options?{options:F0(D_)(I_)(I_.options)}:void 0,...I_.head?{head:F0(D_)(I_)(I_.head)}:void 0,...I_.patch?{patch:F0(D_)(I_)(I_.patch)}:void 0,...I_.trace?{trace:F0(D_)(I_)(I_.trace)}:void 0,...R_?{query:F0(D_)(I_)(R_)}:void 0,...z_&&Object.keys(z_).length>0?{additionalOperations:z_}:void 0,"x-additionalOperations":void 0}},F0=D_=>I_=>F_=>({...F_,parameters:I_.parameters!==void 0||F_.parameters!==void 0?[...I_.parameters??[],...F_.parameters??[]].map(R_=>{var z_;return SwaggerV2TypeChecker.isReference(R_)?(z_=D_.parameters)==null?void 0:z_[R_.$ref.split("/").pop()??""]:R_}).filter(R_=>R_!==void 0&&R_.in!=="body"&&R_.schema===void 0).map(L0(D_.definitions??{})):void 0,requestBody:(()=>{var z_;const R_=(z_=F_.parameters)==null?void 0:z_.find(H_=>{var Oy;return SwaggerV2TypeChecker.isReference(H_)&&(H_=(Oy=D_.parameters)==null?void 0:Oy[H_.$ref.split("/").pop()??""]),(H_==null?void 0:H_.schema)!==void 0});return R_?B0(D_.definitions??{})(R_):void 0})(),responses:F_.responses?Object.fromEntries(Object.entries(F_.responses).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,q0(D_)(z_)]).filter(([R_,z_])=>z_!==void 0)):void 0}),L0=D_=>I_=>({name:I_.name,in:I_.in,description:I_.description,schema:s.convertSchema(D_)(I_),required:!0}),B0=D_=>I_=>({description:I_.description,content:{"application/json":{schema:s.convertSchema(D_)(I_.schema)}}}),q0=D_=>I_=>{var F_;if(SwaggerV2TypeChecker.isReference(I_)){const R_=(F_=D_.responses)==null?void 0:F_[I_.$ref.split("/").pop()??""];if(R_===void 0)return;I_=R_}return{description:I_.description,content:I_.schema?{"application/json":{schema:s.convertSchema(D_.definitions??{})(I_.schema),example:I_.example}}:void 0,headers:I_.headers?Object.fromEntries(Object.entries(I_.headers).filter(([R_,z_])=>z_!==void 0).map(([R_,z_])=>[R_,{schema:s.convertSchema(D_.definitions??{})(z_),in:"header"}])):void 0}};s.convertComponents=D_=>({schemas:Object.fromEntries(Object.entries(D_.definitions??{}).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,s.convertSchema(D_.definitions??{})(F_)])),securitySchemes:D_.securityDefinitions?Object.fromEntries(Object.entries(D_.securityDefinitions).filter(([I_,F_])=>F_!==void 0).map(([I_,F_])=>[I_,W0(F_)]).filter(([I_,F_])=>F_!==void 0)):void 0});const W0=D_=>{if(D_.type==="apiKey")return D_;if(D_.type==="basic")return{type:"http",scheme:"basic",description:D_.description};if(D_.type==="oauth2")return D_.flow==="implicit"?{type:"oauth2",description:D_.description,flows:{implicit:{authorizationUrl:D_.authorizationUrl,scopes:D_.scopes}}}:D_.flow==="accessCode"?{type:"oauth2",description:D_.description,flows:{authorizationCode:{authorizationUrl:D_.authorizationUrl,tokenUrl:D_.tokenUrl,scopes:D_.scopes}}}:D_.flow==="password"?{type:"oauth2",description:D_.description,flows:{password:{tokenUrl:D_.tokenUrl,scopes:D_.scopes}}}:D_.flow==="application"?{type:"oauth2",description:D_.description,flows:{clientCredentials:{tokenUrl:D_.tokenUrl,scopes:D_.scopes}}}:void 0};s.convertSchema=D_=>I_=>{const F_={value:!1,default:void 0},R_=[],z_={title:I_.title,description:I_.description,deprecated:I_.deprecated,readOnly:I_.readOnly,example:I_.example,examples:I_.examples?Object.fromEntries(I_.examples.map((Oy,qv)=>[`v${qv}`,Oy])):void 0,...Object.fromEntries(Object.entries(I_).filter(([Oy,qv])=>Oy.startsWith("x-")&&qv!==void 0))},H_=Oy=>{var qv,Lv,S1;Oy["x-nullable"]===!0&&(F_.value||(F_.value=!0),Oy.default===null&&(F_.default=null)),Array.isArray(Oy.enum)&&((qv=Oy.enum)!=null&&qv.length)&&((Lv=Oy.enum)!=null&&Lv.some(iv=>iv===null))&&(F_.value||(F_.value=!0)),SwaggerV2TypeChecker.isAnyOf(Oy)?Oy["x-anyOf"].forEach(H_):SwaggerV2TypeChecker.isOneOf(Oy)?Oy["x-oneOf"].forEach(H_):SwaggerV2TypeChecker.isAllOf(Oy)?Oy.allOf.length===1?H_(Oy.allOf[0]):R_.push(X0(D_)(Oy)):SwaggerV2TypeChecker.isBoolean(Oy)||SwaggerV2TypeChecker.isInteger(Oy)||SwaggerV2TypeChecker.isNumber(Oy)||SwaggerV2TypeChecker.isString(Oy)?(S1=Oy.enum)!=null&&S1.length&&Oy.enum.filter(iv=>iv!==null).length?R_.push(...Oy.enum.filter(iv=>iv!==null).map(iv=>({const:iv}))):SwaggerV2TypeChecker.isInteger(Oy)||SwaggerV2TypeChecker.isNumber(Oy)?R_.push(OpenApiExclusiveEmender.emend({...Oy,default:Oy.default??void 0,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0,exclusiveMinimum:typeof Oy.exclusiveMinimum=="boolean"?Oy.exclusiveMinimum===!0?Oy.minimum:void 0:Oy.exclusiveMinimum,exclusiveMaximum:typeof Oy.exclusiveMaximum=="boolean"?Oy.exclusiveMaximum===!0?Oy.maximum:void 0:Oy.exclusiveMaximum,minimum:Oy.exclusiveMinimum===!0?void 0:Oy.minimum,maximum:Oy.exclusiveMaximum===!0?void 0:Oy.maximum,enum:void 0})):R_.push({...Oy,default:Oy.default??void 0,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0,enum:void 0}):SwaggerV2TypeChecker.isArray(Oy)?R_.push({...Oy,items:s.convertSchema(D_)(Oy.items),examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0}):SwaggerV2TypeChecker.isObject(Oy)?R_.push({...Oy,properties:Oy.properties?Object.fromEntries(Object.entries(Oy.properties).filter(([iv,Yv])=>Yv!==void 0).map(([iv,Yv])=>[iv,s.convertSchema(D_)(Yv)])):{},additionalProperties:Oy.additionalProperties?typeof Oy.additionalProperties=="object"&&Oy.additionalProperties!==null?s.convertSchema(D_)(Oy.additionalProperties):Oy.additionalProperties:void 0,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0,required:Oy.required??[]}):SwaggerV2TypeChecker.isReference(Oy)?R_.push({...Oy,$ref:Oy.$ref.replace("#/definitions/","#/components/schemas/"),examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0}):R_.push({...Oy,examples:Oy.examples?Object.fromEntries(Oy.examples.map((iv,Yv)=>[`v${Yv}`,iv])):void 0})};if(H_(I_),F_.value===!0&&!R_.some(Oy=>Oy.type==="null")&&R_.push({type:"null",default:F_.default}),R_.length===2&&R_.filter(Oy=>OpenApiTypeChecker.isNull(Oy)).length===1){const Oy=R_.filter(qv=>OpenApiTypeChecker.isNull(qv)===!1)[0];for(const qv of["title","description","deprecated","example","examples"])Oy[qv]!==void 0&&delete Oy[qv]}return{...R_.length===0?{type:void 0}:R_.length===1?{...R_[0]}:{oneOf:R_.map(Oy=>({...Oy,"x-nullable":void 0}))},...z_,"x-nullable":void 0}};const X0=D_=>I_=>{const F_=I_.allOf.map(R_=>K0(D_)(R_));return F_.some(R_=>R_===null)?{type:void 0,allOf:void 0}:{...I_,type:"object",properties:Object.fromEntries(F_.map(R_=>Object.entries((R_==null?void 0:R_.properties)??{})).flat().map(([R_,z_])=>[R_,s.convertSchema(D_)(z_)])),allOf:void 0,required:[...new Set(F_.map(R_=>(R_==null?void 0:R_.required)??[]).flat())]}},K0=D_=>(I_,F_=new Set)=>SwaggerV2TypeChecker.isObject(I_)?I_.properties!==void 0&&!I_.additionalProperties?I_:null:F_.has(I_)?null:(F_.add(I_),SwaggerV2TypeChecker.isReference(I_)?K0(D_)((D_==null?void 0:D_[I_.$ref.split("/").pop()??""])??{},F_):null)})(SwaggerV2Upgrader||(SwaggerV2Upgrader={}));var OpenApiConverter;(function(s){function o(X0){if(isUpgraded(X0))return X0;if(is_v32(X0))return OpenApiV3_2Upgrader.convert(X0);if(is_v31(X0))return OpenApiV3_1Upgrader.convert(X0);if(is_v30(X0))return OpenApiV3Upgrader.convert(X0);if(is_v20(X0))return SwaggerV2Upgrader.convert(X0);throw new Error("Invalid OpenAPI document")}s.upgradeDocument=o;function F0(X0,K0){if(K0==="2.0")return SwaggerV2Downgrader.downgrade(X0);if(K0==="3.0")return OpenApiV3Downgrader.downgrade(X0);if(K0==="3.1")return OpenApiV3_1Downgrader.downgrade(X0);throw new Error("Invalid OpenAPI version")}s.downgradeDocument=F0;function L0(X0){return is_v20(X0)?SwaggerV2Upgrader.convertComponents(X0):OpenApiV3_1Upgrader.convertComponents(X0)}s.upgradeComponents=L0;function B0(X0,K0){return K0==="2.0"?SwaggerV2Downgrader.downgradeComponents(X0).downgraded:K0==="3.1"?OpenApiV3_1Downgrader.downgradeComponents(X0).downgraded:OpenApiV3Downgrader.downgradeComponents(X0).downgraded}s.downgradeComponents=B0;function q0(X0){return"definitions"in X0?SwaggerV2Upgrader.convertSchema(X0.definitions)(X0.schema):OpenApiV3_1Upgrader.convertSchema(X0.components)(X0.schema)}s.upgradeSchema=q0;function W0(X0){return X0.version==="2.0"?SwaggerV2Downgrader.downgradeSchema({original:X0.components,downgraded:X0.downgraded})(X0.schema):X0.version==="3.1"?OpenApiV3_1Downgrader.downgradeSchema({original:X0.components,downgraded:X0.downgraded})(X0.schema):OpenApiV3Downgrader.downgradeSchema({original:X0.components,downgraded:X0.downgraded})(X0.schema)}s.downgradeSchema=W0})(OpenApiConverter||(OpenApiConverter={}));const is_v20=s=>typeof s=="object"&&s!==null&&"swagger"in s&&typeof s.swagger=="string"&&s.swagger.startsWith("2.0"),is_v30=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.0"),is_v31=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.1"),is_v32=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.2"),isUpgraded=s=>typeof s=="object"&&s!==null&&"openapi"in s&&typeof s.openapi=="string"&&s.openapi.startsWith("3.2")&&s["x-typia-emended-v12"]===!0;var EndpointUtil;(function(s){s.capitalize=o=>o.length!==0?o[0].toUpperCase()+o.slice(1).toLowerCase():o,s.pascal=o=>s.splitWithNormalization(o).filter(F0=>F0[0]!=="{").map(NamingConvention.pascal).join(""),s.splitWithNormalization=o=>o.split("/").map(F0=>s.normalize(F0.trim())).filter(F0=>!!F0.length),s.reJoinWithDecimalParameters=o=>(o=o.split("/").map(F0=>F0[0]==="{"&&F0[F0.length-1]==="}"?`:${F0.substring(1,F0.length-1)}`:F0).join("/"),`${o.startsWith("/")?"":"/"}${o}`),s.normalize=o=>(o=o.split(".").join("_").split("-").join("_").trim(),o.length===0?o:NamingConvention.reserved(o)?`_${o}`:(o.length!==0&&"0"<=o[0]&&o[0]<="9"&&(o=`_${o}`),o)),s.escapeDuplicate=o=>F0=>o.includes(F0)?s.escapeDuplicate(o)(`_${F0}`):F0})(EndpointUtil||(EndpointUtil={}));var HttpMigrateRouteAccessor;(function(s){s.overwrite=B0=>{const q0=L0(B0),W0=o(X0=>X0.emendedPath.split("/").filter(K0=>!!K0.length&&K0[0]!==":").map(EndpointUtil.normalize).map(K0=>NamingConvention.variable(K0)?K0:`_${K0}`))(B0);for(const X0 of W0.values())X0.entries.forEach((K0,D_)=>{K0.alias=EndpointUtil.escapeDuplicate([...X0.children,...X0.entries.filter((R_,z_)=>D_!==z_).map(R_=>R_.alias)].map(EndpointUtil.normalize))(EndpointUtil.normalize(K0.alias));const I_=[...K0.route.parameters,...K0.route.body?[K0.route.body]:[],...K0.route.headers?[K0.route.headers]:[],...K0.route.query?[K0.route.query]:[]];I_.forEach((R_,z_)=>R_.key=EndpointUtil.escapeDuplicate(["connection",K0.alias,...I_.filter((H_,Oy)=>z_!==Oy).map(H_=>H_.key)])(R_.key));const F_=K0.route.operation()["x-samchon-accessor"];F_!==void 0&&q0.get(F_.join("."))===1?K0.route.accessor=F_:K0.route.accessor=[...X0.namespace,K0.alias]});for(const X0 of B0)for(;;){const K0=B0.find(D_=>D_.accessor.length<X0.accessor.length&&X0.accessor.slice(0,D_.accessor.length).every((I_,F_)=>I_===D_.accessor[F_]));if(K0===void 0)break;X0.accessor[K0.accessor.length-1]=`_${X0.accessor[K0.accessor.length-1]}`}};const o=B0=>q0=>{const W0=new Map;for(const X0 of q0){const K0=B0(X0);let D_=MapUtil$1.take(W0,K0.join("."),()=>({namespace:K0,children:new Set,entries:[]}));D_.entries.push({route:X0,alias:F0(X0)}),K0.slice(0,-1).forEach((F_,R_,z_)=>{const H_=K0.slice(0,z_.length-R_);MapUtil$1.take(W0,H_.join("."),()=>({namespace:H_,children:new Set,entries:[]})).children.add(D_.namespace.at(-1))});const I_=MapUtil$1.take(W0,"",()=>({namespace:[],children:new Set,entries:[]}));K0.length&&I_.children.add(K0[0])}return W0},F0=B0=>{const q0=B0.method==="delete"?"erase":B0.method;return B0.parameters.length===0?q0:q0+"By"+B0.parameters.map(W0=>EndpointUtil.capitalize(W0.key)).join("And")},L0=B0=>{var W0;const q0=new Map;for(const X0 of B0){const K0=(W0=X0.operation()["x-samchon-accessor"])==null?void 0:W0.join(".");K0!==void 0&&(q0.has(K0)?q0.set(K0,q0.get(K0)+1):q0.set(K0,1))}return q0}})(HttpMigrateRouteAccessor||(HttpMigrateRouteAccessor={}));var HttpMigrateRouteComposer;(function(s){s.compose=W0=>{const X0=L0("request")(Oy=>B0({document:W0.document,name:EndpointUtil.pascal(`I/Api/${W0.path}`)+"."+EndpointUtil.pascal(`${W0.method}/Body`),schema:Oy}))(W0.operation.requestBody),K0=(()=>{var qv,Lv,S1,iv,Yv;const Oy=L0("response")(_x=>B0({document:W0.document,name:EndpointUtil.pascal(`I/Api/${W0.path}`)+"."+EndpointUtil.pascal(`${W0.method}/Response`),schema:_x}))(((qv=W0.operation.responses)==null?void 0:qv["201"])??((Lv=W0.operation.responses)==null?void 0:Lv["200"])??((S1=W0.operation.responses)==null?void 0:S1.default));return Oy&&{...Oy,status:(iv=W0.operation.responses)!=null&&iv["201"]?"201":(Yv=W0.operation.responses)!=null&&Yv["200"]?"200":"default"}})(),D_=[];X0===!1&&D_.push('supports only "application/json", "application/x-www-form-urlencoded", "multipart/form-data" and "text/plain" content type in the request body.'),K0===!1&&D_.push('supports only "application/json", "application/x-www-form-urlencoded" and "text/plain" content type in the response body.');const[I_,F_]=["header","query"].map(Oy=>{const qv=(W0.operation.parameters??[]).filter(Qv=>Qv.in===Oy);if(qv.length===0)return null;const Lv=qv.map(Qv=>{var Fx;return OpenApiTypeChecker.isObject(Qv.schema)||OpenApiTypeChecker.isReference(Qv.schema)&&OpenApiTypeChecker.isObject(((Fx=W0.document.components.schemas)==null?void 0:Fx[Qv.schema.$ref.replace("#/components/schemas/","")])??{})?Qv.schema:null}).filter(Qv=>!!Qv),S1=qv.filter(Qv=>OpenApiTypeChecker.isBoolean(Qv.schema)||OpenApiTypeChecker.isInteger(Qv.schema)||OpenApiTypeChecker.isNumber(Qv.schema)||OpenApiTypeChecker.isString(Qv.schema)||OpenApiTypeChecker.isArray(Qv.schema)||OpenApiTypeChecker.isTuple(Qv.schema)),iv=Qv=>({...Qv,name:Oy,key:Oy,title:()=>Qv.title,description:()=>Qv.description,example:()=>Qv.example,examples:()=>Qv.examples});if(Lv.length===1&&S1.length===0)return iv(qv[0]);if(Lv.length>1)return D_.push(`${Oy} typed parameters must be only one object type`),!1;const Yv=Lv[0]?OpenApiTypeChecker.isObject(Lv[0])?Lv[0]:(W0.document.components.schemas??{})[Lv[0].$ref.replace("#/components/schemas/","")]:null,_x=[...Lv.map(Qv=>{var Fx;return OpenApiTypeChecker.isObject(Qv)?Qv:(Fx=W0.document.components.schemas)==null?void 0:Fx[Qv.$ref.replace("#/components/schemas/","")]}),{type:"object",properties:Object.fromEntries([...S1.map(Qv=>[Qv.name,{...Qv.schema,description:Qv.schema.description??Qv.description}]),...Yv?Object.entries(Yv.properties??{}):[]]),required:[...new Set([...S1.filter(Qv=>Qv.required).map(Qv=>Qv.name),...(Yv==null?void 0:Yv.required)??[]])]}];return qv.length===0?null:iv({schema:B0({document:W0.document,name:EndpointUtil.pascal(`I/Api/${W0.path}`)+"."+EndpointUtil.pascal(`${W0.method}/${Oy}`),schema:{type:"object",properties:Object.fromEntries([...new Map(_x.map(Qv=>Object.entries(Qv.properties??{}).map(([Fx,jx])=>[Fx,{...jx,description:jx.description??jx.description}])).flat())]),required:[...new Set(_x.map(Qv=>Qv.required??[]).flat())]}})})}),R_=EndpointUtil.splitWithNormalization(W0.emendedPath).filter(Oy=>Oy[0]===":").map(Oy=>Oy.substring(1)),z_=(W0.operation.parameters??[]).filter(Oy=>Oy.in==="path");if(R_.length!==z_.length)if(z_.length<R_.length&&z_.every(Oy=>Oy.name!==void 0&&R_.includes(Oy.name))){for(const Oy of R_)z_.find(qv=>qv.name===Oy)===void 0&&z_.push({name:Oy,in:"path",schema:{type:"string"}});z_.sort((Oy,qv)=>R_.indexOf(Oy.name)-R_.indexOf(qv.name)),W0.operation.parameters=[...z_,...(W0.operation.parameters??[]).filter(Oy=>Oy.in!=="path")]}else D_.push("number of path parameters are not matched with its full path.");if(D_.length)return D_;const H_=(W0.operation.parameters??[]).filter(Oy=>Oy.in==="path").map((Oy,qv)=>({name:R_[qv],key:(()=>{let Lv=EndpointUtil.normalize(R_[qv]);if(NamingConvention.variable(Lv))return Lv;for(;;)if(Lv="_"+Lv,!R_.some(S1=>S1===Lv))return Lv})(),schema:Oy.schema,parameter:()=>Oy}));return{method:W0.method,path:W0.path,emendedPath:W0.emendedPath,accessor:["@lazy"],parameters:(W0.operation.parameters??[]).filter(Oy=>Oy.in==="path").map((Oy,qv)=>({name:R_[qv],key:(()=>{let Lv=EndpointUtil.normalize(R_[qv]);if(NamingConvention.variable(Lv))return Lv;for(;;)if(Lv="_"+Lv,!R_.some(S1=>S1===Lv))return Lv})(),schema:Oy.schema,parameter:()=>Oy})),headers:I_||null,query:F_||null,body:X0||null,success:K0||null,exceptions:Object.fromEntries(Object.entries(W0.operation.responses??{}).filter(([Oy])=>Oy!=="200"&&Oy!=="201"&&Oy!=="default").map(([Oy,qv])=>{var Lv,S1;return[Oy,{schema:((S1=(Lv=qv.content)==null?void 0:Lv["application/json"])==null?void 0:S1.schema)??{},response:()=>qv,media:()=>{var iv;return((iv=qv.content)==null?void 0:iv["application/json"])??{}}}]})),comment:()=>o({operation:W0.operation,parameters:H_,body:X0||null}),operation:()=>W0.operation}};const o=W0=>{var I_,F_,R_;let X0=W0.operation.description??"";if((I_=W0.operation.summary)!=null&&I_.length){const z_=W0.operation.summary.endsWith(".")?W0.operation.summary:W0.operation.summary+".";X0.length&&!X0.startsWith(W0.operation.summary)&&(X0=`${z_}
194
194
 
195
195
  ${X0}`)}X0=X0.split(`
196
196
  `).map(z_=>z_.trim()).join(`
@@ -495,8 +495,8 @@ export default NESTIA_CONFIG;\r
495
495
  "homepage": "https://github.com/samchon/nestia-start#readme",
496
496
  "devDependencies": {
497
497
  "@autobe/interface": "^0.10.6",
498
- "@nestia/benchmark": "^11.0.0-dev.20260313-3",
499
- "@nestia/e2e": "^11.0.0-dev.20260313-3",
498
+ "@nestia/benchmark": "^11.0.0-dev.20260313-5",
499
+ "@nestia/e2e": "^11.0.0-dev.20260313-5",
500
500
  "@nestjs/cli": "^11.0.16",
501
501
  "@rollup/plugin-terser": "^0.4.4",
502
502
  "@rollup/plugin-typescript": "^11.1.6",
@@ -515,7 +515,7 @@ export default NESTIA_CONFIG;\r
515
515
  "copy-webpack-plugin": "^11.0.0",
516
516
  "eslint-plugin-deprecation": "^3.0.0",
517
517
  "express": "^4.18.2",
518
- "nestia": "^11.0.0-dev.20260313-3",
518
+ "nestia": "^11.0.0-dev.20260313-5",
519
519
  "prettier": "^3.2.4",
520
520
  "prettier-plugin-prisma": "^5.0.0",
521
521
  "rimraf": "^3.0.2",
@@ -532,9 +532,9 @@ export default NESTIA_CONFIG;\r
532
532
  "write-file-webpack-plugin": "^4.5.1"
533
533
  },
534
534
  "dependencies": {
535
- "@nestia/core": "^11.0.0-dev.20260313-3",
536
- "@nestia/fetcher": "^11.0.0-dev.20260313-3",
537
- "@nestia/sdk": "^11.0.0-dev.20260313-3",
535
+ "@nestia/core": "^11.0.0-dev.20260313-5",
536
+ "@nestia/fetcher": "^11.0.0-dev.20260313-5",
537
+ "@nestia/sdk": "^11.0.0-dev.20260313-5",
538
538
  "@nestjs/common": "^11.1.12",
539
539
  "@nestjs/core": "^11.1.12",
540
540
  "@nestjs/platform-express": "^11.1.12",
@@ -2076,12 +2076,12 @@ SOFTWARE.\r
2076
2076
  "README.md"
2077
2077
  ],
2078
2078
  "dependencies": {
2079
- "@nestia/fetcher": "^11.0.0-dev.20260313-3",
2079
+ "@nestia/fetcher": "^11.0.0-dev.20260313-5",
2080
2080
  "tgrid": "^1.2.1",
2081
2081
  "typia": "^11.0.3"
2082
2082
  },
2083
2083
  "devDependencies": {
2084
- "@nestia/e2e": "^11.0.0-dev.20260313-3",
2084
+ "@nestia/e2e": "^11.0.0-dev.20260313-5",
2085
2085
  "@rollup/plugin-terser": "^0.4.4",
2086
2086
  "@rollup/plugin-typescript": "^11.1.6",
2087
2087
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
@@ -4808,7 +4808,7 @@ ${U7.join(`
4808
4808
  Expected ${S1.length+1} quasis but got ${qv.quasis.length}`)})}}}),K0("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:s.BABEL_TYPES_8_BREAKING?(0,W0.chain)((0,W0.assertValueType)("boolean"),Object.assign(function(qv,Lv,S1){if(S1&&!qv.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,W0.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,W0.assertNodeType)("Expression")}}}),K0("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,W0.assertNodeType)("Expression")}}}),K0("Import",{aliases:["Expression"]}),K0("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,W0.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),K0("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,W0.assertNodeType)("Identifier")}}}),K0("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,W0.assertNodeType)("Expression")},property:{validate:function(){const qv=(0,W0.assertNodeType)("Identifier"),Lv=(0,W0.assertNodeType)("Expression");return Object.assign(function(iv,Yv,_x){(iv.computed?Lv:qv)(iv,Yv,_x)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:s.BABEL_TYPES_8_BREAKING?(0,W0.chain)((0,W0.assertValueType)("boolean"),(0,W0.assertOptionalChainStart)()):(0,W0.assertValueType)("boolean")}}}),K0("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,W0.assertNodeType)("Expression")},arguments:(0,W0.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:s.BABEL_TYPES_8_BREAKING?(0,W0.chain)((0,W0.assertValueType)("boolean"),(0,W0.assertOptionalChainStart)()):(0,W0.assertValueType)("boolean")},typeArguments:{validate:(0,W0.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,W0.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),K0("ClassProperty",Object.assign({visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"]},X0(),{fields:Object.assign({},H_(),{value:{validate:(0,W0.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,W0.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,W0.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,W0.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,W0.assertValueType)("boolean"),optional:!0},declare:{validate:(0,W0.assertValueType)("boolean"),optional:!0},variance:{validate:(0,W0.assertNodeType)("Variance"),optional:!0}})})),K0("ClassAccessorProperty",Object.assign({visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"]},X0(!0),{fields:Object.assign({},H_(),{key:{validate:(0,W0.chain)(function(){const qv=(0,W0.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),Lv=(0,W0.assertNodeType)("Expression");return function(S1,iv,Yv){(S1.computed?Lv:qv)(S1,iv,Yv)}}(),(0,W0.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,W0.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,W0.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,W0.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,W0.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,W0.assertValueType)("boolean"),optional:!0},declare:{validate:(0,W0.assertValueType)("boolean"),optional:!0},variance:{validate:(0,W0.assertNodeType)("Variance"),optional:!0}})})),K0("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,W0.assertNodeType)("PrivateName")},value:{validate:(0,W0.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,W0.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,W0.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,W0.assertValueType)("boolean"),default:!1},readonly:{validate:(0,W0.assertValueType)("boolean"),optional:!0},optional:{validate:(0,W0.assertValueType)("boolean"),optional:!0},definite:{validate:(0,W0.assertValueType)("boolean"),optional:!0},variance:{validate:(0,W0.assertNodeType)("Variance"),optional:!0}}}),K0("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Oy(),I_(),{kind:{validate:(0,W0.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,W0.assertNodeType)("PrivateName")},body:{validate:(0,W0.assertNodeType)("BlockStatement")}})}),K0("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,W0.assertNodeType)("Identifier")}}}),K0("StaticBlock",{visitor:["body"],fields:{body:(0,W0.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),K0("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,W0.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,W0.assertNodeType)("StringLiteral")}}}),core$1}var flow$5={},hasRequiredFlow$2;function requireFlow$2(){if(hasRequiredFlow$2)return flow$5;hasRequiredFlow$2=1;var s=requireCore$1(),o=requireUtils$1();const F0=(0,o.defineAliasedType)("Flow"),L0=B0=>{const q0=B0==="DeclareClass";F0(B0,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...q0?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),extends:(0,o.validateOptional)((0,o.arrayOfType)("InterfaceExtends"))},q0?{mixins:(0,o.validateOptional)((0,o.arrayOfType)("InterfaceExtends")),implements:(0,o.validateOptional)((0,o.arrayOfType)("ClassImplements"))}:{},{body:(0,o.validateType)("ObjectTypeAnnotation")})})};return F0("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,o.validateType)("FlowType")}}),F0("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterInstantiation")}}),L0("DeclareClass"),F0("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),predicate:(0,o.validateOptionalType)("DeclaredPredicate")}}),L0("DeclareInterface"),F0("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier","StringLiteral"),body:(0,o.validateType)("BlockStatement"),kind:(0,o.validateOptional)((0,o.assertOneOf)("CommonJS","ES"))}}),F0("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,o.validateType)("TypeAnnotation")}}),F0("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),right:(0,o.validateType)("FlowType")}}),F0("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,o.validateOptionalType)("FlowType"),impltype:(0,o.validateOptionalType)("FlowType")}}),F0("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier")}}),F0("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,o.validateOptionalType)("Flow"),specifiers:(0,o.validateOptional)((0,o.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,o.validateOptionalType)("StringLiteral"),default:(0,o.validateOptional)((0,o.assertValueType)("boolean"))},s.importAttributes)}),F0("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,o.validateType)("StringLiteral"),exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))},s.importAttributes)}),F0("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,o.validateType)("Flow")}}),F0("ExistsTypeAnnotation",{aliases:["FlowType"]}),F0("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),params:(0,o.validateArrayOfType)("FunctionTypeParam"),rest:(0,o.validateOptionalType)("FunctionTypeParam"),this:(0,o.validateOptionalType)("FunctionTypeParam"),returnType:(0,o.validateType)("FlowType")}}),F0("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,o.validateOptionalType)("Identifier"),typeAnnotation:(0,o.validateType)("FlowType"),optional:(0,o.validateOptional)((0,o.assertValueType)("boolean"))}}),F0("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,o.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterInstantiation")}}),F0("InferredPredicate",{aliases:["FlowPredicate"]}),F0("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,o.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterInstantiation")}}),L0("InterfaceDeclaration"),F0("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,o.validateOptional)((0,o.arrayOfType)("InterfaceExtends")),body:(0,o.validateType)("ObjectTypeAnnotation")}}),F0("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),F0("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,o.validateType)("FlowType")}}),F0("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,o.validate)((0,o.assertValueType)("number"))}}),F0("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,o.validate)((0,o.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,o.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,o.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,o.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,o.assertValueType)("boolean"),default:!1},inexact:(0,o.validateOptional)((0,o.assertValueType)("boolean"))}}),F0("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,o.validateType)("Identifier"),value:(0,o.validateType)("FlowType"),optional:(0,o.validate)((0,o.assertValueType)("boolean")),static:(0,o.validate)((0,o.assertValueType)("boolean")),method:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,o.validateType)("FlowType"),static:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,o.validateOptionalType)("Identifier"),key:(0,o.validateType)("FlowType"),value:(0,o.validateType)("FlowType"),static:(0,o.validate)((0,o.assertValueType)("boolean")),variance:(0,o.validateOptionalType)("Variance")}}),F0("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,o.validateType)("Identifier","StringLiteral"),value:(0,o.validateType)("FlowType"),kind:(0,o.validate)((0,o.assertOneOf)("init","get","set")),static:(0,o.validate)((0,o.assertValueType)("boolean")),proto:(0,o.validate)((0,o.assertValueType)("boolean")),optional:(0,o.validate)((0,o.assertValueType)("boolean")),variance:(0,o.validateOptionalType)("Variance"),method:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,o.validateType)("FlowType")}}),F0("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,o.validateOptionalType)("FlowType"),impltype:(0,o.validateType)("FlowType")}}),F0("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,o.validateType)("Identifier"),qualification:(0,o.validateType)("Identifier","QualifiedTypeIdentifier")}}),F0("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,o.validate)((0,o.assertValueType)("string"))}}),F0("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),F0("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,o.validateType)("FlowType")}}),F0("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,o.validateType)("Identifier"),typeParameters:(0,o.validateOptionalType)("TypeParameterDeclaration"),right:(0,o.validateType)("FlowType")}}),F0("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,o.validateType)("FlowType")}}),F0("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,o.validateType)("Expression"),typeAnnotation:(0,o.validateType)("TypeAnnotation")}}),F0("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,o.validate)((0,o.assertValueType)("string")),bound:(0,o.validateOptionalType)("TypeAnnotation"),default:(0,o.validateOptionalType)("FlowType"),variance:(0,o.validateOptionalType)("Variance")}}),F0("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,o.validate)((0,o.arrayOfType)("TypeParameter"))}}),F0("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),F0("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,o.validate)((0,o.arrayOfType)("FlowType"))}}),F0("Variance",{builder:["kind"],fields:{kind:(0,o.validate)((0,o.assertOneOf)("minus","plus"))}}),F0("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),F0("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,o.validateType)("Identifier"),body:(0,o.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),F0("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,o.validate)((0,o.assertValueType)("boolean")),members:(0,o.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,o.validate)((0,o.assertValueType)("boolean")),members:(0,o.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,o.validate)((0,o.assertValueType)("boolean")),members:(0,o.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,o.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,o.validate)((0,o.assertValueType)("boolean"))}}),F0("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,o.validateType)("Identifier"),init:(0,o.validateType)("BooleanLiteral")}}),F0("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,o.validateType)("Identifier"),init:(0,o.validateType)("NumericLiteral")}}),F0("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,o.validateType)("Identifier"),init:(0,o.validateType)("StringLiteral")}}),F0("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,o.validateType)("Identifier")}}),F0("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,o.validateType)("FlowType"),indexType:(0,o.validateType)("FlowType")}}),F0("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,o.validateType)("FlowType"),indexType:(0,o.validateType)("FlowType"),optional:(0,o.validate)((0,o.assertValueType)("boolean"))}}),flow$5}var jsx$3={},hasRequiredJsx$1;function requireJsx$1(){if(hasRequiredJsx$1)return jsx$3;hasRequiredJsx$1=1;var s=requireUtils$1();const o=(0,s.defineAliasedType)("JSX");return o("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,s.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),o("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),o("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,s.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,s.assertNodeType)("JSXClosingElement")},children:(0,s.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),o("JSXEmptyExpression",{}),o("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,s.assertNodeType)("Expression","JSXEmptyExpression")}}}),o("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),o("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,s.assertValueType)("string")}}}),o("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,s.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,s.assertNodeType)("JSXIdentifier")}}}),o("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,s.assertNodeType)("JSXIdentifier")},name:{validate:(0,s.assertNodeType)("JSXIdentifier")}}}),o("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,s.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,s.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,s.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),o("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),o("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),o("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,s.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,s.assertNodeType)("JSXClosingFragment")},children:(0,s.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),o("JSXOpeningFragment",{aliases:["Immutable"]}),o("JSXClosingFragment",{aliases:["Immutable"]}),jsx$3}var misc$1={},placeholders$1={},hasRequiredPlaceholders$1;function requirePlaceholders$1(){if(hasRequiredPlaceholders$1)return placeholders$1;hasRequiredPlaceholders$1=1,Object.defineProperty(placeholders$1,"__esModule",{value:!0}),placeholders$1.PLACEHOLDERS_FLIPPED_ALIAS=placeholders$1.PLACEHOLDERS_ALIAS=placeholders$1.PLACEHOLDERS=void 0;var s=requireUtils$1();const o=placeholders$1.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],F0=placeholders$1.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(const B0 of o){const q0=s.ALIAS_KEYS[B0];q0!=null&&q0.length&&(F0[B0]=q0)}const L0=placeholders$1.PLACEHOLDERS_FLIPPED_ALIAS={};return Object.keys(F0).forEach(B0=>{F0[B0].forEach(q0=>{hasOwnProperty.call(L0,q0)||(L0[q0]=[]),L0[q0].push(B0)})}),placeholders$1}var hasRequiredMisc$1;function requireMisc$1(){if(hasRequiredMisc$1)return misc$1;hasRequiredMisc$1=1;var s=requireUtils$1(),o=requirePlaceholders$1(),F0=requireCore$1();const L0=(0,s.defineAliasedType)("Miscellaneous");return L0("Noop",{visitor:[]}),L0("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,s.assertNodeType)("Identifier")},expectedNode:{validate:(0,s.assertOneOf)(...o.PLACEHOLDERS)}},(0,F0.patternLikeCommon)())}),L0("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,s.assertValueType)("string")}}}),misc$1}var experimental$1={},hasRequiredExperimental$1;function requireExperimental$1(){if(hasRequiredExperimental$1)return experimental$1;hasRequiredExperimental$1=1;var s={},o=requireUtils$1();return(0,o.default)("ArgumentPlaceholder",{}),(0,o.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:s.BABEL_TYPES_8_BREAKING?{object:{validate:(0,o.assertNodeType)("Expression")},callee:{validate:(0,o.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,o.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}}),(0,o.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,o.assertNodeType)("BlockStatement")},async:{validate:(0,o.assertValueType)("boolean"),default:!1}}}),(0,o.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}}),(0,o.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,o.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,o.default)("TupleExpression",{fields:{elements:{validate:(0,o.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,o.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,o.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,o.assertNodeType)("Program")}},aliases:["Expression"]}),(0,o.default)("TopicReference",{aliases:["Expression"]}),(0,o.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,o.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,o.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,o.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]}),experimental$1}var typescript$3={},hasRequiredTypescript$2;function requireTypescript$2(){if(hasRequiredTypescript$2)return typescript$3;hasRequiredTypescript$2=1;var s=requireUtils$1(),o=requireCore$1(),F0=requireIs$1();const L0=(0,s.defineAliasedType)("TypeScript"),B0=(0,s.assertValueType)("boolean"),q0=()=>({returnType:{validate:(0,s.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});L0("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,s.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,s.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,s.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,s.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,s.arrayOfType)("Decorator"),optional:!0}}}),L0("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,o.functionDeclarationCommon)(),q0())}),L0("TSDeclareMethod",Object.assign({visitor:["decorators","key","typeParameters","params","returnType"]},(0,o.classMethodOrPropertyUnionShapeCommon)(),{fields:Object.assign({},(0,o.classMethodOrDeclareMethodCommon)(),q0())})),L0("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,s.validateType)("TSEntityName"),right:(0,s.validateType)("Identifier")}});const W0=()=>({typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,s.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}),X0={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:W0()};L0("TSCallSignatureDeclaration",X0),L0("TSConstructSignatureDeclaration",X0);const K0=()=>({key:(0,s.validateType)("Expression"),computed:{default:!1},optional:(0,s.validateOptional)(B0)});L0("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},K0(),{readonly:(0,s.validateOptional)(B0),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,s.assertOneOf)("get","set")}})}),L0("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},W0(),K0(),{kind:{validate:(0,s.assertOneOf)("method","get","set")}})}),L0("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,s.validateOptional)(B0),static:(0,s.validateOptional)(B0),parameters:(0,s.validateArrayOfType)("Identifier"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation")}});const D_=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const z_ of D_)L0(z_,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});L0("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const I_={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};L0("TSFunctionType",Object.assign({},I_,{fields:W0()})),L0("TSConstructorType",Object.assign({},I_,{fields:Object.assign({},W0(),{abstract:(0,s.validateOptional)(B0)})})),L0("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),L0("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,s.validateType)("Identifier","TSThisType"),typeAnnotation:(0,s.validateOptionalType)("TSTypeAnnotation"),asserts:(0,s.validateOptional)(B0)}}),L0("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,s.validateType)("TSEntityName","TSImportType"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),L0("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,s.validateArrayOfType)("TSTypeElement")}}),L0("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,s.validateType)("TSType")}}),L0("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,s.validateArrayOfType)("TSType","TSNamedTupleMember")}}),L0("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),L0("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),L0("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,s.validateType)("Identifier"),optional:{validate:B0,default:!1},elementType:(0,s.validateType)("TSType")}});const F_={aliases:["TSType"],visitor:["types"],fields:{types:(0,s.validateArrayOfType)("TSType")}};L0("TSUnionType",F_),L0("TSIntersectionType",F_),L0("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,s.validateType)("TSType"),extendsType:(0,s.validateType)("TSType"),trueType:(0,s.validateType)("TSType"),falseType:(0,s.validateType)("TSType")}}),L0("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,s.validateType)("TSTypeParameter")}}),L0("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,s.validateType)("TSType")}}),L0("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,s.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,s.validateType)("TSType")}}),L0("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,s.validateType)("TSType"),indexType:(0,s.validateType)("TSType")}}),L0("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,s.validateType)("TSTypeParameter")},{readonly:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),optional:(0,s.validateOptional)((0,s.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,s.validateOptionalType)("TSType"),nameType:(0,s.validateOptionalType)("TSType")})}),L0("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,s.validateArrayOfType)("TemplateElement"),types:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("TSType")),function(z_,H_,Oy){if(z_.quasis.length!==Oy.length+1)throw new TypeError(`Number of ${z_.type} quasis should be exactly one more than the number of types.
4809
4809
  Expected ${Oy.length+1} quasis but got ${z_.quasis.length}`)})}}}),L0("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const z_=(0,s.assertNodeType)("NumericLiteral","BigIntLiteral"),H_=(0,s.assertOneOf)("-"),Oy=(0,s.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral"),qv=function(S1,iv,Yv){(0,F0.default)("UnaryExpression",Yv)?(H_(Yv,"operator",Yv.operator),z_(Yv,"argument",Yv.argument)):Oy(S1,iv,Yv)};return qv.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],qv}()}}}),L0("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("TSEntityName"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}}),L0("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,s.validateOptional)(B0),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,s.validateOptional)((0,s.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,s.validateType)("TSInterfaceBody")}}),L0("TSInterfaceBody",{visitor:["body"],fields:{body:(0,s.validateArrayOfType)("TSTypeElement")}}),L0("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,s.validateOptional)(B0),id:(0,s.validateType)("Identifier"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,s.validateType)("TSType")}}),L0("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,s.validateType)("Expression"),typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")}});const R_={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,s.validateType)("Expression"),typeAnnotation:(0,s.validateType)("TSType")}};return L0("TSAsExpression",R_),L0("TSSatisfiesExpression",R_),L0("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,s.validateType)("TSType"),expression:(0,s.validateType)("Expression")}}),L0("TSEnumBody",{visitor:["members"],fields:{members:(0,s.validateArrayOfType)("TSEnumMember")}}),L0("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,s.validateOptional)(B0),const:(0,s.validateOptional)(B0),id:(0,s.validateType)("Identifier"),members:(0,s.validateArrayOfType)("TSEnumMember"),initializer:(0,s.validateOptionalType)("Expression"),body:(0,s.validateOptionalType)("TSEnumBody")}}),L0("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,s.validateType)("Identifier","StringLiteral"),initializer:(0,s.validateOptionalType)("Expression")}}),L0("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,s.assertOneOf)("global","module","namespace")},declare:(0,s.validateOptional)(B0)},{global:(0,s.validateOptional)(B0)},{id:(0,s.validateType)("Identifier","StringLiteral"),body:(0,s.validateType)("TSModuleBlock","TSModuleDeclaration")})}),L0("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,s.validateArrayOfType)("Statement")}}),L0("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:Object.assign({},{argument:(0,s.validateType)("StringLiteral")},{qualifier:(0,s.validateOptionalType)("TSEntityName")},{typeParameters:(0,s.validateOptionalType)("TSTypeParameterInstantiation")},{options:{validate:(0,s.assertNodeType)("ObjectExpression"),optional:!0}})}),L0("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,s.validate)(B0)},{id:(0,s.validateType)("Identifier"),moduleReference:(0,s.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,s.assertOneOf)("type","value"),optional:!0}})}),L0("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,s.validateType)("StringLiteral")}}),L0("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),L0("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,s.validateType)("Expression")}}),L0("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,s.validateType)("Identifier")}}),L0("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,s.assertNodeType)("TSType")}}}),L0("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,s.validateArrayOfType)("TSType")}}),L0("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,s.validateArrayOfType)("TSTypeParameter")}}),L0("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,s.assertValueType)("string")},in:{validate:(0,s.assertValueType)("boolean"),optional:!0},out:{validate:(0,s.assertValueType)("boolean"),optional:!0},const:{validate:(0,s.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,s.assertNodeType)("TSType"),optional:!0},default:{validate:(0,s.assertNodeType)("TSType"),optional:!0}}}),typescript$3}var deprecatedAliases={};Object.defineProperty(deprecatedAliases,"__esModule",{value:!0});deprecatedAliases.DEPRECATED_ALIASES=void 0;deprecatedAliases.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"};var hasRequiredDefinitions$1;function requireDefinitions$1(){return hasRequiredDefinitions$1||(hasRequiredDefinitions$1=1,function(s){Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ALIAS_KEYS",{enumerable:!0,get:function(){return o.ALIAS_KEYS}}),Object.defineProperty(s,"BUILDER_KEYS",{enumerable:!0,get:function(){return o.BUILDER_KEYS}}),Object.defineProperty(s,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return L0.DEPRECATED_ALIASES}}),Object.defineProperty(s,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return o.DEPRECATED_KEYS}}),Object.defineProperty(s,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return o.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(s,"NODE_FIELDS",{enumerable:!0,get:function(){return o.NODE_FIELDS}}),Object.defineProperty(s,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return o.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(s,"NODE_UNION_SHAPES__PRIVATE",{enumerable:!0,get:function(){return o.NODE_UNION_SHAPES__PRIVATE}}),Object.defineProperty(s,"PLACEHOLDERS",{enumerable:!0,get:function(){return F0.PLACEHOLDERS}}),Object.defineProperty(s,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return F0.PLACEHOLDERS_ALIAS}}),Object.defineProperty(s,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return F0.PLACEHOLDERS_FLIPPED_ALIAS}}),s.TYPES=void 0,Object.defineProperty(s,"VISITOR_KEYS",{enumerable:!0,get:function(){return o.VISITOR_KEYS}}),requireCore$1(),requireFlow$2(),requireJsx$1(),requireMisc$1(),requireExperimental$1(),requireTypescript$2();var o=requireUtils$1(),F0=requirePlaceholders$1(),L0=deprecatedAliases;Object.keys(L0.DEPRECATED_ALIASES).forEach(B0=>{o.FLIPPED_ALIAS_KEYS[B0]=o.FLIPPED_ALIAS_KEYS[L0.DEPRECATED_ALIASES[B0]]});for(const{types:B0,set:q0}of o.allExpandedTypes)for(const W0 of B0){const X0=o.FLIPPED_ALIAS_KEYS[W0];X0?X0.forEach(q0.add,q0):q0.add(W0)}s.TYPES=[].concat(Object.keys(o.VISITOR_KEYS),Object.keys(o.FLIPPED_ALIAS_KEYS),Object.keys(o.DEPRECATED_KEYS))}(definitions$1)),definitions$1}var hasRequiredValidate$1;function requireValidate$1(){if(hasRequiredValidate$1)return validate$4;hasRequiredValidate$1=1,Object.defineProperty(validate$4,"__esModule",{value:!0}),validate$4.default=o,validate$4.validateChild=B0,validate$4.validateField=L0,validate$4.validateInternal=F0;var s=requireDefinitions$1();function o(q0,W0,X0){if(!q0)return;const K0=s.NODE_FIELDS[q0.type];if(!K0)return;const D_=K0[W0];L0(q0,W0,X0,D_),B0(q0,W0,X0)}function F0(q0,W0,X0,K0,D_){if(q0!=null&&q0.validate&&!(q0.optional&&K0==null)&&(q0.validate(W0,X0,K0),D_)){var I_;const F_=K0.type;if(F_==null)return;(I_=s.NODE_PARENT_VALIDATIONS[F_])==null||I_.call(s.NODE_PARENT_VALIDATIONS,W0,X0,K0)}}function L0(q0,W0,X0,K0){K0!=null&&K0.validate&&(K0.optional&&X0==null||K0.validate(q0,W0,X0))}function B0(q0,W0,X0){var K0;const D_=X0==null?void 0:X0.type;D_!=null&&((K0=s.NODE_PARENT_VALIDATIONS[D_])==null||K0.call(s.NODE_PARENT_VALIDATIONS,q0,W0,X0))}return validate$4}Object.defineProperty(lowercase,"__esModule",{value:!0});lowercase.anyTypeAnnotation=anyTypeAnnotation$2;lowercase.argumentPlaceholder=argumentPlaceholder$1;lowercase.arrayExpression=arrayExpression$1;lowercase.arrayPattern=arrayPattern$1;lowercase.arrayTypeAnnotation=arrayTypeAnnotation$1;lowercase.arrowFunctionExpression=arrowFunctionExpression$2;lowercase.assignmentExpression=assignmentExpression$3;lowercase.assignmentPattern=assignmentPattern$1;lowercase.awaitExpression=awaitExpression$1;lowercase.bigIntLiteral=bigIntLiteral$1;lowercase.binaryExpression=binaryExpression$2;lowercase.bindExpression=bindExpression$1;lowercase.blockStatement=blockStatement$3;lowercase.booleanLiteral=booleanLiteral$1;lowercase.booleanLiteralTypeAnnotation=booleanLiteralTypeAnnotation$1;lowercase.booleanTypeAnnotation=booleanTypeAnnotation$1;lowercase.breakStatement=breakStatement$1;lowercase.callExpression=callExpression$2;lowercase.catchClause=catchClause$1;lowercase.classAccessorProperty=classAccessorProperty$1;lowercase.classBody=classBody$1;lowercase.classDeclaration=classDeclaration$1;lowercase.classExpression=classExpression$1;lowercase.classImplements=classImplements$1;lowercase.classMethod=classMethod$1;lowercase.classPrivateMethod=classPrivateMethod$1;lowercase.classPrivateProperty=classPrivateProperty$1;lowercase.classProperty=classProperty$1;lowercase.conditionalExpression=conditionalExpression$2;lowercase.continueStatement=continueStatement$1;lowercase.debuggerStatement=debuggerStatement$1;lowercase.decimalLiteral=decimalLiteral$1;lowercase.declareClass=declareClass$1;lowercase.declareExportAllDeclaration=declareExportAllDeclaration$1;lowercase.declareExportDeclaration=declareExportDeclaration$1;lowercase.declareFunction=declareFunction$1;lowercase.declareInterface=declareInterface$1;lowercase.declareModule=declareModule$1;lowercase.declareModuleExports=declareModuleExports$1;lowercase.declareOpaqueType=declareOpaqueType$1;lowercase.declareTypeAlias=declareTypeAlias$1;lowercase.declareVariable=declareVariable$1;lowercase.declaredPredicate=declaredPredicate$1;lowercase.decorator=decorator$1;lowercase.directive=directive$1;lowercase.directiveLiteral=directiveLiteral$1;lowercase.doExpression=doExpression$1;lowercase.doWhileStatement=doWhileStatement$1;lowercase.emptyStatement=emptyStatement$2;lowercase.emptyTypeAnnotation=emptyTypeAnnotation$1;lowercase.enumBooleanBody=enumBooleanBody$1;lowercase.enumBooleanMember=enumBooleanMember$1;lowercase.enumDeclaration=enumDeclaration$1;lowercase.enumDefaultedMember=enumDefaultedMember$1;lowercase.enumNumberBody=enumNumberBody$1;lowercase.enumNumberMember=enumNumberMember$1;lowercase.enumStringBody=enumStringBody$1;lowercase.enumStringMember=enumStringMember$1;lowercase.enumSymbolBody=enumSymbolBody$1;lowercase.existsTypeAnnotation=existsTypeAnnotation$1;lowercase.exportAllDeclaration=exportAllDeclaration$1;lowercase.exportDefaultDeclaration=exportDefaultDeclaration$1;lowercase.exportDefaultSpecifier=exportDefaultSpecifier$1;lowercase.exportNamedDeclaration=exportNamedDeclaration$2;lowercase.exportNamespaceSpecifier=exportNamespaceSpecifier$1;lowercase.exportSpecifier=exportSpecifier$2;lowercase.expressionStatement=expressionStatement$4;lowercase.file=file$1;lowercase.forInStatement=forInStatement$1;lowercase.forOfStatement=forOfStatement$1;lowercase.forStatement=forStatement$1;lowercase.functionDeclaration=functionDeclaration$1;lowercase.functionExpression=functionExpression$1;lowercase.functionTypeAnnotation=functionTypeAnnotation$1;lowercase.functionTypeParam=functionTypeParam$1;lowercase.genericTypeAnnotation=genericTypeAnnotation$1;lowercase.identifier=identifier$6;lowercase.ifStatement=ifStatement$1;lowercase.import=_import$1;lowercase.importAttribute=importAttribute$1;lowercase.importDeclaration=importDeclaration$1;lowercase.importDefaultSpecifier=importDefaultSpecifier$1;lowercase.importExpression=importExpression;lowercase.importNamespaceSpecifier=importNamespaceSpecifier$1;lowercase.importSpecifier=importSpecifier$1;lowercase.indexedAccessType=indexedAccessType$1;lowercase.inferredPredicate=inferredPredicate$1;lowercase.interfaceDeclaration=interfaceDeclaration$1;lowercase.interfaceExtends=interfaceExtends$1;lowercase.interfaceTypeAnnotation=interfaceTypeAnnotation$1;lowercase.interpreterDirective=interpreterDirective$1;lowercase.intersectionTypeAnnotation=intersectionTypeAnnotation$1;lowercase.jSXAttribute=lowercase.jsxAttribute=jsxAttribute$1;lowercase.jSXClosingElement=lowercase.jsxClosingElement=jsxClosingElement$1;lowercase.jSXClosingFragment=lowercase.jsxClosingFragment=jsxClosingFragment$1;lowercase.jSXElement=lowercase.jsxElement=jsxElement$1;lowercase.jSXEmptyExpression=lowercase.jsxEmptyExpression=jsxEmptyExpression$1;lowercase.jSXExpressionContainer=lowercase.jsxExpressionContainer=jsxExpressionContainer$2;lowercase.jSXFragment=lowercase.jsxFragment=jsxFragment$1;lowercase.jSXIdentifier=lowercase.jsxIdentifier=jsxIdentifier$2;lowercase.jSXMemberExpression=lowercase.jsxMemberExpression=jsxMemberExpression$1;lowercase.jSXNamespacedName=lowercase.jsxNamespacedName=jsxNamespacedName$1;lowercase.jSXOpeningElement=lowercase.jsxOpeningElement=jsxOpeningElement$1;lowercase.jSXOpeningFragment=lowercase.jsxOpeningFragment=jsxOpeningFragment$1;lowercase.jSXSpreadAttribute=lowercase.jsxSpreadAttribute=jsxSpreadAttribute$1;lowercase.jSXSpreadChild=lowercase.jsxSpreadChild=jsxSpreadChild$1;lowercase.jSXText=lowercase.jsxText=jsxText$1;lowercase.labeledStatement=labeledStatement$1;lowercase.logicalExpression=logicalExpression$2;lowercase.memberExpression=memberExpression$2;lowercase.metaProperty=metaProperty$2;lowercase.mixedTypeAnnotation=mixedTypeAnnotation$1;lowercase.moduleExpression=moduleExpression$1;lowercase.newExpression=newExpression$1;lowercase.noop=noop$3;lowercase.nullLiteral=nullLiteral$1;lowercase.nullLiteralTypeAnnotation=nullLiteralTypeAnnotation$1;lowercase.nullableTypeAnnotation=nullableTypeAnnotation$1;lowercase.numberLiteral=NumberLiteral$1;lowercase.numberLiteralTypeAnnotation=numberLiteralTypeAnnotation$1;lowercase.numberTypeAnnotation=numberTypeAnnotation$2;lowercase.numericLiteral=numericLiteral$2;lowercase.objectExpression=objectExpression$2;lowercase.objectMethod=objectMethod$1;lowercase.objectPattern=objectPattern$1;lowercase.objectProperty=objectProperty$1;lowercase.objectTypeAnnotation=objectTypeAnnotation$1;lowercase.objectTypeCallProperty=objectTypeCallProperty$1;lowercase.objectTypeIndexer=objectTypeIndexer$1;lowercase.objectTypeInternalSlot=objectTypeInternalSlot$1;lowercase.objectTypeProperty=objectTypeProperty$1;lowercase.objectTypeSpreadProperty=objectTypeSpreadProperty$1;lowercase.opaqueType=opaqueType$1;lowercase.optionalCallExpression=optionalCallExpression$1;lowercase.optionalIndexedAccessType=optionalIndexedAccessType$1;lowercase.optionalMemberExpression=optionalMemberExpression$1;lowercase.parenthesizedExpression=parenthesizedExpression$1;lowercase.pipelineBareFunction=pipelineBareFunction$1;lowercase.pipelinePrimaryTopicReference=pipelinePrimaryTopicReference$1;lowercase.pipelineTopicExpression=pipelineTopicExpression$1;lowercase.placeholder=placeholder$1;lowercase.privateName=privateName$1;lowercase.program=program$3;lowercase.qualifiedTypeIdentifier=qualifiedTypeIdentifier$1;lowercase.recordExpression=recordExpression$1;lowercase.regExpLiteral=regExpLiteral$1;lowercase.regexLiteral=RegexLiteral$1;lowercase.restElement=restElement$2;lowercase.restProperty=RestProperty$1;lowercase.returnStatement=returnStatement$2;lowercase.sequenceExpression=sequenceExpression$2;lowercase.spreadElement=spreadElement$2;lowercase.spreadProperty=SpreadProperty$1;lowercase.staticBlock=staticBlock$1;lowercase.stringLiteral=stringLiteral$3;lowercase.stringLiteralTypeAnnotation=stringLiteralTypeAnnotation$1;lowercase.stringTypeAnnotation=stringTypeAnnotation$2;lowercase.super=_super$2;lowercase.switchCase=switchCase$1;lowercase.switchStatement=switchStatement$1;lowercase.symbolTypeAnnotation=symbolTypeAnnotation$1;lowercase.taggedTemplateExpression=taggedTemplateExpression$1;lowercase.templateElement=templateElement$1;lowercase.templateLiteral=templateLiteral$1;lowercase.thisExpression=thisExpression$2;lowercase.thisTypeAnnotation=thisTypeAnnotation$1;lowercase.throwStatement=throwStatement$1;lowercase.topicReference=topicReference$1;lowercase.tryStatement=tryStatement$1;lowercase.tSAnyKeyword=lowercase.tsAnyKeyword=tsAnyKeyword$1;lowercase.tSArrayType=lowercase.tsArrayType=tsArrayType$1;lowercase.tSAsExpression=lowercase.tsAsExpression=tsAsExpression$1;lowercase.tSBigIntKeyword=lowercase.tsBigIntKeyword=tsBigIntKeyword$1;lowercase.tSBooleanKeyword=lowercase.tsBooleanKeyword=tsBooleanKeyword$1;lowercase.tSCallSignatureDeclaration=lowercase.tsCallSignatureDeclaration=tsCallSignatureDeclaration$1;lowercase.tSConditionalType=lowercase.tsConditionalType=tsConditionalType$1;lowercase.tSConstructSignatureDeclaration=lowercase.tsConstructSignatureDeclaration=tsConstructSignatureDeclaration$1;lowercase.tSConstructorType=lowercase.tsConstructorType=tsConstructorType$1;lowercase.tSDeclareFunction=lowercase.tsDeclareFunction=tsDeclareFunction$1;lowercase.tSDeclareMethod=lowercase.tsDeclareMethod=tsDeclareMethod$1;lowercase.tSEnumBody=lowercase.tsEnumBody=tsEnumBody;lowercase.tSEnumDeclaration=lowercase.tsEnumDeclaration=tsEnumDeclaration$1;lowercase.tSEnumMember=lowercase.tsEnumMember=tsEnumMember$1;lowercase.tSExportAssignment=lowercase.tsExportAssignment=tsExportAssignment$1;lowercase.tSExpressionWithTypeArguments=lowercase.tsExpressionWithTypeArguments=tsExpressionWithTypeArguments$1;lowercase.tSExternalModuleReference=lowercase.tsExternalModuleReference=tsExternalModuleReference$1;lowercase.tSFunctionType=lowercase.tsFunctionType=tsFunctionType$1;lowercase.tSImportEqualsDeclaration=lowercase.tsImportEqualsDeclaration=tsImportEqualsDeclaration$1;lowercase.tSImportType=lowercase.tsImportType=tsImportType$1;lowercase.tSIndexSignature=lowercase.tsIndexSignature=tsIndexSignature$1;lowercase.tSIndexedAccessType=lowercase.tsIndexedAccessType=tsIndexedAccessType$1;lowercase.tSInferType=lowercase.tsInferType=tsInferType$1;lowercase.tSInstantiationExpression=lowercase.tsInstantiationExpression=tsInstantiationExpression;lowercase.tSInterfaceBody=lowercase.tsInterfaceBody=tsInterfaceBody$1;lowercase.tSInterfaceDeclaration=lowercase.tsInterfaceDeclaration=tsInterfaceDeclaration$1;lowercase.tSIntersectionType=lowercase.tsIntersectionType=tsIntersectionType$1;lowercase.tSIntrinsicKeyword=lowercase.tsIntrinsicKeyword=tsIntrinsicKeyword$1;lowercase.tSLiteralType=lowercase.tsLiteralType=tsLiteralType$1;lowercase.tSMappedType=lowercase.tsMappedType=tsMappedType$1;lowercase.tSMethodSignature=lowercase.tsMethodSignature=tsMethodSignature$1;lowercase.tSModuleBlock=lowercase.tsModuleBlock=tsModuleBlock$1;lowercase.tSModuleDeclaration=lowercase.tsModuleDeclaration=tsModuleDeclaration$1;lowercase.tSNamedTupleMember=lowercase.tsNamedTupleMember=tsNamedTupleMember$1;lowercase.tSNamespaceExportDeclaration=lowercase.tsNamespaceExportDeclaration=tsNamespaceExportDeclaration$1;lowercase.tSNeverKeyword=lowercase.tsNeverKeyword=tsNeverKeyword$1;lowercase.tSNonNullExpression=lowercase.tsNonNullExpression=tsNonNullExpression$1;lowercase.tSNullKeyword=lowercase.tsNullKeyword=tsNullKeyword$1;lowercase.tSNumberKeyword=lowercase.tsNumberKeyword=tsNumberKeyword$1;lowercase.tSObjectKeyword=lowercase.tsObjectKeyword=tsObjectKeyword$1;lowercase.tSOptionalType=lowercase.tsOptionalType=tsOptionalType$1;lowercase.tSParameterProperty=lowercase.tsParameterProperty=tsParameterProperty$1;lowercase.tSParenthesizedType=lowercase.tsParenthesizedType=tsParenthesizedType$1;lowercase.tSPropertySignature=lowercase.tsPropertySignature=tsPropertySignature$1;lowercase.tSQualifiedName=lowercase.tsQualifiedName=tsQualifiedName$1;lowercase.tSRestType=lowercase.tsRestType=tsRestType$1;lowercase.tSSatisfiesExpression=lowercase.tsSatisfiesExpression=tsSatisfiesExpression;lowercase.tSStringKeyword=lowercase.tsStringKeyword=tsStringKeyword$1;lowercase.tSSymbolKeyword=lowercase.tsSymbolKeyword=tsSymbolKeyword$1;lowercase.tSTemplateLiteralType=lowercase.tsTemplateLiteralType=tsTemplateLiteralType;lowercase.tSThisType=lowercase.tsThisType=tsThisType$1;lowercase.tSTupleType=lowercase.tsTupleType=tsTupleType$1;lowercase.tSTypeAliasDeclaration=lowercase.tsTypeAliasDeclaration=tsTypeAliasDeclaration$1;lowercase.tSTypeAnnotation=lowercase.tsTypeAnnotation=tsTypeAnnotation$1;lowercase.tSTypeAssertion=lowercase.tsTypeAssertion=tsTypeAssertion$1;lowercase.tSTypeLiteral=lowercase.tsTypeLiteral=tsTypeLiteral$1;lowercase.tSTypeOperator=lowercase.tsTypeOperator=tsTypeOperator$1;lowercase.tSTypeParameter=lowercase.tsTypeParameter=tsTypeParameter$1;lowercase.tSTypeParameterDeclaration=lowercase.tsTypeParameterDeclaration=tsTypeParameterDeclaration$1;lowercase.tSTypeParameterInstantiation=lowercase.tsTypeParameterInstantiation=tsTypeParameterInstantiation$1;lowercase.tSTypePredicate=lowercase.tsTypePredicate=tsTypePredicate$1;lowercase.tSTypeQuery=lowercase.tsTypeQuery=tsTypeQuery$1;lowercase.tSTypeReference=lowercase.tsTypeReference=tsTypeReference$1;lowercase.tSUndefinedKeyword=lowercase.tsUndefinedKeyword=tsUndefinedKeyword$1;lowercase.tSUnionType=lowercase.tsUnionType=tsUnionType$1;lowercase.tSUnknownKeyword=lowercase.tsUnknownKeyword=tsUnknownKeyword$1;lowercase.tSVoidKeyword=lowercase.tsVoidKeyword=tsVoidKeyword$1;lowercase.tupleExpression=tupleExpression$1;lowercase.tupleTypeAnnotation=tupleTypeAnnotation$1;lowercase.typeAlias=typeAlias$1;lowercase.typeAnnotation=typeAnnotation$1;lowercase.typeCastExpression=typeCastExpression$1;lowercase.typeParameter=typeParameter$1;lowercase.typeParameterDeclaration=typeParameterDeclaration$1;lowercase.typeParameterInstantiation=typeParameterInstantiation$1;lowercase.typeofTypeAnnotation=typeofTypeAnnotation$1;lowercase.unaryExpression=unaryExpression$2;lowercase.unionTypeAnnotation=unionTypeAnnotation$1;lowercase.updateExpression=updateExpression$1;lowercase.v8IntrinsicIdentifier=v8IntrinsicIdentifier$1;lowercase.variableDeclaration=variableDeclaration$3;lowercase.variableDeclarator=variableDeclarator$3;lowercase.variance=variance$1;lowercase.voidPattern=voidPattern;lowercase.voidTypeAnnotation=voidTypeAnnotation$3;lowercase.whileStatement=whileStatement$1;lowercase.withStatement=withStatement$1;lowercase.yieldExpression=yieldExpression$1;var _validate$1=requireValidate$1(),_deprecationWarning$1=deprecationWarning$2,utils$3=requireUtils$1();const{validateInternal:validate$3}=_validate$1,{NODE_FIELDS}=utils$3;function bigIntLiteral$1(s){typeof s=="bigint"&&(s=s.toString());const o={type:"BigIntLiteral",value:s},F0=NODE_FIELDS.BigIntLiteral;return validate$3(F0.value,o,"value",s),o}function arrayExpression$1(s=[]){const o={type:"ArrayExpression",elements:s},F0=NODE_FIELDS.ArrayExpression;return validate$3(F0.elements,o,"elements",s,1),o}function assignmentExpression$3(s,o,F0){const L0={type:"AssignmentExpression",operator:s,left:o,right:F0},B0=NODE_FIELDS.AssignmentExpression;return validate$3(B0.operator,L0,"operator",s),validate$3(B0.left,L0,"left",o,1),validate$3(B0.right,L0,"right",F0,1),L0}function binaryExpression$2(s,o,F0){const L0={type:"BinaryExpression",operator:s,left:o,right:F0},B0=NODE_FIELDS.BinaryExpression;return validate$3(B0.operator,L0,"operator",s),validate$3(B0.left,L0,"left",o,1),validate$3(B0.right,L0,"right",F0,1),L0}function interpreterDirective$1(s){const o={type:"InterpreterDirective",value:s},F0=NODE_FIELDS.InterpreterDirective;return validate$3(F0.value,o,"value",s),o}function directive$1(s){const o={type:"Directive",value:s},F0=NODE_FIELDS.Directive;return validate$3(F0.value,o,"value",s,1),o}function directiveLiteral$1(s){const o={type:"DirectiveLiteral",value:s},F0=NODE_FIELDS.DirectiveLiteral;return validate$3(F0.value,o,"value",s),o}function blockStatement$3(s,o=[]){const F0={type:"BlockStatement",body:s,directives:o},L0=NODE_FIELDS.BlockStatement;return validate$3(L0.body,F0,"body",s,1),validate$3(L0.directives,F0,"directives",o,1),F0}function breakStatement$1(s=null){const o={type:"BreakStatement",label:s},F0=NODE_FIELDS.BreakStatement;return validate$3(F0.label,o,"label",s,1),o}function callExpression$2(s,o){const F0={type:"CallExpression",callee:s,arguments:o},L0=NODE_FIELDS.CallExpression;return validate$3(L0.callee,F0,"callee",s,1),validate$3(L0.arguments,F0,"arguments",o,1),F0}function catchClause$1(s=null,o){const F0={type:"CatchClause",param:s,body:o},L0=NODE_FIELDS.CatchClause;return validate$3(L0.param,F0,"param",s,1),validate$3(L0.body,F0,"body",o,1),F0}function conditionalExpression$2(s,o,F0){const L0={type:"ConditionalExpression",test:s,consequent:o,alternate:F0},B0=NODE_FIELDS.ConditionalExpression;return validate$3(B0.test,L0,"test",s,1),validate$3(B0.consequent,L0,"consequent",o,1),validate$3(B0.alternate,L0,"alternate",F0,1),L0}function continueStatement$1(s=null){const o={type:"ContinueStatement",label:s},F0=NODE_FIELDS.ContinueStatement;return validate$3(F0.label,o,"label",s,1),o}function debuggerStatement$1(){return{type:"DebuggerStatement"}}function doWhileStatement$1(s,o){const F0={type:"DoWhileStatement",test:s,body:o},L0=NODE_FIELDS.DoWhileStatement;return validate$3(L0.test,F0,"test",s,1),validate$3(L0.body,F0,"body",o,1),F0}function emptyStatement$2(){return{type:"EmptyStatement"}}function expressionStatement$4(s){const o={type:"ExpressionStatement",expression:s},F0=NODE_FIELDS.ExpressionStatement;return validate$3(F0.expression,o,"expression",s,1),o}function file$1(s,o=null,F0=null){const L0={type:"File",program:s,comments:o,tokens:F0},B0=NODE_FIELDS.File;return validate$3(B0.program,L0,"program",s,1),validate$3(B0.comments,L0,"comments",o,1),validate$3(B0.tokens,L0,"tokens",F0),L0}function forInStatement$1(s,o,F0){const L0={type:"ForInStatement",left:s,right:o,body:F0},B0=NODE_FIELDS.ForInStatement;return validate$3(B0.left,L0,"left",s,1),validate$3(B0.right,L0,"right",o,1),validate$3(B0.body,L0,"body",F0,1),L0}function forStatement$1(s=null,o=null,F0=null,L0){const B0={type:"ForStatement",init:s,test:o,update:F0,body:L0},q0=NODE_FIELDS.ForStatement;return validate$3(q0.init,B0,"init",s,1),validate$3(q0.test,B0,"test",o,1),validate$3(q0.update,B0,"update",F0,1),validate$3(q0.body,B0,"body",L0,1),B0}function functionDeclaration$1(s=null,o,F0,L0=!1,B0=!1){const q0={type:"FunctionDeclaration",id:s,params:o,body:F0,generator:L0,async:B0},W0=NODE_FIELDS.FunctionDeclaration;return validate$3(W0.id,q0,"id",s,1),validate$3(W0.params,q0,"params",o,1),validate$3(W0.body,q0,"body",F0,1),validate$3(W0.generator,q0,"generator",L0),validate$3(W0.async,q0,"async",B0),q0}function functionExpression$1(s=null,o,F0,L0=!1,B0=!1){const q0={type:"FunctionExpression",id:s,params:o,body:F0,generator:L0,async:B0},W0=NODE_FIELDS.FunctionExpression;return validate$3(W0.id,q0,"id",s,1),validate$3(W0.params,q0,"params",o,1),validate$3(W0.body,q0,"body",F0,1),validate$3(W0.generator,q0,"generator",L0),validate$3(W0.async,q0,"async",B0),q0}function identifier$6(s){const o={type:"Identifier",name:s},F0=NODE_FIELDS.Identifier;return validate$3(F0.name,o,"name",s),o}function ifStatement$1(s,o,F0=null){const L0={type:"IfStatement",test:s,consequent:o,alternate:F0},B0=NODE_FIELDS.IfStatement;return validate$3(B0.test,L0,"test",s,1),validate$3(B0.consequent,L0,"consequent",o,1),validate$3(B0.alternate,L0,"alternate",F0,1),L0}function labeledStatement$1(s,o){const F0={type:"LabeledStatement",label:s,body:o},L0=NODE_FIELDS.LabeledStatement;return validate$3(L0.label,F0,"label",s,1),validate$3(L0.body,F0,"body",o,1),F0}function stringLiteral$3(s){const o={type:"StringLiteral",value:s},F0=NODE_FIELDS.StringLiteral;return validate$3(F0.value,o,"value",s),o}function numericLiteral$2(s){const o={type:"NumericLiteral",value:s},F0=NODE_FIELDS.NumericLiteral;return validate$3(F0.value,o,"value",s),o}function nullLiteral$1(){return{type:"NullLiteral"}}function booleanLiteral$1(s){const o={type:"BooleanLiteral",value:s},F0=NODE_FIELDS.BooleanLiteral;return validate$3(F0.value,o,"value",s),o}function regExpLiteral$1(s,o=""){const F0={type:"RegExpLiteral",pattern:s,flags:o},L0=NODE_FIELDS.RegExpLiteral;return validate$3(L0.pattern,F0,"pattern",s),validate$3(L0.flags,F0,"flags",o),F0}function logicalExpression$2(s,o,F0){const L0={type:"LogicalExpression",operator:s,left:o,right:F0},B0=NODE_FIELDS.LogicalExpression;return validate$3(B0.operator,L0,"operator",s),validate$3(B0.left,L0,"left",o,1),validate$3(B0.right,L0,"right",F0,1),L0}function memberExpression$2(s,o,F0=!1,L0=null){const B0={type:"MemberExpression",object:s,property:o,computed:F0,optional:L0},q0=NODE_FIELDS.MemberExpression;return validate$3(q0.object,B0,"object",s,1),validate$3(q0.property,B0,"property",o,1),validate$3(q0.computed,B0,"computed",F0),validate$3(q0.optional,B0,"optional",L0),B0}function newExpression$1(s,o){const F0={type:"NewExpression",callee:s,arguments:o},L0=NODE_FIELDS.NewExpression;return validate$3(L0.callee,F0,"callee",s,1),validate$3(L0.arguments,F0,"arguments",o,1),F0}function program$3(s,o=[],F0="script",L0=null){const B0={type:"Program",body:s,directives:o,sourceType:F0,interpreter:L0},q0=NODE_FIELDS.Program;return validate$3(q0.body,B0,"body",s,1),validate$3(q0.directives,B0,"directives",o,1),validate$3(q0.sourceType,B0,"sourceType",F0),validate$3(q0.interpreter,B0,"interpreter",L0,1),B0}function objectExpression$2(s){const o={type:"ObjectExpression",properties:s},F0=NODE_FIELDS.ObjectExpression;return validate$3(F0.properties,o,"properties",s,1),o}function objectMethod$1(s="method",o,F0,L0,B0=!1,q0=!1,W0=!1){const X0={type:"ObjectMethod",kind:s,key:o,params:F0,body:L0,computed:B0,generator:q0,async:W0},K0=NODE_FIELDS.ObjectMethod;return validate$3(K0.kind,X0,"kind",s),validate$3(K0.key,X0,"key",o,1),validate$3(K0.params,X0,"params",F0,1),validate$3(K0.body,X0,"body",L0,1),validate$3(K0.computed,X0,"computed",B0),validate$3(K0.generator,X0,"generator",q0),validate$3(K0.async,X0,"async",W0),X0}function objectProperty$1(s,o,F0=!1,L0=!1,B0=null){const q0={type:"ObjectProperty",key:s,value:o,computed:F0,shorthand:L0,decorators:B0},W0=NODE_FIELDS.ObjectProperty;return validate$3(W0.key,q0,"key",s,1),validate$3(W0.value,q0,"value",o,1),validate$3(W0.computed,q0,"computed",F0),validate$3(W0.shorthand,q0,"shorthand",L0),validate$3(W0.decorators,q0,"decorators",B0,1),q0}function restElement$2(s){const o={type:"RestElement",argument:s},F0=NODE_FIELDS.RestElement;return validate$3(F0.argument,o,"argument",s,1),o}function returnStatement$2(s=null){const o={type:"ReturnStatement",argument:s},F0=NODE_FIELDS.ReturnStatement;return validate$3(F0.argument,o,"argument",s,1),o}function sequenceExpression$2(s){const o={type:"SequenceExpression",expressions:s},F0=NODE_FIELDS.SequenceExpression;return validate$3(F0.expressions,o,"expressions",s,1),o}function parenthesizedExpression$1(s){const o={type:"ParenthesizedExpression",expression:s},F0=NODE_FIELDS.ParenthesizedExpression;return validate$3(F0.expression,o,"expression",s,1),o}function switchCase$1(s=null,o){const F0={type:"SwitchCase",test:s,consequent:o},L0=NODE_FIELDS.SwitchCase;return validate$3(L0.test,F0,"test",s,1),validate$3(L0.consequent,F0,"consequent",o,1),F0}function switchStatement$1(s,o){const F0={type:"SwitchStatement",discriminant:s,cases:o},L0=NODE_FIELDS.SwitchStatement;return validate$3(L0.discriminant,F0,"discriminant",s,1),validate$3(L0.cases,F0,"cases",o,1),F0}function thisExpression$2(){return{type:"ThisExpression"}}function throwStatement$1(s){const o={type:"ThrowStatement",argument:s},F0=NODE_FIELDS.ThrowStatement;return validate$3(F0.argument,o,"argument",s,1),o}function tryStatement$1(s,o=null,F0=null){const L0={type:"TryStatement",block:s,handler:o,finalizer:F0},B0=NODE_FIELDS.TryStatement;return validate$3(B0.block,L0,"block",s,1),validate$3(B0.handler,L0,"handler",o,1),validate$3(B0.finalizer,L0,"finalizer",F0,1),L0}function unaryExpression$2(s,o,F0=!0){const L0={type:"UnaryExpression",operator:s,argument:o,prefix:F0},B0=NODE_FIELDS.UnaryExpression;return validate$3(B0.operator,L0,"operator",s),validate$3(B0.argument,L0,"argument",o,1),validate$3(B0.prefix,L0,"prefix",F0),L0}function updateExpression$1(s,o,F0=!1){const L0={type:"UpdateExpression",operator:s,argument:o,prefix:F0},B0=NODE_FIELDS.UpdateExpression;return validate$3(B0.operator,L0,"operator",s),validate$3(B0.argument,L0,"argument",o,1),validate$3(B0.prefix,L0,"prefix",F0),L0}function variableDeclaration$3(s,o){const F0={type:"VariableDeclaration",kind:s,declarations:o},L0=NODE_FIELDS.VariableDeclaration;return validate$3(L0.kind,F0,"kind",s),validate$3(L0.declarations,F0,"declarations",o,1),F0}function variableDeclarator$3(s,o=null){const F0={type:"VariableDeclarator",id:s,init:o},L0=NODE_FIELDS.VariableDeclarator;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.init,F0,"init",o,1),F0}function whileStatement$1(s,o){const F0={type:"WhileStatement",test:s,body:o},L0=NODE_FIELDS.WhileStatement;return validate$3(L0.test,F0,"test",s,1),validate$3(L0.body,F0,"body",o,1),F0}function withStatement$1(s,o){const F0={type:"WithStatement",object:s,body:o},L0=NODE_FIELDS.WithStatement;return validate$3(L0.object,F0,"object",s,1),validate$3(L0.body,F0,"body",o,1),F0}function assignmentPattern$1(s,o){const F0={type:"AssignmentPattern",left:s,right:o},L0=NODE_FIELDS.AssignmentPattern;return validate$3(L0.left,F0,"left",s,1),validate$3(L0.right,F0,"right",o,1),F0}function arrayPattern$1(s){const o={type:"ArrayPattern",elements:s},F0=NODE_FIELDS.ArrayPattern;return validate$3(F0.elements,o,"elements",s,1),o}function arrowFunctionExpression$2(s,o,F0=!1){const L0={type:"ArrowFunctionExpression",params:s,body:o,async:F0,expression:null},B0=NODE_FIELDS.ArrowFunctionExpression;return validate$3(B0.params,L0,"params",s,1),validate$3(B0.body,L0,"body",o,1),validate$3(B0.async,L0,"async",F0),L0}function classBody$1(s){const o={type:"ClassBody",body:s},F0=NODE_FIELDS.ClassBody;return validate$3(F0.body,o,"body",s,1),o}function classExpression$1(s=null,o=null,F0,L0=null){const B0={type:"ClassExpression",id:s,superClass:o,body:F0,decorators:L0},q0=NODE_FIELDS.ClassExpression;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.superClass,B0,"superClass",o,1),validate$3(q0.body,B0,"body",F0,1),validate$3(q0.decorators,B0,"decorators",L0,1),B0}function classDeclaration$1(s=null,o=null,F0,L0=null){const B0={type:"ClassDeclaration",id:s,superClass:o,body:F0,decorators:L0},q0=NODE_FIELDS.ClassDeclaration;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.superClass,B0,"superClass",o,1),validate$3(q0.body,B0,"body",F0,1),validate$3(q0.decorators,B0,"decorators",L0,1),B0}function exportAllDeclaration$1(s,o=null){const F0={type:"ExportAllDeclaration",source:s,attributes:o},L0=NODE_FIELDS.ExportAllDeclaration;return validate$3(L0.source,F0,"source",s,1),validate$3(L0.attributes,F0,"attributes",o,1),F0}function exportDefaultDeclaration$1(s){const o={type:"ExportDefaultDeclaration",declaration:s},F0=NODE_FIELDS.ExportDefaultDeclaration;return validate$3(F0.declaration,o,"declaration",s,1),o}function exportNamedDeclaration$2(s=null,o=[],F0=null,L0=null){const B0={type:"ExportNamedDeclaration",declaration:s,specifiers:o,source:F0,attributes:L0},q0=NODE_FIELDS.ExportNamedDeclaration;return validate$3(q0.declaration,B0,"declaration",s,1),validate$3(q0.specifiers,B0,"specifiers",o,1),validate$3(q0.source,B0,"source",F0,1),validate$3(q0.attributes,B0,"attributes",L0,1),B0}function exportSpecifier$2(s,o){const F0={type:"ExportSpecifier",local:s,exported:o},L0=NODE_FIELDS.ExportSpecifier;return validate$3(L0.local,F0,"local",s,1),validate$3(L0.exported,F0,"exported",o,1),F0}function forOfStatement$1(s,o,F0,L0=!1){const B0={type:"ForOfStatement",left:s,right:o,body:F0,await:L0},q0=NODE_FIELDS.ForOfStatement;return validate$3(q0.left,B0,"left",s,1),validate$3(q0.right,B0,"right",o,1),validate$3(q0.body,B0,"body",F0,1),validate$3(q0.await,B0,"await",L0),B0}function importDeclaration$1(s,o,F0=null){const L0={type:"ImportDeclaration",specifiers:s,source:o,attributes:F0},B0=NODE_FIELDS.ImportDeclaration;return validate$3(B0.specifiers,L0,"specifiers",s,1),validate$3(B0.source,L0,"source",o,1),validate$3(B0.attributes,L0,"attributes",F0,1),L0}function importDefaultSpecifier$1(s){const o={type:"ImportDefaultSpecifier",local:s},F0=NODE_FIELDS.ImportDefaultSpecifier;return validate$3(F0.local,o,"local",s,1),o}function importNamespaceSpecifier$1(s){const o={type:"ImportNamespaceSpecifier",local:s},F0=NODE_FIELDS.ImportNamespaceSpecifier;return validate$3(F0.local,o,"local",s,1),o}function importSpecifier$1(s,o){const F0={type:"ImportSpecifier",local:s,imported:o},L0=NODE_FIELDS.ImportSpecifier;return validate$3(L0.local,F0,"local",s,1),validate$3(L0.imported,F0,"imported",o,1),F0}function importExpression(s,o=null){const F0={type:"ImportExpression",source:s,options:o},L0=NODE_FIELDS.ImportExpression;return validate$3(L0.source,F0,"source",s,1),validate$3(L0.options,F0,"options",o,1),F0}function metaProperty$2(s,o){const F0={type:"MetaProperty",meta:s,property:o},L0=NODE_FIELDS.MetaProperty;return validate$3(L0.meta,F0,"meta",s,1),validate$3(L0.property,F0,"property",o,1),F0}function classMethod$1(s="method",o,F0,L0,B0=!1,q0=!1,W0=!1,X0=!1){const K0={type:"ClassMethod",kind:s,key:o,params:F0,body:L0,computed:B0,static:q0,generator:W0,async:X0},D_=NODE_FIELDS.ClassMethod;return validate$3(D_.kind,K0,"kind",s),validate$3(D_.key,K0,"key",o,1),validate$3(D_.params,K0,"params",F0,1),validate$3(D_.body,K0,"body",L0,1),validate$3(D_.computed,K0,"computed",B0),validate$3(D_.static,K0,"static",q0),validate$3(D_.generator,K0,"generator",W0),validate$3(D_.async,K0,"async",X0),K0}function objectPattern$1(s){const o={type:"ObjectPattern",properties:s},F0=NODE_FIELDS.ObjectPattern;return validate$3(F0.properties,o,"properties",s,1),o}function spreadElement$2(s){const o={type:"SpreadElement",argument:s},F0=NODE_FIELDS.SpreadElement;return validate$3(F0.argument,o,"argument",s,1),o}function _super$2(){return{type:"Super"}}function taggedTemplateExpression$1(s,o){const F0={type:"TaggedTemplateExpression",tag:s,quasi:o},L0=NODE_FIELDS.TaggedTemplateExpression;return validate$3(L0.tag,F0,"tag",s,1),validate$3(L0.quasi,F0,"quasi",o,1),F0}function templateElement$1(s,o=!1){const F0={type:"TemplateElement",value:s,tail:o},L0=NODE_FIELDS.TemplateElement;return validate$3(L0.value,F0,"value",s),validate$3(L0.tail,F0,"tail",o),F0}function templateLiteral$1(s,o){const F0={type:"TemplateLiteral",quasis:s,expressions:o},L0=NODE_FIELDS.TemplateLiteral;return validate$3(L0.quasis,F0,"quasis",s,1),validate$3(L0.expressions,F0,"expressions",o,1),F0}function yieldExpression$1(s=null,o=!1){const F0={type:"YieldExpression",argument:s,delegate:o},L0=NODE_FIELDS.YieldExpression;return validate$3(L0.argument,F0,"argument",s,1),validate$3(L0.delegate,F0,"delegate",o),F0}function awaitExpression$1(s){const o={type:"AwaitExpression",argument:s},F0=NODE_FIELDS.AwaitExpression;return validate$3(F0.argument,o,"argument",s,1),o}function _import$1(){return{type:"Import"}}function exportNamespaceSpecifier$1(s){const o={type:"ExportNamespaceSpecifier",exported:s},F0=NODE_FIELDS.ExportNamespaceSpecifier;return validate$3(F0.exported,o,"exported",s,1),o}function optionalMemberExpression$1(s,o,F0=!1,L0){const B0={type:"OptionalMemberExpression",object:s,property:o,computed:F0,optional:L0},q0=NODE_FIELDS.OptionalMemberExpression;return validate$3(q0.object,B0,"object",s,1),validate$3(q0.property,B0,"property",o,1),validate$3(q0.computed,B0,"computed",F0),validate$3(q0.optional,B0,"optional",L0),B0}function optionalCallExpression$1(s,o,F0){const L0={type:"OptionalCallExpression",callee:s,arguments:o,optional:F0},B0=NODE_FIELDS.OptionalCallExpression;return validate$3(B0.callee,L0,"callee",s,1),validate$3(B0.arguments,L0,"arguments",o,1),validate$3(B0.optional,L0,"optional",F0),L0}function classProperty$1(s,o=null,F0=null,L0=null,B0=!1,q0=!1){const W0={type:"ClassProperty",key:s,value:o,typeAnnotation:F0,decorators:L0,computed:B0,static:q0},X0=NODE_FIELDS.ClassProperty;return validate$3(X0.key,W0,"key",s,1),validate$3(X0.value,W0,"value",o,1),validate$3(X0.typeAnnotation,W0,"typeAnnotation",F0,1),validate$3(X0.decorators,W0,"decorators",L0,1),validate$3(X0.computed,W0,"computed",B0),validate$3(X0.static,W0,"static",q0),W0}function classAccessorProperty$1(s,o=null,F0=null,L0=null,B0=!1,q0=!1){const W0={type:"ClassAccessorProperty",key:s,value:o,typeAnnotation:F0,decorators:L0,computed:B0,static:q0},X0=NODE_FIELDS.ClassAccessorProperty;return validate$3(X0.key,W0,"key",s,1),validate$3(X0.value,W0,"value",o,1),validate$3(X0.typeAnnotation,W0,"typeAnnotation",F0,1),validate$3(X0.decorators,W0,"decorators",L0,1),validate$3(X0.computed,W0,"computed",B0),validate$3(X0.static,W0,"static",q0),W0}function classPrivateProperty$1(s,o=null,F0=null,L0=!1){const B0={type:"ClassPrivateProperty",key:s,value:o,decorators:F0,static:L0},q0=NODE_FIELDS.ClassPrivateProperty;return validate$3(q0.key,B0,"key",s,1),validate$3(q0.value,B0,"value",o,1),validate$3(q0.decorators,B0,"decorators",F0,1),validate$3(q0.static,B0,"static",L0),B0}function classPrivateMethod$1(s="method",o,F0,L0,B0=!1){const q0={type:"ClassPrivateMethod",kind:s,key:o,params:F0,body:L0,static:B0},W0=NODE_FIELDS.ClassPrivateMethod;return validate$3(W0.kind,q0,"kind",s),validate$3(W0.key,q0,"key",o,1),validate$3(W0.params,q0,"params",F0,1),validate$3(W0.body,q0,"body",L0,1),validate$3(W0.static,q0,"static",B0),q0}function privateName$1(s){const o={type:"PrivateName",id:s},F0=NODE_FIELDS.PrivateName;return validate$3(F0.id,o,"id",s,1),o}function staticBlock$1(s){const o={type:"StaticBlock",body:s},F0=NODE_FIELDS.StaticBlock;return validate$3(F0.body,o,"body",s,1),o}function importAttribute$1(s,o){const F0={type:"ImportAttribute",key:s,value:o},L0=NODE_FIELDS.ImportAttribute;return validate$3(L0.key,F0,"key",s,1),validate$3(L0.value,F0,"value",o,1),F0}function anyTypeAnnotation$2(){return{type:"AnyTypeAnnotation"}}function arrayTypeAnnotation$1(s){const o={type:"ArrayTypeAnnotation",elementType:s},F0=NODE_FIELDS.ArrayTypeAnnotation;return validate$3(F0.elementType,o,"elementType",s,1),o}function booleanTypeAnnotation$1(){return{type:"BooleanTypeAnnotation"}}function booleanLiteralTypeAnnotation$1(s){const o={type:"BooleanLiteralTypeAnnotation",value:s},F0=NODE_FIELDS.BooleanLiteralTypeAnnotation;return validate$3(F0.value,o,"value",s),o}function nullLiteralTypeAnnotation$1(){return{type:"NullLiteralTypeAnnotation"}}function classImplements$1(s,o=null){const F0={type:"ClassImplements",id:s,typeParameters:o},L0=NODE_FIELDS.ClassImplements;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function declareClass$1(s,o=null,F0=null,L0){const B0={type:"DeclareClass",id:s,typeParameters:o,extends:F0,body:L0},q0=NODE_FIELDS.DeclareClass;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.extends,B0,"extends",F0,1),validate$3(q0.body,B0,"body",L0,1),B0}function declareFunction$1(s){const o={type:"DeclareFunction",id:s},F0=NODE_FIELDS.DeclareFunction;return validate$3(F0.id,o,"id",s,1),o}function declareInterface$1(s,o=null,F0=null,L0){const B0={type:"DeclareInterface",id:s,typeParameters:o,extends:F0,body:L0},q0=NODE_FIELDS.DeclareInterface;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.extends,B0,"extends",F0,1),validate$3(q0.body,B0,"body",L0,1),B0}function declareModule$1(s,o,F0=null){const L0={type:"DeclareModule",id:s,body:o,kind:F0},B0=NODE_FIELDS.DeclareModule;return validate$3(B0.id,L0,"id",s,1),validate$3(B0.body,L0,"body",o,1),validate$3(B0.kind,L0,"kind",F0),L0}function declareModuleExports$1(s){const o={type:"DeclareModuleExports",typeAnnotation:s},F0=NODE_FIELDS.DeclareModuleExports;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function declareTypeAlias$1(s,o=null,F0){const L0={type:"DeclareTypeAlias",id:s,typeParameters:o,right:F0},B0=NODE_FIELDS.DeclareTypeAlias;return validate$3(B0.id,L0,"id",s,1),validate$3(B0.typeParameters,L0,"typeParameters",o,1),validate$3(B0.right,L0,"right",F0,1),L0}function declareOpaqueType$1(s,o=null,F0=null){const L0={type:"DeclareOpaqueType",id:s,typeParameters:o,supertype:F0},B0=NODE_FIELDS.DeclareOpaqueType;return validate$3(B0.id,L0,"id",s,1),validate$3(B0.typeParameters,L0,"typeParameters",o,1),validate$3(B0.supertype,L0,"supertype",F0,1),L0}function declareVariable$1(s){const o={type:"DeclareVariable",id:s},F0=NODE_FIELDS.DeclareVariable;return validate$3(F0.id,o,"id",s,1),o}function declareExportDeclaration$1(s=null,o=null,F0=null,L0=null){const B0={type:"DeclareExportDeclaration",declaration:s,specifiers:o,source:F0,attributes:L0},q0=NODE_FIELDS.DeclareExportDeclaration;return validate$3(q0.declaration,B0,"declaration",s,1),validate$3(q0.specifiers,B0,"specifiers",o,1),validate$3(q0.source,B0,"source",F0,1),validate$3(q0.attributes,B0,"attributes",L0,1),B0}function declareExportAllDeclaration$1(s,o=null){const F0={type:"DeclareExportAllDeclaration",source:s,attributes:o},L0=NODE_FIELDS.DeclareExportAllDeclaration;return validate$3(L0.source,F0,"source",s,1),validate$3(L0.attributes,F0,"attributes",o,1),F0}function declaredPredicate$1(s){const o={type:"DeclaredPredicate",value:s},F0=NODE_FIELDS.DeclaredPredicate;return validate$3(F0.value,o,"value",s,1),o}function existsTypeAnnotation$1(){return{type:"ExistsTypeAnnotation"}}function functionTypeAnnotation$1(s=null,o,F0=null,L0){const B0={type:"FunctionTypeAnnotation",typeParameters:s,params:o,rest:F0,returnType:L0},q0=NODE_FIELDS.FunctionTypeAnnotation;return validate$3(q0.typeParameters,B0,"typeParameters",s,1),validate$3(q0.params,B0,"params",o,1),validate$3(q0.rest,B0,"rest",F0,1),validate$3(q0.returnType,B0,"returnType",L0,1),B0}function functionTypeParam$1(s=null,o){const F0={type:"FunctionTypeParam",name:s,typeAnnotation:o},L0=NODE_FIELDS.FunctionTypeParam;return validate$3(L0.name,F0,"name",s,1),validate$3(L0.typeAnnotation,F0,"typeAnnotation",o,1),F0}function genericTypeAnnotation$1(s,o=null){const F0={type:"GenericTypeAnnotation",id:s,typeParameters:o},L0=NODE_FIELDS.GenericTypeAnnotation;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function inferredPredicate$1(){return{type:"InferredPredicate"}}function interfaceExtends$1(s,o=null){const F0={type:"InterfaceExtends",id:s,typeParameters:o},L0=NODE_FIELDS.InterfaceExtends;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function interfaceDeclaration$1(s,o=null,F0=null,L0){const B0={type:"InterfaceDeclaration",id:s,typeParameters:o,extends:F0,body:L0},q0=NODE_FIELDS.InterfaceDeclaration;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.extends,B0,"extends",F0,1),validate$3(q0.body,B0,"body",L0,1),B0}function interfaceTypeAnnotation$1(s=null,o){const F0={type:"InterfaceTypeAnnotation",extends:s,body:o},L0=NODE_FIELDS.InterfaceTypeAnnotation;return validate$3(L0.extends,F0,"extends",s,1),validate$3(L0.body,F0,"body",o,1),F0}function intersectionTypeAnnotation$1(s){const o={type:"IntersectionTypeAnnotation",types:s},F0=NODE_FIELDS.IntersectionTypeAnnotation;return validate$3(F0.types,o,"types",s,1),o}function mixedTypeAnnotation$1(){return{type:"MixedTypeAnnotation"}}function emptyTypeAnnotation$1(){return{type:"EmptyTypeAnnotation"}}function nullableTypeAnnotation$1(s){const o={type:"NullableTypeAnnotation",typeAnnotation:s},F0=NODE_FIELDS.NullableTypeAnnotation;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function numberLiteralTypeAnnotation$1(s){const o={type:"NumberLiteralTypeAnnotation",value:s},F0=NODE_FIELDS.NumberLiteralTypeAnnotation;return validate$3(F0.value,o,"value",s),o}function numberTypeAnnotation$2(){return{type:"NumberTypeAnnotation"}}function objectTypeAnnotation$1(s,o=[],F0=[],L0=[],B0=!1){const q0={type:"ObjectTypeAnnotation",properties:s,indexers:o,callProperties:F0,internalSlots:L0,exact:B0},W0=NODE_FIELDS.ObjectTypeAnnotation;return validate$3(W0.properties,q0,"properties",s,1),validate$3(W0.indexers,q0,"indexers",o,1),validate$3(W0.callProperties,q0,"callProperties",F0,1),validate$3(W0.internalSlots,q0,"internalSlots",L0,1),validate$3(W0.exact,q0,"exact",B0),q0}function objectTypeInternalSlot$1(s,o,F0,L0,B0){const q0={type:"ObjectTypeInternalSlot",id:s,value:o,optional:F0,static:L0,method:B0},W0=NODE_FIELDS.ObjectTypeInternalSlot;return validate$3(W0.id,q0,"id",s,1),validate$3(W0.value,q0,"value",o,1),validate$3(W0.optional,q0,"optional",F0),validate$3(W0.static,q0,"static",L0),validate$3(W0.method,q0,"method",B0),q0}function objectTypeCallProperty$1(s){const o={type:"ObjectTypeCallProperty",value:s,static:null},F0=NODE_FIELDS.ObjectTypeCallProperty;return validate$3(F0.value,o,"value",s,1),o}function objectTypeIndexer$1(s=null,o,F0,L0=null){const B0={type:"ObjectTypeIndexer",id:s,key:o,value:F0,variance:L0,static:null},q0=NODE_FIELDS.ObjectTypeIndexer;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.key,B0,"key",o,1),validate$3(q0.value,B0,"value",F0,1),validate$3(q0.variance,B0,"variance",L0,1),B0}function objectTypeProperty$1(s,o,F0=null){const L0={type:"ObjectTypeProperty",key:s,value:o,variance:F0,kind:null,method:null,optional:null,proto:null,static:null},B0=NODE_FIELDS.ObjectTypeProperty;return validate$3(B0.key,L0,"key",s,1),validate$3(B0.value,L0,"value",o,1),validate$3(B0.variance,L0,"variance",F0,1),L0}function objectTypeSpreadProperty$1(s){const o={type:"ObjectTypeSpreadProperty",argument:s},F0=NODE_FIELDS.ObjectTypeSpreadProperty;return validate$3(F0.argument,o,"argument",s,1),o}function opaqueType$1(s,o=null,F0=null,L0){const B0={type:"OpaqueType",id:s,typeParameters:o,supertype:F0,impltype:L0},q0=NODE_FIELDS.OpaqueType;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.supertype,B0,"supertype",F0,1),validate$3(q0.impltype,B0,"impltype",L0,1),B0}function qualifiedTypeIdentifier$1(s,o){const F0={type:"QualifiedTypeIdentifier",id:s,qualification:o},L0=NODE_FIELDS.QualifiedTypeIdentifier;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.qualification,F0,"qualification",o,1),F0}function stringLiteralTypeAnnotation$1(s){const o={type:"StringLiteralTypeAnnotation",value:s},F0=NODE_FIELDS.StringLiteralTypeAnnotation;return validate$3(F0.value,o,"value",s),o}function stringTypeAnnotation$2(){return{type:"StringTypeAnnotation"}}function symbolTypeAnnotation$1(){return{type:"SymbolTypeAnnotation"}}function thisTypeAnnotation$1(){return{type:"ThisTypeAnnotation"}}function tupleTypeAnnotation$1(s){const o={type:"TupleTypeAnnotation",types:s},F0=NODE_FIELDS.TupleTypeAnnotation;return validate$3(F0.types,o,"types",s,1),o}function typeofTypeAnnotation$1(s){const o={type:"TypeofTypeAnnotation",argument:s},F0=NODE_FIELDS.TypeofTypeAnnotation;return validate$3(F0.argument,o,"argument",s,1),o}function typeAlias$1(s,o=null,F0){const L0={type:"TypeAlias",id:s,typeParameters:o,right:F0},B0=NODE_FIELDS.TypeAlias;return validate$3(B0.id,L0,"id",s,1),validate$3(B0.typeParameters,L0,"typeParameters",o,1),validate$3(B0.right,L0,"right",F0,1),L0}function typeAnnotation$1(s){const o={type:"TypeAnnotation",typeAnnotation:s},F0=NODE_FIELDS.TypeAnnotation;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function typeCastExpression$1(s,o){const F0={type:"TypeCastExpression",expression:s,typeAnnotation:o},L0=NODE_FIELDS.TypeCastExpression;return validate$3(L0.expression,F0,"expression",s,1),validate$3(L0.typeAnnotation,F0,"typeAnnotation",o,1),F0}function typeParameter$1(s=null,o=null,F0=null){const L0={type:"TypeParameter",bound:s,default:o,variance:F0,name:null},B0=NODE_FIELDS.TypeParameter;return validate$3(B0.bound,L0,"bound",s,1),validate$3(B0.default,L0,"default",o,1),validate$3(B0.variance,L0,"variance",F0,1),L0}function typeParameterDeclaration$1(s){const o={type:"TypeParameterDeclaration",params:s},F0=NODE_FIELDS.TypeParameterDeclaration;return validate$3(F0.params,o,"params",s,1),o}function typeParameterInstantiation$1(s){const o={type:"TypeParameterInstantiation",params:s},F0=NODE_FIELDS.TypeParameterInstantiation;return validate$3(F0.params,o,"params",s,1),o}function unionTypeAnnotation$1(s){const o={type:"UnionTypeAnnotation",types:s},F0=NODE_FIELDS.UnionTypeAnnotation;return validate$3(F0.types,o,"types",s,1),o}function variance$1(s){const o={type:"Variance",kind:s},F0=NODE_FIELDS.Variance;return validate$3(F0.kind,o,"kind",s),o}function voidTypeAnnotation$3(){return{type:"VoidTypeAnnotation"}}function enumDeclaration$1(s,o){const F0={type:"EnumDeclaration",id:s,body:o},L0=NODE_FIELDS.EnumDeclaration;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.body,F0,"body",o,1),F0}function enumBooleanBody$1(s){const o={type:"EnumBooleanBody",members:s,explicitType:null,hasUnknownMembers:null},F0=NODE_FIELDS.EnumBooleanBody;return validate$3(F0.members,o,"members",s,1),o}function enumNumberBody$1(s){const o={type:"EnumNumberBody",members:s,explicitType:null,hasUnknownMembers:null},F0=NODE_FIELDS.EnumNumberBody;return validate$3(F0.members,o,"members",s,1),o}function enumStringBody$1(s){const o={type:"EnumStringBody",members:s,explicitType:null,hasUnknownMembers:null},F0=NODE_FIELDS.EnumStringBody;return validate$3(F0.members,o,"members",s,1),o}function enumSymbolBody$1(s){const o={type:"EnumSymbolBody",members:s,hasUnknownMembers:null},F0=NODE_FIELDS.EnumSymbolBody;return validate$3(F0.members,o,"members",s,1),o}function enumBooleanMember$1(s){const o={type:"EnumBooleanMember",id:s,init:null},F0=NODE_FIELDS.EnumBooleanMember;return validate$3(F0.id,o,"id",s,1),o}function enumNumberMember$1(s,o){const F0={type:"EnumNumberMember",id:s,init:o},L0=NODE_FIELDS.EnumNumberMember;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.init,F0,"init",o,1),F0}function enumStringMember$1(s,o){const F0={type:"EnumStringMember",id:s,init:o},L0=NODE_FIELDS.EnumStringMember;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.init,F0,"init",o,1),F0}function enumDefaultedMember$1(s){const o={type:"EnumDefaultedMember",id:s},F0=NODE_FIELDS.EnumDefaultedMember;return validate$3(F0.id,o,"id",s,1),o}function indexedAccessType$1(s,o){const F0={type:"IndexedAccessType",objectType:s,indexType:o},L0=NODE_FIELDS.IndexedAccessType;return validate$3(L0.objectType,F0,"objectType",s,1),validate$3(L0.indexType,F0,"indexType",o,1),F0}function optionalIndexedAccessType$1(s,o){const F0={type:"OptionalIndexedAccessType",objectType:s,indexType:o,optional:null},L0=NODE_FIELDS.OptionalIndexedAccessType;return validate$3(L0.objectType,F0,"objectType",s,1),validate$3(L0.indexType,F0,"indexType",o,1),F0}function jsxAttribute$1(s,o=null){const F0={type:"JSXAttribute",name:s,value:o},L0=NODE_FIELDS.JSXAttribute;return validate$3(L0.name,F0,"name",s,1),validate$3(L0.value,F0,"value",o,1),F0}function jsxClosingElement$1(s){const o={type:"JSXClosingElement",name:s},F0=NODE_FIELDS.JSXClosingElement;return validate$3(F0.name,o,"name",s,1),o}function jsxElement$1(s,o=null,F0,L0=null){const B0={type:"JSXElement",openingElement:s,closingElement:o,children:F0,selfClosing:L0},q0=NODE_FIELDS.JSXElement;return validate$3(q0.openingElement,B0,"openingElement",s,1),validate$3(q0.closingElement,B0,"closingElement",o,1),validate$3(q0.children,B0,"children",F0,1),validate$3(q0.selfClosing,B0,"selfClosing",L0),B0}function jsxEmptyExpression$1(){return{type:"JSXEmptyExpression"}}function jsxExpressionContainer$2(s){const o={type:"JSXExpressionContainer",expression:s},F0=NODE_FIELDS.JSXExpressionContainer;return validate$3(F0.expression,o,"expression",s,1),o}function jsxSpreadChild$1(s){const o={type:"JSXSpreadChild",expression:s},F0=NODE_FIELDS.JSXSpreadChild;return validate$3(F0.expression,o,"expression",s,1),o}function jsxIdentifier$2(s){const o={type:"JSXIdentifier",name:s},F0=NODE_FIELDS.JSXIdentifier;return validate$3(F0.name,o,"name",s),o}function jsxMemberExpression$1(s,o){const F0={type:"JSXMemberExpression",object:s,property:o},L0=NODE_FIELDS.JSXMemberExpression;return validate$3(L0.object,F0,"object",s,1),validate$3(L0.property,F0,"property",o,1),F0}function jsxNamespacedName$1(s,o){const F0={type:"JSXNamespacedName",namespace:s,name:o},L0=NODE_FIELDS.JSXNamespacedName;return validate$3(L0.namespace,F0,"namespace",s,1),validate$3(L0.name,F0,"name",o,1),F0}function jsxOpeningElement$1(s,o,F0=!1){const L0={type:"JSXOpeningElement",name:s,attributes:o,selfClosing:F0},B0=NODE_FIELDS.JSXOpeningElement;return validate$3(B0.name,L0,"name",s,1),validate$3(B0.attributes,L0,"attributes",o,1),validate$3(B0.selfClosing,L0,"selfClosing",F0),L0}function jsxSpreadAttribute$1(s){const o={type:"JSXSpreadAttribute",argument:s},F0=NODE_FIELDS.JSXSpreadAttribute;return validate$3(F0.argument,o,"argument",s,1),o}function jsxText$1(s){const o={type:"JSXText",value:s},F0=NODE_FIELDS.JSXText;return validate$3(F0.value,o,"value",s),o}function jsxFragment$1(s,o,F0){const L0={type:"JSXFragment",openingFragment:s,closingFragment:o,children:F0},B0=NODE_FIELDS.JSXFragment;return validate$3(B0.openingFragment,L0,"openingFragment",s,1),validate$3(B0.closingFragment,L0,"closingFragment",o,1),validate$3(B0.children,L0,"children",F0,1),L0}function jsxOpeningFragment$1(){return{type:"JSXOpeningFragment"}}function jsxClosingFragment$1(){return{type:"JSXClosingFragment"}}function noop$3(){return{type:"Noop"}}function placeholder$1(s,o){const F0={type:"Placeholder",expectedNode:s,name:o},L0=NODE_FIELDS.Placeholder;return validate$3(L0.expectedNode,F0,"expectedNode",s),validate$3(L0.name,F0,"name",o,1),F0}function v8IntrinsicIdentifier$1(s){const o={type:"V8IntrinsicIdentifier",name:s},F0=NODE_FIELDS.V8IntrinsicIdentifier;return validate$3(F0.name,o,"name",s),o}function argumentPlaceholder$1(){return{type:"ArgumentPlaceholder"}}function bindExpression$1(s,o){const F0={type:"BindExpression",object:s,callee:o},L0=NODE_FIELDS.BindExpression;return validate$3(L0.object,F0,"object",s,1),validate$3(L0.callee,F0,"callee",o,1),F0}function decorator$1(s){const o={type:"Decorator",expression:s},F0=NODE_FIELDS.Decorator;return validate$3(F0.expression,o,"expression",s,1),o}function doExpression$1(s,o=!1){const F0={type:"DoExpression",body:s,async:o},L0=NODE_FIELDS.DoExpression;return validate$3(L0.body,F0,"body",s,1),validate$3(L0.async,F0,"async",o),F0}function exportDefaultSpecifier$1(s){const o={type:"ExportDefaultSpecifier",exported:s},F0=NODE_FIELDS.ExportDefaultSpecifier;return validate$3(F0.exported,o,"exported",s,1),o}function recordExpression$1(s){const o={type:"RecordExpression",properties:s},F0=NODE_FIELDS.RecordExpression;return validate$3(F0.properties,o,"properties",s,1),o}function tupleExpression$1(s=[]){const o={type:"TupleExpression",elements:s},F0=NODE_FIELDS.TupleExpression;return validate$3(F0.elements,o,"elements",s,1),o}function decimalLiteral$1(s){const o={type:"DecimalLiteral",value:s},F0=NODE_FIELDS.DecimalLiteral;return validate$3(F0.value,o,"value",s),o}function moduleExpression$1(s){const o={type:"ModuleExpression",body:s},F0=NODE_FIELDS.ModuleExpression;return validate$3(F0.body,o,"body",s,1),o}function topicReference$1(){return{type:"TopicReference"}}function pipelineTopicExpression$1(s){const o={type:"PipelineTopicExpression",expression:s},F0=NODE_FIELDS.PipelineTopicExpression;return validate$3(F0.expression,o,"expression",s,1),o}function pipelineBareFunction$1(s){const o={type:"PipelineBareFunction",callee:s},F0=NODE_FIELDS.PipelineBareFunction;return validate$3(F0.callee,o,"callee",s,1),o}function pipelinePrimaryTopicReference$1(){return{type:"PipelinePrimaryTopicReference"}}function voidPattern(){return{type:"VoidPattern"}}function tsParameterProperty$1(s){const o={type:"TSParameterProperty",parameter:s},F0=NODE_FIELDS.TSParameterProperty;return validate$3(F0.parameter,o,"parameter",s,1),o}function tsDeclareFunction$1(s=null,o=null,F0,L0=null){const B0={type:"TSDeclareFunction",id:s,typeParameters:o,params:F0,returnType:L0},q0=NODE_FIELDS.TSDeclareFunction;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.params,B0,"params",F0,1),validate$3(q0.returnType,B0,"returnType",L0,1),B0}function tsDeclareMethod$1(s=null,o,F0=null,L0,B0=null){const q0={type:"TSDeclareMethod",decorators:s,key:o,typeParameters:F0,params:L0,returnType:B0},W0=NODE_FIELDS.TSDeclareMethod;return validate$3(W0.decorators,q0,"decorators",s,1),validate$3(W0.key,q0,"key",o,1),validate$3(W0.typeParameters,q0,"typeParameters",F0,1),validate$3(W0.params,q0,"params",L0,1),validate$3(W0.returnType,q0,"returnType",B0,1),q0}function tsQualifiedName$1(s,o){const F0={type:"TSQualifiedName",left:s,right:o},L0=NODE_FIELDS.TSQualifiedName;return validate$3(L0.left,F0,"left",s,1),validate$3(L0.right,F0,"right",o,1),F0}function tsCallSignatureDeclaration$1(s=null,o,F0=null){const L0={type:"TSCallSignatureDeclaration",typeParameters:s,parameters:o,typeAnnotation:F0},B0=NODE_FIELDS.TSCallSignatureDeclaration;return validate$3(B0.typeParameters,L0,"typeParameters",s,1),validate$3(B0.parameters,L0,"parameters",o,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",F0,1),L0}function tsConstructSignatureDeclaration$1(s=null,o,F0=null){const L0={type:"TSConstructSignatureDeclaration",typeParameters:s,parameters:o,typeAnnotation:F0},B0=NODE_FIELDS.TSConstructSignatureDeclaration;return validate$3(B0.typeParameters,L0,"typeParameters",s,1),validate$3(B0.parameters,L0,"parameters",o,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",F0,1),L0}function tsPropertySignature$1(s,o=null){const F0={type:"TSPropertySignature",key:s,typeAnnotation:o},L0=NODE_FIELDS.TSPropertySignature;return validate$3(L0.key,F0,"key",s,1),validate$3(L0.typeAnnotation,F0,"typeAnnotation",o,1),F0}function tsMethodSignature$1(s,o=null,F0,L0=null){const B0={type:"TSMethodSignature",key:s,typeParameters:o,parameters:F0,typeAnnotation:L0,kind:null},q0=NODE_FIELDS.TSMethodSignature;return validate$3(q0.key,B0,"key",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.parameters,B0,"parameters",F0,1),validate$3(q0.typeAnnotation,B0,"typeAnnotation",L0,1),B0}function tsIndexSignature$1(s,o=null){const F0={type:"TSIndexSignature",parameters:s,typeAnnotation:o},L0=NODE_FIELDS.TSIndexSignature;return validate$3(L0.parameters,F0,"parameters",s,1),validate$3(L0.typeAnnotation,F0,"typeAnnotation",o,1),F0}function tsAnyKeyword$1(){return{type:"TSAnyKeyword"}}function tsBooleanKeyword$1(){return{type:"TSBooleanKeyword"}}function tsBigIntKeyword$1(){return{type:"TSBigIntKeyword"}}function tsIntrinsicKeyword$1(){return{type:"TSIntrinsicKeyword"}}function tsNeverKeyword$1(){return{type:"TSNeverKeyword"}}function tsNullKeyword$1(){return{type:"TSNullKeyword"}}function tsNumberKeyword$1(){return{type:"TSNumberKeyword"}}function tsObjectKeyword$1(){return{type:"TSObjectKeyword"}}function tsStringKeyword$1(){return{type:"TSStringKeyword"}}function tsSymbolKeyword$1(){return{type:"TSSymbolKeyword"}}function tsUndefinedKeyword$1(){return{type:"TSUndefinedKeyword"}}function tsUnknownKeyword$1(){return{type:"TSUnknownKeyword"}}function tsVoidKeyword$1(){return{type:"TSVoidKeyword"}}function tsThisType$1(){return{type:"TSThisType"}}function tsFunctionType$1(s=null,o,F0=null){const L0={type:"TSFunctionType",typeParameters:s,parameters:o,typeAnnotation:F0},B0=NODE_FIELDS.TSFunctionType;return validate$3(B0.typeParameters,L0,"typeParameters",s,1),validate$3(B0.parameters,L0,"parameters",o,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",F0,1),L0}function tsConstructorType$1(s=null,o,F0=null){const L0={type:"TSConstructorType",typeParameters:s,parameters:o,typeAnnotation:F0},B0=NODE_FIELDS.TSConstructorType;return validate$3(B0.typeParameters,L0,"typeParameters",s,1),validate$3(B0.parameters,L0,"parameters",o,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",F0,1),L0}function tsTypeReference$1(s,o=null){const F0={type:"TSTypeReference",typeName:s,typeParameters:o},L0=NODE_FIELDS.TSTypeReference;return validate$3(L0.typeName,F0,"typeName",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function tsTypePredicate$1(s,o=null,F0=null){const L0={type:"TSTypePredicate",parameterName:s,typeAnnotation:o,asserts:F0},B0=NODE_FIELDS.TSTypePredicate;return validate$3(B0.parameterName,L0,"parameterName",s,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",o,1),validate$3(B0.asserts,L0,"asserts",F0),L0}function tsTypeQuery$1(s,o=null){const F0={type:"TSTypeQuery",exprName:s,typeParameters:o},L0=NODE_FIELDS.TSTypeQuery;return validate$3(L0.exprName,F0,"exprName",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function tsTypeLiteral$1(s){const o={type:"TSTypeLiteral",members:s},F0=NODE_FIELDS.TSTypeLiteral;return validate$3(F0.members,o,"members",s,1),o}function tsArrayType$1(s){const o={type:"TSArrayType",elementType:s},F0=NODE_FIELDS.TSArrayType;return validate$3(F0.elementType,o,"elementType",s,1),o}function tsTupleType$1(s){const o={type:"TSTupleType",elementTypes:s},F0=NODE_FIELDS.TSTupleType;return validate$3(F0.elementTypes,o,"elementTypes",s,1),o}function tsOptionalType$1(s){const o={type:"TSOptionalType",typeAnnotation:s},F0=NODE_FIELDS.TSOptionalType;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function tsRestType$1(s){const o={type:"TSRestType",typeAnnotation:s},F0=NODE_FIELDS.TSRestType;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function tsNamedTupleMember$1(s,o,F0=!1){const L0={type:"TSNamedTupleMember",label:s,elementType:o,optional:F0},B0=NODE_FIELDS.TSNamedTupleMember;return validate$3(B0.label,L0,"label",s,1),validate$3(B0.elementType,L0,"elementType",o,1),validate$3(B0.optional,L0,"optional",F0),L0}function tsUnionType$1(s){const o={type:"TSUnionType",types:s},F0=NODE_FIELDS.TSUnionType;return validate$3(F0.types,o,"types",s,1),o}function tsIntersectionType$1(s){const o={type:"TSIntersectionType",types:s},F0=NODE_FIELDS.TSIntersectionType;return validate$3(F0.types,o,"types",s,1),o}function tsConditionalType$1(s,o,F0,L0){const B0={type:"TSConditionalType",checkType:s,extendsType:o,trueType:F0,falseType:L0},q0=NODE_FIELDS.TSConditionalType;return validate$3(q0.checkType,B0,"checkType",s,1),validate$3(q0.extendsType,B0,"extendsType",o,1),validate$3(q0.trueType,B0,"trueType",F0,1),validate$3(q0.falseType,B0,"falseType",L0,1),B0}function tsInferType$1(s){const o={type:"TSInferType",typeParameter:s},F0=NODE_FIELDS.TSInferType;return validate$3(F0.typeParameter,o,"typeParameter",s,1),o}function tsParenthesizedType$1(s){const o={type:"TSParenthesizedType",typeAnnotation:s},F0=NODE_FIELDS.TSParenthesizedType;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function tsTypeOperator$1(s,o="keyof"){const F0={type:"TSTypeOperator",typeAnnotation:s,operator:o},L0=NODE_FIELDS.TSTypeOperator;return validate$3(L0.typeAnnotation,F0,"typeAnnotation",s,1),validate$3(L0.operator,F0,"operator",o),F0}function tsIndexedAccessType$1(s,o){const F0={type:"TSIndexedAccessType",objectType:s,indexType:o},L0=NODE_FIELDS.TSIndexedAccessType;return validate$3(L0.objectType,F0,"objectType",s,1),validate$3(L0.indexType,F0,"indexType",o,1),F0}function tsMappedType$1(s,o=null,F0=null){const L0={type:"TSMappedType",typeParameter:s,typeAnnotation:o,nameType:F0},B0=NODE_FIELDS.TSMappedType;return validate$3(B0.typeParameter,L0,"typeParameter",s,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",o,1),validate$3(B0.nameType,L0,"nameType",F0,1),L0}function tsTemplateLiteralType(s,o){const F0={type:"TSTemplateLiteralType",quasis:s,types:o},L0=NODE_FIELDS.TSTemplateLiteralType;return validate$3(L0.quasis,F0,"quasis",s,1),validate$3(L0.types,F0,"types",o,1),F0}function tsLiteralType$1(s){const o={type:"TSLiteralType",literal:s},F0=NODE_FIELDS.TSLiteralType;return validate$3(F0.literal,o,"literal",s,1),o}function tsExpressionWithTypeArguments$1(s,o=null){const F0={type:"TSExpressionWithTypeArguments",expression:s,typeParameters:o},L0=NODE_FIELDS.TSExpressionWithTypeArguments;return validate$3(L0.expression,F0,"expression",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function tsInterfaceDeclaration$1(s,o=null,F0=null,L0){const B0={type:"TSInterfaceDeclaration",id:s,typeParameters:o,extends:F0,body:L0},q0=NODE_FIELDS.TSInterfaceDeclaration;return validate$3(q0.id,B0,"id",s,1),validate$3(q0.typeParameters,B0,"typeParameters",o,1),validate$3(q0.extends,B0,"extends",F0,1),validate$3(q0.body,B0,"body",L0,1),B0}function tsInterfaceBody$1(s){const o={type:"TSInterfaceBody",body:s},F0=NODE_FIELDS.TSInterfaceBody;return validate$3(F0.body,o,"body",s,1),o}function tsTypeAliasDeclaration$1(s,o=null,F0){const L0={type:"TSTypeAliasDeclaration",id:s,typeParameters:o,typeAnnotation:F0},B0=NODE_FIELDS.TSTypeAliasDeclaration;return validate$3(B0.id,L0,"id",s,1),validate$3(B0.typeParameters,L0,"typeParameters",o,1),validate$3(B0.typeAnnotation,L0,"typeAnnotation",F0,1),L0}function tsInstantiationExpression(s,o=null){const F0={type:"TSInstantiationExpression",expression:s,typeParameters:o},L0=NODE_FIELDS.TSInstantiationExpression;return validate$3(L0.expression,F0,"expression",s,1),validate$3(L0.typeParameters,F0,"typeParameters",o,1),F0}function tsAsExpression$1(s,o){const F0={type:"TSAsExpression",expression:s,typeAnnotation:o},L0=NODE_FIELDS.TSAsExpression;return validate$3(L0.expression,F0,"expression",s,1),validate$3(L0.typeAnnotation,F0,"typeAnnotation",o,1),F0}function tsSatisfiesExpression(s,o){const F0={type:"TSSatisfiesExpression",expression:s,typeAnnotation:o},L0=NODE_FIELDS.TSSatisfiesExpression;return validate$3(L0.expression,F0,"expression",s,1),validate$3(L0.typeAnnotation,F0,"typeAnnotation",o,1),F0}function tsTypeAssertion$1(s,o){const F0={type:"TSTypeAssertion",typeAnnotation:s,expression:o},L0=NODE_FIELDS.TSTypeAssertion;return validate$3(L0.typeAnnotation,F0,"typeAnnotation",s,1),validate$3(L0.expression,F0,"expression",o,1),F0}function tsEnumBody(s){const o={type:"TSEnumBody",members:s},F0=NODE_FIELDS.TSEnumBody;return validate$3(F0.members,o,"members",s,1),o}function tsEnumDeclaration$1(s,o){const F0={type:"TSEnumDeclaration",id:s,members:o},L0=NODE_FIELDS.TSEnumDeclaration;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.members,F0,"members",o,1),F0}function tsEnumMember$1(s,o=null){const F0={type:"TSEnumMember",id:s,initializer:o},L0=NODE_FIELDS.TSEnumMember;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.initializer,F0,"initializer",o,1),F0}function tsModuleDeclaration$1(s,o){const F0={type:"TSModuleDeclaration",id:s,body:o,kind:null},L0=NODE_FIELDS.TSModuleDeclaration;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.body,F0,"body",o,1),F0}function tsModuleBlock$1(s){const o={type:"TSModuleBlock",body:s},F0=NODE_FIELDS.TSModuleBlock;return validate$3(F0.body,o,"body",s,1),o}function tsImportType$1(s,o=null,F0=null){const L0={type:"TSImportType",argument:s,qualifier:o,typeParameters:F0},B0=NODE_FIELDS.TSImportType;return validate$3(B0.argument,L0,"argument",s,1),validate$3(B0.qualifier,L0,"qualifier",o,1),validate$3(B0.typeParameters,L0,"typeParameters",F0,1),L0}function tsImportEqualsDeclaration$1(s,o){const F0={type:"TSImportEqualsDeclaration",id:s,moduleReference:o,isExport:null},L0=NODE_FIELDS.TSImportEqualsDeclaration;return validate$3(L0.id,F0,"id",s,1),validate$3(L0.moduleReference,F0,"moduleReference",o,1),F0}function tsExternalModuleReference$1(s){const o={type:"TSExternalModuleReference",expression:s},F0=NODE_FIELDS.TSExternalModuleReference;return validate$3(F0.expression,o,"expression",s,1),o}function tsNonNullExpression$1(s){const o={type:"TSNonNullExpression",expression:s},F0=NODE_FIELDS.TSNonNullExpression;return validate$3(F0.expression,o,"expression",s,1),o}function tsExportAssignment$1(s){const o={type:"TSExportAssignment",expression:s},F0=NODE_FIELDS.TSExportAssignment;return validate$3(F0.expression,o,"expression",s,1),o}function tsNamespaceExportDeclaration$1(s){const o={type:"TSNamespaceExportDeclaration",id:s},F0=NODE_FIELDS.TSNamespaceExportDeclaration;return validate$3(F0.id,o,"id",s,1),o}function tsTypeAnnotation$1(s){const o={type:"TSTypeAnnotation",typeAnnotation:s},F0=NODE_FIELDS.TSTypeAnnotation;return validate$3(F0.typeAnnotation,o,"typeAnnotation",s,1),o}function tsTypeParameterInstantiation$1(s){const o={type:"TSTypeParameterInstantiation",params:s},F0=NODE_FIELDS.TSTypeParameterInstantiation;return validate$3(F0.params,o,"params",s,1),o}function tsTypeParameterDeclaration$1(s){const o={type:"TSTypeParameterDeclaration",params:s},F0=NODE_FIELDS.TSTypeParameterDeclaration;return validate$3(F0.params,o,"params",s,1),o}function tsTypeParameter$1(s=null,o=null,F0){const L0={type:"TSTypeParameter",constraint:s,default:o,name:F0},B0=NODE_FIELDS.TSTypeParameter;return validate$3(B0.constraint,L0,"constraint",s,1),validate$3(B0.default,L0,"default",o,1),validate$3(B0.name,L0,"name",F0),L0}function NumberLiteral$1(s){return(0,_deprecationWarning$1.default)("NumberLiteral","NumericLiteral","The node type "),numericLiteral$2(s)}function RegexLiteral$1(s,o=""){return(0,_deprecationWarning$1.default)("RegexLiteral","RegExpLiteral","The node type "),regExpLiteral$1(s,o)}function RestProperty$1(s){return(0,_deprecationWarning$1.default)("RestProperty","RestElement","The node type "),restElement$2(s)}function SpreadProperty$1(s){return(0,_deprecationWarning$1.default)("SpreadProperty","SpreadElement","The node type "),spreadElement$2(s)}var uppercase$1={};Object.defineProperty(uppercase$1,"__esModule",{value:!0});uppercase$1.JSXIdentifier=uppercase$1.JSXFragment=uppercase$1.JSXExpressionContainer=uppercase$1.JSXEmptyExpression=uppercase$1.JSXElement=uppercase$1.JSXClosingFragment=uppercase$1.JSXClosingElement=uppercase$1.JSXAttribute=uppercase$1.IntersectionTypeAnnotation=uppercase$1.InterpreterDirective=uppercase$1.InterfaceTypeAnnotation=uppercase$1.InterfaceExtends=uppercase$1.InterfaceDeclaration=uppercase$1.InferredPredicate=uppercase$1.IndexedAccessType=uppercase$1.ImportSpecifier=uppercase$1.ImportNamespaceSpecifier=uppercase$1.ImportExpression=uppercase$1.ImportDefaultSpecifier=uppercase$1.ImportDeclaration=uppercase$1.ImportAttribute=uppercase$1.Import=uppercase$1.IfStatement=uppercase$1.Identifier=uppercase$1.GenericTypeAnnotation=uppercase$1.FunctionTypeParam=uppercase$1.FunctionTypeAnnotation=uppercase$1.FunctionExpression=uppercase$1.FunctionDeclaration=uppercase$1.ForStatement=uppercase$1.ForOfStatement=uppercase$1.ForInStatement=uppercase$1.File=uppercase$1.ExpressionStatement=uppercase$1.ExportSpecifier=uppercase$1.ExportNamespaceSpecifier=uppercase$1.ExportNamedDeclaration=uppercase$1.ExportDefaultSpecifier=uppercase$1.ExportDefaultDeclaration=uppercase$1.ExportAllDeclaration=uppercase$1.ExistsTypeAnnotation=uppercase$1.EnumSymbolBody=uppercase$1.EnumStringMember=uppercase$1.EnumStringBody=uppercase$1.EnumNumberMember=uppercase$1.EnumNumberBody=uppercase$1.EnumDefaultedMember=uppercase$1.EnumDeclaration=uppercase$1.EnumBooleanMember=uppercase$1.EnumBooleanBody=uppercase$1.EmptyTypeAnnotation=uppercase$1.EmptyStatement=uppercase$1.DoWhileStatement=uppercase$1.DoExpression=uppercase$1.DirectiveLiteral=uppercase$1.Directive=uppercase$1.Decorator=uppercase$1.DeclaredPredicate=uppercase$1.DeclareVariable=uppercase$1.DeclareTypeAlias=uppercase$1.DeclareOpaqueType=uppercase$1.DeclareModuleExports=uppercase$1.DeclareModule=uppercase$1.DeclareInterface=uppercase$1.DeclareFunction=uppercase$1.DeclareExportDeclaration=uppercase$1.DeclareExportAllDeclaration=uppercase$1.DeclareClass=uppercase$1.DecimalLiteral=uppercase$1.DebuggerStatement=uppercase$1.ContinueStatement=uppercase$1.ConditionalExpression=uppercase$1.ClassProperty=uppercase$1.ClassPrivateProperty=uppercase$1.ClassPrivateMethod=uppercase$1.ClassMethod=uppercase$1.ClassImplements=uppercase$1.ClassExpression=uppercase$1.ClassDeclaration=uppercase$1.ClassBody=uppercase$1.ClassAccessorProperty=uppercase$1.CatchClause=uppercase$1.CallExpression=uppercase$1.BreakStatement=uppercase$1.BooleanTypeAnnotation=uppercase$1.BooleanLiteralTypeAnnotation=uppercase$1.BooleanLiteral=uppercase$1.BlockStatement=uppercase$1.BindExpression=uppercase$1.BinaryExpression=uppercase$1.BigIntLiteral=uppercase$1.AwaitExpression=uppercase$1.AssignmentPattern=uppercase$1.AssignmentExpression=uppercase$1.ArrowFunctionExpression=uppercase$1.ArrayTypeAnnotation=uppercase$1.ArrayPattern=uppercase$1.ArrayExpression=uppercase$1.ArgumentPlaceholder=uppercase$1.AnyTypeAnnotation=void 0;uppercase$1.TSNumberKeyword=uppercase$1.TSNullKeyword=uppercase$1.TSNonNullExpression=uppercase$1.TSNeverKeyword=uppercase$1.TSNamespaceExportDeclaration=uppercase$1.TSNamedTupleMember=uppercase$1.TSModuleDeclaration=uppercase$1.TSModuleBlock=uppercase$1.TSMethodSignature=uppercase$1.TSMappedType=uppercase$1.TSLiteralType=uppercase$1.TSIntrinsicKeyword=uppercase$1.TSIntersectionType=uppercase$1.TSInterfaceDeclaration=uppercase$1.TSInterfaceBody=uppercase$1.TSInstantiationExpression=uppercase$1.TSInferType=uppercase$1.TSIndexedAccessType=uppercase$1.TSIndexSignature=uppercase$1.TSImportType=uppercase$1.TSImportEqualsDeclaration=uppercase$1.TSFunctionType=uppercase$1.TSExternalModuleReference=uppercase$1.TSExpressionWithTypeArguments=uppercase$1.TSExportAssignment=uppercase$1.TSEnumMember=uppercase$1.TSEnumDeclaration=uppercase$1.TSEnumBody=uppercase$1.TSDeclareMethod=uppercase$1.TSDeclareFunction=uppercase$1.TSConstructorType=uppercase$1.TSConstructSignatureDeclaration=uppercase$1.TSConditionalType=uppercase$1.TSCallSignatureDeclaration=uppercase$1.TSBooleanKeyword=uppercase$1.TSBigIntKeyword=uppercase$1.TSAsExpression=uppercase$1.TSArrayType=uppercase$1.TSAnyKeyword=uppercase$1.SymbolTypeAnnotation=uppercase$1.SwitchStatement=uppercase$1.SwitchCase=uppercase$1.Super=uppercase$1.StringTypeAnnotation=uppercase$1.StringLiteralTypeAnnotation=uppercase$1.StringLiteral=uppercase$1.StaticBlock=uppercase$1.SpreadProperty=uppercase$1.SpreadElement=uppercase$1.SequenceExpression=uppercase$1.ReturnStatement=uppercase$1.RestProperty=uppercase$1.RestElement=uppercase$1.RegexLiteral=uppercase$1.RegExpLiteral=uppercase$1.RecordExpression=uppercase$1.QualifiedTypeIdentifier=uppercase$1.Program=uppercase$1.PrivateName=uppercase$1.Placeholder=uppercase$1.PipelineTopicExpression=uppercase$1.PipelinePrimaryTopicReference=uppercase$1.PipelineBareFunction=uppercase$1.ParenthesizedExpression=uppercase$1.OptionalMemberExpression=uppercase$1.OptionalIndexedAccessType=uppercase$1.OptionalCallExpression=uppercase$1.OpaqueType=uppercase$1.ObjectTypeSpreadProperty=uppercase$1.ObjectTypeProperty=uppercase$1.ObjectTypeInternalSlot=uppercase$1.ObjectTypeIndexer=uppercase$1.ObjectTypeCallProperty=uppercase$1.ObjectTypeAnnotation=uppercase$1.ObjectProperty=uppercase$1.ObjectPattern=uppercase$1.ObjectMethod=uppercase$1.ObjectExpression=uppercase$1.NumericLiteral=uppercase$1.NumberTypeAnnotation=uppercase$1.NumberLiteralTypeAnnotation=uppercase$1.NumberLiteral=uppercase$1.NullableTypeAnnotation=uppercase$1.NullLiteralTypeAnnotation=uppercase$1.NullLiteral=uppercase$1.Noop=uppercase$1.NewExpression=uppercase$1.ModuleExpression=uppercase$1.MixedTypeAnnotation=uppercase$1.MetaProperty=uppercase$1.MemberExpression=uppercase$1.LogicalExpression=uppercase$1.LabeledStatement=uppercase$1.JSXText=uppercase$1.JSXSpreadChild=uppercase$1.JSXSpreadAttribute=uppercase$1.JSXOpeningFragment=uppercase$1.JSXOpeningElement=uppercase$1.JSXNamespacedName=uppercase$1.JSXMemberExpression=void 0;uppercase$1.YieldExpression=uppercase$1.WithStatement=uppercase$1.WhileStatement=uppercase$1.VoidTypeAnnotation=uppercase$1.VoidPattern=uppercase$1.Variance=uppercase$1.VariableDeclarator=uppercase$1.VariableDeclaration=uppercase$1.V8IntrinsicIdentifier=uppercase$1.UpdateExpression=uppercase$1.UnionTypeAnnotation=uppercase$1.UnaryExpression=uppercase$1.TypeofTypeAnnotation=uppercase$1.TypeParameterInstantiation=uppercase$1.TypeParameterDeclaration=uppercase$1.TypeParameter=uppercase$1.TypeCastExpression=uppercase$1.TypeAnnotation=uppercase$1.TypeAlias=uppercase$1.TupleTypeAnnotation=uppercase$1.TupleExpression=uppercase$1.TryStatement=uppercase$1.TopicReference=uppercase$1.ThrowStatement=uppercase$1.ThisTypeAnnotation=uppercase$1.ThisExpression=uppercase$1.TemplateLiteral=uppercase$1.TemplateElement=uppercase$1.TaggedTemplateExpression=uppercase$1.TSVoidKeyword=uppercase$1.TSUnknownKeyword=uppercase$1.TSUnionType=uppercase$1.TSUndefinedKeyword=uppercase$1.TSTypeReference=uppercase$1.TSTypeQuery=uppercase$1.TSTypePredicate=uppercase$1.TSTypeParameterInstantiation=uppercase$1.TSTypeParameterDeclaration=uppercase$1.TSTypeParameter=uppercase$1.TSTypeOperator=uppercase$1.TSTypeLiteral=uppercase$1.TSTypeAssertion=uppercase$1.TSTypeAnnotation=uppercase$1.TSTypeAliasDeclaration=uppercase$1.TSTupleType=uppercase$1.TSThisType=uppercase$1.TSTemplateLiteralType=uppercase$1.TSSymbolKeyword=uppercase$1.TSStringKeyword=uppercase$1.TSSatisfiesExpression=uppercase$1.TSRestType=uppercase$1.TSQualifiedName=uppercase$1.TSPropertySignature=uppercase$1.TSParenthesizedType=uppercase$1.TSParameterProperty=uppercase$1.TSOptionalType=uppercase$1.TSObjectKeyword=void 0;var b$2=lowercase;function alias(s){return b$2[s]}uppercase$1.ArrayExpression=alias("arrayExpression");uppercase$1.AssignmentExpression=alias("assignmentExpression");uppercase$1.BinaryExpression=alias("binaryExpression");uppercase$1.InterpreterDirective=alias("interpreterDirective");uppercase$1.Directive=alias("directive");uppercase$1.DirectiveLiteral=alias("directiveLiteral");uppercase$1.BlockStatement=alias("blockStatement");uppercase$1.BreakStatement=alias("breakStatement");uppercase$1.CallExpression=alias("callExpression");uppercase$1.CatchClause=alias("catchClause");uppercase$1.ConditionalExpression=alias("conditionalExpression");uppercase$1.ContinueStatement=alias("continueStatement");uppercase$1.DebuggerStatement=alias("debuggerStatement");uppercase$1.DoWhileStatement=alias("doWhileStatement");uppercase$1.EmptyStatement=alias("emptyStatement");uppercase$1.ExpressionStatement=alias("expressionStatement");uppercase$1.File=alias("file");uppercase$1.ForInStatement=alias("forInStatement");uppercase$1.ForStatement=alias("forStatement");uppercase$1.FunctionDeclaration=alias("functionDeclaration");uppercase$1.FunctionExpression=alias("functionExpression");uppercase$1.Identifier=alias("identifier");uppercase$1.IfStatement=alias("ifStatement");uppercase$1.LabeledStatement=alias("labeledStatement");uppercase$1.StringLiteral=alias("stringLiteral");uppercase$1.NumericLiteral=alias("numericLiteral");uppercase$1.NullLiteral=alias("nullLiteral");uppercase$1.BooleanLiteral=alias("booleanLiteral");uppercase$1.RegExpLiteral=alias("regExpLiteral");uppercase$1.LogicalExpression=alias("logicalExpression");uppercase$1.MemberExpression=alias("memberExpression");uppercase$1.NewExpression=alias("newExpression");uppercase$1.Program=alias("program");uppercase$1.ObjectExpression=alias("objectExpression");uppercase$1.ObjectMethod=alias("objectMethod");uppercase$1.ObjectProperty=alias("objectProperty");uppercase$1.RestElement=alias("restElement");uppercase$1.ReturnStatement=alias("returnStatement");uppercase$1.SequenceExpression=alias("sequenceExpression");uppercase$1.ParenthesizedExpression=alias("parenthesizedExpression");uppercase$1.SwitchCase=alias("switchCase");uppercase$1.SwitchStatement=alias("switchStatement");uppercase$1.ThisExpression=alias("thisExpression");uppercase$1.ThrowStatement=alias("throwStatement");uppercase$1.TryStatement=alias("tryStatement");uppercase$1.UnaryExpression=alias("unaryExpression");uppercase$1.UpdateExpression=alias("updateExpression");uppercase$1.VariableDeclaration=alias("variableDeclaration");uppercase$1.VariableDeclarator=alias("variableDeclarator");uppercase$1.WhileStatement=alias("whileStatement");uppercase$1.WithStatement=alias("withStatement");uppercase$1.AssignmentPattern=alias("assignmentPattern");uppercase$1.ArrayPattern=alias("arrayPattern");uppercase$1.ArrowFunctionExpression=alias("arrowFunctionExpression");uppercase$1.ClassBody=alias("classBody");uppercase$1.ClassExpression=alias("classExpression");uppercase$1.ClassDeclaration=alias("classDeclaration");uppercase$1.ExportAllDeclaration=alias("exportAllDeclaration");uppercase$1.ExportDefaultDeclaration=alias("exportDefaultDeclaration");uppercase$1.ExportNamedDeclaration=alias("exportNamedDeclaration");uppercase$1.ExportSpecifier=alias("exportSpecifier");uppercase$1.ForOfStatement=alias("forOfStatement");uppercase$1.ImportDeclaration=alias("importDeclaration");uppercase$1.ImportDefaultSpecifier=alias("importDefaultSpecifier");uppercase$1.ImportNamespaceSpecifier=alias("importNamespaceSpecifier");uppercase$1.ImportSpecifier=alias("importSpecifier");uppercase$1.ImportExpression=alias("importExpression");uppercase$1.MetaProperty=alias("metaProperty");uppercase$1.ClassMethod=alias("classMethod");uppercase$1.ObjectPattern=alias("objectPattern");uppercase$1.SpreadElement=alias("spreadElement");uppercase$1.Super=alias("super");uppercase$1.TaggedTemplateExpression=alias("taggedTemplateExpression");uppercase$1.TemplateElement=alias("templateElement");uppercase$1.TemplateLiteral=alias("templateLiteral");uppercase$1.YieldExpression=alias("yieldExpression");uppercase$1.AwaitExpression=alias("awaitExpression");uppercase$1.Import=alias("import");uppercase$1.BigIntLiteral=alias("bigIntLiteral");uppercase$1.ExportNamespaceSpecifier=alias("exportNamespaceSpecifier");uppercase$1.OptionalMemberExpression=alias("optionalMemberExpression");uppercase$1.OptionalCallExpression=alias("optionalCallExpression");uppercase$1.ClassProperty=alias("classProperty");uppercase$1.ClassAccessorProperty=alias("classAccessorProperty");uppercase$1.ClassPrivateProperty=alias("classPrivateProperty");uppercase$1.ClassPrivateMethod=alias("classPrivateMethod");uppercase$1.PrivateName=alias("privateName");uppercase$1.StaticBlock=alias("staticBlock");uppercase$1.ImportAttribute=alias("importAttribute");uppercase$1.AnyTypeAnnotation=alias("anyTypeAnnotation");uppercase$1.ArrayTypeAnnotation=alias("arrayTypeAnnotation");uppercase$1.BooleanTypeAnnotation=alias("booleanTypeAnnotation");uppercase$1.BooleanLiteralTypeAnnotation=alias("booleanLiteralTypeAnnotation");uppercase$1.NullLiteralTypeAnnotation=alias("nullLiteralTypeAnnotation");uppercase$1.ClassImplements=alias("classImplements");uppercase$1.DeclareClass=alias("declareClass");uppercase$1.DeclareFunction=alias("declareFunction");uppercase$1.DeclareInterface=alias("declareInterface");uppercase$1.DeclareModule=alias("declareModule");uppercase$1.DeclareModuleExports=alias("declareModuleExports");uppercase$1.DeclareTypeAlias=alias("declareTypeAlias");uppercase$1.DeclareOpaqueType=alias("declareOpaqueType");uppercase$1.DeclareVariable=alias("declareVariable");uppercase$1.DeclareExportDeclaration=alias("declareExportDeclaration");uppercase$1.DeclareExportAllDeclaration=alias("declareExportAllDeclaration");uppercase$1.DeclaredPredicate=alias("declaredPredicate");uppercase$1.ExistsTypeAnnotation=alias("existsTypeAnnotation");uppercase$1.FunctionTypeAnnotation=alias("functionTypeAnnotation");uppercase$1.FunctionTypeParam=alias("functionTypeParam");uppercase$1.GenericTypeAnnotation=alias("genericTypeAnnotation");uppercase$1.InferredPredicate=alias("inferredPredicate");uppercase$1.InterfaceExtends=alias("interfaceExtends");uppercase$1.InterfaceDeclaration=alias("interfaceDeclaration");uppercase$1.InterfaceTypeAnnotation=alias("interfaceTypeAnnotation");uppercase$1.IntersectionTypeAnnotation=alias("intersectionTypeAnnotation");uppercase$1.MixedTypeAnnotation=alias("mixedTypeAnnotation");uppercase$1.EmptyTypeAnnotation=alias("emptyTypeAnnotation");uppercase$1.NullableTypeAnnotation=alias("nullableTypeAnnotation");uppercase$1.NumberLiteralTypeAnnotation=alias("numberLiteralTypeAnnotation");uppercase$1.NumberTypeAnnotation=alias("numberTypeAnnotation");uppercase$1.ObjectTypeAnnotation=alias("objectTypeAnnotation");uppercase$1.ObjectTypeInternalSlot=alias("objectTypeInternalSlot");uppercase$1.ObjectTypeCallProperty=alias("objectTypeCallProperty");uppercase$1.ObjectTypeIndexer=alias("objectTypeIndexer");uppercase$1.ObjectTypeProperty=alias("objectTypeProperty");uppercase$1.ObjectTypeSpreadProperty=alias("objectTypeSpreadProperty");uppercase$1.OpaqueType=alias("opaqueType");uppercase$1.QualifiedTypeIdentifier=alias("qualifiedTypeIdentifier");uppercase$1.StringLiteralTypeAnnotation=alias("stringLiteralTypeAnnotation");uppercase$1.StringTypeAnnotation=alias("stringTypeAnnotation");uppercase$1.SymbolTypeAnnotation=alias("symbolTypeAnnotation");uppercase$1.ThisTypeAnnotation=alias("thisTypeAnnotation");uppercase$1.TupleTypeAnnotation=alias("tupleTypeAnnotation");uppercase$1.TypeofTypeAnnotation=alias("typeofTypeAnnotation");uppercase$1.TypeAlias=alias("typeAlias");uppercase$1.TypeAnnotation=alias("typeAnnotation");uppercase$1.TypeCastExpression=alias("typeCastExpression");uppercase$1.TypeParameter=alias("typeParameter");uppercase$1.TypeParameterDeclaration=alias("typeParameterDeclaration");uppercase$1.TypeParameterInstantiation=alias("typeParameterInstantiation");uppercase$1.UnionTypeAnnotation=alias("unionTypeAnnotation");uppercase$1.Variance=alias("variance");uppercase$1.VoidTypeAnnotation=alias("voidTypeAnnotation");uppercase$1.EnumDeclaration=alias("enumDeclaration");uppercase$1.EnumBooleanBody=alias("enumBooleanBody");uppercase$1.EnumNumberBody=alias("enumNumberBody");uppercase$1.EnumStringBody=alias("enumStringBody");uppercase$1.EnumSymbolBody=alias("enumSymbolBody");uppercase$1.EnumBooleanMember=alias("enumBooleanMember");uppercase$1.EnumNumberMember=alias("enumNumberMember");uppercase$1.EnumStringMember=alias("enumStringMember");uppercase$1.EnumDefaultedMember=alias("enumDefaultedMember");uppercase$1.IndexedAccessType=alias("indexedAccessType");uppercase$1.OptionalIndexedAccessType=alias("optionalIndexedAccessType");uppercase$1.JSXAttribute=alias("jsxAttribute");uppercase$1.JSXClosingElement=alias("jsxClosingElement");uppercase$1.JSXElement=alias("jsxElement");uppercase$1.JSXEmptyExpression=alias("jsxEmptyExpression");uppercase$1.JSXExpressionContainer=alias("jsxExpressionContainer");uppercase$1.JSXSpreadChild=alias("jsxSpreadChild");uppercase$1.JSXIdentifier=alias("jsxIdentifier");uppercase$1.JSXMemberExpression=alias("jsxMemberExpression");uppercase$1.JSXNamespacedName=alias("jsxNamespacedName");uppercase$1.JSXOpeningElement=alias("jsxOpeningElement");uppercase$1.JSXSpreadAttribute=alias("jsxSpreadAttribute");uppercase$1.JSXText=alias("jsxText");uppercase$1.JSXFragment=alias("jsxFragment");uppercase$1.JSXOpeningFragment=alias("jsxOpeningFragment");uppercase$1.JSXClosingFragment=alias("jsxClosingFragment");uppercase$1.Noop=alias("noop");uppercase$1.Placeholder=alias("placeholder");uppercase$1.V8IntrinsicIdentifier=alias("v8IntrinsicIdentifier");uppercase$1.ArgumentPlaceholder=alias("argumentPlaceholder");uppercase$1.BindExpression=alias("bindExpression");uppercase$1.Decorator=alias("decorator");uppercase$1.DoExpression=alias("doExpression");uppercase$1.ExportDefaultSpecifier=alias("exportDefaultSpecifier");uppercase$1.RecordExpression=alias("recordExpression");uppercase$1.TupleExpression=alias("tupleExpression");uppercase$1.DecimalLiteral=alias("decimalLiteral");uppercase$1.ModuleExpression=alias("moduleExpression");uppercase$1.TopicReference=alias("topicReference");uppercase$1.PipelineTopicExpression=alias("pipelineTopicExpression");uppercase$1.PipelineBareFunction=alias("pipelineBareFunction");uppercase$1.PipelinePrimaryTopicReference=alias("pipelinePrimaryTopicReference");uppercase$1.VoidPattern=alias("voidPattern");uppercase$1.TSParameterProperty=alias("tsParameterProperty");uppercase$1.TSDeclareFunction=alias("tsDeclareFunction");uppercase$1.TSDeclareMethod=alias("tsDeclareMethod");uppercase$1.TSQualifiedName=alias("tsQualifiedName");uppercase$1.TSCallSignatureDeclaration=alias("tsCallSignatureDeclaration");uppercase$1.TSConstructSignatureDeclaration=alias("tsConstructSignatureDeclaration");uppercase$1.TSPropertySignature=alias("tsPropertySignature");uppercase$1.TSMethodSignature=alias("tsMethodSignature");uppercase$1.TSIndexSignature=alias("tsIndexSignature");uppercase$1.TSAnyKeyword=alias("tsAnyKeyword");uppercase$1.TSBooleanKeyword=alias("tsBooleanKeyword");uppercase$1.TSBigIntKeyword=alias("tsBigIntKeyword");uppercase$1.TSIntrinsicKeyword=alias("tsIntrinsicKeyword");uppercase$1.TSNeverKeyword=alias("tsNeverKeyword");uppercase$1.TSNullKeyword=alias("tsNullKeyword");uppercase$1.TSNumberKeyword=alias("tsNumberKeyword");uppercase$1.TSObjectKeyword=alias("tsObjectKeyword");uppercase$1.TSStringKeyword=alias("tsStringKeyword");uppercase$1.TSSymbolKeyword=alias("tsSymbolKeyword");uppercase$1.TSUndefinedKeyword=alias("tsUndefinedKeyword");uppercase$1.TSUnknownKeyword=alias("tsUnknownKeyword");uppercase$1.TSVoidKeyword=alias("tsVoidKeyword");uppercase$1.TSThisType=alias("tsThisType");uppercase$1.TSFunctionType=alias("tsFunctionType");uppercase$1.TSConstructorType=alias("tsConstructorType");uppercase$1.TSTypeReference=alias("tsTypeReference");uppercase$1.TSTypePredicate=alias("tsTypePredicate");uppercase$1.TSTypeQuery=alias("tsTypeQuery");uppercase$1.TSTypeLiteral=alias("tsTypeLiteral");uppercase$1.TSArrayType=alias("tsArrayType");uppercase$1.TSTupleType=alias("tsTupleType");uppercase$1.TSOptionalType=alias("tsOptionalType");uppercase$1.TSRestType=alias("tsRestType");uppercase$1.TSNamedTupleMember=alias("tsNamedTupleMember");uppercase$1.TSUnionType=alias("tsUnionType");uppercase$1.TSIntersectionType=alias("tsIntersectionType");uppercase$1.TSConditionalType=alias("tsConditionalType");uppercase$1.TSInferType=alias("tsInferType");uppercase$1.TSParenthesizedType=alias("tsParenthesizedType");uppercase$1.TSTypeOperator=alias("tsTypeOperator");uppercase$1.TSIndexedAccessType=alias("tsIndexedAccessType");uppercase$1.TSMappedType=alias("tsMappedType");uppercase$1.TSTemplateLiteralType=alias("tsTemplateLiteralType");uppercase$1.TSLiteralType=alias("tsLiteralType");uppercase$1.TSExpressionWithTypeArguments=alias("tsExpressionWithTypeArguments");uppercase$1.TSInterfaceDeclaration=alias("tsInterfaceDeclaration");uppercase$1.TSInterfaceBody=alias("tsInterfaceBody");uppercase$1.TSTypeAliasDeclaration=alias("tsTypeAliasDeclaration");uppercase$1.TSInstantiationExpression=alias("tsInstantiationExpression");uppercase$1.TSAsExpression=alias("tsAsExpression");uppercase$1.TSSatisfiesExpression=alias("tsSatisfiesExpression");uppercase$1.TSTypeAssertion=alias("tsTypeAssertion");uppercase$1.TSEnumBody=alias("tsEnumBody");uppercase$1.TSEnumDeclaration=alias("tsEnumDeclaration");uppercase$1.TSEnumMember=alias("tsEnumMember");uppercase$1.TSModuleDeclaration=alias("tsModuleDeclaration");uppercase$1.TSModuleBlock=alias("tsModuleBlock");uppercase$1.TSImportType=alias("tsImportType");uppercase$1.TSImportEqualsDeclaration=alias("tsImportEqualsDeclaration");uppercase$1.TSExternalModuleReference=alias("tsExternalModuleReference");uppercase$1.TSNonNullExpression=alias("tsNonNullExpression");uppercase$1.TSExportAssignment=alias("tsExportAssignment");uppercase$1.TSNamespaceExportDeclaration=alias("tsNamespaceExportDeclaration");uppercase$1.TSTypeAnnotation=alias("tsTypeAnnotation");uppercase$1.TSTypeParameterInstantiation=alias("tsTypeParameterInstantiation");uppercase$1.TSTypeParameterDeclaration=alias("tsTypeParameterDeclaration");uppercase$1.TSTypeParameter=alias("tsTypeParameter");uppercase$1.NumberLiteral=b$2.numberLiteral;uppercase$1.RegexLiteral=b$2.regexLiteral;uppercase$1.RestProperty=b$2.restProperty;uppercase$1.SpreadProperty=b$2.spreadProperty;(function(s){Object.defineProperty(s,"__esModule",{value:!0});var o=lowercase;Object.keys(o).forEach(function(L0){L0==="default"||L0==="__esModule"||L0 in s&&s[L0]===o[L0]||Object.defineProperty(s,L0,{enumerable:!0,get:function(){return o[L0]}})});var F0=uppercase$1;Object.keys(F0).forEach(function(L0){L0==="default"||L0==="__esModule"||L0 in s&&s[L0]===F0[L0]||Object.defineProperty(s,L0,{enumerable:!0,get:function(){return F0[L0]}})})})(generated$7);var hasRequiredCleanJSXElementLiteralChild;function requireCleanJSXElementLiteralChild(){if(hasRequiredCleanJSXElementLiteralChild)return cleanJSXElementLiteralChild$2;hasRequiredCleanJSXElementLiteralChild=1,Object.defineProperty(cleanJSXElementLiteralChild$2,"__esModule",{value:!0}),cleanJSXElementLiteralChild$2.default=F0;var s=generated$7,o=requireLib$2();function F0(L0,B0){const q0=L0.value.split(/\r\n|\n|\r/);let W0=0;for(let K0=0;K0<q0.length;K0++)/[^ \t]/.exec(q0[K0])&&(W0=K0);let X0="";for(let K0=0;K0<q0.length;K0++){const D_=q0[K0],I_=K0===0,F_=K0===q0.length-1,R_=K0===W0;let z_=D_.replace(/\t/g," ");I_||(z_=z_.replace(/^ +/,"")),F_||(z_=z_.replace(/ +$/,"")),z_&&(R_||(z_+=" "),X0+=z_)}X0&&B0.push((0,o.inherits)((0,s.stringLiteral)(X0),L0))}return cleanJSXElementLiteralChild$2}var hasRequiredBuildChildren;function requireBuildChildren(){if(hasRequiredBuildChildren)return buildChildren$2;hasRequiredBuildChildren=1,Object.defineProperty(buildChildren$2,"__esModule",{value:!0}),buildChildren$2.default=F0;var s=generated$8,o=requireCleanJSXElementLiteralChild();function F0(L0){const B0=[];for(let q0=0;q0<L0.children.length;q0++){let W0=L0.children[q0];if((0,s.isJSXText)(W0)){(0,o.default)(W0,B0);continue}(0,s.isJSXExpressionContainer)(W0)&&(W0=W0.expression),!(0,s.isJSXEmptyExpression)(W0)&&B0.push(W0)}return B0}return buildChildren$2}var assertNode$3={},isNode$3={};Object.defineProperty(isNode$3,"__esModule",{value:!0});isNode$3.default=isNode$2;var _index$v=requireDefinitions$1();function isNode$2(s){return!!(s&&_index$v.VISITOR_KEYS[s.type])}Object.defineProperty(assertNode$3,"__esModule",{value:!0});assertNode$3.default=assertNode$2;var _isNode$1=isNode$3;function assertNode$2(s){if(!(0,_isNode$1.default)(s)){var o;const F0=(o=s==null?void 0:s.type)!=null?o:JSON.stringify(s);throw new TypeError(`Not a valid node of type "${F0}"`)}}var generated$6={};Object.defineProperty(generated$6,"__esModule",{value:!0});generated$6.assertAccessor=assertAccessor$1;generated$6.assertAnyTypeAnnotation=assertAnyTypeAnnotation$1;generated$6.assertArgumentPlaceholder=assertArgumentPlaceholder$1;generated$6.assertArrayExpression=assertArrayExpression$1;generated$6.assertArrayPattern=assertArrayPattern$1;generated$6.assertArrayTypeAnnotation=assertArrayTypeAnnotation$1;generated$6.assertArrowFunctionExpression=assertArrowFunctionExpression$1;generated$6.assertAssignmentExpression=assertAssignmentExpression$1;generated$6.assertAssignmentPattern=assertAssignmentPattern$1;generated$6.assertAwaitExpression=assertAwaitExpression$1;generated$6.assertBigIntLiteral=assertBigIntLiteral$1;generated$6.assertBinary=assertBinary$1;generated$6.assertBinaryExpression=assertBinaryExpression$1;generated$6.assertBindExpression=assertBindExpression$1;generated$6.assertBlock=assertBlock$1;generated$6.assertBlockParent=assertBlockParent$1;generated$6.assertBlockStatement=assertBlockStatement$1;generated$6.assertBooleanLiteral=assertBooleanLiteral$1;generated$6.assertBooleanLiteralTypeAnnotation=assertBooleanLiteralTypeAnnotation$1;generated$6.assertBooleanTypeAnnotation=assertBooleanTypeAnnotation$1;generated$6.assertBreakStatement=assertBreakStatement$1;generated$6.assertCallExpression=assertCallExpression$1;generated$6.assertCatchClause=assertCatchClause$1;generated$6.assertClass=assertClass$1;generated$6.assertClassAccessorProperty=assertClassAccessorProperty$1;generated$6.assertClassBody=assertClassBody$1;generated$6.assertClassDeclaration=assertClassDeclaration$1;generated$6.assertClassExpression=assertClassExpression$1;generated$6.assertClassImplements=assertClassImplements$1;generated$6.assertClassMethod=assertClassMethod$1;generated$6.assertClassPrivateMethod=assertClassPrivateMethod$1;generated$6.assertClassPrivateProperty=assertClassPrivateProperty$1;generated$6.assertClassProperty=assertClassProperty$1;generated$6.assertCompletionStatement=assertCompletionStatement$1;generated$6.assertConditional=assertConditional$1;generated$6.assertConditionalExpression=assertConditionalExpression$1;generated$6.assertContinueStatement=assertContinueStatement$1;generated$6.assertDebuggerStatement=assertDebuggerStatement$1;generated$6.assertDecimalLiteral=assertDecimalLiteral$1;generated$6.assertDeclaration=assertDeclaration$1;generated$6.assertDeclareClass=assertDeclareClass$1;generated$6.assertDeclareExportAllDeclaration=assertDeclareExportAllDeclaration$1;generated$6.assertDeclareExportDeclaration=assertDeclareExportDeclaration$1;generated$6.assertDeclareFunction=assertDeclareFunction$1;generated$6.assertDeclareInterface=assertDeclareInterface$1;generated$6.assertDeclareModule=assertDeclareModule$1;generated$6.assertDeclareModuleExports=assertDeclareModuleExports$1;generated$6.assertDeclareOpaqueType=assertDeclareOpaqueType$1;generated$6.assertDeclareTypeAlias=assertDeclareTypeAlias$1;generated$6.assertDeclareVariable=assertDeclareVariable$1;generated$6.assertDeclaredPredicate=assertDeclaredPredicate$1;generated$6.assertDecorator=assertDecorator$1;generated$6.assertDirective=assertDirective$1;generated$6.assertDirectiveLiteral=assertDirectiveLiteral$1;generated$6.assertDoExpression=assertDoExpression$1;generated$6.assertDoWhileStatement=assertDoWhileStatement$1;generated$6.assertEmptyStatement=assertEmptyStatement$1;generated$6.assertEmptyTypeAnnotation=assertEmptyTypeAnnotation$1;generated$6.assertEnumBody=assertEnumBody$1;generated$6.assertEnumBooleanBody=assertEnumBooleanBody$1;generated$6.assertEnumBooleanMember=assertEnumBooleanMember$1;generated$6.assertEnumDeclaration=assertEnumDeclaration$1;generated$6.assertEnumDefaultedMember=assertEnumDefaultedMember$1;generated$6.assertEnumMember=assertEnumMember$1;generated$6.assertEnumNumberBody=assertEnumNumberBody$1;generated$6.assertEnumNumberMember=assertEnumNumberMember$1;generated$6.assertEnumStringBody=assertEnumStringBody$1;generated$6.assertEnumStringMember=assertEnumStringMember$1;generated$6.assertEnumSymbolBody=assertEnumSymbolBody$1;generated$6.assertExistsTypeAnnotation=assertExistsTypeAnnotation$1;generated$6.assertExportAllDeclaration=assertExportAllDeclaration$1;generated$6.assertExportDeclaration=assertExportDeclaration$1;generated$6.assertExportDefaultDeclaration=assertExportDefaultDeclaration$1;generated$6.assertExportDefaultSpecifier=assertExportDefaultSpecifier$1;generated$6.assertExportNamedDeclaration=assertExportNamedDeclaration$1;generated$6.assertExportNamespaceSpecifier=assertExportNamespaceSpecifier$1;generated$6.assertExportSpecifier=assertExportSpecifier$1;generated$6.assertExpression=assertExpression$1;generated$6.assertExpressionStatement=assertExpressionStatement$2;generated$6.assertExpressionWrapper=assertExpressionWrapper$1;generated$6.assertFile=assertFile$1;generated$6.assertFlow=assertFlow$1;generated$6.assertFlowBaseAnnotation=assertFlowBaseAnnotation$1;generated$6.assertFlowDeclaration=assertFlowDeclaration$1;generated$6.assertFlowPredicate=assertFlowPredicate$1;generated$6.assertFlowType=assertFlowType$1;generated$6.assertFor=assertFor$1;generated$6.assertForInStatement=assertForInStatement$1;generated$6.assertForOfStatement=assertForOfStatement$1;generated$6.assertForStatement=assertForStatement$1;generated$6.assertForXStatement=assertForXStatement$1;generated$6.assertFunction=assertFunction$1;generated$6.assertFunctionDeclaration=assertFunctionDeclaration$1;generated$6.assertFunctionExpression=assertFunctionExpression$1;generated$6.assertFunctionParameter=assertFunctionParameter;generated$6.assertFunctionParent=assertFunctionParent$1;generated$6.assertFunctionTypeAnnotation=assertFunctionTypeAnnotation$1;generated$6.assertFunctionTypeParam=assertFunctionTypeParam$1;generated$6.assertGenericTypeAnnotation=assertGenericTypeAnnotation$1;generated$6.assertIdentifier=assertIdentifier$1;generated$6.assertIfStatement=assertIfStatement$1;generated$6.assertImmutable=assertImmutable$1;generated$6.assertImport=assertImport$1;generated$6.assertImportAttribute=assertImportAttribute$1;generated$6.assertImportDeclaration=assertImportDeclaration$1;generated$6.assertImportDefaultSpecifier=assertImportDefaultSpecifier$1;generated$6.assertImportExpression=assertImportExpression;generated$6.assertImportNamespaceSpecifier=assertImportNamespaceSpecifier$1;generated$6.assertImportOrExportDeclaration=assertImportOrExportDeclaration;generated$6.assertImportSpecifier=assertImportSpecifier$1;generated$6.assertIndexedAccessType=assertIndexedAccessType$1;generated$6.assertInferredPredicate=assertInferredPredicate$1;generated$6.assertInterfaceDeclaration=assertInterfaceDeclaration$1;generated$6.assertInterfaceExtends=assertInterfaceExtends$1;generated$6.assertInterfaceTypeAnnotation=assertInterfaceTypeAnnotation$1;generated$6.assertInterpreterDirective=assertInterpreterDirective$1;generated$6.assertIntersectionTypeAnnotation=assertIntersectionTypeAnnotation$1;generated$6.assertJSX=assertJSX$1;generated$6.assertJSXAttribute=assertJSXAttribute$1;generated$6.assertJSXClosingElement=assertJSXClosingElement$1;generated$6.assertJSXClosingFragment=assertJSXClosingFragment$1;generated$6.assertJSXElement=assertJSXElement$1;generated$6.assertJSXEmptyExpression=assertJSXEmptyExpression$1;generated$6.assertJSXExpressionContainer=assertJSXExpressionContainer$1;generated$6.assertJSXFragment=assertJSXFragment$1;generated$6.assertJSXIdentifier=assertJSXIdentifier$1;generated$6.assertJSXMemberExpression=assertJSXMemberExpression$1;generated$6.assertJSXNamespacedName=assertJSXNamespacedName$1;generated$6.assertJSXOpeningElement=assertJSXOpeningElement$1;generated$6.assertJSXOpeningFragment=assertJSXOpeningFragment$1;generated$6.assertJSXSpreadAttribute=assertJSXSpreadAttribute$1;generated$6.assertJSXSpreadChild=assertJSXSpreadChild$1;generated$6.assertJSXText=assertJSXText$1;generated$6.assertLVal=assertLVal$1;generated$6.assertLabeledStatement=assertLabeledStatement$1;generated$6.assertLiteral=assertLiteral$1;generated$6.assertLogicalExpression=assertLogicalExpression$1;generated$6.assertLoop=assertLoop$1;generated$6.assertMemberExpression=assertMemberExpression$1;generated$6.assertMetaProperty=assertMetaProperty$1;generated$6.assertMethod=assertMethod$1;generated$6.assertMiscellaneous=assertMiscellaneous$1;generated$6.assertMixedTypeAnnotation=assertMixedTypeAnnotation$1;generated$6.assertModuleDeclaration=assertModuleDeclaration$1;generated$6.assertModuleExpression=assertModuleExpression$1;generated$6.assertModuleSpecifier=assertModuleSpecifier$1;generated$6.assertNewExpression=assertNewExpression$1;generated$6.assertNoop=assertNoop$1;generated$6.assertNullLiteral=assertNullLiteral$1;generated$6.assertNullLiteralTypeAnnotation=assertNullLiteralTypeAnnotation$1;generated$6.assertNullableTypeAnnotation=assertNullableTypeAnnotation$1;generated$6.assertNumberLiteral=assertNumberLiteral$1;generated$6.assertNumberLiteralTypeAnnotation=assertNumberLiteralTypeAnnotation$1;generated$6.assertNumberTypeAnnotation=assertNumberTypeAnnotation$1;generated$6.assertNumericLiteral=assertNumericLiteral$1;generated$6.assertObjectExpression=assertObjectExpression$1;generated$6.assertObjectMember=assertObjectMember$1;generated$6.assertObjectMethod=assertObjectMethod$1;generated$6.assertObjectPattern=assertObjectPattern$1;generated$6.assertObjectProperty=assertObjectProperty$1;generated$6.assertObjectTypeAnnotation=assertObjectTypeAnnotation$1;generated$6.assertObjectTypeCallProperty=assertObjectTypeCallProperty$1;generated$6.assertObjectTypeIndexer=assertObjectTypeIndexer$1;generated$6.assertObjectTypeInternalSlot=assertObjectTypeInternalSlot$1;generated$6.assertObjectTypeProperty=assertObjectTypeProperty$1;generated$6.assertObjectTypeSpreadProperty=assertObjectTypeSpreadProperty$1;generated$6.assertOpaqueType=assertOpaqueType$1;generated$6.assertOptionalCallExpression=assertOptionalCallExpression$1;generated$6.assertOptionalIndexedAccessType=assertOptionalIndexedAccessType$1;generated$6.assertOptionalMemberExpression=assertOptionalMemberExpression$1;generated$6.assertParenthesizedExpression=assertParenthesizedExpression$1;generated$6.assertPattern=assertPattern$1;generated$6.assertPatternLike=assertPatternLike$1;generated$6.assertPipelineBareFunction=assertPipelineBareFunction$1;generated$6.assertPipelinePrimaryTopicReference=assertPipelinePrimaryTopicReference$1;generated$6.assertPipelineTopicExpression=assertPipelineTopicExpression$1;generated$6.assertPlaceholder=assertPlaceholder$1;generated$6.assertPrivate=assertPrivate$1;generated$6.assertPrivateName=assertPrivateName$1;generated$6.assertProgram=assertProgram$1;generated$6.assertProperty=assertProperty$1;generated$6.assertPureish=assertPureish$1;generated$6.assertQualifiedTypeIdentifier=assertQualifiedTypeIdentifier$1;generated$6.assertRecordExpression=assertRecordExpression$1;generated$6.assertRegExpLiteral=assertRegExpLiteral$1;generated$6.assertRegexLiteral=assertRegexLiteral$1;generated$6.assertRestElement=assertRestElement$1;generated$6.assertRestProperty=assertRestProperty$1;generated$6.assertReturnStatement=assertReturnStatement$1;generated$6.assertScopable=assertScopable$1;generated$6.assertSequenceExpression=assertSequenceExpression$1;generated$6.assertSpreadElement=assertSpreadElement$1;generated$6.assertSpreadProperty=assertSpreadProperty$1;generated$6.assertStandardized=assertStandardized$1;generated$6.assertStatement=assertStatement$1;generated$6.assertStaticBlock=assertStaticBlock$1;generated$6.assertStringLiteral=assertStringLiteral$1;generated$6.assertStringLiteralTypeAnnotation=assertStringLiteralTypeAnnotation$1;generated$6.assertStringTypeAnnotation=assertStringTypeAnnotation$1;generated$6.assertSuper=assertSuper$1;generated$6.assertSwitchCase=assertSwitchCase$1;generated$6.assertSwitchStatement=assertSwitchStatement$1;generated$6.assertSymbolTypeAnnotation=assertSymbolTypeAnnotation$1;generated$6.assertTSAnyKeyword=assertTSAnyKeyword$1;generated$6.assertTSArrayType=assertTSArrayType$1;generated$6.assertTSAsExpression=assertTSAsExpression$1;generated$6.assertTSBaseType=assertTSBaseType$1;generated$6.assertTSBigIntKeyword=assertTSBigIntKeyword$1;generated$6.assertTSBooleanKeyword=assertTSBooleanKeyword$1;generated$6.assertTSCallSignatureDeclaration=assertTSCallSignatureDeclaration$1;generated$6.assertTSConditionalType=assertTSConditionalType$1;generated$6.assertTSConstructSignatureDeclaration=assertTSConstructSignatureDeclaration$1;generated$6.assertTSConstructorType=assertTSConstructorType$1;generated$6.assertTSDeclareFunction=assertTSDeclareFunction$1;generated$6.assertTSDeclareMethod=assertTSDeclareMethod$1;generated$6.assertTSEntityName=assertTSEntityName$1;generated$6.assertTSEnumBody=assertTSEnumBody;generated$6.assertTSEnumDeclaration=assertTSEnumDeclaration$1;generated$6.assertTSEnumMember=assertTSEnumMember$1;generated$6.assertTSExportAssignment=assertTSExportAssignment$1;generated$6.assertTSExpressionWithTypeArguments=assertTSExpressionWithTypeArguments$1;generated$6.assertTSExternalModuleReference=assertTSExternalModuleReference$1;generated$6.assertTSFunctionType=assertTSFunctionType$1;generated$6.assertTSImportEqualsDeclaration=assertTSImportEqualsDeclaration$1;generated$6.assertTSImportType=assertTSImportType$1;generated$6.assertTSIndexSignature=assertTSIndexSignature$1;generated$6.assertTSIndexedAccessType=assertTSIndexedAccessType$1;generated$6.assertTSInferType=assertTSInferType$1;generated$6.assertTSInstantiationExpression=assertTSInstantiationExpression;generated$6.assertTSInterfaceBody=assertTSInterfaceBody$1;generated$6.assertTSInterfaceDeclaration=assertTSInterfaceDeclaration$1;generated$6.assertTSIntersectionType=assertTSIntersectionType$1;generated$6.assertTSIntrinsicKeyword=assertTSIntrinsicKeyword$1;generated$6.assertTSLiteralType=assertTSLiteralType$1;generated$6.assertTSMappedType=assertTSMappedType$1;generated$6.assertTSMethodSignature=assertTSMethodSignature$1;generated$6.assertTSModuleBlock=assertTSModuleBlock$1;generated$6.assertTSModuleDeclaration=assertTSModuleDeclaration$1;generated$6.assertTSNamedTupleMember=assertTSNamedTupleMember$1;generated$6.assertTSNamespaceExportDeclaration=assertTSNamespaceExportDeclaration$1;generated$6.assertTSNeverKeyword=assertTSNeverKeyword$1;generated$6.assertTSNonNullExpression=assertTSNonNullExpression$1;generated$6.assertTSNullKeyword=assertTSNullKeyword$1;generated$6.assertTSNumberKeyword=assertTSNumberKeyword$1;generated$6.assertTSObjectKeyword=assertTSObjectKeyword$1;generated$6.assertTSOptionalType=assertTSOptionalType$1;generated$6.assertTSParameterProperty=assertTSParameterProperty$1;generated$6.assertTSParenthesizedType=assertTSParenthesizedType$1;generated$6.assertTSPropertySignature=assertTSPropertySignature$1;generated$6.assertTSQualifiedName=assertTSQualifiedName$1;generated$6.assertTSRestType=assertTSRestType$1;generated$6.assertTSSatisfiesExpression=assertTSSatisfiesExpression;generated$6.assertTSStringKeyword=assertTSStringKeyword$1;generated$6.assertTSSymbolKeyword=assertTSSymbolKeyword$1;generated$6.assertTSTemplateLiteralType=assertTSTemplateLiteralType;generated$6.assertTSThisType=assertTSThisType$1;generated$6.assertTSTupleType=assertTSTupleType$1;generated$6.assertTSType=assertTSType$1;generated$6.assertTSTypeAliasDeclaration=assertTSTypeAliasDeclaration$1;generated$6.assertTSTypeAnnotation=assertTSTypeAnnotation$1;generated$6.assertTSTypeAssertion=assertTSTypeAssertion$1;generated$6.assertTSTypeElement=assertTSTypeElement$1;generated$6.assertTSTypeLiteral=assertTSTypeLiteral$1;generated$6.assertTSTypeOperator=assertTSTypeOperator$1;generated$6.assertTSTypeParameter=assertTSTypeParameter$1;generated$6.assertTSTypeParameterDeclaration=assertTSTypeParameterDeclaration$1;generated$6.assertTSTypeParameterInstantiation=assertTSTypeParameterInstantiation$1;generated$6.assertTSTypePredicate=assertTSTypePredicate$1;generated$6.assertTSTypeQuery=assertTSTypeQuery$1;generated$6.assertTSTypeReference=assertTSTypeReference$1;generated$6.assertTSUndefinedKeyword=assertTSUndefinedKeyword$1;generated$6.assertTSUnionType=assertTSUnionType$1;generated$6.assertTSUnknownKeyword=assertTSUnknownKeyword$1;generated$6.assertTSVoidKeyword=assertTSVoidKeyword$1;generated$6.assertTaggedTemplateExpression=assertTaggedTemplateExpression$1;generated$6.assertTemplateElement=assertTemplateElement$1;generated$6.assertTemplateLiteral=assertTemplateLiteral$1;generated$6.assertTerminatorless=assertTerminatorless$1;generated$6.assertThisExpression=assertThisExpression$1;generated$6.assertThisTypeAnnotation=assertThisTypeAnnotation$1;generated$6.assertThrowStatement=assertThrowStatement$1;generated$6.assertTopicReference=assertTopicReference$1;generated$6.assertTryStatement=assertTryStatement$1;generated$6.assertTupleExpression=assertTupleExpression$1;generated$6.assertTupleTypeAnnotation=assertTupleTypeAnnotation$1;generated$6.assertTypeAlias=assertTypeAlias$1;generated$6.assertTypeAnnotation=assertTypeAnnotation$1;generated$6.assertTypeCastExpression=assertTypeCastExpression$1;generated$6.assertTypeParameter=assertTypeParameter$1;generated$6.assertTypeParameterDeclaration=assertTypeParameterDeclaration$1;generated$6.assertTypeParameterInstantiation=assertTypeParameterInstantiation$1;generated$6.assertTypeScript=assertTypeScript$1;generated$6.assertTypeofTypeAnnotation=assertTypeofTypeAnnotation$1;generated$6.assertUnaryExpression=assertUnaryExpression$1;generated$6.assertUnaryLike=assertUnaryLike$1;generated$6.assertUnionTypeAnnotation=assertUnionTypeAnnotation$1;generated$6.assertUpdateExpression=assertUpdateExpression$1;generated$6.assertUserWhitespacable=assertUserWhitespacable$1;generated$6.assertV8IntrinsicIdentifier=assertV8IntrinsicIdentifier$1;generated$6.assertVariableDeclaration=assertVariableDeclaration$1;generated$6.assertVariableDeclarator=assertVariableDeclarator$1;generated$6.assertVariance=assertVariance$1;generated$6.assertVoidPattern=assertVoidPattern;generated$6.assertVoidTypeAnnotation=assertVoidTypeAnnotation$1;generated$6.assertWhile=assertWhile$1;generated$6.assertWhileStatement=assertWhileStatement$1;generated$6.assertWithStatement=assertWithStatement$1;generated$6.assertYieldExpression=assertYieldExpression$1;var _is$1=requireIs$1(),_deprecationWarning=deprecationWarning$2;function assert$1(s,o,F0){if(!(0,_is$1.default)(s,o,F0))throw new Error(`Expected type "${s}" with option ${JSON.stringify(F0)}, but instead got "${o.type}".`)}function assertArrayExpression$1(s,o){assert$1("ArrayExpression",s,o)}function assertAssignmentExpression$1(s,o){assert$1("AssignmentExpression",s,o)}function assertBinaryExpression$1(s,o){assert$1("BinaryExpression",s,o)}function assertInterpreterDirective$1(s,o){assert$1("InterpreterDirective",s,o)}function assertDirective$1(s,o){assert$1("Directive",s,o)}function assertDirectiveLiteral$1(s,o){assert$1("DirectiveLiteral",s,o)}function assertBlockStatement$1(s,o){assert$1("BlockStatement",s,o)}function assertBreakStatement$1(s,o){assert$1("BreakStatement",s,o)}function assertCallExpression$1(s,o){assert$1("CallExpression",s,o)}function assertCatchClause$1(s,o){assert$1("CatchClause",s,o)}function assertConditionalExpression$1(s,o){assert$1("ConditionalExpression",s,o)}function assertContinueStatement$1(s,o){assert$1("ContinueStatement",s,o)}function assertDebuggerStatement$1(s,o){assert$1("DebuggerStatement",s,o)}function assertDoWhileStatement$1(s,o){assert$1("DoWhileStatement",s,o)}function assertEmptyStatement$1(s,o){assert$1("EmptyStatement",s,o)}function assertExpressionStatement$2(s,o){assert$1("ExpressionStatement",s,o)}function assertFile$1(s,o){assert$1("File",s,o)}function assertForInStatement$1(s,o){assert$1("ForInStatement",s,o)}function assertForStatement$1(s,o){assert$1("ForStatement",s,o)}function assertFunctionDeclaration$1(s,o){assert$1("FunctionDeclaration",s,o)}function assertFunctionExpression$1(s,o){assert$1("FunctionExpression",s,o)}function assertIdentifier$1(s,o){assert$1("Identifier",s,o)}function assertIfStatement$1(s,o){assert$1("IfStatement",s,o)}function assertLabeledStatement$1(s,o){assert$1("LabeledStatement",s,o)}function assertStringLiteral$1(s,o){assert$1("StringLiteral",s,o)}function assertNumericLiteral$1(s,o){assert$1("NumericLiteral",s,o)}function assertNullLiteral$1(s,o){assert$1("NullLiteral",s,o)}function assertBooleanLiteral$1(s,o){assert$1("BooleanLiteral",s,o)}function assertRegExpLiteral$1(s,o){assert$1("RegExpLiteral",s,o)}function assertLogicalExpression$1(s,o){assert$1("LogicalExpression",s,o)}function assertMemberExpression$1(s,o){assert$1("MemberExpression",s,o)}function assertNewExpression$1(s,o){assert$1("NewExpression",s,o)}function assertProgram$1(s,o){assert$1("Program",s,o)}function assertObjectExpression$1(s,o){assert$1("ObjectExpression",s,o)}function assertObjectMethod$1(s,o){assert$1("ObjectMethod",s,o)}function assertObjectProperty$1(s,o){assert$1("ObjectProperty",s,o)}function assertRestElement$1(s,o){assert$1("RestElement",s,o)}function assertReturnStatement$1(s,o){assert$1("ReturnStatement",s,o)}function assertSequenceExpression$1(s,o){assert$1("SequenceExpression",s,o)}function assertParenthesizedExpression$1(s,o){assert$1("ParenthesizedExpression",s,o)}function assertSwitchCase$1(s,o){assert$1("SwitchCase",s,o)}function assertSwitchStatement$1(s,o){assert$1("SwitchStatement",s,o)}function assertThisExpression$1(s,o){assert$1("ThisExpression",s,o)}function assertThrowStatement$1(s,o){assert$1("ThrowStatement",s,o)}function assertTryStatement$1(s,o){assert$1("TryStatement",s,o)}function assertUnaryExpression$1(s,o){assert$1("UnaryExpression",s,o)}function assertUpdateExpression$1(s,o){assert$1("UpdateExpression",s,o)}function assertVariableDeclaration$1(s,o){assert$1("VariableDeclaration",s,o)}function assertVariableDeclarator$1(s,o){assert$1("VariableDeclarator",s,o)}function assertWhileStatement$1(s,o){assert$1("WhileStatement",s,o)}function assertWithStatement$1(s,o){assert$1("WithStatement",s,o)}function assertAssignmentPattern$1(s,o){assert$1("AssignmentPattern",s,o)}function assertArrayPattern$1(s,o){assert$1("ArrayPattern",s,o)}function assertArrowFunctionExpression$1(s,o){assert$1("ArrowFunctionExpression",s,o)}function assertClassBody$1(s,o){assert$1("ClassBody",s,o)}function assertClassExpression$1(s,o){assert$1("ClassExpression",s,o)}function assertClassDeclaration$1(s,o){assert$1("ClassDeclaration",s,o)}function assertExportAllDeclaration$1(s,o){assert$1("ExportAllDeclaration",s,o)}function assertExportDefaultDeclaration$1(s,o){assert$1("ExportDefaultDeclaration",s,o)}function assertExportNamedDeclaration$1(s,o){assert$1("ExportNamedDeclaration",s,o)}function assertExportSpecifier$1(s,o){assert$1("ExportSpecifier",s,o)}function assertForOfStatement$1(s,o){assert$1("ForOfStatement",s,o)}function assertImportDeclaration$1(s,o){assert$1("ImportDeclaration",s,o)}function assertImportDefaultSpecifier$1(s,o){assert$1("ImportDefaultSpecifier",s,o)}function assertImportNamespaceSpecifier$1(s,o){assert$1("ImportNamespaceSpecifier",s,o)}function assertImportSpecifier$1(s,o){assert$1("ImportSpecifier",s,o)}function assertImportExpression(s,o){assert$1("ImportExpression",s,o)}function assertMetaProperty$1(s,o){assert$1("MetaProperty",s,o)}function assertClassMethod$1(s,o){assert$1("ClassMethod",s,o)}function assertObjectPattern$1(s,o){assert$1("ObjectPattern",s,o)}function assertSpreadElement$1(s,o){assert$1("SpreadElement",s,o)}function assertSuper$1(s,o){assert$1("Super",s,o)}function assertTaggedTemplateExpression$1(s,o){assert$1("TaggedTemplateExpression",s,o)}function assertTemplateElement$1(s,o){assert$1("TemplateElement",s,o)}function assertTemplateLiteral$1(s,o){assert$1("TemplateLiteral",s,o)}function assertYieldExpression$1(s,o){assert$1("YieldExpression",s,o)}function assertAwaitExpression$1(s,o){assert$1("AwaitExpression",s,o)}function assertImport$1(s,o){assert$1("Import",s,o)}function assertBigIntLiteral$1(s,o){assert$1("BigIntLiteral",s,o)}function assertExportNamespaceSpecifier$1(s,o){assert$1("ExportNamespaceSpecifier",s,o)}function assertOptionalMemberExpression$1(s,o){assert$1("OptionalMemberExpression",s,o)}function assertOptionalCallExpression$1(s,o){assert$1("OptionalCallExpression",s,o)}function assertClassProperty$1(s,o){assert$1("ClassProperty",s,o)}function assertClassAccessorProperty$1(s,o){assert$1("ClassAccessorProperty",s,o)}function assertClassPrivateProperty$1(s,o){assert$1("ClassPrivateProperty",s,o)}function assertClassPrivateMethod$1(s,o){assert$1("ClassPrivateMethod",s,o)}function assertPrivateName$1(s,o){assert$1("PrivateName",s,o)}function assertStaticBlock$1(s,o){assert$1("StaticBlock",s,o)}function assertImportAttribute$1(s,o){assert$1("ImportAttribute",s,o)}function assertAnyTypeAnnotation$1(s,o){assert$1("AnyTypeAnnotation",s,o)}function assertArrayTypeAnnotation$1(s,o){assert$1("ArrayTypeAnnotation",s,o)}function assertBooleanTypeAnnotation$1(s,o){assert$1("BooleanTypeAnnotation",s,o)}function assertBooleanLiteralTypeAnnotation$1(s,o){assert$1("BooleanLiteralTypeAnnotation",s,o)}function assertNullLiteralTypeAnnotation$1(s,o){assert$1("NullLiteralTypeAnnotation",s,o)}function assertClassImplements$1(s,o){assert$1("ClassImplements",s,o)}function assertDeclareClass$1(s,o){assert$1("DeclareClass",s,o)}function assertDeclareFunction$1(s,o){assert$1("DeclareFunction",s,o)}function assertDeclareInterface$1(s,o){assert$1("DeclareInterface",s,o)}function assertDeclareModule$1(s,o){assert$1("DeclareModule",s,o)}function assertDeclareModuleExports$1(s,o){assert$1("DeclareModuleExports",s,o)}function assertDeclareTypeAlias$1(s,o){assert$1("DeclareTypeAlias",s,o)}function assertDeclareOpaqueType$1(s,o){assert$1("DeclareOpaqueType",s,o)}function assertDeclareVariable$1(s,o){assert$1("DeclareVariable",s,o)}function assertDeclareExportDeclaration$1(s,o){assert$1("DeclareExportDeclaration",s,o)}function assertDeclareExportAllDeclaration$1(s,o){assert$1("DeclareExportAllDeclaration",s,o)}function assertDeclaredPredicate$1(s,o){assert$1("DeclaredPredicate",s,o)}function assertExistsTypeAnnotation$1(s,o){assert$1("ExistsTypeAnnotation",s,o)}function assertFunctionTypeAnnotation$1(s,o){assert$1("FunctionTypeAnnotation",s,o)}function assertFunctionTypeParam$1(s,o){assert$1("FunctionTypeParam",s,o)}function assertGenericTypeAnnotation$1(s,o){assert$1("GenericTypeAnnotation",s,o)}function assertInferredPredicate$1(s,o){assert$1("InferredPredicate",s,o)}function assertInterfaceExtends$1(s,o){assert$1("InterfaceExtends",s,o)}function assertInterfaceDeclaration$1(s,o){assert$1("InterfaceDeclaration",s,o)}function assertInterfaceTypeAnnotation$1(s,o){assert$1("InterfaceTypeAnnotation",s,o)}function assertIntersectionTypeAnnotation$1(s,o){assert$1("IntersectionTypeAnnotation",s,o)}function assertMixedTypeAnnotation$1(s,o){assert$1("MixedTypeAnnotation",s,o)}function assertEmptyTypeAnnotation$1(s,o){assert$1("EmptyTypeAnnotation",s,o)}function assertNullableTypeAnnotation$1(s,o){assert$1("NullableTypeAnnotation",s,o)}function assertNumberLiteralTypeAnnotation$1(s,o){assert$1("NumberLiteralTypeAnnotation",s,o)}function assertNumberTypeAnnotation$1(s,o){assert$1("NumberTypeAnnotation",s,o)}function assertObjectTypeAnnotation$1(s,o){assert$1("ObjectTypeAnnotation",s,o)}function assertObjectTypeInternalSlot$1(s,o){assert$1("ObjectTypeInternalSlot",s,o)}function assertObjectTypeCallProperty$1(s,o){assert$1("ObjectTypeCallProperty",s,o)}function assertObjectTypeIndexer$1(s,o){assert$1("ObjectTypeIndexer",s,o)}function assertObjectTypeProperty$1(s,o){assert$1("ObjectTypeProperty",s,o)}function assertObjectTypeSpreadProperty$1(s,o){assert$1("ObjectTypeSpreadProperty",s,o)}function assertOpaqueType$1(s,o){assert$1("OpaqueType",s,o)}function assertQualifiedTypeIdentifier$1(s,o){assert$1("QualifiedTypeIdentifier",s,o)}function assertStringLiteralTypeAnnotation$1(s,o){assert$1("StringLiteralTypeAnnotation",s,o)}function assertStringTypeAnnotation$1(s,o){assert$1("StringTypeAnnotation",s,o)}function assertSymbolTypeAnnotation$1(s,o){assert$1("SymbolTypeAnnotation",s,o)}function assertThisTypeAnnotation$1(s,o){assert$1("ThisTypeAnnotation",s,o)}function assertTupleTypeAnnotation$1(s,o){assert$1("TupleTypeAnnotation",s,o)}function assertTypeofTypeAnnotation$1(s,o){assert$1("TypeofTypeAnnotation",s,o)}function assertTypeAlias$1(s,o){assert$1("TypeAlias",s,o)}function assertTypeAnnotation$1(s,o){assert$1("TypeAnnotation",s,o)}function assertTypeCastExpression$1(s,o){assert$1("TypeCastExpression",s,o)}function assertTypeParameter$1(s,o){assert$1("TypeParameter",s,o)}function assertTypeParameterDeclaration$1(s,o){assert$1("TypeParameterDeclaration",s,o)}function assertTypeParameterInstantiation$1(s,o){assert$1("TypeParameterInstantiation",s,o)}function assertUnionTypeAnnotation$1(s,o){assert$1("UnionTypeAnnotation",s,o)}function assertVariance$1(s,o){assert$1("Variance",s,o)}function assertVoidTypeAnnotation$1(s,o){assert$1("VoidTypeAnnotation",s,o)}function assertEnumDeclaration$1(s,o){assert$1("EnumDeclaration",s,o)}function assertEnumBooleanBody$1(s,o){assert$1("EnumBooleanBody",s,o)}function assertEnumNumberBody$1(s,o){assert$1("EnumNumberBody",s,o)}function assertEnumStringBody$1(s,o){assert$1("EnumStringBody",s,o)}function assertEnumSymbolBody$1(s,o){assert$1("EnumSymbolBody",s,o)}function assertEnumBooleanMember$1(s,o){assert$1("EnumBooleanMember",s,o)}function assertEnumNumberMember$1(s,o){assert$1("EnumNumberMember",s,o)}function assertEnumStringMember$1(s,o){assert$1("EnumStringMember",s,o)}function assertEnumDefaultedMember$1(s,o){assert$1("EnumDefaultedMember",s,o)}function assertIndexedAccessType$1(s,o){assert$1("IndexedAccessType",s,o)}function assertOptionalIndexedAccessType$1(s,o){assert$1("OptionalIndexedAccessType",s,o)}function assertJSXAttribute$1(s,o){assert$1("JSXAttribute",s,o)}function assertJSXClosingElement$1(s,o){assert$1("JSXClosingElement",s,o)}function assertJSXElement$1(s,o){assert$1("JSXElement",s,o)}function assertJSXEmptyExpression$1(s,o){assert$1("JSXEmptyExpression",s,o)}function assertJSXExpressionContainer$1(s,o){assert$1("JSXExpressionContainer",s,o)}function assertJSXSpreadChild$1(s,o){assert$1("JSXSpreadChild",s,o)}function assertJSXIdentifier$1(s,o){assert$1("JSXIdentifier",s,o)}function assertJSXMemberExpression$1(s,o){assert$1("JSXMemberExpression",s,o)}function assertJSXNamespacedName$1(s,o){assert$1("JSXNamespacedName",s,o)}function assertJSXOpeningElement$1(s,o){assert$1("JSXOpeningElement",s,o)}function assertJSXSpreadAttribute$1(s,o){assert$1("JSXSpreadAttribute",s,o)}function assertJSXText$1(s,o){assert$1("JSXText",s,o)}function assertJSXFragment$1(s,o){assert$1("JSXFragment",s,o)}function assertJSXOpeningFragment$1(s,o){assert$1("JSXOpeningFragment",s,o)}function assertJSXClosingFragment$1(s,o){assert$1("JSXClosingFragment",s,o)}function assertNoop$1(s,o){assert$1("Noop",s,o)}function assertPlaceholder$1(s,o){assert$1("Placeholder",s,o)}function assertV8IntrinsicIdentifier$1(s,o){assert$1("V8IntrinsicIdentifier",s,o)}function assertArgumentPlaceholder$1(s,o){assert$1("ArgumentPlaceholder",s,o)}function assertBindExpression$1(s,o){assert$1("BindExpression",s,o)}function assertDecorator$1(s,o){assert$1("Decorator",s,o)}function assertDoExpression$1(s,o){assert$1("DoExpression",s,o)}function assertExportDefaultSpecifier$1(s,o){assert$1("ExportDefaultSpecifier",s,o)}function assertRecordExpression$1(s,o){assert$1("RecordExpression",s,o)}function assertTupleExpression$1(s,o){assert$1("TupleExpression",s,o)}function assertDecimalLiteral$1(s,o){assert$1("DecimalLiteral",s,o)}function assertModuleExpression$1(s,o){assert$1("ModuleExpression",s,o)}function assertTopicReference$1(s,o){assert$1("TopicReference",s,o)}function assertPipelineTopicExpression$1(s,o){assert$1("PipelineTopicExpression",s,o)}function assertPipelineBareFunction$1(s,o){assert$1("PipelineBareFunction",s,o)}function assertPipelinePrimaryTopicReference$1(s,o){assert$1("PipelinePrimaryTopicReference",s,o)}function assertVoidPattern(s,o){assert$1("VoidPattern",s,o)}function assertTSParameterProperty$1(s,o){assert$1("TSParameterProperty",s,o)}function assertTSDeclareFunction$1(s,o){assert$1("TSDeclareFunction",s,o)}function assertTSDeclareMethod$1(s,o){assert$1("TSDeclareMethod",s,o)}function assertTSQualifiedName$1(s,o){assert$1("TSQualifiedName",s,o)}function assertTSCallSignatureDeclaration$1(s,o){assert$1("TSCallSignatureDeclaration",s,o)}function assertTSConstructSignatureDeclaration$1(s,o){assert$1("TSConstructSignatureDeclaration",s,o)}function assertTSPropertySignature$1(s,o){assert$1("TSPropertySignature",s,o)}function assertTSMethodSignature$1(s,o){assert$1("TSMethodSignature",s,o)}function assertTSIndexSignature$1(s,o){assert$1("TSIndexSignature",s,o)}function assertTSAnyKeyword$1(s,o){assert$1("TSAnyKeyword",s,o)}function assertTSBooleanKeyword$1(s,o){assert$1("TSBooleanKeyword",s,o)}function assertTSBigIntKeyword$1(s,o){assert$1("TSBigIntKeyword",s,o)}function assertTSIntrinsicKeyword$1(s,o){assert$1("TSIntrinsicKeyword",s,o)}function assertTSNeverKeyword$1(s,o){assert$1("TSNeverKeyword",s,o)}function assertTSNullKeyword$1(s,o){assert$1("TSNullKeyword",s,o)}function assertTSNumberKeyword$1(s,o){assert$1("TSNumberKeyword",s,o)}function assertTSObjectKeyword$1(s,o){assert$1("TSObjectKeyword",s,o)}function assertTSStringKeyword$1(s,o){assert$1("TSStringKeyword",s,o)}function assertTSSymbolKeyword$1(s,o){assert$1("TSSymbolKeyword",s,o)}function assertTSUndefinedKeyword$1(s,o){assert$1("TSUndefinedKeyword",s,o)}function assertTSUnknownKeyword$1(s,o){assert$1("TSUnknownKeyword",s,o)}function assertTSVoidKeyword$1(s,o){assert$1("TSVoidKeyword",s,o)}function assertTSThisType$1(s,o){assert$1("TSThisType",s,o)}function assertTSFunctionType$1(s,o){assert$1("TSFunctionType",s,o)}function assertTSConstructorType$1(s,o){assert$1("TSConstructorType",s,o)}function assertTSTypeReference$1(s,o){assert$1("TSTypeReference",s,o)}function assertTSTypePredicate$1(s,o){assert$1("TSTypePredicate",s,o)}function assertTSTypeQuery$1(s,o){assert$1("TSTypeQuery",s,o)}function assertTSTypeLiteral$1(s,o){assert$1("TSTypeLiteral",s,o)}function assertTSArrayType$1(s,o){assert$1("TSArrayType",s,o)}function assertTSTupleType$1(s,o){assert$1("TSTupleType",s,o)}function assertTSOptionalType$1(s,o){assert$1("TSOptionalType",s,o)}function assertTSRestType$1(s,o){assert$1("TSRestType",s,o)}function assertTSNamedTupleMember$1(s,o){assert$1("TSNamedTupleMember",s,o)}function assertTSUnionType$1(s,o){assert$1("TSUnionType",s,o)}function assertTSIntersectionType$1(s,o){assert$1("TSIntersectionType",s,o)}function assertTSConditionalType$1(s,o){assert$1("TSConditionalType",s,o)}function assertTSInferType$1(s,o){assert$1("TSInferType",s,o)}function assertTSParenthesizedType$1(s,o){assert$1("TSParenthesizedType",s,o)}function assertTSTypeOperator$1(s,o){assert$1("TSTypeOperator",s,o)}function assertTSIndexedAccessType$1(s,o){assert$1("TSIndexedAccessType",s,o)}function assertTSMappedType$1(s,o){assert$1("TSMappedType",s,o)}function assertTSTemplateLiteralType(s,o){assert$1("TSTemplateLiteralType",s,o)}function assertTSLiteralType$1(s,o){assert$1("TSLiteralType",s,o)}function assertTSExpressionWithTypeArguments$1(s,o){assert$1("TSExpressionWithTypeArguments",s,o)}function assertTSInterfaceDeclaration$1(s,o){assert$1("TSInterfaceDeclaration",s,o)}function assertTSInterfaceBody$1(s,o){assert$1("TSInterfaceBody",s,o)}function assertTSTypeAliasDeclaration$1(s,o){assert$1("TSTypeAliasDeclaration",s,o)}function assertTSInstantiationExpression(s,o){assert$1("TSInstantiationExpression",s,o)}function assertTSAsExpression$1(s,o){assert$1("TSAsExpression",s,o)}function assertTSSatisfiesExpression(s,o){assert$1("TSSatisfiesExpression",s,o)}function assertTSTypeAssertion$1(s,o){assert$1("TSTypeAssertion",s,o)}function assertTSEnumBody(s,o){assert$1("TSEnumBody",s,o)}function assertTSEnumDeclaration$1(s,o){assert$1("TSEnumDeclaration",s,o)}function assertTSEnumMember$1(s,o){assert$1("TSEnumMember",s,o)}function assertTSModuleDeclaration$1(s,o){assert$1("TSModuleDeclaration",s,o)}function assertTSModuleBlock$1(s,o){assert$1("TSModuleBlock",s,o)}function assertTSImportType$1(s,o){assert$1("TSImportType",s,o)}function assertTSImportEqualsDeclaration$1(s,o){assert$1("TSImportEqualsDeclaration",s,o)}function assertTSExternalModuleReference$1(s,o){assert$1("TSExternalModuleReference",s,o)}function assertTSNonNullExpression$1(s,o){assert$1("TSNonNullExpression",s,o)}function assertTSExportAssignment$1(s,o){assert$1("TSExportAssignment",s,o)}function assertTSNamespaceExportDeclaration$1(s,o){assert$1("TSNamespaceExportDeclaration",s,o)}function assertTSTypeAnnotation$1(s,o){assert$1("TSTypeAnnotation",s,o)}function assertTSTypeParameterInstantiation$1(s,o){assert$1("TSTypeParameterInstantiation",s,o)}function assertTSTypeParameterDeclaration$1(s,o){assert$1("TSTypeParameterDeclaration",s,o)}function assertTSTypeParameter$1(s,o){assert$1("TSTypeParameter",s,o)}function assertStandardized$1(s,o){assert$1("Standardized",s,o)}function assertExpression$1(s,o){assert$1("Expression",s,o)}function assertBinary$1(s,o){assert$1("Binary",s,o)}function assertScopable$1(s,o){assert$1("Scopable",s,o)}function assertBlockParent$1(s,o){assert$1("BlockParent",s,o)}function assertBlock$1(s,o){assert$1("Block",s,o)}function assertStatement$1(s,o){assert$1("Statement",s,o)}function assertTerminatorless$1(s,o){assert$1("Terminatorless",s,o)}function assertCompletionStatement$1(s,o){assert$1("CompletionStatement",s,o)}function assertConditional$1(s,o){assert$1("Conditional",s,o)}function assertLoop$1(s,o){assert$1("Loop",s,o)}function assertWhile$1(s,o){assert$1("While",s,o)}function assertExpressionWrapper$1(s,o){assert$1("ExpressionWrapper",s,o)}function assertFor$1(s,o){assert$1("For",s,o)}function assertForXStatement$1(s,o){assert$1("ForXStatement",s,o)}function assertFunction$1(s,o){assert$1("Function",s,o)}function assertFunctionParent$1(s,o){assert$1("FunctionParent",s,o)}function assertPureish$1(s,o){assert$1("Pureish",s,o)}function assertDeclaration$1(s,o){assert$1("Declaration",s,o)}function assertFunctionParameter(s,o){assert$1("FunctionParameter",s,o)}function assertPatternLike$1(s,o){assert$1("PatternLike",s,o)}function assertLVal$1(s,o){assert$1("LVal",s,o)}function assertTSEntityName$1(s,o){assert$1("TSEntityName",s,o)}function assertLiteral$1(s,o){assert$1("Literal",s,o)}function assertImmutable$1(s,o){assert$1("Immutable",s,o)}function assertUserWhitespacable$1(s,o){assert$1("UserWhitespacable",s,o)}function assertMethod$1(s,o){assert$1("Method",s,o)}function assertObjectMember$1(s,o){assert$1("ObjectMember",s,o)}function assertProperty$1(s,o){assert$1("Property",s,o)}function assertUnaryLike$1(s,o){assert$1("UnaryLike",s,o)}function assertPattern$1(s,o){assert$1("Pattern",s,o)}function assertClass$1(s,o){assert$1("Class",s,o)}function assertImportOrExportDeclaration(s,o){assert$1("ImportOrExportDeclaration",s,o)}function assertExportDeclaration$1(s,o){assert$1("ExportDeclaration",s,o)}function assertModuleSpecifier$1(s,o){assert$1("ModuleSpecifier",s,o)}function assertAccessor$1(s,o){assert$1("Accessor",s,o)}function assertPrivate$1(s,o){assert$1("Private",s,o)}function assertFlow$1(s,o){assert$1("Flow",s,o)}function assertFlowType$1(s,o){assert$1("FlowType",s,o)}function assertFlowBaseAnnotation$1(s,o){assert$1("FlowBaseAnnotation",s,o)}function assertFlowDeclaration$1(s,o){assert$1("FlowDeclaration",s,o)}function assertFlowPredicate$1(s,o){assert$1("FlowPredicate",s,o)}function assertEnumBody$1(s,o){assert$1("EnumBody",s,o)}function assertEnumMember$1(s,o){assert$1("EnumMember",s,o)}function assertJSX$1(s,o){assert$1("JSX",s,o)}function assertMiscellaneous$1(s,o){assert$1("Miscellaneous",s,o)}function assertTypeScript$1(s,o){assert$1("TypeScript",s,o)}function assertTSTypeElement$1(s,o){assert$1("TSTypeElement",s,o)}function assertTSType$1(s,o){assert$1("TSType",s,o)}function assertTSBaseType$1(s,o){assert$1("TSBaseType",s,o)}function assertNumberLiteral$1(s,o){(0,_deprecationWarning.default)("assertNumberLiteral","assertNumericLiteral"),assert$1("NumberLiteral",s,o)}function assertRegexLiteral$1(s,o){(0,_deprecationWarning.default)("assertRegexLiteral","assertRegExpLiteral"),assert$1("RegexLiteral",s,o)}function assertRestProperty$1(s,o){(0,_deprecationWarning.default)("assertRestProperty","assertRestElement"),assert$1("RestProperty",s,o)}function assertSpreadProperty$1(s,o){(0,_deprecationWarning.default)("assertSpreadProperty","assertSpreadElement"),assert$1("SpreadProperty",s,o)}function assertModuleDeclaration$1(s,o){(0,_deprecationWarning.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),assert$1("ModuleDeclaration",s,o)}var createTypeAnnotationBasedOnTypeof$4={};Object.defineProperty(createTypeAnnotationBasedOnTypeof$4,"__esModule",{value:!0});createTypeAnnotationBasedOnTypeof$4.default=void 0;var _index$u=generated$7;createTypeAnnotationBasedOnTypeof$4.default=createTypeAnnotationBasedOnTypeof$3;function createTypeAnnotationBasedOnTypeof$3(s){switch(s){case"string":return(0,_index$u.stringTypeAnnotation)();case"number":return(0,_index$u.numberTypeAnnotation)();case"undefined":return(0,_index$u.voidTypeAnnotation)();case"boolean":return(0,_index$u.booleanTypeAnnotation)();case"function":return(0,_index$u.genericTypeAnnotation)((0,_index$u.identifier)("Function"));case"object":return(0,_index$u.genericTypeAnnotation)((0,_index$u.identifier)("Object"));case"symbol":return(0,_index$u.genericTypeAnnotation)((0,_index$u.identifier)("Symbol"));case"bigint":return(0,_index$u.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+s)}var createFlowUnionType$4={},removeTypeDuplicates$7={};Object.defineProperty(removeTypeDuplicates$7,"__esModule",{value:!0});removeTypeDuplicates$7.default=removeTypeDuplicates$6;var _index$t=generated$8;function getQualifiedName$2(s){return(0,_index$t.isIdentifier)(s)?s.name:`${s.id.name}.${getQualifiedName$2(s.qualification)}`}function removeTypeDuplicates$6(s){const o=Array.from(s),F0=new Map,L0=new Map,B0=new Set,q0=[];for(let W0=0;W0<o.length;W0++){const X0=o[W0];if(X0&&!q0.includes(X0)){if((0,_index$t.isAnyTypeAnnotation)(X0))return[X0];if((0,_index$t.isFlowBaseAnnotation)(X0)){L0.set(X0.type,X0);continue}if((0,_index$t.isUnionTypeAnnotation)(X0)){B0.has(X0.types)||(o.push(...X0.types),B0.add(X0.types));continue}if((0,_index$t.isGenericTypeAnnotation)(X0)){const K0=getQualifiedName$2(X0.id);if(F0.has(K0)){let D_=F0.get(K0);D_.typeParameters?X0.typeParameters&&(D_.typeParameters.params.push(...X0.typeParameters.params),D_.typeParameters.params=removeTypeDuplicates$6(D_.typeParameters.params)):D_=X0.typeParameters}else F0.set(K0,X0);continue}q0.push(X0)}}for(const[,W0]of L0)q0.push(W0);for(const[,W0]of F0)q0.push(W0);return q0}Object.defineProperty(createFlowUnionType$4,"__esModule",{value:!0});createFlowUnionType$4.default=createFlowUnionType$3;var _index$s=generated$7,_removeTypeDuplicates$3=removeTypeDuplicates$7;function createFlowUnionType$3(s){const o=(0,_removeTypeDuplicates$3.default)(s);return o.length===1?o[0]:(0,_index$s.unionTypeAnnotation)(o)}var createTSUnionType$4={},removeTypeDuplicates$5={};Object.defineProperty(removeTypeDuplicates$5,"__esModule",{value:!0});removeTypeDuplicates$5.default=removeTypeDuplicates$4;var _index$r=generated$8;function getQualifiedName$1(s){return(0,_index$r.isIdentifier)(s)?s.name:(0,_index$r.isThisExpression)(s)?"this":`${s.right.name}.${getQualifiedName$1(s.left)}`}function removeTypeDuplicates$4(s){const o=Array.from(s),F0=new Map,L0=new Map,B0=new Set,q0=[];for(let W0=0;W0<o.length;W0++){const X0=o[W0];if(!X0||q0.includes(X0))continue;if((0,_index$r.isTSAnyKeyword)(X0))return[X0];if((0,_index$r.isTSBaseType)(X0)){L0.set(X0.type,X0);continue}if((0,_index$r.isTSUnionType)(X0)){B0.has(X0.types)||(o.push(...X0.types),B0.add(X0.types));continue}const K0="typeParameters";if((0,_index$r.isTSTypeReference)(X0)&&X0[K0]){const D_=X0[K0],I_=getQualifiedName$1(X0.typeName);if(F0.has(I_)){let F_=F0.get(I_);const R_=F_[K0];R_?(R_.params.push(...D_.params),R_.params=removeTypeDuplicates$4(R_.params)):F_=D_}else F0.set(I_,X0);continue}q0.push(X0)}for(const[,W0]of L0)q0.push(W0);for(const[,W0]of F0)q0.push(W0);return q0}Object.defineProperty(createTSUnionType$4,"__esModule",{value:!0});createTSUnionType$4.default=createTSUnionType$3;var _index$q=generated$7,_removeTypeDuplicates$2=removeTypeDuplicates$5,_index2$5=generated$8;function createTSUnionType$3(s){const o=s.map(L0=>(0,_index2$5.isTSTypeAnnotation)(L0)?L0.typeAnnotation:L0),F0=(0,_removeTypeDuplicates$2.default)(o);return F0.length===1?F0[0]:(0,_index$q.tsUnionType)(F0)}var productions={};Object.defineProperty(productions,"__esModule",{value:!0});productions.buildUndefinedNode=buildUndefinedNode;var _index$p=generated$7;function buildUndefinedNode(){return(0,_index$p.unaryExpression)("void",(0,_index$p.numericLiteral)(0),!0)}var cloneNode$7={};Object.defineProperty(cloneNode$7,"__esModule",{value:!0});cloneNode$7.default=cloneNode$6;var _index$o=requireDefinitions$1(),_index2$4=generated$8;const{hasOwn}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function cloneIfNode$1(s,o,F0,L0){return s&&typeof s.type=="string"?cloneNodeInternal(s,o,F0,L0):s}function cloneIfNodeOrArray$1(s,o,F0,L0){return Array.isArray(s)?s.map(B0=>cloneIfNode$1(B0,o,F0,L0)):cloneIfNode$1(s,o,F0,L0)}function cloneNode$6(s,o=!0,F0=!1){return cloneNodeInternal(s,o,F0,new Map)}function cloneNodeInternal(s,o=!0,F0=!1,L0){if(!s)return s;const{type:B0}=s,q0={type:s.type};if((0,_index2$4.isIdentifier)(s))q0.name=s.name,hasOwn(s,"optional")&&typeof s.optional=="boolean"&&(q0.optional=s.optional),hasOwn(s,"typeAnnotation")&&(q0.typeAnnotation=o?cloneIfNodeOrArray$1(s.typeAnnotation,!0,F0,L0):s.typeAnnotation),hasOwn(s,"decorators")&&(q0.decorators=o?cloneIfNodeOrArray$1(s.decorators,!0,F0,L0):s.decorators);else if(hasOwn(_index$o.NODE_FIELDS,B0))for(const W0 of Object.keys(_index$o.NODE_FIELDS[B0]))hasOwn(s,W0)&&(o?q0[W0]=(0,_index2$4.isFile)(s)&&W0==="comments"?maybeCloneComments$1(s.comments,o,F0,L0):cloneIfNodeOrArray$1(s[W0],!0,F0,L0):q0[W0]=s[W0]);else throw new Error(`Unknown node type: "${B0}"`);return hasOwn(s,"loc")&&(F0?q0.loc=null:q0.loc=s.loc),hasOwn(s,"leadingComments")&&(q0.leadingComments=maybeCloneComments$1(s.leadingComments,o,F0,L0)),hasOwn(s,"innerComments")&&(q0.innerComments=maybeCloneComments$1(s.innerComments,o,F0,L0)),hasOwn(s,"trailingComments")&&(q0.trailingComments=maybeCloneComments$1(s.trailingComments,o,F0,L0)),hasOwn(s,"extra")&&(q0.extra=Object.assign({},s.extra)),q0}function maybeCloneComments$1(s,o,F0,L0){return!s||!o?s:s.map(B0=>{const q0=L0.get(B0);if(q0)return q0;const{type:W0,value:X0,loc:K0}=B0,D_={type:W0,value:X0,loc:K0};return F0&&(D_.loc=null),L0.set(B0,D_),D_})}var clone$4={};Object.defineProperty(clone$4,"__esModule",{value:!0});clone$4.default=clone$3;var _cloneNode$b=cloneNode$7;function clone$3(s){return(0,_cloneNode$b.default)(s,!1)}var cloneDeep$3={};Object.defineProperty(cloneDeep$3,"__esModule",{value:!0});cloneDeep$3.default=cloneDeep$2;var _cloneNode$a=cloneNode$7;function cloneDeep$2(s){return(0,_cloneNode$a.default)(s)}var cloneDeepWithoutLoc$3={};Object.defineProperty(cloneDeepWithoutLoc$3,"__esModule",{value:!0});cloneDeepWithoutLoc$3.default=cloneDeepWithoutLoc$2;var _cloneNode$9=cloneNode$7;function cloneDeepWithoutLoc$2(s){return(0,_cloneNode$9.default)(s,!0,!0)}var cloneWithoutLoc$3={};Object.defineProperty(cloneWithoutLoc$3,"__esModule",{value:!0});cloneWithoutLoc$3.default=cloneWithoutLoc$2;var _cloneNode$8=cloneNode$7;function cloneWithoutLoc$2(s){return(0,_cloneNode$8.default)(s,!1,!0)}var addComment$4={},addComments$4={};Object.defineProperty(addComments$4,"__esModule",{value:!0});addComments$4.default=addComments$3;function addComments$3(s,o,F0){if(!F0||!s)return s;const L0=`${o}Comments`;return s[L0]?o==="leading"?s[L0]=F0.concat(s[L0]):s[L0].push(...F0):s[L0]=F0,s}Object.defineProperty(addComment$4,"__esModule",{value:!0});addComment$4.default=addComment$3;var _addComments$2=addComments$4;function addComment$3(s,o,F0,L0){return(0,_addComments$2.default)(s,o,[{type:L0?"CommentLine":"CommentBlock",value:F0}])}var inheritInnerComments$3={},inherit$3={};Object.defineProperty(inherit$3,"__esModule",{value:!0});inherit$3.default=inherit$2;function inherit$2(s,o,F0){o&&F0&&(o[s]=Array.from(new Set([].concat(o[s],F0[s]).filter(Boolean))))}Object.defineProperty(inheritInnerComments$3,"__esModule",{value:!0});inheritInnerComments$3.default=inheritInnerComments$2;var _inherit$5=inherit$3;function inheritInnerComments$2(s,o){(0,_inherit$5.default)("innerComments",s,o)}var inheritLeadingComments$3={};Object.defineProperty(inheritLeadingComments$3,"__esModule",{value:!0});inheritLeadingComments$3.default=inheritLeadingComments$2;var _inherit$4=inherit$3;function inheritLeadingComments$2(s,o){(0,_inherit$4.default)("leadingComments",s,o)}var inheritsComments$3={},inheritTrailingComments$3={};Object.defineProperty(inheritTrailingComments$3,"__esModule",{value:!0});inheritTrailingComments$3.default=inheritTrailingComments$2;var _inherit$3=inherit$3;function inheritTrailingComments$2(s,o){(0,_inherit$3.default)("trailingComments",s,o)}Object.defineProperty(inheritsComments$3,"__esModule",{value:!0});inheritsComments$3.default=inheritsComments$2;var _inheritTrailingComments$1=inheritTrailingComments$3,_inheritLeadingComments$1=inheritLeadingComments$3,_inheritInnerComments$1=inheritInnerComments$3;function inheritsComments$2(s,o){return(0,_inheritTrailingComments$1.default)(s,o),(0,_inheritLeadingComments$1.default)(s,o),(0,_inheritInnerComments$1.default)(s,o),s}var removeComments$3={};Object.defineProperty(removeComments$3,"__esModule",{value:!0});removeComments$3.default=removeComments$2;var _index$n=constants$2;function removeComments$2(s){return _index$n.COMMENT_KEYS.forEach(o=>{s[o]=null}),s}var generated$5={};Object.defineProperty(generated$5,"__esModule",{value:!0});generated$5.WHILE_TYPES=generated$5.USERWHITESPACABLE_TYPES=generated$5.UNARYLIKE_TYPES=generated$5.TYPESCRIPT_TYPES=generated$5.TSTYPE_TYPES=generated$5.TSTYPEELEMENT_TYPES=generated$5.TSENTITYNAME_TYPES=generated$5.TSBASETYPE_TYPES=generated$5.TERMINATORLESS_TYPES=generated$5.STATEMENT_TYPES=generated$5.STANDARDIZED_TYPES=generated$5.SCOPABLE_TYPES=generated$5.PUREISH_TYPES=generated$5.PROPERTY_TYPES=generated$5.PRIVATE_TYPES=generated$5.PATTERN_TYPES=generated$5.PATTERNLIKE_TYPES=generated$5.OBJECTMEMBER_TYPES=generated$5.MODULESPECIFIER_TYPES=generated$5.MODULEDECLARATION_TYPES=generated$5.MISCELLANEOUS_TYPES=generated$5.METHOD_TYPES=generated$5.LVAL_TYPES=generated$5.LOOP_TYPES=generated$5.LITERAL_TYPES=generated$5.JSX_TYPES=generated$5.IMPORTOREXPORTDECLARATION_TYPES=generated$5.IMMUTABLE_TYPES=generated$5.FUNCTION_TYPES=generated$5.FUNCTIONPARENT_TYPES=generated$5.FUNCTIONPARAMETER_TYPES=generated$5.FOR_TYPES=generated$5.FORXSTATEMENT_TYPES=generated$5.FLOW_TYPES=generated$5.FLOWTYPE_TYPES=generated$5.FLOWPREDICATE_TYPES=generated$5.FLOWDECLARATION_TYPES=generated$5.FLOWBASEANNOTATION_TYPES=generated$5.EXPRESSION_TYPES=generated$5.EXPRESSIONWRAPPER_TYPES=generated$5.EXPORTDECLARATION_TYPES=generated$5.ENUMMEMBER_TYPES=generated$5.ENUMBODY_TYPES=generated$5.DECLARATION_TYPES=generated$5.CONDITIONAL_TYPES=generated$5.COMPLETIONSTATEMENT_TYPES=generated$5.CLASS_TYPES=generated$5.BLOCK_TYPES=generated$5.BLOCKPARENT_TYPES=generated$5.BINARY_TYPES=generated$5.ACCESSOR_TYPES=void 0;var _index$m=requireDefinitions$1();generated$5.STANDARDIZED_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Standardized;generated$5.EXPRESSION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Expression;generated$5.BINARY_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Binary;generated$5.SCOPABLE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Scopable;generated$5.BLOCKPARENT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.BlockParent;generated$5.BLOCK_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Block;generated$5.STATEMENT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Statement;generated$5.TERMINATORLESS_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Terminatorless;generated$5.COMPLETIONSTATEMENT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.CompletionStatement;generated$5.CONDITIONAL_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Conditional;generated$5.LOOP_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Loop;generated$5.WHILE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.While;generated$5.EXPRESSIONWRAPPER_TYPES=_index$m.FLIPPED_ALIAS_KEYS.ExpressionWrapper;generated$5.FOR_TYPES=_index$m.FLIPPED_ALIAS_KEYS.For;generated$5.FORXSTATEMENT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.ForXStatement;generated$5.FUNCTION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Function;generated$5.FUNCTIONPARENT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.FunctionParent;generated$5.PUREISH_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Pureish;generated$5.DECLARATION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Declaration;generated$5.FUNCTIONPARAMETER_TYPES=_index$m.FLIPPED_ALIAS_KEYS.FunctionParameter;generated$5.PATTERNLIKE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.PatternLike;generated$5.LVAL_TYPES=_index$m.FLIPPED_ALIAS_KEYS.LVal;generated$5.TSENTITYNAME_TYPES=_index$m.FLIPPED_ALIAS_KEYS.TSEntityName;generated$5.LITERAL_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Literal;generated$5.IMMUTABLE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Immutable;generated$5.USERWHITESPACABLE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.UserWhitespacable;generated$5.METHOD_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Method;generated$5.OBJECTMEMBER_TYPES=_index$m.FLIPPED_ALIAS_KEYS.ObjectMember;generated$5.PROPERTY_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Property;generated$5.UNARYLIKE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.UnaryLike;generated$5.PATTERN_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Pattern;generated$5.CLASS_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Class;const IMPORTOREXPORTDECLARATION_TYPES=generated$5.IMPORTOREXPORTDECLARATION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;generated$5.EXPORTDECLARATION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.ExportDeclaration;generated$5.MODULESPECIFIER_TYPES=_index$m.FLIPPED_ALIAS_KEYS.ModuleSpecifier;generated$5.ACCESSOR_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Accessor;generated$5.PRIVATE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Private;generated$5.FLOW_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Flow;generated$5.FLOWTYPE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.FlowType;generated$5.FLOWBASEANNOTATION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;generated$5.FLOWDECLARATION_TYPES=_index$m.FLIPPED_ALIAS_KEYS.FlowDeclaration;generated$5.FLOWPREDICATE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.FlowPredicate;generated$5.ENUMBODY_TYPES=_index$m.FLIPPED_ALIAS_KEYS.EnumBody;generated$5.ENUMMEMBER_TYPES=_index$m.FLIPPED_ALIAS_KEYS.EnumMember;generated$5.JSX_TYPES=_index$m.FLIPPED_ALIAS_KEYS.JSX;generated$5.MISCELLANEOUS_TYPES=_index$m.FLIPPED_ALIAS_KEYS.Miscellaneous;generated$5.TYPESCRIPT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.TypeScript;generated$5.TSTYPEELEMENT_TYPES=_index$m.FLIPPED_ALIAS_KEYS.TSTypeElement;generated$5.TSTYPE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.TSType;generated$5.TSBASETYPE_TYPES=_index$m.FLIPPED_ALIAS_KEYS.TSBaseType;generated$5.MODULEDECLARATION_TYPES=IMPORTOREXPORTDECLARATION_TYPES;var ensureBlock$4={},toBlock$3={};Object.defineProperty(toBlock$3,"__esModule",{value:!0});toBlock$3.default=toBlock$2;var _index$l=generated$8,_index2$3=generated$7;function toBlock$2(s,o){if((0,_index$l.isBlockStatement)(s))return s;let F0=[];return(0,_index$l.isEmptyStatement)(s)?F0=[]:((0,_index$l.isStatement)(s)||((0,_index$l.isFunction)(o)?s=(0,_index2$3.returnStatement)(s):s=(0,_index2$3.expressionStatement)(s)),F0=[s]),(0,_index2$3.blockStatement)(F0)}Object.defineProperty(ensureBlock$4,"__esModule",{value:!0});ensureBlock$4.default=ensureBlock$3;var _toBlock$1=toBlock$3;function ensureBlock$3(s,o="body"){const F0=(0,_toBlock$1.default)(s[o],s);return s[o]=F0,F0}var toBindingIdentifierName$4={},toIdentifier$3={};Object.defineProperty(toIdentifier$3,"__esModule",{value:!0});toIdentifier$3.default=toIdentifier$2;var _isValidIdentifier$5=isValidIdentifier$3,_helperValidatorIdentifier$2=lib$b;function toIdentifier$2(s){s=s+"";let o="";for(const F0 of s)o+=(0,_helperValidatorIdentifier$2.isIdentifierChar)(F0.codePointAt(0))?F0:"-";return o=o.replace(/^[-0-9]+/,""),o=o.replace(/[-\s]+(.)?/g,function(F0,L0){return L0?L0.toUpperCase():""}),(0,_isValidIdentifier$5.default)(o)||(o=`_${o}`),o||"_"}Object.defineProperty(toBindingIdentifierName$4,"__esModule",{value:!0});toBindingIdentifierName$4.default=toBindingIdentifierName$3;var _toIdentifier$1=toIdentifier$3;function toBindingIdentifierName$3(s){return s=(0,_toIdentifier$1.default)(s),(s==="eval"||s==="arguments")&&(s="_"+s),s}var toComputedKey$4={};Object.defineProperty(toComputedKey$4,"__esModule",{value:!0});toComputedKey$4.default=toComputedKey$3;var _index$k=generated$8,_index2$2=generated$7;function toComputedKey$3(s,o=s.key||s.property){return!s.computed&&(0,_index$k.isIdentifier)(o)&&(o=(0,_index2$2.stringLiteral)(o.name)),o}var toExpression$4={};Object.defineProperty(toExpression$4,"__esModule",{value:!0});toExpression$4.default=void 0;var _index$j=generated$8;toExpression$4.default=toExpression$3;function toExpression$3(s){if((0,_index$j.isExpressionStatement)(s)&&(s=s.expression),(0,_index$j.isExpression)(s))return s;if((0,_index$j.isClass)(s)?(s.type="ClassExpression",s.abstract=!1):(0,_index$j.isFunction)(s)&&(s.type="FunctionExpression"),!(0,_index$j.isExpression)(s))throw new Error(`cannot turn ${s.type} to an expression`);return s}var toKeyAlias$3={},removePropertiesDeep$4={},traverseFast$4={};Object.defineProperty(traverseFast$4,"__esModule",{value:!0});traverseFast$4.default=traverseFast$3;var _index$i=requireDefinitions$1();const _skip=Symbol(),_stop=Symbol();function traverseFast$3(s,o,F0){if(!s)return!1;const L0=_index$i.VISITOR_KEYS[s.type];if(!L0)return!1;F0=F0||{};const B0=o(s,F0);if(B0!==void 0)switch(B0){case _skip:return!1;case _stop:return!0}for(const q0 of L0){const W0=s[q0];if(W0){if(Array.isArray(W0)){for(const X0 of W0)if(traverseFast$3(X0,o,F0))return!0}else if(traverseFast$3(W0,o,F0))return!0}}return!1}traverseFast$3.skip=_skip;traverseFast$3.stop=_stop;var removeProperties$3={};Object.defineProperty(removeProperties$3,"__esModule",{value:!0});removeProperties$3.default=removeProperties$2;var _index$h=constants$2;const CLEAR_KEYS$1=["tokens","start","end","loc","raw","rawValue"],CLEAR_KEYS_PLUS_COMMENTS$1=[..._index$h.COMMENT_KEYS,"comments",...CLEAR_KEYS$1];function removeProperties$2(s,o={}){const F0=o.preserveComments?CLEAR_KEYS$1:CLEAR_KEYS_PLUS_COMMENTS$1;for(const B0 of F0)s[B0]!=null&&(s[B0]=void 0);for(const B0 of Object.keys(s))B0.startsWith("_")&&s[B0]!=null&&(s[B0]=void 0);const L0=Object.getOwnPropertySymbols(s);for(const B0 of L0)s[B0]=null}Object.defineProperty(removePropertiesDeep$4,"__esModule",{value:!0});removePropertiesDeep$4.default=removePropertiesDeep$3;var _traverseFast$1=traverseFast$4,_removeProperties$1=removeProperties$3;function removePropertiesDeep$3(s,o){return(0,_traverseFast$1.default)(s,_removeProperties$1.default,o),s}Object.defineProperty(toKeyAlias$3,"__esModule",{value:!0});toKeyAlias$3.default=toKeyAlias$2;var _index$g=generated$8,_cloneNode$7=cloneNode$7,_removePropertiesDeep$1=removePropertiesDeep$4;function toKeyAlias$2(s,o=s.key){let F0;return s.kind==="method"?toKeyAlias$2.increment()+"":((0,_index$g.isIdentifier)(o)?F0=o.name:(0,_index$g.isStringLiteral)(o)?F0=JSON.stringify(o.value):F0=JSON.stringify((0,_removePropertiesDeep$1.default)((0,_cloneNode$7.default)(o))),s.computed&&(F0=`[${F0}]`),s.static&&(F0=`static:${F0}`),F0)}toKeyAlias$2.uid=0;toKeyAlias$2.increment=function(){return toKeyAlias$2.uid>=Number.MAX_SAFE_INTEGER?toKeyAlias$2.uid=0:toKeyAlias$2.uid++};var toStatement$3={};Object.defineProperty(toStatement$3,"__esModule",{value:!0});toStatement$3.default=void 0;var _index$f=generated$8,_index2$1=generated$7;toStatement$3.default=toStatement$2;function toStatement$2(s,o){if((0,_index$f.isStatement)(s))return s;let F0=!1,L0;if((0,_index$f.isClass)(s))F0=!0,L0="ClassDeclaration";else if((0,_index$f.isFunction)(s))F0=!0,L0="FunctionDeclaration";else if((0,_index$f.isAssignmentExpression)(s))return(0,_index2$1.expressionStatement)(s);if(F0&&!s.id&&(L0=!1),!L0){if(o)return!1;throw new Error(`cannot turn ${s.type} to a statement`)}return s.type=L0,s}var valueToNode$3={};Object.defineProperty(valueToNode$3,"__esModule",{value:!0});valueToNode$3.default=void 0;var _isValidIdentifier$4=isValidIdentifier$3,_index$e=generated$7;valueToNode$3.default=valueToNode$2;const objectToString$3=Function.call.bind(Object.prototype.toString);function isRegExp$1(s){return objectToString$3(s)==="[object RegExp]"}function isPlainObject$2(s){if(typeof s!="object"||s===null||Object.prototype.toString.call(s)!=="[object Object]")return!1;const o=Object.getPrototypeOf(s);return o===null||Object.getPrototypeOf(o)===null}function valueToNode$2(s){if(s===void 0)return(0,_index$e.identifier)("undefined");if(s===!0||s===!1)return(0,_index$e.booleanLiteral)(s);if(s===null)return(0,_index$e.nullLiteral)();if(typeof s=="string")return(0,_index$e.stringLiteral)(s);if(typeof s=="number"){let o;if(Number.isFinite(s))o=(0,_index$e.numericLiteral)(Math.abs(s));else{let F0;Number.isNaN(s)?F0=(0,_index$e.numericLiteral)(0):F0=(0,_index$e.numericLiteral)(1),o=(0,_index$e.binaryExpression)("/",F0,(0,_index$e.numericLiteral)(0))}return(s<0||Object.is(s,-0))&&(o=(0,_index$e.unaryExpression)("-",o)),o}if(typeof s=="bigint")return s<0?(0,_index$e.unaryExpression)("-",(0,_index$e.bigIntLiteral)(-s)):(0,_index$e.bigIntLiteral)(s);if(isRegExp$1(s)){const o=s.source,F0=/\/([a-z]*)$/.exec(s.toString())[1];return(0,_index$e.regExpLiteral)(o,F0)}if(Array.isArray(s))return(0,_index$e.arrayExpression)(s.map(valueToNode$2));if(isPlainObject$2(s)){const o=[];for(const F0 of Object.keys(s)){let L0,B0=!1;(0,_isValidIdentifier$4.default)(F0)?F0==="__proto__"?(B0=!0,L0=(0,_index$e.stringLiteral)(F0)):L0=(0,_index$e.identifier)(F0):L0=(0,_index$e.stringLiteral)(F0),o.push((0,_index$e.objectProperty)(L0,valueToNode$2(s[F0]),B0))}return(0,_index$e.objectExpression)(o)}throw new Error("don't know how to turn this value into a node")}var appendToMemberExpression$3={};Object.defineProperty(appendToMemberExpression$3,"__esModule",{value:!0});appendToMemberExpression$3.default=appendToMemberExpression$2;var _index$d=generated$7;function appendToMemberExpression$2(s,o,F0=!1){return s.object=(0,_index$d.memberExpression)(s.object,s.property,s.computed),s.property=o,s.computed=!!F0,s}var inherits$3={};Object.defineProperty(inherits$3,"__esModule",{value:!0});inherits$3.default=inherits$2;var _index$c=constants$2,_inheritsComments$1=inheritsComments$3;function inherits$2(s,o){if(!s||!o)return s;for(const F0 of _index$c.INHERIT_KEYS.optional)s[F0]==null&&(s[F0]=o[F0]);for(const F0 of Object.keys(o))F0.startsWith("_")&&F0!=="__clone"&&(s[F0]=o[F0]);for(const F0 of _index$c.INHERIT_KEYS.force)s[F0]=o[F0];return(0,_inheritsComments$1.default)(s,o),s}var prependToMemberExpression$2={},hasRequiredPrependToMemberExpression;function requirePrependToMemberExpression(){if(hasRequiredPrependToMemberExpression)return prependToMemberExpression$2;hasRequiredPrependToMemberExpression=1,Object.defineProperty(prependToMemberExpression$2,"__esModule",{value:!0}),prependToMemberExpression$2.default=F0;var s=generated$7,o=requireLib$2();function F0(L0,B0){if((0,o.isSuper)(L0.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return L0.object=(0,s.memberExpression)(B0,L0.object),L0}return prependToMemberExpression$2}var getAssignmentIdentifiers$1={};Object.defineProperty(getAssignmentIdentifiers$1,"__esModule",{value:!0});getAssignmentIdentifiers$1.default=getAssignmentIdentifiers;function getAssignmentIdentifiers(s){const o=[].concat(s),F0=Object.create(null);for(;o.length;){const L0=o.pop();if(L0)switch(L0.type){case"ArrayPattern":o.push(...L0.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":o.push(L0.left);break;case"ObjectPattern":o.push(...L0.properties);break;case"ObjectProperty":o.push(L0.value);break;case"RestElement":case"UpdateExpression":o.push(L0.argument);break;case"UnaryExpression":L0.operator==="delete"&&o.push(L0.argument);break;case"Identifier":F0[L0.name]=L0;break}}return F0}var getBindingIdentifiers$3={};Object.defineProperty(getBindingIdentifiers$3,"__esModule",{value:!0});getBindingIdentifiers$3.default=getBindingIdentifiers$2;var _index$b=generated$8;function getBindingIdentifiers$2(s,o,F0,L0){const B0=[].concat(s),q0=Object.create(null);for(;B0.length;){const W0=B0.shift();if(!W0||L0&&((0,_index$b.isAssignmentExpression)(W0)||(0,_index$b.isUnaryExpression)(W0)||(0,_index$b.isUpdateExpression)(W0)))continue;if((0,_index$b.isIdentifier)(W0)){o?(q0[W0.name]=q0[W0.name]||[]).push(W0):q0[W0.name]=W0;continue}if((0,_index$b.isExportDeclaration)(W0)&&!(0,_index$b.isExportAllDeclaration)(W0)){(0,_index$b.isDeclaration)(W0.declaration)&&B0.push(W0.declaration);continue}if(F0){if((0,_index$b.isFunctionDeclaration)(W0)){B0.push(W0.id);continue}if((0,_index$b.isFunctionExpression)(W0))continue}const X0=getBindingIdentifiers$2.keys[W0.type];if(X0)for(let K0=0;K0<X0.length;K0++){const D_=X0[K0],I_=W0[D_];I_&&(Array.isArray(I_)?B0.push(...I_):B0.push(I_))}}return q0}const keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};getBindingIdentifiers$2.keys=keys;var getOuterBindingIdentifiers$3={};Object.defineProperty(getOuterBindingIdentifiers$3,"__esModule",{value:!0});getOuterBindingIdentifiers$3.default=void 0;var _getBindingIdentifiers$5=getBindingIdentifiers$3;getOuterBindingIdentifiers$3.default=getOuterBindingIdentifiers$2;function getOuterBindingIdentifiers$2(s,o){return(0,_getBindingIdentifiers$5.default)(s,o,!0)}var getFunctionName$1={};Object.defineProperty(getFunctionName$1,"__esModule",{value:!0});getFunctionName$1.default=getFunctionName;var _index$a=generated$8;function getNameFromLiteralId$1(s){return(0,_index$a.isNullLiteral)(s)?"null":(0,_index$a.isRegExpLiteral)(s)?`/${s.pattern}/${s.flags}`:(0,_index$a.isTemplateLiteral)(s)?s.quasis.map(o=>o.value.raw).join(""):s.value!==void 0?String(s.value):null}function getObjectMemberKey(s){if(!s.computed||(0,_index$a.isLiteral)(s.key))return s.key}function getFunctionName(s,o){if("id"in s&&s.id)return{name:s.id.name,originalNode:s.id};let F0="",L0;if((0,_index$a.isObjectProperty)(o,{value:s})?L0=getObjectMemberKey(o):(0,_index$a.isObjectMethod)(s)||(0,_index$a.isClassMethod)(s)?(L0=getObjectMemberKey(s),s.kind==="get"?F0="get ":s.kind==="set"&&(F0="set ")):(0,_index$a.isVariableDeclarator)(o,{init:s})?L0=o.id:(0,_index$a.isAssignmentExpression)(o,{operator:"=",right:s})&&(L0=o.left),!L0)return null;const B0=(0,_index$a.isLiteral)(L0)?getNameFromLiteralId$1(L0):(0,_index$a.isIdentifier)(L0)?L0.name:(0,_index$a.isPrivateName)(L0)?L0.id.name:null;return B0==null?null:{name:F0+B0,originalNode:L0}}var traverse$4={};Object.defineProperty(traverse$4,"__esModule",{value:!0});traverse$4.default=traverse$3;var _index$9=requireDefinitions$1();function traverse$3(s,o,F0){typeof o=="function"&&(o={enter:o});const{enter:L0,exit:B0}=o;traverseSimpleImpl$1(s,L0,B0,F0,[])}function traverseSimpleImpl$1(s,o,F0,L0,B0){const q0=_index$9.VISITOR_KEYS[s.type];if(q0){o&&o(s,B0,L0);for(const W0 of q0){const X0=s[W0];if(Array.isArray(X0))for(let K0=0;K0<X0.length;K0++){const D_=X0[K0];D_&&(B0.push({node:s,key:W0,index:K0}),traverseSimpleImpl$1(D_,o,F0,L0,B0),B0.pop())}else X0&&(B0.push({node:s,key:W0}),traverseSimpleImpl$1(X0,o,F0,L0,B0),B0.pop())}F0&&F0(s,B0,L0)}}var isBinding$4={};Object.defineProperty(isBinding$4,"__esModule",{value:!0});isBinding$4.default=isBinding$3;var _getBindingIdentifiers$4=getBindingIdentifiers$3;function isBinding$3(s,o,F0){if(F0&&s.type==="Identifier"&&o.type==="ObjectProperty"&&F0.type==="ObjectExpression")return!1;const L0=_getBindingIdentifiers$4.default.keys[o.type];if(L0)for(let B0=0;B0<L0.length;B0++){const q0=L0[B0],W0=o[q0];if(Array.isArray(W0)){if(W0.includes(s))return!0}else if(W0===s)return!0}return!1}var isBlockScoped$4={},isLet$3={};Object.defineProperty(isLet$3,"__esModule",{value:!0});isLet$3.default=isLet$2;var _index$8=generated$8,BLOCK_SCOPED_SYMBOL$2=Symbol.for("var used to be block scoped");function isLet$2(s){return(0,_index$8.isVariableDeclaration)(s)&&(s.kind!=="var"||s[BLOCK_SCOPED_SYMBOL$2])}Object.defineProperty(isBlockScoped$4,"__esModule",{value:!0});isBlockScoped$4.default=isBlockScoped$3;var _index$7=generated$8,_isLet$1=isLet$3;function isBlockScoped$3(s){return(0,_index$7.isFunctionDeclaration)(s)||(0,_index$7.isClassDeclaration)(s)||(0,_isLet$1.default)(s)}var isImmutable$4={};Object.defineProperty(isImmutable$4,"__esModule",{value:!0});isImmutable$4.default=isImmutable$3;var _isType$1=requireIsType$1(),_index$6=generated$8;function isImmutable$3(s){return(0,_isType$1.default)(s.type,"Immutable")?!0:(0,_index$6.isIdentifier)(s)?s.name==="undefined":!1}var isNodesEquivalent$3={};Object.defineProperty(isNodesEquivalent$3,"__esModule",{value:!0});isNodesEquivalent$3.default=isNodesEquivalent$2;var _index$5=requireDefinitions$1();function isNodesEquivalent$2(s,o){if(typeof s!="object"||typeof o!="object"||s==null||o==null)return s===o;if(s.type!==o.type)return!1;const F0=Object.keys(_index$5.NODE_FIELDS[s.type]||s.type),L0=_index$5.VISITOR_KEYS[s.type];for(const B0 of F0){const q0=s[B0],W0=o[B0];if(typeof q0!=typeof W0)return!1;if(!(q0==null&&W0==null)){if(q0==null||W0==null)return!1;if(Array.isArray(q0)){if(!Array.isArray(W0)||q0.length!==W0.length)return!1;for(let X0=0;X0<q0.length;X0++)if(!isNodesEquivalent$2(q0[X0],W0[X0]))return!1;continue}if(typeof q0=="object"&&!(L0!=null&&L0.includes(B0))){for(const X0 of Object.keys(q0))if(q0[X0]!==W0[X0])return!1;continue}if(!isNodesEquivalent$2(q0,W0))return!1}}return!0}var isReferenced$4={};Object.defineProperty(isReferenced$4,"__esModule",{value:!0});isReferenced$4.default=isReferenced$3;function isReferenced$3(s,o,F0){switch(o.type){case"MemberExpression":case"OptionalMemberExpression":return o.property===s?!!o.computed:o.object===s;case"JSXMemberExpression":return o.object===s;case"VariableDeclarator":return o.init===s;case"ArrowFunctionExpression":return o.body===s;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return o.key===s?!!o.computed:!1;case"ObjectProperty":return o.key===s?!!o.computed:(F0==null?void 0:F0.type)!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return o.key===s?!!o.computed:!0;case"ClassPrivateProperty":return o.key!==s;case"ClassDeclaration":case"ClassExpression":return o.superClass===s;case"AssignmentExpression":return o.right===s;case"AssignmentPattern":return o.right===s;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return F0!=null&&F0.source?!1:o.local===s;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return o.key!==s;case"TSEnumMember":return o.id!==s;case"TSPropertySignature":return o.key===s?!!o.computed:!0}return!0}var isScope$4={};Object.defineProperty(isScope$4,"__esModule",{value:!0});isScope$4.default=isScope$3;var _index$4=generated$8;function isScope$3(s,o){return(0,_index$4.isBlockStatement)(s)&&((0,_index$4.isFunction)(o)||(0,_index$4.isCatchClause)(o))?!1:(0,_index$4.isPattern)(s)&&((0,_index$4.isFunction)(o)||(0,_index$4.isCatchClause)(o))?!0:(0,_index$4.isScopable)(s)}var isSpecifierDefault$3={};Object.defineProperty(isSpecifierDefault$3,"__esModule",{value:!0});isSpecifierDefault$3.default=isSpecifierDefault$2;var _index$3=generated$8;function isSpecifierDefault$2(s){return(0,_index$3.isImportDefaultSpecifier)(s)||(0,_index$3.isIdentifier)(s.imported||s.exported,{name:"default"})}var isValidES3Identifier$3={};Object.defineProperty(isValidES3Identifier$3,"__esModule",{value:!0});isValidES3Identifier$3.default=isValidES3Identifier$2;var _isValidIdentifier$3=isValidIdentifier$3;const RESERVED_WORDS_ES3_ONLY$1=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function isValidES3Identifier$2(s){return(0,_isValidIdentifier$3.default)(s)&&!RESERVED_WORDS_ES3_ONLY$1.has(s)}var isVar$4={};Object.defineProperty(isVar$4,"__esModule",{value:!0});isVar$4.default=isVar$3;var _index$2=generated$8,BLOCK_SCOPED_SYMBOL$1=Symbol.for("var used to be block scoped");function isVar$3(s){return(0,_index$2.isVariableDeclaration)(s,{kind:"var"})&&!s[BLOCK_SCOPED_SYMBOL$1]}var toSequenceExpression$3={},gatherSequenceExpressions$3={};Object.defineProperty(gatherSequenceExpressions$3,"__esModule",{value:!0});gatherSequenceExpressions$3.default=gatherSequenceExpressions$2;var _getBindingIdentifiers$3=getBindingIdentifiers$3,_index$1=generated$8,_index2=generated$7,_productions=productions,_cloneNode$6=cloneNode$7;function gatherSequenceExpressions$2(s,o){const F0=[];let L0=!0;for(const B0 of s)if((0,_index$1.isEmptyStatement)(B0)||(L0=!1),(0,_index$1.isExpression)(B0))F0.push(B0);else if((0,_index$1.isExpressionStatement)(B0))F0.push(B0.expression);else if((0,_index$1.isVariableDeclaration)(B0)){if(B0.kind!=="var")return;for(const q0 of B0.declarations){const W0=(0,_getBindingIdentifiers$3.default)(q0);for(const X0 of Object.keys(W0))o.push({kind:B0.kind,id:(0,_cloneNode$6.default)(W0[X0])});q0.init&&F0.push((0,_index2.assignmentExpression)("=",q0.id,q0.init))}L0=!0}else if((0,_index$1.isIfStatement)(B0)){const q0=B0.consequent?gatherSequenceExpressions$2([B0.consequent],o):(0,_productions.buildUndefinedNode)(),W0=B0.alternate?gatherSequenceExpressions$2([B0.alternate],o):(0,_productions.buildUndefinedNode)();if(!q0||!W0)return;F0.push((0,_index2.conditionalExpression)(B0.test,q0,W0))}else if((0,_index$1.isBlockStatement)(B0)){const q0=gatherSequenceExpressions$2(B0.body,o);if(!q0)return;F0.push(q0)}else if((0,_index$1.isEmptyStatement)(B0))s.indexOf(B0)===0&&(L0=!0);else return;return L0&&F0.push((0,_productions.buildUndefinedNode)()),F0.length===1?F0[0]:(0,_index2.sequenceExpression)(F0)}Object.defineProperty(toSequenceExpression$3,"__esModule",{value:!0});toSequenceExpression$3.default=toSequenceExpression$2;var _gatherSequenceExpressions$1=gatherSequenceExpressions$3;function toSequenceExpression$2(s,o){if(!(s!=null&&s.length))return;const F0=[],L0=(0,_gatherSequenceExpressions$1.default)(s,F0);if(L0){for(const B0 of F0)o.push(B0);return L0}}var hasRequiredLib$2;function requireLib$2(){return hasRequiredLib$2||(hasRequiredLib$2=1,function(s){var o={};Object.defineProperty(s,"__esModule",{value:!0});var F0={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(s,"__internal__deprecationWarning",{enumerable:!0,get:function(){return uE.default}}),Object.defineProperty(s,"addComment",{enumerable:!0,get:function(){return S1.default}}),Object.defineProperty(s,"addComments",{enumerable:!0,get:function(){return iv.default}}),Object.defineProperty(s,"appendToMemberExpression",{enumerable:!0,get:function(){return WT.default}}),Object.defineProperty(s,"assertNode",{enumerable:!0,get:function(){return W0.default}}),Object.defineProperty(s,"buildMatchMemberExpression",{enumerable:!0,get:function(){return B3.default}}),Object.defineProperty(s,"clone",{enumerable:!0,get:function(){return H_.default}}),Object.defineProperty(s,"cloneDeep",{enumerable:!0,get:function(){return Oy.default}}),Object.defineProperty(s,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return qv.default}}),Object.defineProperty(s,"cloneNode",{enumerable:!0,get:function(){return z_.default}}),Object.defineProperty(s,"cloneWithoutLoc",{enumerable:!0,get:function(){return Lv.default}}),Object.defineProperty(s,"createFlowUnionType",{enumerable:!0,get:function(){return D_.default}}),Object.defineProperty(s,"createTSUnionType",{enumerable:!0,get:function(){return I_.default}}),Object.defineProperty(s,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return K0.default}}),Object.defineProperty(s,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return D_.default}}),Object.defineProperty(s,"ensureBlock",{enumerable:!0,get:function(){return iT.default}}),Object.defineProperty(s,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return mS.default}}),Object.defineProperty(s,"getBindingIdentifiers",{enumerable:!0,get:function(){return bE.default}}),Object.defineProperty(s,"getFunctionName",{enumerable:!0,get:function(){return W3.default}}),Object.defineProperty(s,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return R7.default}}),Object.defineProperty(s,"inheritInnerComments",{enumerable:!0,get:function(){return Yv.default}}),Object.defineProperty(s,"inheritLeadingComments",{enumerable:!0,get:function(){return _x.default}}),Object.defineProperty(s,"inheritTrailingComments",{enumerable:!0,get:function(){return Fx.default}}),Object.defineProperty(s,"inherits",{enumerable:!0,get:function(){return A7.default}}),Object.defineProperty(s,"inheritsComments",{enumerable:!0,get:function(){return Qv.default}}),Object.defineProperty(s,"is",{enumerable:!0,get:function(){return XE.default}}),Object.defineProperty(s,"isBinding",{enumerable:!0,get:function(){return rS.default}}),Object.defineProperty(s,"isBlockScoped",{enumerable:!0,get:function(){return OT.default}}),Object.defineProperty(s,"isImmutable",{enumerable:!0,get:function(){return T7.default}}),Object.defineProperty(s,"isLet",{enumerable:!0,get:function(){return E7.default}}),Object.defineProperty(s,"isNode",{enumerable:!0,get:function(){return VT.default}}),Object.defineProperty(s,"isNodesEquivalent",{enumerable:!0,get:function(){return kS.default}}),Object.defineProperty(s,"isPlaceholderType",{enumerable:!0,get:function(){return _T.default}}),Object.defineProperty(s,"isReferenced",{enumerable:!0,get:function(){return LS.default}}),Object.defineProperty(s,"isScope",{enumerable:!0,get:function(){return hE.default}}),Object.defineProperty(s,"isSpecifierDefault",{enumerable:!0,get:function(){return yS.default}}),Object.defineProperty(s,"isType",{enumerable:!0,get:function(){return BD.default}}),Object.defineProperty(s,"isValidES3Identifier",{enumerable:!0,get:function(){return wT.default}}),Object.defineProperty(s,"isValidIdentifier",{enumerable:!0,get:function(){return dT.default}}),Object.defineProperty(s,"isVar",{enumerable:!0,get:function(){return RT.default}}),Object.defineProperty(s,"matchesPattern",{enumerable:!0,get:function(){return KS.default}}),Object.defineProperty(s,"prependToMemberExpression",{enumerable:!0,get:function(){return U7.default}}),s.react=void 0,Object.defineProperty(s,"removeComments",{enumerable:!0,get:function(){return jx.default}}),Object.defineProperty(s,"removeProperties",{enumerable:!0,get:function(){return OS.default}}),Object.defineProperty(s,"removePropertiesDeep",{enumerable:!0,get:function(){return wE.default}}),Object.defineProperty(s,"removeTypeDuplicates",{enumerable:!0,get:function(){return xT.default}}),Object.defineProperty(s,"shallowEqual",{enumerable:!0,get:function(){return JS.default}}),Object.defineProperty(s,"toBindingIdentifierName",{enumerable:!0,get:function(){return $7.default}}),Object.defineProperty(s,"toBlock",{enumerable:!0,get:function(){return F7.default}}),Object.defineProperty(s,"toComputedKey",{enumerable:!0,get:function(){return aE.default}}),Object.defineProperty(s,"toExpression",{enumerable:!0,get:function(){return gS.default}}),Object.defineProperty(s,"toIdentifier",{enumerable:!0,get:function(){return eS.default}}),Object.defineProperty(s,"toKeyAlias",{enumerable:!0,get:function(){return lT.default}}),Object.defineProperty(s,"toStatement",{enumerable:!0,get:function(){return UT.default}}),Object.defineProperty(s,"traverse",{enumerable:!0,get:function(){return bT.default}}),Object.defineProperty(s,"traverseFast",{enumerable:!0,get:function(){return Z7.default}}),Object.defineProperty(s,"validate",{enumerable:!0,get:function(){return sE.default}}),Object.defineProperty(s,"valueToNode",{enumerable:!0,get:function(){return pT.default}});var L0=isReactComponent$3,B0=isCompatTag$4,q0=requireBuildChildren(),W0=assertNode$3,X0=generated$6;Object.keys(X0).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===X0[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return X0[d3]}})});var K0=createTypeAnnotationBasedOnTypeof$4,D_=createFlowUnionType$4,I_=createTSUnionType$4,F_=productions;Object.keys(F_).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===F_[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return F_[d3]}})});var R_=generated$7;Object.keys(R_).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===R_[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return R_[d3]}})});var z_=cloneNode$7,H_=clone$4,Oy=cloneDeep$3,qv=cloneDeepWithoutLoc$3,Lv=cloneWithoutLoc$3,S1=addComment$4,iv=addComments$4,Yv=inheritInnerComments$3,_x=inheritLeadingComments$3,Qv=inheritsComments$3,Fx=inheritTrailingComments$3,jx=removeComments$3,K7=generated$5;Object.keys(K7).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===K7[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return K7[d3]}})});var g7=constants$2;Object.keys(g7).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===g7[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return g7[d3]}})});var iT=ensureBlock$4,$7=toBindingIdentifierName$4,F7=toBlock$3,aE=toComputedKey$4,gS=toExpression$4,eS=toIdentifier$3,lT=toKeyAlias$3,UT=toStatement$3,pT=valueToNode$3,D7=requireDefinitions$1();Object.keys(D7).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===D7[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return D7[d3]}})});var WT=appendToMemberExpression$3,A7=inherits$3,U7=requirePrependToMemberExpression(),OS=removeProperties$3,wE=removePropertiesDeep$4,xT=removeTypeDuplicates$7,mS=getAssignmentIdentifiers$1,bE=getBindingIdentifiers$3,R7=getOuterBindingIdentifiers$3,W3=getFunctionName$1,bT=traverse$4;Object.keys(bT).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===bT[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return bT[d3]}})});var Z7=traverseFast$4,JS=shallowEqual$3,XE=requireIs$1(),rS=isBinding$4,OT=isBlockScoped$4,T7=isImmutable$4,E7=isLet$3,VT=isNode$3,kS=isNodesEquivalent$3,_T=requireIsPlaceholderType$1(),LS=isReferenced$4,hE=isScope$4,yS=isSpecifierDefault$3,BD=requireIsType$1(),wT=isValidES3Identifier$3,dT=isValidIdentifier$3,RT=isVar$4,KS=matchesPattern$4,sE=requireValidate$1(),B3=buildMatchMemberExpression$3,yC=generated$8;Object.keys(yC).forEach(function(d3){d3==="default"||d3==="__esModule"||Object.prototype.hasOwnProperty.call(F0,d3)||d3 in s&&s[d3]===yC[d3]||Object.defineProperty(s,d3,{enumerable:!0,get:function(){return yC[d3]}})});var uE=deprecationWarning$2,_C=toSequenceExpression$3;s.react={isReactComponent:L0.default,isCompatTag:B0.default,buildChildren:q0.default},s.toSequenceExpression=_C.default,o.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")}(lib$c)),lib$c}Object.defineProperty(visitors,"__esModule",{value:!0});visitors.explode=explode;visitors.isExplodedVisitor=isExplodedVisitor;visitors.merge=merge$5;visitors.verify=verify;var virtualTypes=virtualTypes$1,_t$t=requireLib$2();const{DEPRECATED_KEYS,DEPRECATED_ALIASES,FLIPPED_ALIAS_KEYS:FLIPPED_ALIAS_KEYS$2,TYPES,__internal__deprecationWarning:deprecationWarning}=_t$t;function isVirtualType(s){return s in virtualTypes}function isExplodedVisitor(s){return s==null?void 0:s._exploded}function explode(s){if(isExplodedVisitor(s))return s;s._exploded=!0;for(const o of Object.keys(s)){if(shouldIgnoreKey(o))continue;const F0=o.split("|");if(F0.length===1)continue;const L0=s[o];delete s[o];for(const B0 of F0)s[B0]=L0}verify(s),delete s.__esModule,ensureEntranceObjects(s),ensureCallbackArrays(s);for(const o of Object.keys(s)){if(shouldIgnoreKey(o)||!isVirtualType(o))continue;const F0=s[o];for(const B0 of Object.keys(F0))F0[B0]=wrapCheck(o,F0[B0]);delete s[o];const L0=virtualTypes[o];if(L0!==null)for(const B0 of L0)s[B0]?mergePair(s[B0],F0):s[B0]=F0;else mergePair(s,F0)}for(const o of Object.keys(s)){if(shouldIgnoreKey(o))continue;let F0=FLIPPED_ALIAS_KEYS$2[o];if(o in DEPRECATED_KEYS){const B0=DEPRECATED_KEYS[o];deprecationWarning(o,B0,"Visitor "),F0=[B0]}else if(o in DEPRECATED_ALIASES){const B0=DEPRECATED_ALIASES[o];deprecationWarning(o,B0,"Visitor "),F0=FLIPPED_ALIAS_KEYS$2[B0]}if(!F0)continue;const L0=s[o];delete s[o];for(const B0 of F0){const q0=s[B0];q0?mergePair(q0,L0):s[B0]=Object.assign({},L0)}}for(const o of Object.keys(s))shouldIgnoreKey(o)||ensureCallbackArrays(s[o]);return s}function verify(s){if(!s._verified){if(typeof s=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const o of Object.keys(s)){if((o==="enter"||o==="exit")&&validateVisitorMethods(o,s[o]),shouldIgnoreKey(o))continue;if(TYPES.indexOf(o)<0)throw new Error(`You gave us a visitor for the node type ${o} but it's not a valid type`);const F0=s[o];if(typeof F0=="object")for(const L0 of Object.keys(F0))if(L0==="enter"||L0==="exit")validateVisitorMethods(`${o}.${L0}`,F0[L0]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${o} that has the invalid property ${L0}`)}s._verified=!0}}function validateVisitorMethods(s,o){const F0=[].concat(o);for(const L0 of F0)if(typeof L0!="function")throw new TypeError(`Non-function found defined in ${s} with type ${typeof L0}`)}function merge$5(s,o=[],F0){const L0={};for(let B0=0;B0<s.length;B0++){const q0=explode(s[B0]),W0=o[B0];let X0=q0;(W0||F0)&&(X0=wrapWithStateOrWrapper(X0,W0,F0)),mergePair(L0,X0);for(const K0 of Object.keys(q0)){if(shouldIgnoreKey(K0))continue;let D_=q0[K0];(W0||F0)&&(D_=wrapWithStateOrWrapper(D_,W0,F0));const I_=L0[K0]||(L0[K0]={});mergePair(I_,D_)}}return L0}function wrapWithStateOrWrapper(s,o,F0){const L0={};for(const B0 of["enter","exit"]){let q0=s[B0];Array.isArray(q0)&&(q0=q0.map(function(W0){let X0=W0;return o&&(X0=function(K0){W0.call(o,K0,o)}),F0&&(X0=F0(o==null?void 0:o.key,B0,X0)),X0!==W0&&(X0.toString=()=>W0.toString()),X0}),L0[B0]=q0)}return L0}function ensureEntranceObjects(s){for(const o of Object.keys(s)){if(shouldIgnoreKey(o))continue;const F0=s[o];typeof F0=="function"&&(s[o]={enter:F0})}}function ensureCallbackArrays(s){s.enter&&!Array.isArray(s.enter)&&(s.enter=[s.enter]),s.exit&&!Array.isArray(s.exit)&&(s.exit=[s.exit])}function wrapCheck(s,o){const F0=function(L0){if(L0[`is${s}`]())return o.apply(this,arguments)};return F0.toString=()=>o.toString(),F0}function shouldIgnoreKey(s){return s[0]==="_"||s==="enter"||s==="exit"||s==="shouldSkip"||s==="denylist"||s==="noScope"||s==="skipKeys"||s==="blacklist"}function mergePair(s,o){for(const F0 of["enter","exit"])o[F0]&&(s[F0]=[].concat(s[F0]||[],o[F0]))}var cache={};Object.defineProperty(cache,"__esModule",{value:!0});cache.clear=clear;cache.clearPath=clearPath;cache.clearScope=clearScope;cache.getCachedPaths=getCachedPaths;cache.getOrCreateCachedPaths=getOrCreateCachedPaths;cache.scope=cache.path=void 0;let pathsCache=new WeakMap;cache.path=pathsCache;let scope$1=new WeakMap;cache.scope=scope$1;function clear(){clearPath(),clearScope()}function clearPath(){cache.path=pathsCache=new WeakMap}function clearScope(){cache.scope=scope$1=new WeakMap}const nullHub=Object.freeze({});function getCachedPaths(s,o){var F0,L0;return s=null,(F0=pathsCache.get((L0=s)!=null?L0:nullHub))==null?void 0:F0.get(o)}function getOrCreateCachedPaths(s,o){var F0,L0;s=null;let B0=pathsCache.get((F0=s)!=null?F0:nullHub);B0||pathsCache.set((L0=s)!=null?L0:nullHub,B0=new WeakMap);let q0=B0.get(o);return q0||B0.set(o,q0=new Map),q0}var traverseNode={},context$2={},path$1={},browser$3={exports:{}},ms$2,hasRequiredMs;function requireMs(){if(hasRequiredMs)return ms$2;hasRequiredMs=1;var s=1e3,o=s*60,F0=o*60,L0=F0*24,B0=L0*7,q0=L0*365.25;ms$2=function(I_,F_){F_=F_||{};var R_=typeof I_;if(R_==="string"&&I_.length>0)return W0(I_);if(R_==="number"&&isFinite(I_))return F_.long?K0(I_):X0(I_);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(I_))};function W0(I_){if(I_=String(I_),!(I_.length>100)){var F_=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(I_);if(F_){var R_=parseFloat(F_[1]),z_=(F_[2]||"ms").toLowerCase();switch(z_){case"years":case"year":case"yrs":case"yr":case"y":return R_*q0;case"weeks":case"week":case"w":return R_*B0;case"days":case"day":case"d":return R_*L0;case"hours":case"hour":case"hrs":case"hr":case"h":return R_*F0;case"minutes":case"minute":case"mins":case"min":case"m":return R_*o;case"seconds":case"second":case"secs":case"sec":case"s":return R_*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return R_;default:return}}}}function X0(I_){var F_=Math.abs(I_);return F_>=L0?Math.round(I_/L0)+"d":F_>=F0?Math.round(I_/F0)+"h":F_>=o?Math.round(I_/o)+"m":F_>=s?Math.round(I_/s)+"s":I_+"ms"}function K0(I_){var F_=Math.abs(I_);return F_>=L0?D_(I_,F_,L0,"day"):F_>=F0?D_(I_,F_,F0,"hour"):F_>=o?D_(I_,F_,o,"minute"):F_>=s?D_(I_,F_,s,"second"):I_+" ms"}function D_(I_,F_,R_,z_){var H_=F_>=R_*1.5;return Math.round(I_/R_)+" "+z_+(H_?"s":"")}return ms$2}function setup(s){F0.debug=F0,F0.default=F0,F0.coerce=K0,F0.disable=W0,F0.enable=B0,F0.enabled=X0,F0.humanize=requireMs(),F0.destroy=D_,Object.keys(s).forEach(I_=>{F0[I_]=s[I_]}),F0.names=[],F0.skips=[],F0.formatters={};function o(I_){let F_=0;for(let R_=0;R_<I_.length;R_++)F_=(F_<<5)-F_+I_.charCodeAt(R_),F_|=0;return F0.colors[Math.abs(F_)%F0.colors.length]}F0.selectColor=o;function F0(I_){let F_,R_=null,z_,H_;function Oy(...qv){if(!Oy.enabled)return;const Lv=Oy,S1=Number(new Date),iv=S1-(F_||S1);Lv.diff=iv,Lv.prev=F_,Lv.curr=S1,F_=S1,qv[0]=F0.coerce(qv[0]),typeof qv[0]!="string"&&qv.unshift("%O");let Yv=0;qv[0]=qv[0].replace(/%([a-zA-Z%])/g,(Qv,Fx)=>{if(Qv==="%%")return"%";Yv++;const jx=F0.formatters[Fx];if(typeof jx=="function"){const K7=qv[Yv];Qv=jx.call(Lv,K7),qv.splice(Yv,1),Yv--}return Qv}),F0.formatArgs.call(Lv,qv),(Lv.log||F0.log).apply(Lv,qv)}return Oy.namespace=I_,Oy.useColors=F0.useColors(),Oy.color=F0.selectColor(I_),Oy.extend=L0,Oy.destroy=F0.destroy,Object.defineProperty(Oy,"enabled",{enumerable:!0,configurable:!1,get:()=>R_!==null?R_:(z_!==F0.namespaces&&(z_=F0.namespaces,H_=F0.enabled(I_)),H_),set:qv=>{R_=qv}}),typeof F0.init=="function"&&F0.init(Oy),Oy}function L0(I_,F_){const R_=F0(this.namespace+(typeof F_>"u"?":":F_)+I_);return R_.log=this.log,R_}function B0(I_){F0.save(I_),F0.namespaces=I_,F0.names=[],F0.skips=[];const F_=(typeof I_=="string"?I_:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const R_ of F_)R_[0]==="-"?F0.skips.push(R_.slice(1)):F0.names.push(R_)}function q0(I_,F_){let R_=0,z_=0,H_=-1,Oy=0;for(;R_<I_.length;)if(z_<F_.length&&(F_[z_]===I_[R_]||F_[z_]==="*"))F_[z_]==="*"?(H_=z_,Oy=R_,z_++):(R_++,z_++);else if(H_!==-1)z_=H_+1,Oy++,R_=Oy;else return!1;for(;z_<F_.length&&F_[z_]==="*";)z_++;return z_===F_.length}function W0(){const I_=[...F0.names,...F0.skips.map(F_=>"-"+F_)].join(",");return F0.enable(""),I_}function X0(I_){for(const F_ of F0.skips)if(q0(I_,F_))return!1;for(const F_ of F0.names)if(q0(I_,F_))return!0;return!1}function K0(I_){return I_ instanceof Error?I_.stack||I_.message:I_}function D_(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return F0.enable(F0.load()),F0}var common=setup;(function(s,o){var F0={};o.formatArgs=B0,o.save=q0,o.load=W0,o.useColors=L0,o.storage=X0(),o.destroy=(()=>{let D_=!1;return()=>{D_||(D_=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function L0(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let D_;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(D_=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(D_[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function B0(D_){if(D_[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+D_[0]+(this.useColors?"%c ":" ")+"+"+s.exports.humanize(this.diff),!this.useColors)return;const I_="color: "+this.color;D_.splice(1,0,I_,"color: inherit");let F_=0,R_=0;D_[0].replace(/%[a-zA-Z%]/g,z_=>{z_!=="%%"&&(F_++,z_==="%c"&&(R_=F_))}),D_.splice(R_,0,I_)}o.log=console.debug||console.log||(()=>{});function q0(D_){try{D_?o.storage.setItem("debug",D_):o.storage.removeItem("debug")}catch{}}function W0(){let D_;try{D_=o.storage.getItem("debug")||o.storage.getItem("DEBUG")}catch{}return!D_&&typeof process<"u"&&"env"in process&&(D_=F0.DEBUG),D_}function X0(){try{return localStorage}catch{}}s.exports=common(o);const{formatters:K0}=s.exports;K0.j=function(D_){try{return JSON.stringify(D_)}catch(I_){return"[UnexpectedJSONParseError]: "+I_.message}}})(browser$3,browser$3.exports);var browserExports=browser$3.exports,scope={},renamer={},lib$9={};Object.defineProperty(lib$9,"__esModule",{value:!0});lib$9.default=splitExportDeclaration;var _t$s=requireLib$2();const{cloneNode:cloneNode$5,exportNamedDeclaration:exportNamedDeclaration$1,exportSpecifier:exportSpecifier$1,identifier:identifier$5,variableDeclaration:variableDeclaration$2,variableDeclarator:variableDeclarator$2}=_t$s;function splitExportDeclaration(s){if(!s.isExportDeclaration()||s.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(s.isExportDefaultDeclaration()){const q0=s.get("declaration"),W0=q0.isFunctionDeclaration()||q0.isClassDeclaration(),X0=q0.isFunctionExpression()||q0.isClassExpression(),K0=q0.isScope()?q0.scope.parent:q0.scope;let D_=q0.node.id,I_=!1;D_?X0&&K0.hasBinding(D_.name)&&(I_=!0,D_=K0.generateUidIdentifier(D_.name)):(I_=!0,D_=K0.generateUidIdentifier("default"),(W0||X0)&&(q0.node.id=cloneNode$5(D_)));const F_=W0?q0.node:variableDeclaration$2("var",[variableDeclarator$2(cloneNode$5(D_),q0.node)]),R_=exportNamedDeclaration$1(null,[exportSpecifier$1(cloneNode$5(D_),identifier$5("default"))]);return s.insertAfter(R_),s.replaceWith(F_),I_&&K0.registerDeclaration(s),s}else if(s.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const o=s.get("declaration"),F0=o.getOuterBindingIdentifiers(),L0=Object.keys(F0).map(q0=>exportSpecifier$1(identifier$5(q0),identifier$5(q0))),B0=exportNamedDeclaration$1(null,L0);return s.insertAfter(B0),s.replaceWith(o.node),s}var lib$8={};Object.defineProperty(lib$8,"__esModule",{value:!0});lib$8.default=void 0;lib$8.requeueComputedKeyAndDecorators=requeueComputedKeyAndDecorators;lib$8.skipAllButComputedKey=function(o){o.skip(),o.node.computed&&o.context.maybeQueue(o.get("key"))};function requeueComputedKeyAndDecorators(s){const{context:o,node:F0}=s;if(F0.computed&&o.maybeQueue(s.get("key")),F0.decorators)for(const L0 of s.get("decorators"))o.maybeQueue(L0)}const visitor$2={FunctionParent(s){s.isArrowFunctionExpression()||(s.skip(),s.isMethod()&&requeueComputedKeyAndDecorators(s))},Property(s){s.isObjectProperty()||(s.skip(),requeueComputedKeyAndDecorators(s))}};lib$8.default=visitor$2;var hasRequiredRenamer;function requireRenamer(){if(hasRequiredRenamer)return renamer;hasRequiredRenamer=1,Object.defineProperty(renamer,"__esModule",{value:!0}),renamer.default=void 0;var s=lib$9,o=requireLib$2(),F0=lib$8,L0=requireTraverseNode(),B0=visitors;const q0={ReferencedIdentifier({node:X0},K0){X0.name===K0.oldName&&(X0.name=K0.newName)},Scope(X0,K0){X0.scope.bindingIdentifierEquals(K0.oldName,K0.binding.identifier)||(X0.skip(),X0.isMethod()&&(0,F0.requeueComputedKeyAndDecorators)(X0))},ObjectProperty({node:X0,scope:K0},D_){const{name:I_}=X0.key;if(X0.shorthand&&(I_===D_.oldName||I_===D_.newName)&&K0.getBindingIdentifier(I_)===D_.binding.identifier){var F_;X0.shorthand=!1,(F_=X0.extra)!=null&&F_.shorthand&&(X0.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(X0,K0){if(X0.isVariableDeclaration())return;const D_=X0.getOuterBindingIdentifiers();for(const I_ in D_)I_===K0.oldName&&(D_[I_].name=K0.newName)}};class W0{constructor(K0,D_,I_){this.newName=I_,this.oldName=D_,this.binding=K0}maybeConvertFromExportDeclaration(K0){const D_=K0.parentPath;if(D_.isExportDeclaration()){if(D_.isExportDefaultDeclaration()){const{declaration:I_}=D_.node;if(o.isDeclaration(I_)&&!I_.id)return}D_.isExportAllDeclaration()||(0,s.default)(D_)}}maybeConvertFromClassFunctionDeclaration(K0){return K0}maybeConvertFromClassFunctionExpression(K0){return K0}rename(){const{binding:K0,oldName:D_,newName:I_}=this,{scope:F_,path:R_}=K0,z_=R_.find(Oy=>Oy.isDeclaration()||Oy.isFunctionExpression()||Oy.isClassExpression());z_&&z_.getOuterBindingIdentifiers()[D_]===K0.identifier&&this.maybeConvertFromExportDeclaration(z_);const H_=arguments[0]||F_.block;(0,L0.traverseNode)(H_,(0,B0.explode)(q0),F_,this,F_.path,{discriminant:!0}),arguments[0]||(F_.removeOwnBinding(D_),F_.bindings[I_]=K0,this.binding.identifier.name=I_),z_&&(this.maybeConvertFromClassFunctionDeclaration(R_),this.maybeConvertFromClassFunctionExpression(R_))}}return renamer.default=W0,renamer}var binding={};Object.defineProperty(binding,"__esModule",{value:!0});binding.default=void 0;class Binding{constructor({identifier:o,scope:F0,path:L0,kind:B0}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=o,this.scope=F0,this.path=L0,this.kind=B0,(B0==="var"||B0==="hoisted")&&isDeclaredInLoop(L0)&&this.reassign(L0),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(o){this.hasDeoptedValue||(this.hasValue=!0,this.value=o)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(o){this.constant=!1,this.constantViolations.indexOf(o)===-1&&this.constantViolations.push(o)}reference(o){this.referencePaths.indexOf(o)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(o))}dereference(){this.references--,this.referenced=!!this.references}}binding.default=Binding;function isDeclaredInLoop(s){for(let{parentPath:o,key:F0}=s;o;{parentPath:o,key:F0}=o){if(o.isFunctionParent())return!1;if(o.isWhile()||o.isForXStatement()||o.isForStatement()&&F0==="body")return!0}return!1}const builtin={Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},require$$0$3={builtin};var globals=require$$0$3,hasRequiredScope;function requireScope(){if(hasRequiredScope)return scope;hasRequiredScope=1,Object.defineProperty(scope,"__esModule",{value:!0}),scope.default=void 0;var s=requireRenamer(),o=requireLib$1(),F0=binding,L0=globals,B0=requireLib$2(),q0=B0,W0=cache,X0=visitors;const{NOT_LOCAL_BINDING:K0,callExpression:D_,cloneNode:I_,getBindingIdentifiers:F_,identifier:R_,isArrayExpression:z_,isBinary:H_,isClass:Oy,isClassBody:qv,isClassDeclaration:Lv,isExportAllDeclaration:S1,isExportDefaultDeclaration:iv,isExportNamedDeclaration:Yv,isFunctionDeclaration:_x,isIdentifier:Qv,isImportDeclaration:Fx,isLiteral:jx,isMethod:K7,isModuleSpecifier:g7,isNullLiteral:iT,isObjectExpression:$7,isProperty:F7,isPureish:aE,isRegExpLiteral:gS,isSuper:eS,isTaggedTemplateExpression:lT,isTemplateLiteral:UT,isThisExpression:pT,isUnaryExpression:D7,isVariableDeclaration:WT,matchesPattern:A7,memberExpression:U7,numericLiteral:OS,toIdentifier:wE,variableDeclaration:xT,variableDeclarator:mS,isRecordExpression:bE,isTupleExpression:R7,isObjectProperty:W3,isTopicReference:bT,isMetaProperty:Z7,isPrivateName:JS,isExportDeclaration:XE,buildUndefinedNode:rS}=B0;function OT(kS,_T){switch(kS==null?void 0:kS.type){default:if(Fx(kS)||XE(kS)){var LS;if((S1(kS)||Yv(kS)||Fx(kS))&&kS.source)OT(kS.source,_T);else if((Yv(kS)||Fx(kS))&&(LS=kS.specifiers)!=null&&LS.length)for(const hE of kS.specifiers)OT(hE,_T);else(iv(kS)||Yv(kS))&&kS.declaration&&OT(kS.declaration,_T)}else g7(kS)?OT(kS.local,_T):jx(kS)&&!iT(kS)&&!gS(kS)&&!UT(kS)&&_T.push(kS.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":OT(kS.object,_T),OT(kS.property,_T);break;case"Identifier":case"JSXIdentifier":_T.push(kS.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":OT(kS.callee,_T);break;case"ObjectExpression":case"ObjectPattern":for(const hE of kS.properties)OT(hE,_T);break;case"SpreadElement":case"RestElement":OT(kS.argument,_T);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":OT(kS.key,_T);break;case"ThisExpression":_T.push("this");break;case"Super":_T.push("super");break;case"Import":_T.push("import");break;case"DoExpression":_T.push("do");break;case"YieldExpression":_T.push("yield"),OT(kS.argument,_T);break;case"AwaitExpression":_T.push("await"),OT(kS.argument,_T);break;case"AssignmentExpression":OT(kS.left,_T);break;case"VariableDeclarator":OT(kS.id,_T);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":OT(kS.id,_T);break;case"PrivateName":OT(kS.id,_T);break;case"ParenthesizedExpression":OT(kS.expression,_T);break;case"UnaryExpression":case"UpdateExpression":OT(kS.argument,_T);break;case"MetaProperty":OT(kS.meta,_T),OT(kS.property,_T);break;case"JSXElement":OT(kS.openingElement,_T);break;case"JSXOpeningElement":OT(kS.name,_T);break;case"JSXFragment":OT(kS.openingFragment,_T);break;case"JSXOpeningFragment":_T.push("Fragment");break;case"JSXNamespacedName":OT(kS.namespace,_T),OT(kS.name,_T);break}}const T7={ForStatement(kS){const _T=kS.get("init");if(_T.isVar()){const{scope:LS}=kS;(LS.getFunctionParent()||LS.getProgramParent()).registerBinding("var",_T)}},Declaration(kS){if(kS.isBlockScoped()||kS.isImportDeclaration()||kS.isExportDeclaration())return;(kS.scope.getFunctionParent()||kS.scope.getProgramParent()).registerDeclaration(kS)},ImportDeclaration(kS){kS.scope.getBlockParent().registerDeclaration(kS)},ReferencedIdentifier(kS,_T){_T.references.push(kS)},ForXStatement(kS,_T){const LS=kS.get("left");if(LS.isPattern()||LS.isIdentifier())_T.constantViolations.push(kS);else if(LS.isVar()){const{scope:hE}=kS;(hE.getFunctionParent()||hE.getProgramParent()).registerBinding("var",LS)}},ExportDeclaration:{exit(kS){const{node:_T,scope:LS}=kS;if(S1(_T))return;const hE=_T.declaration;if(Lv(hE)||_x(hE)){const yS=hE.id;if(!yS)return;const BD=LS.getBinding(yS.name);BD==null||BD.reference(kS)}else if(WT(hE))for(const yS of hE.declarations)for(const BD of Object.keys(F_(yS))){const wT=LS.getBinding(BD);wT==null||wT.reference(kS)}}},LabeledStatement(kS){kS.scope.getBlockParent().registerDeclaration(kS)},AssignmentExpression(kS,_T){_T.assignments.push(kS)},UpdateExpression(kS,_T){_T.constantViolations.push(kS)},UnaryExpression(kS,_T){kS.node.operator==="delete"&&_T.constantViolations.push(kS)},BlockScoped(kS){let _T=kS.scope;if(_T.path===kS&&(_T=_T.parent),_T.getBlockParent().registerDeclaration(kS),kS.isClassDeclaration()&&kS.node.id){const yS=kS.node.id.name;kS.scope.bindings[yS]=kS.scope.parent.getBinding(yS)}},CatchClause(kS){kS.scope.registerBinding("let",kS)},Function(kS){const _T=kS.get("params");for(const LS of _T)kS.scope.registerBinding("param",LS);kS.isFunctionExpression()&&kS.has("id")&&!kS.get("id").node[K0]&&kS.scope.registerBinding("local",kS.get("id"),kS)},ClassExpression(kS){kS.has("id")&&!kS.get("id").node[K0]&&kS.scope.registerBinding("local",kS)}};let E7=0;class VT{constructor(_T){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;const{node:LS}=_T,hE=W0.scope.get(LS);if((hE==null?void 0:hE.path)===_T)return hE;W0.scope.set(LS,this),this.uid=E7++,this.block=LS,this.path=_T,this.labels=new Map,this.inited=!1}get parent(){var _T;let LS,hE=this.path;do{const yS=hE.key==="key"||hE.listKey==="decorators";hE=hE.parentPath,yS&&hE.isMethod()&&(hE=hE.parentPath),hE&&hE.isScope()&&(LS=hE)}while(hE&&!LS);return(_T=LS)==null?void 0:_T.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(_T,LS,hE){(0,o.default)(_T,LS,this,hE,this.path)}generateDeclaredUidIdentifier(_T){const LS=this.generateUidIdentifier(_T);return this.push({id:LS}),I_(LS)}generateUidIdentifier(_T){return R_(this.generateUid(_T))}generateUid(_T="temp"){_T=wE(_T).replace(/^_+/,"").replace(/[0-9]+$/g,"");let LS,hE=1;do LS=this._generateUid(_T,hE),hE++;while(this.hasLabel(LS)||this.hasBinding(LS)||this.hasGlobal(LS)||this.hasReference(LS));const yS=this.getProgramParent();return yS.references[LS]=!0,yS.uids[LS]=!0,LS}_generateUid(_T,LS){let hE=_T;return LS>1&&(hE+=LS),`_${hE}`}generateUidBasedOnNode(_T,LS){const hE=[];OT(_T,hE);let yS=hE.join("$");return yS=yS.replace(/^_/,"")||LS||"ref",this.generateUid(yS.slice(0,20))}generateUidIdentifierBasedOnNode(_T,LS){return R_(this.generateUidBasedOnNode(_T,LS))}isStatic(_T){if(pT(_T)||eS(_T)||bT(_T))return!0;if(Qv(_T)){const LS=this.getBinding(_T.name);return LS?LS.constant:this.hasBinding(_T.name)}return!1}maybeGenerateMemoised(_T,LS){if(this.isStatic(_T))return null;{const hE=this.generateUidIdentifierBasedOnNode(_T);return LS?hE:(this.push({id:hE}),I_(hE))}}checkBlockScopedCollisions(_T,LS,hE,yS){if(LS==="param"||_T.kind==="local")return;if(LS==="let"||_T.kind==="let"||_T.kind==="const"||_T.kind==="module"||_T.kind==="param"&&LS==="const")throw this.hub.buildError(yS,`Duplicate declaration "${hE}"`,TypeError)}rename(_T,LS){const hE=this.getBinding(_T);hE&&(LS||(LS=this.generateUidIdentifier(_T).name),new s.default(hE,_T,LS).rename(arguments[2]))}_renameFromMap(_T,LS,hE,yS){_T[LS]&&(_T[hE]=yS,_T[LS]=null)}dump(){const _T="-".repeat(60);console.log(_T);let LS=this;do{console.log("#",LS.block.type);for(const hE of Object.keys(LS.bindings)){const yS=LS.bindings[hE];console.log(" -",hE,{constant:yS.constant,references:yS.references,violations:yS.constantViolations.length,kind:yS.kind})}}while(LS=LS.parent);console.log(_T)}toArray(_T,LS,hE){if(Qv(_T)){const wT=this.getBinding(_T.name);if(wT!=null&&wT.constant&&wT.path.isGenericType("Array"))return _T}if(z_(_T))return _T;if(Qv(_T,{name:"arguments"}))return D_(U7(U7(U7(R_("Array"),R_("prototype")),R_("slice")),R_("call")),[_T]);let yS;const BD=[_T];return LS===!0?yS="toConsumableArray":typeof LS=="number"?(BD.push(OS(LS)),yS="slicedToArray"):yS="toArray",hE&&(BD.unshift(this.hub.addHelper(yS)),yS="maybeArrayLike"),D_(this.hub.addHelper(yS),BD)}hasLabel(_T){return!!this.getLabel(_T)}getLabel(_T){return this.labels.get(_T)}registerLabel(_T){this.labels.set(_T.node.label.name,_T)}registerDeclaration(_T){if(_T.isLabeledStatement())this.registerLabel(_T);else if(_T.isFunctionDeclaration())this.registerBinding("hoisted",_T.get("id"),_T);else if(_T.isVariableDeclaration()){const LS=_T.get("declarations"),{kind:hE}=_T.node;for(const yS of LS)this.registerBinding(hE==="using"||hE==="await using"?"const":hE,yS)}else if(_T.isClassDeclaration()){if(_T.node.declare)return;this.registerBinding("let",_T)}else if(_T.isImportDeclaration()){const LS=_T.node.importKind==="type"||_T.node.importKind==="typeof",hE=_T.get("specifiers");for(const yS of hE){const BD=LS||yS.isImportSpecifier()&&(yS.node.importKind==="type"||yS.node.importKind==="typeof");this.registerBinding(BD?"unknown":"module",yS)}}else if(_T.isExportDeclaration()){const LS=_T.get("declaration");(LS.isClassDeclaration()||LS.isFunctionDeclaration()||LS.isVariableDeclaration())&&this.registerDeclaration(LS)}else this.registerBinding("unknown",_T)}buildUndefinedNode(){return rS()}registerConstantViolation(_T){const LS=_T.getBindingIdentifiers();for(const yS of Object.keys(LS)){var hE;(hE=this.getBinding(yS))==null||hE.reassign(_T)}}registerBinding(_T,LS,hE=LS){if(!_T)throw new ReferenceError("no `kind`");if(LS.isVariableDeclaration()){const wT=LS.get("declarations");for(const dT of wT)this.registerBinding(_T,dT);return}const yS=this.getProgramParent(),BD=LS.getOuterBindingIdentifiers(!0);for(const wT of Object.keys(BD)){yS.references[wT]=!0;for(const dT of BD[wT]){const RT=this.getOwnBinding(wT);if(RT){if(RT.identifier===dT)continue;this.checkBlockScopedCollisions(RT,_T,wT,dT)}RT?this.registerConstantViolation(hE):this.bindings[wT]=new F0.default({identifier:dT,scope:this,path:hE,kind:_T})}}}addGlobal(_T){this.globals[_T.name]=_T}hasUid(_T){let LS=this;do if(LS.uids[_T])return!0;while(LS=LS.parent);return!1}hasGlobal(_T){let LS=this;do if(LS.globals[_T])return!0;while(LS=LS.parent);return!1}hasReference(_T){return!!this.getProgramParent().references[_T]}isPure(_T,LS){if(Qv(_T)){const wT=this.getBinding(_T.name);return wT?LS?wT.constant:!0:!1}else{if(pT(_T)||Z7(_T)||bT(_T)||JS(_T))return!0;if(Oy(_T)){var hE;return _T.superClass&&!this.isPure(_T.superClass,LS)||((hE=_T.decorators)==null?void 0:hE.length)>0?!1:this.isPure(_T.body,LS)}else if(qv(_T)){for(const wT of _T.body)if(!this.isPure(wT,LS))return!1;return!0}else{if(H_(_T))return this.isPure(_T.left,LS)&&this.isPure(_T.right,LS);if(z_(_T)||R7(_T)){for(const wT of _T.elements)if(wT!==null&&!this.isPure(wT,LS))return!1;return!0}else if($7(_T)||bE(_T)){for(const wT of _T.properties)if(!this.isPure(wT,LS))return!1;return!0}else if(K7(_T)){var yS;return!(_T.computed&&!this.isPure(_T.key,LS)||((yS=_T.decorators)==null?void 0:yS.length)>0)}else if(F7(_T)){var BD;return!(_T.computed&&!this.isPure(_T.key,LS)||((BD=_T.decorators)==null?void 0:BD.length)>0||(W3(_T)||_T.static)&&_T.value!==null&&!this.isPure(_T.value,LS))}else{if(D7(_T))return this.isPure(_T.argument,LS);if(lT(_T))return A7(_T.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(_T.quasi,LS);if(UT(_T)){for(const wT of _T.expressions)if(!this.isPure(wT,LS))return!1;return!0}else return aE(_T)}}}}setData(_T,LS){return this.data[_T]=LS}getData(_T){let LS=this;do{const hE=LS.data[_T];if(hE!=null)return hE}while(LS=LS.parent)}removeData(_T){let LS=this;do LS.data[_T]!=null&&(LS.data[_T]=null);while(LS=LS.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const _T=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);const LS=this.getProgramParent();if(LS.crawling)return;const hE={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,_T.type!=="Program"&&(0,X0.isExplodedVisitor)(T7)){for(const BD of T7.enter)BD.call(hE,_T,hE);const yS=T7[_T.type];if(yS)for(const BD of yS.enter)BD.call(hE,_T,hE)}_T.traverse(T7,hE),this.crawling=!1;for(const yS of hE.assignments){const BD=yS.getBindingIdentifiers();for(const wT of Object.keys(BD))yS.scope.getBinding(wT)||LS.addGlobal(BD[wT]);yS.scope.registerConstantViolation(yS)}for(const yS of hE.references){const BD=yS.scope.getBinding(yS.node.name);BD?BD.reference(yS):LS.addGlobal(yS.node)}for(const yS of hE.constantViolations)yS.scope.registerConstantViolation(yS)}push(_T){let LS=this.path;LS.isPattern()?LS=this.getPatternParent().path:!LS.isBlockStatement()&&!LS.isProgram()&&(LS=this.getBlockParent().path),LS.isSwitchStatement()&&(LS=(this.getFunctionParent()||this.getProgramParent()).path);const{init:hE,unique:yS,kind:BD="var",id:wT}=_T;if(!hE&&!yS&&(BD==="var"||BD==="let")&&LS.isFunction()&&!LS.node.name&&q0.isCallExpression(LS.parent,{callee:LS.node})&&LS.parent.arguments.length<=LS.node.params.length&&q0.isIdentifier(wT)){LS.pushContainer("params",wT),LS.scope.registerBinding("param",LS.get("params")[LS.node.params.length-1]);return}(LS.isLoop()||LS.isCatchClause()||LS.isFunction())&&(LS.ensureBlock(),LS=LS.get("body"));const dT=_T._blockHoist==null?2:_T._blockHoist,RT=`declaration:${BD}:${dT}`;let KS=!yS&&LS.getData(RT);if(!KS){const yC=xT(BD,[]);yC._blockHoist=dT,[KS]=LS.unshiftContainer("body",[yC]),yS||LS.setData(RT,KS)}const sE=mS(wT,hE),B3=KS.node.declarations.push(sE);LS.scope.registerBinding(BD,KS.get("declarations")[B3-1])}getProgramParent(){let _T=this;do if(_T.path.isProgram())return _T;while(_T=_T.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let _T=this;do if(_T.path.isFunctionParent())return _T;while(_T=_T.parent);return null}getBlockParent(){let _T=this;do if(_T.path.isBlockParent())return _T;while(_T=_T.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let _T=this;do if(!_T.path.isPattern())return _T.getBlockParent();while(_T=_T.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const _T=Object.create(null);let LS=this;do{for(const hE of Object.keys(LS.bindings))hE in _T||(_T[hE]=LS.bindings[hE]);LS=LS.parent}while(LS);return _T}getAllBindingsOfKind(..._T){const LS=Object.create(null);for(const hE of _T){let yS=this;do{for(const BD of Object.keys(yS.bindings)){const wT=yS.bindings[BD];wT.kind===hE&&(LS[BD]=wT)}yS=yS.parent}while(yS)}return LS}bindingIdentifierEquals(_T,LS){return this.getBindingIdentifier(_T)===LS}getBinding(_T){let LS=this,hE;do{const BD=LS.getOwnBinding(_T);if(BD){var yS;if(!((yS=hE)!=null&&yS.isPattern()&&BD.kind!=="param"&&BD.kind!=="local"))return BD}else if(!BD&&_T==="arguments"&&LS.path.isFunction()&&!LS.path.isArrowFunctionExpression())break;hE=LS.path}while(LS=LS.parent)}getOwnBinding(_T){return this.bindings[_T]}getBindingIdentifier(_T){var LS;return(LS=this.getBinding(_T))==null?void 0:LS.identifier}getOwnBindingIdentifier(_T){const LS=this.bindings[_T];return LS==null?void 0:LS.identifier}hasOwnBinding(_T){return!!this.getOwnBinding(_T)}hasBinding(_T,LS){var hE,yS,BD;return _T?!!(this.hasOwnBinding(_T)||(typeof LS=="boolean"&&(LS={noGlobals:LS}),this.parentHasBinding(_T,LS))||!((hE=LS)!=null&&hE.noUids)&&this.hasUid(_T)||!((yS=LS)!=null&&yS.noGlobals)&&VT.globals.includes(_T)||!((BD=LS)!=null&&BD.noGlobals)&&VT.contextVariables.includes(_T)):!1}parentHasBinding(_T,LS){var hE;return(hE=this.parent)==null?void 0:hE.hasBinding(_T,LS)}moveBindingTo(_T,LS){const hE=this.getBinding(_T);hE&&(hE.scope.removeOwnBinding(_T),hE.scope=LS,LS.bindings[_T]=hE)}removeOwnBinding(_T){delete this.bindings[_T]}removeBinding(_T){var LS;(LS=this.getBinding(_T))==null||LS.scope.removeOwnBinding(_T);let hE=this;do hE.uids[_T]&&(hE.uids[_T]=!1);while(hE=hE.parent)}}return scope.default=VT,VT.globals=Object.keys(L0.builtin),VT.contextVariables=["arguments","undefined","Infinity","NaN"],scope}var lib$7={},sourceMap$2={},genMapping_umd={exports:{}},traceMapping_umd={exports:{}};(function(s,o){(function(F0,L0){L0(s,requireResolveUri_umd(),requireSourcemapCodec_umd()),s.exports=B0(s);function B0(q0){return"default"in q0.exports?q0.exports.default:q0.exports}})(commonjsGlobal,function(F0,L0,B0){var q0=Object.create,W0=Object.defineProperty,X0=Object.getOwnPropertyDescriptor,K0=Object.getOwnPropertyNames,D_=Object.getPrototypeOf,I_=Object.prototype.hasOwnProperty,F_=(DE,iS)=>function(){return iS||(0,DE[K0(DE)[0]])((iS={exports:{}}).exports,iS),iS.exports},R_=(DE,iS)=>{for(var aS in iS)W0(DE,aS,{get:iS[aS],enumerable:!0})},z_=(DE,iS,aS,r3)=>{if(iS&&typeof iS=="object"||typeof iS=="function")for(let AD of K0(iS))!I_.call(DE,AD)&&AD!==aS&&W0(DE,AD,{get:()=>iS[AD],enumerable:!(r3=X0(iS,AD))||r3.enumerable});return DE},H_=(DE,iS,aS)=>(aS=DE!=null?q0(D_(DE)):{},z_(!DE||!DE.__esModule?W0(aS,"default",{value:DE,enumerable:!0}):aS,DE)),Oy=DE=>z_(W0({},"__esModule",{value:!0}),DE),qv=F_({"umd:@jridgewell/sourcemap-codec"(DE,iS){iS.exports=B0}}),Lv=F_({"umd:@jridgewell/resolve-uri"(DE,iS){iS.exports=L0}}),S1={};R_(S1,{AnyMap:()=>mS,FlattenMap:()=>mS,GREATEST_LOWER_BOUND:()=>rS,LEAST_UPPER_BOUND:()=>XE,TraceMap:()=>OT,allGeneratedPositionsFor:()=>hE,decodedMap:()=>KS,decodedMappings:()=>VT,eachMapping:()=>yS,encodedMap:()=>sE,encodedMappings:()=>E7,generatedPositionFor:()=>LS,isIgnored:()=>dT,originalPositionFor:()=>_T,presortedDecodedMap:()=>RT,sourceContentFor:()=>wT,traceSegment:()=>kS}),F0.exports=Oy(S1);var iv=H_(qv()),Yv=H_(Lv());function _x(DE){if(!DE)return"";const iS=DE.lastIndexOf("/");return DE.slice(0,iS+1)}function Qv(DE,iS){const aS=_x(DE),r3=iS?iS+"/":"";return AD=>(0,Yv.default)(r3+(AD||""),aS)}var Fx=0,jx=1,K7=2,g7=3,iT=4,$7=1,F7=2;function aE(DE,iS){const aS=gS(DE,0);if(aS===DE.length)return DE;iS||(DE=DE.slice());for(let r3=aS;r3<DE.length;r3=gS(DE,r3+1))DE[r3]=lT(DE[r3],iS);return DE}function gS(DE,iS){for(let aS=iS;aS<DE.length;aS++)if(!eS(DE[aS]))return aS;return DE.length}function eS(DE){for(let iS=1;iS<DE.length;iS++)if(DE[iS][Fx]<DE[iS-1][Fx])return!1;return!0}function lT(DE,iS){return iS||(DE=DE.slice()),DE.sort(UT)}function UT(DE,iS){return DE[Fx]-iS[Fx]}function pT(DE,iS){const aS=iS.map(()=>[]);for(let r3=0;r3<DE.length;r3++){const AD=DE[r3];for(let CE=0;CE<AD.length;CE++){const sS=AD[CE];if(sS.length===1)continue;const S3=sS[jx],v3=sS[K7],AC=sS[g7],hA=aS[S3];(hA[v3]||(hA[v3]=[])).push([AC,r3,sS[Fx]])}}for(let r3=0;r3<aS.length;r3++){const AD=aS[r3];for(let CE=0;CE<AD.length;CE++){const sS=AD[CE];sS&&sS.sort(UT)}}return aS}var D7=!1;function WT(DE,iS,aS,r3){for(;aS<=r3;){const AD=aS+(r3-aS>>1),CE=DE[AD][Fx]-iS;if(CE===0)return D7=!0,AD;CE<0?aS=AD+1:r3=AD-1}return D7=!1,aS-1}function A7(DE,iS,aS){for(let r3=aS+1;r3<DE.length&&DE[r3][Fx]===iS;aS=r3++);return aS}function U7(DE,iS,aS){for(let r3=aS-1;r3>=0&&DE[r3][Fx]===iS;aS=r3--);return aS}function OS(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function wE(DE,iS,aS,r3){const{lastKey:AD,lastNeedle:CE,lastIndex:sS}=aS;let S3=0,v3=DE.length-1;if(r3===AD){if(iS===CE)return D7=sS!==-1&&DE[sS][Fx]===iS,sS;iS>=CE?S3=sS===-1?0:sS:v3=sS}return aS.lastKey=r3,aS.lastNeedle=iS,aS.lastIndex=WT(DE,iS,S3,v3)}function xT(DE){return typeof DE=="string"?JSON.parse(DE):DE}var mS=function(DE,iS){const aS=xT(DE);if(!("sections"in aS))return new OT(aS,iS);const r3=[],AD=[],CE=[],sS=[],S3=[];bE(aS,iS,r3,AD,CE,sS,S3,0,0,1/0,1/0);const v3={version:3,file:aS.file,names:sS,sources:AD,sourcesContent:CE,mappings:r3,ignoreList:S3};return RT(v3)};function bE(DE,iS,aS,r3,AD,CE,sS,S3,v3,AC,hA){const{sections:kw}=DE;for(let ND=0;ND<kw.length;ND++){const{map:X3,offset:LC}=kw[ND];let i3=AC,b3=hA;if(ND+1<kw.length){const lw=kw[ND+1].offset;i3=Math.min(AC,S3+lw.line),i3===AC?b3=Math.min(hA,v3+lw.column):i3<AC&&(b3=v3+lw.column)}R7(X3,iS,aS,r3,AD,CE,sS,S3+LC.line,v3+LC.column,i3,b3)}}function R7(DE,iS,aS,r3,AD,CE,sS,S3,v3,AC,hA){const kw=xT(DE);if("sections"in kw)return bE(...arguments);const ND=new OT(kw,iS),X3=r3.length,LC=CE.length,i3=VT(ND),{resolvedSources:b3,sourcesContent:lw,ignoreList:xC}=ND;if(W3(r3,b3),W3(CE,ND.names),lw)W3(AD,lw);else for(let sP=0;sP<b3.length;sP++)AD.push(null);if(xC)for(let sP=0;sP<xC.length;sP++)sS.push(xC[sP]+X3);for(let sP=0;sP<i3.length;sP++){const C$=S3+sP;if(C$>AC)return;const lC=bT(aS,C$),KC=sP===0?v3:0,yT=i3[sP];for(let bP=0;bP<yT.length;bP++){const R8=yT[bP],vD=KC+R8[Fx];if(C$===AC&&vD>=hA)return;if(R8.length===1){lC.push([vD]);continue}const Zw=X3+R8[jx],s8=R8[K7],fw=R8[g7];lC.push(R8.length===4?[vD,Zw,s8,fw]:[vD,Zw,s8,fw,LC+R8[iT]])}}}function W3(DE,iS){for(let aS=0;aS<iS.length;aS++)DE.push(iS[aS])}function bT(DE,iS){for(let aS=DE.length;aS<=iS;aS++)DE[aS]=[];return DE[iS]}var Z7="`line` must be greater than 0 (lines start at line 1)",JS="`column` must be greater than or equal to 0 (columns start at column 0)",XE=-1,rS=1,OT=class{constructor(DE,iS){const aS=typeof DE=="string";if(!aS&&DE._decodedMemo)return DE;const r3=xT(DE),{version:AD,file:CE,names:sS,sourceRoot:S3,sources:v3,sourcesContent:AC}=r3;this.version=AD,this.file=CE,this.names=sS||[],this.sourceRoot=S3,this.sources=v3,this.sourcesContent=AC,this.ignoreList=r3.ignoreList||r3.x_google_ignoreList||void 0;const hA=Qv(iS,S3);this.resolvedSources=v3.map(hA);const{mappings:kw}=r3;if(typeof kw=="string")this._encoded=kw,this._decoded=void 0;else if(Array.isArray(kw))this._encoded=void 0,this._decoded=aE(kw,aS);else throw r3.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(r3)}`);this._decodedMemo=OS(),this._bySources=void 0,this._bySourceMemos=void 0}};function T7(DE){return DE}function E7(DE){var iS,aS;return(aS=(iS=DE)._encoded)!=null?aS:iS._encoded=(0,iv.encode)(DE._decoded)}function VT(DE){var iS;return(iS=DE)._decoded||(iS._decoded=(0,iv.decode)(DE._encoded))}function kS(DE,iS,aS){const r3=VT(DE);if(iS>=r3.length)return null;const AD=r3[iS],CE=_C(AD,DE._decodedMemo,iS,aS,rS);return CE===-1?null:AD[CE]}function _T(DE,iS){let{line:aS,column:r3,bias:AD}=iS;if(aS--,aS<0)throw new Error(Z7);if(r3<0)throw new Error(JS);const CE=VT(DE);if(aS>=CE.length)return yC(null,null,null,null);const sS=CE[aS],S3=_C(sS,DE._decodedMemo,aS,r3,AD||rS);if(S3===-1)return yC(null,null,null,null);const v3=sS[S3];if(v3.length===1)return yC(null,null,null,null);const{names:AC,resolvedSources:hA}=DE;return yC(hA[v3[jx]],v3[K7]+1,v3[g7],v3.length===5?AC[v3[iT]]:null)}function LS(DE,iS){const{source:aS,line:r3,column:AD,bias:CE}=iS;return nA(DE,aS,r3,AD,CE||rS,!1)}function hE(DE,iS){const{source:aS,line:r3,column:AD,bias:CE}=iS;return nA(DE,aS,r3,AD,CE||XE,!0)}function yS(DE,iS){const aS=VT(DE),{names:r3,resolvedSources:AD}=DE;for(let CE=0;CE<aS.length;CE++){const sS=aS[CE];for(let S3=0;S3<sS.length;S3++){const v3=sS[S3],AC=CE+1,hA=v3[0];let kw=null,ND=null,X3=null,LC=null;v3.length!==1&&(kw=AD[v3[1]],ND=v3[2]+1,X3=v3[3]),v3.length===5&&(LC=r3[v3[4]]),iS({generatedLine:AC,generatedColumn:hA,source:kw,originalLine:ND,originalColumn:X3,name:LC})}}}function BD(DE,iS){const{sources:aS,resolvedSources:r3}=DE;let AD=aS.indexOf(iS);return AD===-1&&(AD=r3.indexOf(iS)),AD}function wT(DE,iS){const{sourcesContent:aS}=DE;if(aS==null)return null;const r3=BD(DE,iS);return r3===-1?null:aS[r3]}function dT(DE,iS){const{ignoreList:aS}=DE;if(aS==null)return!1;const r3=BD(DE,iS);return r3===-1?!1:aS.includes(r3)}function RT(DE,iS){const aS=new OT(B3(DE,[]),iS);return aS._decoded=DE.mappings,aS}function KS(DE){return B3(DE,VT(DE))}function sE(DE){return B3(DE,E7(DE))}function B3(DE,iS){return{version:DE.version,file:DE.file,names:DE.names,sourceRoot:DE.sourceRoot,sources:DE.sources,sourcesContent:DE.sourcesContent,mappings:iS,ignoreList:DE.ignoreList||DE.x_google_ignoreList}}function yC(DE,iS,aS,r3){return{source:DE,line:iS,column:aS,name:r3}}function uE(DE,iS){return{line:DE,column:iS}}function _C(DE,iS,aS,r3,AD){let CE=wE(DE,r3,iS,aS);return D7?CE=(AD===XE?A7:U7)(DE,r3,CE):AD===XE&&CE++,CE===-1||CE===DE.length?-1:CE}function d3(DE,iS,aS,r3,AD){let CE=_C(DE,iS,aS,r3,rS);if(!D7&&AD===XE&&CE++,CE===-1||CE===DE.length)return[];const sS=D7?r3:DE[CE][Fx];D7||(CE=U7(DE,sS,CE));const S3=A7(DE,sS,CE),v3=[];for(;CE<=S3;CE++){const AC=DE[CE];v3.push(uE(AC[$7]+1,AC[F7]))}return v3}function nA(DE,iS,aS,r3,AD,CE){var sS,S3;if(aS--,aS<0)throw new Error(Z7);if(r3<0)throw new Error(JS);const{sources:v3,resolvedSources:AC}=DE;let hA=v3.indexOf(iS);if(hA===-1&&(hA=AC.indexOf(iS)),hA===-1)return CE?[]:uE(null,null);const kw=(sS=DE)._bySourceMemos||(sS._bySourceMemos=v3.map(OS)),X3=((S3=DE)._bySources||(S3._bySources=pT(VT(DE),kw)))[hA][aS];if(X3==null)return CE?[]:uE(null,null);const LC=kw[hA];if(CE)return d3(X3,LC,aS,r3,AD);const i3=_C(X3,LC,aS,r3,AD);if(i3===-1)return uE(null,null);const b3=X3[i3];return uE(b3[$7]+1,b3[F7])}})})(traceMapping_umd);var traceMapping_umdExports=traceMapping_umd.exports;(function(s,o){(function(F0,L0){L0(s,requireSourcemapCodec_umd(),traceMapping_umdExports),s.exports=B0(s);function B0(q0){return"default"in q0.exports?q0.exports.default:q0.exports}})(commonjsGlobal,function(F0,L0,B0){var q0=Object.create,W0=Object.defineProperty,X0=Object.getOwnPropertyDescriptor,K0=Object.getOwnPropertyNames,D_=Object.getPrototypeOf,I_=Object.prototype.hasOwnProperty,F_=(T7,E7)=>function(){return E7||(0,T7[K0(T7)[0]])((E7={exports:{}}).exports,E7),E7.exports},R_=(T7,E7)=>{for(var VT in E7)W0(T7,VT,{get:E7[VT],enumerable:!0})},z_=(T7,E7,VT,kS)=>{if(E7&&typeof E7=="object"||typeof E7=="function")for(let _T of K0(E7))!I_.call(T7,_T)&&_T!==VT&&W0(T7,_T,{get:()=>E7[_T],enumerable:!(kS=X0(E7,_T))||kS.enumerable});return T7},H_=(T7,E7,VT)=>(VT=T7!=null?q0(D_(T7)):{},z_(!T7||!T7.__esModule?W0(VT,"default",{value:T7,enumerable:!0}):VT,T7)),Oy=T7=>z_(W0({},"__esModule",{value:!0}),T7),qv=F_({"umd:@jridgewell/sourcemap-codec"(T7,E7){E7.exports=L0}}),Lv=F_({"umd:@jridgewell/trace-mapping"(T7,E7){E7.exports=B0}}),S1={};R_(S1,{GenMapping:()=>eS,addMapping:()=>pT,addSegment:()=>UT,allMappings:()=>mS,fromMap:()=>xT,maybeAddMapping:()=>WT,maybeAddSegment:()=>D7,setIgnore:()=>U7,setSourceContent:()=>A7,toDecodedMap:()=>OS,toEncodedMap:()=>wE}),F0.exports=Oy(S1);var iv=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function Yv(T7){return T7}function _x(T7,E7){return T7._indexes[E7]}function Qv(T7,E7){const VT=_x(T7,E7);if(VT!==void 0)return VT;const{array:kS,_indexes:_T}=T7,LS=kS.push(E7);return _T[E7]=LS-1}function Fx(T7,E7){const VT=_x(T7,E7);if(VT===void 0)return;const{array:kS,_indexes:_T}=T7;for(let LS=VT+1;LS<kS.length;LS++){const hE=kS[LS];kS[LS-1]=hE,_T[hE]--}_T[E7]=void 0,kS.pop()}var jx=H_(qv()),K7=H_(Lv()),g7=0,iT=1,$7=2,F7=3,aE=4,gS=-1,eS=class{constructor({file:T7,sourceRoot:E7}={}){this._names=new iv,this._sources=new iv,this._sourcesContent=[],this._mappings=[],this.file=T7,this.sourceRoot=E7,this._ignoreList=new iv}};function lT(T7){return T7}function UT(T7,E7,VT,kS,_T,LS,hE,yS){return bE(!1,T7,E7,VT,kS,_T,LS,hE,yS)}function pT(T7,E7){return OT(!1,T7,E7)}var D7=(T7,E7,VT,kS,_T,LS,hE,yS)=>bE(!0,T7,E7,VT,kS,_T,LS,hE,yS),WT=(T7,E7)=>OT(!0,T7,E7);function A7(T7,E7,VT){const{_sources:kS,_sourcesContent:_T}=T7,LS=Qv(kS,E7);_T[LS]=VT}function U7(T7,E7,VT=!0){const{_sources:kS,_sourcesContent:_T,_ignoreList:LS}=T7,hE=Qv(kS,E7);hE===_T.length&&(_T[hE]=null),VT?Qv(LS,hE):Fx(LS,hE)}function OS(T7){const{_mappings:E7,_sources:VT,_sourcesContent:kS,_names:_T,_ignoreList:LS}=T7;return Z7(E7),{version:3,file:T7.file||void 0,names:_T.array,sourceRoot:T7.sourceRoot||void 0,sources:VT.array,sourcesContent:kS,mappings:E7,ignoreList:LS.array}}function wE(T7){const E7=OS(T7);return Object.assign({},E7,{mappings:(0,jx.encode)(E7.mappings)})}function xT(T7){const E7=new K7.TraceMap(T7),VT=new eS({file:E7.file,sourceRoot:E7.sourceRoot});return JS(VT._names,E7.names),JS(VT._sources,E7.sources),VT._sourcesContent=E7.sourcesContent||E7.sources.map(()=>null),VT._mappings=(0,K7.decodedMappings)(E7),E7.ignoreList&&JS(VT._ignoreList,E7.ignoreList),VT}function mS(T7){const E7=[],{_mappings:VT,_sources:kS,_names:_T}=T7;for(let LS=0;LS<VT.length;LS++){const hE=VT[LS];for(let yS=0;yS<hE.length;yS++){const BD=hE[yS],wT={line:LS+1,column:BD[g7]};let dT,RT,KS;BD.length!==1&&(dT=kS.array[BD[iT]],RT={line:BD[$7]+1,column:BD[F7]},BD.length===5&&(KS=_T.array[BD[aE]])),E7.push({generated:wT,source:dT,original:RT,name:KS})}}return E7}function bE(T7,E7,VT,kS,_T,LS,hE,yS,BD){const{_mappings:wT,_sources:dT,_sourcesContent:RT,_names:KS}=E7,sE=R7(wT,VT),B3=W3(sE,kS);if(!_T)return T7&&XE(sE,B3)?void 0:bT(sE,B3,[kS]);const yC=Qv(dT,_T),uE=yS?Qv(KS,yS):gS;if(yC===RT.length&&(RT[yC]=BD??null),!(T7&&rS(sE,B3,yC,LS,hE,uE)))return bT(sE,B3,yS?[kS,yC,LS,hE,uE]:[kS,yC,LS,hE])}function R7(T7,E7){for(let VT=T7.length;VT<=E7;VT++)T7[VT]=[];return T7[E7]}function W3(T7,E7){let VT=T7.length;for(let kS=VT-1;kS>=0;VT=kS--){const _T=T7[kS];if(E7>=_T[g7])break}return VT}function bT(T7,E7,VT){for(let kS=T7.length;kS>E7;kS--)T7[kS]=T7[kS-1];T7[E7]=VT}function Z7(T7){const{length:E7}=T7;let VT=E7;for(let kS=VT-1;kS>=0&&!(T7[kS].length>0);VT=kS,kS--);VT<E7&&(T7.length=VT)}function JS(T7,E7){for(let VT=0;VT<E7.length;VT++)Qv(T7,E7[VT])}function XE(T7,E7){return E7===0?!0:T7[E7-1].length===1}function rS(T7,E7,VT,kS,_T,LS){if(E7===0)return!1;const hE=T7[E7-1];return hE.length===1?!1:VT===hE[iT]&&kS===hE[$7]&&_T===hE[F7]&&LS===(hE.length===5?hE[aE]:gS)}function OT(T7,E7,VT){const{generated:kS,source:_T,original:LS,name:hE,content:yS}=VT;return _T?bE(T7,E7,kS.line-1,kS.column,_T,LS.line-1,LS.column,hE,yS):bE(T7,E7,kS.line-1,kS.column,null,null,null,null,null)}})})(genMapping_umd);var genMapping_umdExports=genMapping_umd.exports;Object.defineProperty(sourceMap$2,"__esModule",{value:!0});sourceMap$2.default=void 0;var _genMapping=genMapping_umdExports,_traceMapping=traceMapping_umdExports;let SourceMap$1=class{constructor(o,F0){var L0;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=null;const B0=this._map=new _genMapping.GenMapping({sourceRoot:o.sourceRoot});if(this._sourceFileName=(L0=o.sourceFileName)==null?void 0:L0.replace(/\\/g,"/"),this._rawMappings=void 0,o.inputSourceMap){this._inputMap=new _traceMapping.TraceMap(o.inputSourceMap);const W0=this._inputMap.resolvedSources;if(W0.length)for(let X0=0;X0<W0.length;X0++){var q0;(0,_genMapping.setSourceContent)(B0,W0[X0],(q0=this._inputMap.sourcesContent)==null?void 0:q0[X0])}}if(typeof F0=="string"&&!o.inputSourceMap)(0,_genMapping.setSourceContent)(B0,this._sourceFileName,F0);else if(typeof F0=="object")for(const W0 of Object.keys(F0))(0,_genMapping.setSourceContent)(B0,W0.replace(/\\/g,"/"),F0[W0])}get(){return(0,_genMapping.toEncodedMap)(this._map)}getDecoded(){return(0,_genMapping.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,_genMapping.allMappings)(this._map))}mark(o,F0,L0,B0,q0,W0){var X0;this._rawMappings=void 0;let K0;if(F0!=null)if(this._inputMap){if(K0=(0,_traceMapping.originalPositionFor)(this._inputMap,{line:F0,column:L0}),!K0.name&&q0){const D_=(0,_traceMapping.originalPositionFor)(this._inputMap,q0);D_.name&&(B0=D_.name)}}else K0={name:null,source:(W0==null?void 0:W0.replace(/\\/g,"/"))||this._sourceFileName,line:F0,column:L0};(0,_genMapping.maybeAddMapping)(this._map,{name:B0,generated:o,source:(X0=K0)==null?void 0:X0.source,original:K0})}};sourceMap$2.default=SourceMap$1;var printer$1={},buffer$4={};Object.defineProperty(buffer$4,"__esModule",{value:!0});buffer$4.default=void 0;const spaceIndents=[];for(let s=0;s<32;s++)spaceIndents.push(" ".repeat(s*2));let Buffer$2=class{constructor(o,F0){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._canMarkIdName=!0,this._indentChar="",this._queuedChar=0,this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=o,this._indentChar=F0}get(){const{_map:o,_last:F0}=this;this._queuedChar!==32&&this._flush();const L0=F0===10?(this._buf+this._str).trimRight():this._buf+this._str;if(o===null)return{code:L0,decodedMap:void 0,map:null,rawMappings:void 0};const B0={code:L0,decodedMap:o.getDecoded(),get __mergedMap(){return this.map},get map(){const q0=o.get();return B0.map=q0,q0},set map(q0){Object.defineProperty(B0,"map",{value:q0,writable:!0})},get rawMappings(){const q0=o.getRawMappings();return B0.rawMappings=q0,q0},set rawMappings(q0){Object.defineProperty(B0,"rawMappings",{value:q0,writable:!0})}};return B0}append(o,F0){this._flush(),this._append(o,F0)}appendChar(o){this._flush(),this._appendChar(o,1,!0)}queue(o){this._flush(),this._queuedChar=o}_flush(){const o=this._queuedChar;o!==0&&(this._appendChar(o,1,!0),this._queuedChar=0)}_appendChar(o,F0,L0){if(this._last=o,o===-1){const W0=F0>=64?this._indentChar.repeat(F0):spaceIndents[F0/2];this._str+=W0}else this._str+=F0>1?String.fromCharCode(o).repeat(F0):String.fromCharCode(o);const B0=o===32,q0=this._position;if(o!==10){if(this._map){const W0=this._sourcePosition;L0&&W0?(this._map.mark(q0,W0.line,W0.column,B0?void 0:W0.identifierName,B0?void 0:W0.identifierNamePos,W0.filename),!B0&&this._canMarkIdName&&(W0.identifierName=void 0,W0.identifierNamePos=void 0)):this._map.mark(q0)}q0.column+=F0}else q0.line++,q0.column=0}_append(o,F0){const L0=o.length,B0=this._position,q0=this._sourcePosition;this._last=-1,++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=o,this._appendCount=0):this._str+=o;const W0=this._map!==null;if(!F0&&!W0){B0.column+=L0;return}const{column:X0,identifierName:K0,identifierNamePos:D_,filename:I_}=q0;let F_=q0.line;(K0!=null||D_!=null)&&this._canMarkIdName&&(q0.identifierName=void 0,q0.identifierNamePos=void 0);let R_=o.indexOf(`
4810
4810
  `),z_=0;for(W0&&R_!==0&&this._map.mark(B0,F_,X0,K0,D_,I_);R_!==-1;)B0.line++,B0.column=0,z_=R_+1,z_<L0&&F_!==void 0&&(F_++,W0&&this._map.mark(B0,F_,0,void 0,void 0,I_)),R_=o.indexOf(`
4811
- `,z_);B0.column+=L0-z_}removeLastSemicolon(){this._queuedChar===59&&(this._queuedChar=0)}getLastChar(o){if(!o)return this._last;const F0=this._queuedChar;return F0!==0?F0:this._last}getNewlineCount(){return this._queuedChar===0&&this._last===10?1:0}hasContent(){return this._last!==0}exactSource(o,F0){if(!this._map){F0();return}this.source("start",o);const L0=o.identifierName,B0=this._sourcePosition;L0!=null&&(this._canMarkIdName=!1,B0.identifierName=L0),F0(),L0!=null&&(this._canMarkIdName=!0,B0.identifierName=void 0,B0.identifierNamePos=void 0),this.source("end",o)}source(o,F0){this._map&&this._normalizePosition(o,F0,0)}sourceWithOffset(o,F0,L0){this._map&&this._normalizePosition(o,F0,L0)}_normalizePosition(o,F0,L0){this._flush();const B0=F0[o],q0=this._sourcePosition;B0&&(q0.line=B0.line,q0.column=Math.max(B0.column+L0,0),q0.filename=F0.filename)}getCurrentColumn(){return this._position.column+(this._queuedChar?1:0)}getCurrentLine(){return this._position.line}};buffer$4.default=Buffer$2;var node$2={},parentheses$1={},hasRequiredParentheses;function requireParentheses(){if(hasRequiredParentheses)return parentheses$1;hasRequiredParentheses=1,Object.defineProperty(parentheses$1,"__esModule",{value:!0}),parentheses$1.AssignmentExpression=D7,parentheses$1.BinaryExpression=iT,parentheses$1.ClassExpression=gS,parentheses$1.ArrowFunctionExpression=parentheses$1.ConditionalExpression=UT,parentheses$1.DoExpression=Oy,parentheses$1.FunctionExpression=lT,parentheses$1.FunctionTypeAnnotation=F_,parentheses$1.Identifier=WT,parentheses$1.LogicalExpression=$7,parentheses$1.NullableTypeAnnotation=I_,parentheses$1.ObjectExpression=H_,parentheses$1.OptionalIndexedAccessType=S1,parentheses$1.OptionalCallExpression=parentheses$1.OptionalMemberExpression=pT,parentheses$1.SequenceExpression=F7,parentheses$1.TSSatisfiesExpression=parentheses$1.TSAsExpression=iv,parentheses$1.TSConditionalType=Yv,parentheses$1.TSConstructorType=parentheses$1.TSFunctionType=g7,parentheses$1.TSInferType=Fx,parentheses$1.TSInstantiationExpression=K7,parentheses$1.TSIntersectionType=Qv,parentheses$1.SpreadElement=parentheses$1.UnaryExpression=parentheses$1.TSTypeAssertion=eS,parentheses$1.TSTypeOperator=jx,parentheses$1.TSUnionType=_x,parentheses$1.IntersectionTypeAnnotation=parentheses$1.UnionTypeAnnotation=Lv,parentheses$1.UpdateExpression=R_,parentheses$1.AwaitExpression=parentheses$1.YieldExpression=aE;var s=requireLib$2(),o=requireNode();const{isMemberExpression:F0,isOptionalMemberExpression:L0,isYieldExpression:B0,isStatement:q0}=s,W0=new Map([["||",0],["??",1],["&&",2],["|",3],["^",4],["&",5],["==",6],["===",6],["!=",6],["!==",6],["<",7],[">",7],["<=",7],[">=",7],["in",7],["instanceof",7],[">>",8],["<<",8],[">>>",8],["+",9],["-",9],["*",10],["/",10],["%",10],["**",11]]);function X0(A7){return A7===156||A7===201||A7===209}const K0=(A7,U7,OS)=>(OS===21||OS===22)&&U7.superClass===A7,D_=(A7,U7,OS)=>{switch(OS){case 108:case 132:return U7.object===A7;case 17:case 130:case 112:return U7.callee===A7;case 222:return U7.tag===A7;case 191:return!0}return!1};function I_(A7,U7,OS){return OS===4}function F_(A7,U7,OS,wE){return OS===239||OS===90||OS===4||(wE&o.TokenContext.arrowFlowReturnType)>0}function R_(A7,U7,OS){return D_(A7,U7,OS)||K0(A7,U7,OS)}function z_(A7){return(A7&(o.TokenContext.expressionStatement|o.TokenContext.arrowBody))>0}function H_(A7,U7,OS,wE){return z_(wE)}function Oy(A7,U7,OS,wE){return(wE&o.TokenContext.expressionStatement)>0&&!A7.async}function qv(A7,U7,OS,wE){if(K0(A7,U7,OS)||D_(A7,U7,OS)||OS===238||OS===145||OS===8)return!0;let xT;switch(OS){case 10:case 107:xT=W0.get(U7.operator);break;case 156:case 201:xT=7}if(xT!==void 0){const mS=wE===2?7:W0.get(A7.operator);if(xT>mS||xT===mS&&OS===10&&(mS===11?U7.left===A7:U7.right===A7)||wE===1&&OS===107&&(mS===1&&xT!==1||xT===1&&mS!==1))return!0}return!1}function Lv(A7,U7,OS){switch(OS){case 4:case 115:case 90:case 239:return!0}return!1}function S1(A7,U7,OS){return OS===84&&U7.objectType===A7}function iv(A7,U7,OS){return(OS===6||OS===7)&&U7.left===A7||OS===10&&(U7.operator==="|"||U7.operator==="&")&&A7===U7.left?!0:qv(A7,U7,OS,2)}function Yv(A7,U7,OS){switch(OS){case 155:case 195:case 211:case 212:return!0;case 175:return U7.objectType===A7;case 181:case 219:return U7.types[0]===A7;case 161:return U7.checkType===A7||U7.extendsType===A7}return!1}function _x(A7,U7,OS){switch(OS){case 181:case 211:case 155:case 195:return!0;case 175:return U7.objectType===A7}return!1}function Qv(A7,U7,OS){return OS===211||jx(A7,U7,OS)}function Fx(A7,U7,OS){return!!(jx(A7,U7,OS)||(OS===181||OS===219)&&A7.typeParameter.constraint&&U7.types[0]===A7)}function jx(A7,U7,OS){switch(OS){case 155:case 195:return!0;case 175:if(U7.objectType===A7)return!0}return!1}function K7(A7,U7,OS){switch(OS){case 17:case 130:case 112:case 177:return U7.typeParameters!=null}return!1}function g7(A7,U7,OS){return _x(A7,U7,OS)?!0:OS===219||OS===161&&(U7.checkType===A7||U7.extendsType===A7)}function iT(A7,U7,OS,wE){return qv(A7,U7,OS,0)?!0:(wE&o.TokenContext.forInOrInitHeadAccumulate)>0&&A7.operator==="in"}function $7(A7,U7,OS){return qv(A7,U7,OS,1)}function F7(A7,U7,OS){return OS===144||OS===133||OS===108&&U7.property===A7||OS===132&&U7.property===A7||OS===224?!1:OS===21?!0:OS===68?U7.right===A7:OS===60?!0:!q0(U7)}function aE(A7,U7,OS){return OS===10||OS===107||OS===238||OS===145||D_(A7,U7,OS)||OS===8&&B0(A7)||OS===28&&A7===U7.test||K0(A7,U7,OS)||X0(OS)}function gS(A7,U7,OS,wE){return(wE&(o.TokenContext.expressionStatement|o.TokenContext.exportDefault))>0}function eS(A7,U7,OS){return D_(A7,U7,OS)||OS===10&&U7.operator==="**"&&U7.left===A7||K0(A7,U7,OS)}function lT(A7,U7,OS,wE){return(wE&(o.TokenContext.expressionStatement|o.TokenContext.exportDefault))>0}function UT(A7,U7,OS){switch(OS){case 238:case 145:case 10:case 107:case 8:return!0;case 28:if(U7.test===A7)return!0}return X0(OS)?!0:eS(A7,U7,OS)}function pT(A7,U7,OS){switch(OS){case 17:return U7.callee===A7;case 108:return U7.object===A7}return!1}function D7(A7,U7,OS,wE){return z_(wE)&&A7.left.type==="ObjectPattern"?!0:UT(A7,U7,OS)}function WT(A7,U7,OS,wE,xT){var mS;if(xT&&xT(A7)!==A7.name)return!1;if(OS===6&&(mS=A7.extra)!=null&&mS.parenthesized&&U7.left===A7){const bE=U7.right.type;if((bE==="FunctionExpression"||bE==="ClassExpression")&&U7.right.id==null)return!0}return(wE&o.TokenContext.forOfHead||(OS===108||OS===132)&&wE&(o.TokenContext.expressionStatement|o.TokenContext.forInitHead|o.TokenContext.forInHead))&&A7.name==="let"?(F0(U7,{object:A7,computed:!0})||L0(U7,{object:A7,computed:!0,optional:!1}))&&wE&(o.TokenContext.expressionStatement|o.TokenContext.forInitHead|o.TokenContext.forInHead)?!0:(wE&o.TokenContext.forOfHead)>0:OS===68&&U7.left===A7&&A7.name==="async"&&!U7.await}return parentheses$1}var nodes$1={},generators$1={},templateLiterals$1={};Object.defineProperty(templateLiterals$1,"__esModule",{value:!0});templateLiterals$1.TaggedTemplateExpression=TaggedTemplateExpression$1;templateLiterals$1.TemplateElement=TemplateElement$1;templateLiterals$1.TemplateLiteral=TemplateLiteral$1;templateLiterals$1._printTemplate=_printTemplate;function TaggedTemplateExpression$1(s){this.print(s.tag),this.print(s.typeParameters),this.print(s.quasi)}function TemplateElement$1(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function _printTemplate(s,o){const F0=s.quasis;let L0="`";for(let B0=0;B0<F0.length-1;B0++)if(L0+=F0[B0].value.raw,this.token(L0+"${",!0),this.print(o[B0]),L0="}",this.tokenMap){const q0=this.tokenMap.findMatching(s,"}",B0);q0&&this._catchUpTo(q0.loc.start)}L0+=F0[F0.length-1].value.raw,this.token(L0+"`",!0)}function TemplateLiteral$1(s){_printTemplate.call(this,s,s.expressions)}var expressions$1={},hasRequiredExpressions;function requireExpressions(){if(hasRequiredExpressions)return expressions$1;hasRequiredExpressions=1,Object.defineProperty(expressions$1,"__esModule",{value:!0}),expressions$1.LogicalExpression=expressions$1.AssignmentExpression=iT,expressions$1.AssignmentPattern=g7,expressions$1.AwaitExpression=Qv,expressions$1.BinaryExpression=$7,expressions$1.BindExpression=F7,expressions$1.CallExpression=Yv,expressions$1.ConditionalExpression=F_,expressions$1.Decorator=Lv,expressions$1.DoExpression=K0,expressions$1.EmptyStatement=jx,expressions$1.ExpressionStatement=K7,expressions$1.Import=_x,expressions$1.MemberExpression=aE,expressions$1.MetaProperty=gS,expressions$1.ModuleExpression=UT,expressions$1.NewExpression=R_,expressions$1.OptionalCallExpression=iv,expressions$1.OptionalMemberExpression=S1,expressions$1.ParenthesizedExpression=D_,expressions$1.PrivateName=eS,expressions$1.SequenceExpression=z_,expressions$1.Super=Oy,expressions$1.ThisExpression=H_,expressions$1.UnaryExpression=X0,expressions$1.UpdateExpression=I_,expressions$1.V8IntrinsicIdentifier=lT,expressions$1.YieldExpression=Fx,expressions$1._shouldPrintDecoratorsBeforeExport=qv;var s=requireLib$2(),o=requireNode();const{isCallExpression:F0,isLiteral:L0,isMemberExpression:B0,isNewExpression:q0,isPattern:W0}=s;function X0(pT){const{operator:D7}=pT,WT=D7.charCodeAt(0);WT>=97&&WT<=122?(this.word(D7),this.space()):this.tokenChar(WT),this.print(pT.argument)}function K0(pT){pT.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(pT.body)}function D_(pT){this.tokenChar(40);const D7=this.enterDelimited();this.print(pT.expression,void 0,!0),this._noLineTerminatorAfterNode=D7,this.rightParens(pT)}function I_(pT){pT.prefix?(this.token(pT.operator,!1,0,!0),this.print(pT.argument)):(this.print(pT.argument,!0),this.token(pT.operator,!1,0,!0))}function F_(pT){this.print(pT.test),this.space(),this.tokenChar(63),this.space(),this.print(pT.consequent),this.space(),this.tokenChar(58),this.space(),this.print(pT.alternate)}function R_(pT,D7){if(this.word("new"),this.space(),this.print(pT.callee),this.format.minified&&pT.arguments.length===0&&!pT.optional&&!F0(D7,{callee:pT})&&!B0(D7)&&!q0(D7)||(this.print(pT.typeArguments),this.print(pT.typeParameters),pT.optional&&this.token("?."),pT.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(pT,")")))return;this.tokenChar(40);const WT=this.enterDelimited();this.printList(pT.arguments,this.shouldPrintTrailingComma(")"),void 0,void 0,void 0,!0),this._noLineTerminatorAfterNode=WT,this.rightParens(pT)}function z_(pT){this.printList(pT.expressions)}function H_(){this.word("this")}function Oy(){this.word("super")}function qv(pT){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof pT.start=="number"&&pT.start===pT.declaration.start}function Lv(pT){this.tokenChar(64);const{expression:D7}=pT;this.print(D7),this.newline()}function S1(pT){let{computed:D7}=pT;const{optional:WT,property:A7}=pT;if(this.print(pT.object),!D7&&B0(A7))throw new TypeError("Got a MemberExpression for MemberExpression property");L0(A7)&&typeof A7.value=="number"&&(D7=!0),WT&&this.token("?."),D7?(this.tokenChar(91),this.print(A7),this.tokenChar(93)):(WT||this.tokenChar(46),this.print(A7))}function iv(pT){this.print(pT.callee),this.print(pT.typeParameters),pT.optional&&this.token("?."),this.print(pT.typeArguments),this.tokenChar(40);const D7=this.enterDelimited();this.printList(pT.arguments,void 0,void 0,void 0,void 0,!0),this._noLineTerminatorAfterNode=D7,this.rightParens(pT)}function Yv(pT){this.print(pT.callee),this.print(pT.typeArguments),this.print(pT.typeParameters),this.tokenChar(40);const D7=this.enterDelimited();this.printList(pT.arguments,this.shouldPrintTrailingComma(")"),void 0,void 0,void 0,!0),this._noLineTerminatorAfterNode=D7,this.rightParens(pT)}function _x(){this.word("import")}function Qv(pT){this.word("await"),this.space(),this.print(pT.argument)}function Fx(pT){pT.delegate?(this.word("yield",!0),this.tokenChar(42),pT.argument&&(this.space(),this.print(pT.argument))):pT.argument?(this.word("yield",!0),this.space(),this.print(pT.argument)):this.word("yield")}function jx(){this.semicolon(!0)}function K7(pT){this.tokenContext|=o.TokenContext.expressionStatement,this.print(pT.expression),this.semicolon()}function g7(pT){this.print(pT.left),(pT.left.type==="Identifier"||W0(pT.left))&&(pT.left.optional&&this.tokenChar(63),this.print(pT.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(pT.right)}function iT(pT){this.print(pT.left),this.space(),this.token(pT.operator,!1,0,!0),this.space(),this.print(pT.right)}function $7(pT){this.print(pT.left),this.space();const{operator:D7}=pT;D7.charCodeAt(0)===105?this.word(D7):(this.token(D7,!1,0,!0),this.setLastChar(D7.charCodeAt(D7.length-1))),this.space(),this.print(pT.right)}function F7(pT){this.print(pT.object),this.token("::"),this.print(pT.callee)}function aE(pT){if(this.print(pT.object),!pT.computed&&B0(pT.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let D7=pT.computed;if(L0(pT.property)&&typeof pT.property.value=="number"&&(D7=!0),D7){const WT=this.enterDelimited();this.tokenChar(91),this.print(pT.property,void 0,!0),this.tokenChar(93),this._noLineTerminatorAfterNode=WT}else this.tokenChar(46),this.print(pT.property)}function gS(pT){this.print(pT.meta),this.tokenChar(46),this.print(pT.property)}function eS(pT){this.tokenChar(35),this.print(pT.id)}function lT(pT){this.tokenChar(37),this.word(pT.name)}function UT(pT){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:D7}=pT;(D7.body.length||D7.directives.length)&&this.newline(),this.print(D7),this.dedent(),this.rightBrace(pT)}return expressions$1}var statements$2={},hasRequiredStatements;function requireStatements(){if(hasRequiredStatements)return statements$2;hasRequiredStatements=1,Object.defineProperty(statements$2,"__esModule",{value:!0}),statements$2.BreakStatement=H_,statements$2.CatchClause=Yv,statements$2.ContinueStatement=Oy,statements$2.DebuggerStatement=Fx,statements$2.DoWhileStatement=R_,statements$2.ForInStatement=I_,statements$2.ForOfStatement=F_,statements$2.ForStatement=K0,statements$2.IfStatement=W0,statements$2.LabeledStatement=S1,statements$2.ReturnStatement=qv,statements$2.SwitchCase=Qv,statements$2.SwitchStatement=_x,statements$2.ThrowStatement=Lv,statements$2.TryStatement=iv,statements$2.VariableDeclaration=K7,statements$2.VariableDeclarator=g7,statements$2.WhileStatement=D_,statements$2.WithStatement=q0;var s=requireLib$2(),o=requireNode();const{isFor:F0,isIfStatement:L0,isStatement:B0}=s;function q0(iT){this.word("with"),this.space(),this.tokenChar(40),this.print(iT.object),this.tokenChar(41),this.printBlock(iT.body)}function W0(iT){this.word("if"),this.space(),this.tokenChar(40),this.print(iT.test),this.tokenChar(41),this.space();const $7=iT.alternate&&L0(X0(iT.consequent));$7&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(iT.consequent),$7&&(this.dedent(),this.newline(),this.tokenChar(125)),iT.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(iT.alternate))}function X0(iT){const{body:$7}=iT;return B0($7)===!1?iT:X0($7)}function K0(iT){this.word("for"),this.space(),this.tokenChar(40),this.tokenContext|=o.TokenContext.forInitHead|o.TokenContext.forInOrInitHeadAccumulate,this.print(iT.init),this.tokenContext=o.TokenContext.normal,this.tokenChar(59),iT.test&&(this.space(),this.print(iT.test)),this.tokenChar(59,1),iT.update&&(this.space(),this.print(iT.update)),this.tokenChar(41),this.printBlock(iT.body)}function D_(iT){this.word("while"),this.space(),this.tokenChar(40),this.print(iT.test),this.tokenChar(41),this.printBlock(iT.body)}function I_(iT){this.word("for"),this.space(),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.tokenContext|=o.TokenContext.forInHead|o.TokenContext.forInOrInitHeadAccumulate,this.print(iT.left),this.tokenContext=o.TokenContext.normal,this.space(),this.word("in"),this.space(),this.print(iT.right),this.tokenChar(41),this.printBlock(iT.body)}function F_(iT){this.word("for"),this.space(),iT.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.tokenContext|=o.TokenContext.forOfHead,this.print(iT.left),this.space(),this.word("of"),this.space(),this.print(iT.right),this.tokenChar(41),this.printBlock(iT.body)}function R_(iT){this.word("do"),this.space(),this.print(iT.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(iT.test),this.tokenChar(41),this.semicolon()}function z_(iT,$7){$7&&(iT.space(),iT.printTerminatorless($7)),iT.semicolon()}function H_(iT){this.word("break"),z_(this,iT.label)}function Oy(iT){this.word("continue"),z_(this,iT.label)}function qv(iT){this.word("return"),z_(this,iT.argument)}function Lv(iT){this.word("throw"),z_(this,iT.argument)}function S1(iT){this.print(iT.label),this.tokenChar(58),this.space(),this.print(iT.body)}function iv(iT){this.word("try"),this.space(),this.print(iT.block),this.space(),iT.handlers?this.print(iT.handlers[0]):this.print(iT.handler),iT.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(iT.finalizer))}function Yv(iT){this.word("catch"),this.space(),iT.param&&(this.tokenChar(40),this.print(iT.param),this.print(iT.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(iT.body)}function _x(iT){this.word("switch"),this.space(),this.tokenChar(40),this.print(iT.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(iT.cases,!0),this.rightBrace(iT)}function Qv(iT){iT.test?(this.word("case"),this.space(),this.print(iT.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),iT.consequent.length&&(this.newline(),this.printSequence(iT.consequent,!0))}function Fx(){this.word("debugger"),this.semicolon()}function jx(iT){this.tokenChar(44,iT),this.newline()}function K7(iT,$7){iT.declare&&(this.word("declare"),this.space());const{kind:F7}=iT;switch(F7){case"await using":this.word("await"),this.space();case"using":this.word("using",!0);break;default:this.word(F7)}this.space();let aE=!1;if(!F0($7)){for(const gS of iT.declarations)if(gS.init){aE=!0;break}}if(this.printList(iT.declarations,void 0,void 0,iT.declarations.length>1,aE?jx:void 0),$7!=null)switch($7.type){case"ForStatement":if($7.init===iT)return;break;case"ForInStatement":case"ForOfStatement":if($7.left===iT)return}this.semicolon()}function g7(iT){this.print(iT.id),iT.definite&&this.tokenChar(33),this.print(iT.id.typeAnnotation),iT.init&&(this.space(),this.tokenChar(61),this.space(),this.print(iT.init))}return statements$2}var classes$1={},typescript$2={},methods$1={},hasRequiredMethods;function requireMethods(){if(hasRequiredMethods)return methods$1;hasRequiredMethods=1,Object.defineProperty(methods$1,"__esModule",{value:!0}),methods$1.ArrowFunctionExpression=I_,methods$1.FunctionDeclaration=methods$1.FunctionExpression=D_,methods$1._functionHead=K0,methods$1._methodHead=W0,methods$1._param=q0,methods$1._parameters=B0,methods$1._params=L0,methods$1._predicate=X0,methods$1._shouldPrintArrowParamsParens=F_;var s=requireLib$2(),o=requireNode();const{isIdentifier:F0}=s;function L0(z_,H_,Oy,qv){if(this.print(z_.typeParameters),Oy!==void 0||qv!==void 0){const Lv=R_.call(this,Oy,qv);Lv&&this.sourceIdentifierName(Lv.name,Lv.pos)}this.tokenChar(40),B0.call(this,z_.params,41),this.print(z_.returnType,H_),this._noLineTerminator=H_}function B0(z_,H_){const Oy=this.enterDelimited(),qv=this.shouldPrintTrailingComma(H_),Lv=z_.length;for(let S1=0;S1<Lv;S1++)q0.call(this,z_[S1]),(qv||S1<Lv-1)&&(this.tokenChar(44,S1),this.space());this.tokenChar(H_),this._noLineTerminatorAfterNode=Oy}function q0(z_){this.printJoin(z_.decorators,void 0,void 0,void 0,void 0,!0),this.print(z_,void 0,!0),z_.optional&&this.tokenChar(63),this.print(z_.typeAnnotation,void 0,!0)}function W0(z_){const H_=z_.kind,Oy=z_.key;(H_==="get"||H_==="set")&&(this.word(H_),this.space()),z_.async&&(this.word("async",!0),this.space()),(H_==="method"||H_==="init")&&z_.generator&&this.tokenChar(42),z_.computed?(this.tokenChar(91),this.print(Oy),this.tokenChar(93)):this.print(Oy),z_.optional&&this.tokenChar(63),this._buf._map?L0.call(this,z_,!1,z_.computed&&z_.key.type!=="StringLiteral"?void 0:z_.key):L0.call(this,z_,!1)}function X0(z_,H_){z_.predicate&&(z_.returnType||this.tokenChar(58),this.space(),this.print(z_.predicate,H_))}function K0(z_,H_,Oy){z_.async&&(this.word("async"),this.format.preserveFormat||(this._innerCommentsState=0),this.space()),this.word("function"),z_.generator&&(this.format.preserveFormat||(this._innerCommentsState=0),this.tokenChar(42)),this.space(),z_.id&&this.print(z_.id),this._buf._map?L0.call(this,z_,!1,z_.id,H_):L0.call(this,z_,!1),Oy&&X0.call(this,z_)}function D_(z_,H_){K0.call(this,z_,H_,!0),this.space(),this.print(z_.body)}function I_(z_,H_){z_.async&&(this.word("async",!0),this.space()),F_.call(this,z_)?L0.call(this,z_,!0,void 0,this._buf._map?H_:void 0):this.print(z_.params[0],!0),X0.call(this,z_,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=o.TokenContext.arrowBody,this.print(z_.body)}function F_(z_){var H_,Oy;if(z_.params.length!==1||z_.typeParameters||z_.returnType||z_.predicate)return!0;const qv=z_.params[0];if(!F0(qv)||qv.typeAnnotation||qv.optional||(H_=qv.leadingComments)!=null&&H_.length||(Oy=qv.trailingComments)!=null&&Oy.length)return!0;if(this.tokenMap){if(z_.loc==null||this.tokenMap.findMatching(z_,"(")!==null)return!0;const Lv=this.tokenMap.findMatching(z_,"=>");return(Lv==null?void 0:Lv.loc)==null?!0:Lv.loc.start.line!==z_.loc.start.line}return!!this.format.retainLines}function R_(z_,H_){let Oy=z_;if(!Oy&&H_){const _x=H_.type;_x==="VariableDeclarator"?Oy=H_.id:_x==="AssignmentExpression"||_x==="AssignmentPattern"?Oy=H_.left:_x==="ObjectProperty"||_x==="ClassProperty"?(!H_.computed||H_.key.type==="StringLiteral")&&(Oy=H_.key):(_x==="ClassPrivateProperty"||_x==="ClassAccessorProperty")&&(Oy=H_.key)}if(!Oy)return;let qv;if(Oy.type==="Identifier"){var Lv,S1;qv={pos:(Lv=Oy.loc)==null?void 0:Lv.start,name:((S1=Oy.loc)==null?void 0:S1.identifierName)||Oy.name}}else if(Oy.type==="PrivateName"){var iv;qv={pos:(iv=Oy.loc)==null?void 0:iv.start,name:"#"+Oy.id.name}}else if(Oy.type==="StringLiteral"){var Yv;qv={pos:(Yv=Oy.loc)==null?void 0:Yv.start,name:Oy.value}}return qv}return methods$1}var hasRequiredTypescript$1;function requireTypescript$1(){if(hasRequiredTypescript$1)return typescript$2;hasRequiredTypescript$1=1,Object.defineProperty(typescript$2,"__esModule",{value:!0}),typescript$2.TSAnyKeyword=Lv,typescript$2.TSArrayType=A7,typescript$2.TSAsExpression=hE,typescript$2.TSBigIntKeyword=S1,typescript$2.TSBooleanKeyword=Qv,typescript$2.TSCallSignatureDeclaration=I_,typescript$2.TSInterfaceHeritage=typescript$2.TSClassImplements=VT,typescript$2.TSConditionalType=W3,typescript$2.TSConstructSignatureDeclaration=R_,typescript$2.TSConstructorType=eS,typescript$2.TSDeclareFunction=X0,typescript$2.TSDeclareMethod=K0,typescript$2.TSEnumBody=RT,typescript$2.TSEnumDeclaration=dT,typescript$2.TSEnumMember=KS,typescript$2.TSExportAssignment=nA,typescript$2.TSExternalModuleReference=_C,typescript$2.TSFunctionType=gS,typescript$2.TSImportEqualsDeclaration=uE,typescript$2.TSImportType=yC,typescript$2.TSIndexSignature=qv,typescript$2.TSIndexedAccessType=XE,typescript$2.TSInferType=bT,typescript$2.TSInstantiationExpression=wT,typescript$2.TSInterfaceBody=_T,typescript$2.TSInterfaceDeclaration=kS,typescript$2.TSIntersectionType=bE,typescript$2.TSIntrinsicKeyword=F7,typescript$2.TSLiteralType=E7,typescript$2.TSMappedType=rS,typescript$2.TSMethodSignature=Oy,typescript$2.TSModuleBlock=B3,typescript$2.TSModuleDeclaration=sE,typescript$2.TSNamedTupleMember=xT,typescript$2.TSNamespaceExportDeclaration=DE,typescript$2.TSNeverKeyword=$7,typescript$2.TSNonNullExpression=d3,typescript$2.TSNullKeyword=iT,typescript$2.TSNumberKeyword=Yv,typescript$2.TSObjectKeyword=_x,typescript$2.TSOptionalType=OS,typescript$2.TSParameterProperty=W0,typescript$2.TSParenthesizedType=Z7,typescript$2.TSPropertySignature=z_,typescript$2.TSQualifiedName=D_,typescript$2.TSRestType=wE,typescript$2.TSSatisfiesExpression=yS,typescript$2.TSStringKeyword=Fx,typescript$2.TSSymbolKeyword=jx,typescript$2.TSTemplateLiteralType=T7,typescript$2.TSThisType=aE,typescript$2.TSTupleType=U7,typescript$2.TSTypeAliasDeclaration=LS,typescript$2.TSTypeAnnotation=L0,typescript$2.TSTypeAssertion=BD,typescript$2.TSTypeLiteral=WT,typescript$2.TSTypeOperator=JS,typescript$2.TSTypeParameter=q0,typescript$2.TSTypeParameterDeclaration=typescript$2.TSTypeParameterInstantiation=B0,typescript$2.TSTypePredicate=pT,typescript$2.TSTypeQuery=D7,typescript$2.TSTypeReference=UT,typescript$2.TSUndefinedKeyword=g7,typescript$2.TSUnionType=mS,typescript$2.TSUnknownKeyword=iv,typescript$2.TSVoidKeyword=K7,typescript$2._tsPrintClassMemberModifiers=aS;var s=requireMethods(),o=requireClasses(),F0=templateLiterals$1;function L0(CE,sS){this.token((sS.type==="TSFunctionType"||sS.type==="TSConstructorType")&&sS.typeAnnotation===CE?"=>":":"),this.space(),CE.optional&&this.tokenChar(63),this.print(CE.typeAnnotation)}function B0(CE,sS){this.tokenChar(60);let S3=sS.type==="ArrowFunctionExpression"&&CE.params.length===1;this.tokenMap&&CE.start!=null&&CE.end!=null&&(S3&&(S3=!!this.tokenMap.find(CE,v3=>this.tokenMap.matchesOriginal(v3,","))),S3||(S3=this.shouldPrintTrailingComma(">"))),this.printList(CE.params,S3),this.tokenChar(62)}function q0(CE){CE.const&&(this.word("const"),this.space()),CE.in&&(this.word("in"),this.space()),CE.out&&(this.word("out"),this.space()),this.word(CE.name),CE.constraint&&(this.space(),this.word("extends"),this.space(),this.print(CE.constraint)),CE.default&&(this.space(),this.tokenChar(61),this.space(),this.print(CE.default))}function W0(CE){CE.accessibility&&(this.word(CE.accessibility),this.space()),CE.readonly&&(this.word("readonly"),this.space()),s._param.call(this,CE.parameter)}function X0(CE,sS){CE.declare&&(this.word("declare"),this.space()),s._functionHead.call(this,CE,sS,!1),this.semicolon()}function K0(CE){o._classMethodHead.call(this,CE),this.semicolon()}function D_(CE){this.print(CE.left),this.tokenChar(46),this.print(CE.right)}function I_(CE){iS.call(this,CE),F_(this,CE)}function F_(CE,sS){if(!CE.tokenMap||!sS.start||!sS.end){CE.semicolon();return}CE.tokenMap.endMatches(sS,",")?CE.token(","):CE.tokenMap.endMatches(sS,";")&&CE.semicolon()}function R_(CE){this.word("new"),this.space(),iS.call(this,CE),F_(this,CE)}function z_(CE){const{readonly:sS}=CE;sS&&(this.word("readonly"),this.space()),H_.call(this,CE),this.print(CE.typeAnnotation),F_(this,CE)}function H_(CE){CE.computed&&this.tokenChar(91),this.print(CE.key),CE.computed&&this.tokenChar(93),CE.optional&&this.tokenChar(63)}function Oy(CE){const{kind:sS}=CE;(sS==="set"||sS==="get")&&(this.word(sS),this.space()),H_.call(this,CE),iS.call(this,CE),F_(this,CE)}function qv(CE){const{readonly:sS,static:S3}=CE;S3&&(this.word("static"),this.space()),sS&&(this.word("readonly"),this.space()),this.tokenChar(91),s._parameters.call(this,CE.parameters,93),this.print(CE.typeAnnotation),F_(this,CE)}function Lv(){this.word("any")}function S1(){this.word("bigint")}function iv(){this.word("unknown")}function Yv(){this.word("number")}function _x(){this.word("object")}function Qv(){this.word("boolean")}function Fx(){this.word("string")}function jx(){this.word("symbol")}function K7(){this.word("void")}function g7(){this.word("undefined")}function iT(){this.word("null")}function $7(){this.word("never")}function F7(){this.word("intrinsic")}function aE(){this.word("this")}function gS(CE){lT.call(this,CE)}function eS(CE){CE.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),lT.call(this,CE)}function lT(CE){const{typeParameters:sS}=CE,S3=CE.parameters;this.print(sS),this.tokenChar(40),s._parameters.call(this,S3,41),this.space();const v3=CE.typeAnnotation;this.print(v3)}function UT(CE){const sS=CE.typeParameters;this.print(CE.typeName,!!sS),this.print(sS)}function pT(CE){CE.asserts&&(this.word("asserts"),this.space()),this.print(CE.parameterName),CE.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(CE.typeAnnotation.typeAnnotation))}function D7(CE){this.word("typeof"),this.space(),this.print(CE.exprName);const sS=CE.typeParameters;sS&&this.print(sS)}function WT(CE){r3(this,CE,()=>this.printJoin(CE.members,!0,!0,void 0,void 0,!0))}function A7(CE){this.print(CE.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function U7(CE){this.tokenChar(91),this.printList(CE.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function OS(CE){this.print(CE.typeAnnotation),this.tokenChar(63)}function wE(CE){this.token("..."),this.print(CE.typeAnnotation)}function xT(CE){this.print(CE.label),CE.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(CE.elementType)}function mS(CE){R7(this,CE,"|")}function bE(CE){R7(this,CE,"&")}function R7(CE,sS,S3){var v3;let AC=0;(v3=CE.tokenMap)!=null&&v3.startMatches(sS,S3)&&(AC=1,CE.token(S3)),CE.printJoin(sS.types,void 0,void 0,function(hA){this.space(),this.token(S3,void 0,hA+AC),this.space()})}function W3(CE){this.print(CE.checkType),this.space(),this.word("extends"),this.space(),this.print(CE.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(CE.trueType),this.space(),this.tokenChar(58),this.space(),this.print(CE.falseType)}function bT(CE){this.word("infer"),this.print(CE.typeParameter)}function Z7(CE){this.tokenChar(40),this.print(CE.typeAnnotation),this.tokenChar(41)}function JS(CE){this.word(CE.operator),this.space(),this.print(CE.typeAnnotation)}function XE(CE){this.print(CE.objectType,!0),this.tokenChar(91),this.print(CE.indexType),this.tokenChar(93)}function rS(CE){const{nameType:sS,optional:S3,readonly:v3,typeAnnotation:AC}=CE;this.tokenChar(123);const hA=this.enterDelimited();this.space(),v3&&(OT(this,v3),this.word("readonly"),this.space()),this.tokenChar(91),this.word(CE.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(CE.typeParameter.constraint,void 0,!0),sS&&(this.space(),this.word("as"),this.space(),this.print(sS,void 0,!0)),this.tokenChar(93),S3&&(OT(this,S3),this.tokenChar(63)),AC&&(this.tokenChar(58),this.space(),this.print(AC,void 0,!0)),this.space(),this._noLineTerminatorAfterNode=hA,this.tokenChar(125)}function OT(CE,sS){sS!==!0&&CE.token(sS)}function T7(CE){F0._printTemplate.call(this,CE,CE.types)}function E7(CE){this.print(CE.literal)}function VT(CE){this.print(CE.expression),this.print(CE.typeArguments)}function kS(CE){const{declare:sS,id:S3,typeParameters:v3,extends:AC,body:hA}=CE;sS&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(S3),this.print(v3),AC!=null&&AC.length&&(this.space(),this.word("extends"),this.space(),this.printList(AC)),this.space(),this.print(hA)}function _T(CE){r3(this,CE,()=>this.printJoin(CE.body,!0,!0,void 0,void 0,!0))}function LS(CE){const{declare:sS,id:S3,typeParameters:v3,typeAnnotation:AC}=CE;sS&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(S3),this.print(v3),this.space(),this.tokenChar(61),this.space(),this.print(AC),this.semicolon()}function hE(CE){const{expression:sS,typeAnnotation:S3}=CE;this.print(sS,!0),this.space(),this.word("as"),this.space(),this.print(S3)}function yS(CE){const{expression:sS,typeAnnotation:S3}=CE;this.print(sS,!0),this.space(),this.word("satisfies"),this.space(),this.print(S3)}function BD(CE){const{typeAnnotation:sS,expression:S3}=CE;this.tokenChar(60),this.print(sS),this.tokenChar(62),this.space(),this.print(S3)}function wT(CE){this.print(CE.expression),this.print(CE.typeParameters)}function dT(CE){const{declare:sS,const:S3,id:v3}=CE;sS&&(this.word("declare"),this.space()),S3&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(v3),this.space(),RT.call(this,CE)}function RT(CE){r3(this,CE,()=>{var sS;return this.printList(CE.members,(sS=this.shouldPrintTrailingComma("}"))!=null?sS:!0,!0,!0,void 0,!0)})}function KS(CE){const{id:sS,initializer:S3}=CE;this.print(sS),S3&&(this.space(),this.tokenChar(61),this.space(),this.print(S3))}function sE(CE){const{declare:sS,id:S3,kind:v3}=CE;if(sS&&(this.word("declare"),this.space()),CE.global||(this.word(v3??(S3.type==="Identifier"?"namespace":"module")),this.space()),this.print(S3),!CE.body){this.semicolon();return}let AC=CE.body;for(;AC.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(AC.id),AC=AC.body;this.space(),this.print(AC)}function B3(CE){r3(this,CE,()=>this.printSequence(CE.body,!0,!0))}function yC(CE){const{qualifier:sS,options:S3}=CE;this.word("import"),this.tokenChar(40),this.print(CE.argument),S3&&(this.tokenChar(44),this.print(S3)),this.tokenChar(41),sS&&(this.tokenChar(46),this.print(sS));const v3=CE.typeParameters;v3&&this.print(v3)}function uE(CE){const{id:sS,moduleReference:S3}=CE;CE.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(sS),this.space(),this.tokenChar(61),this.space(),this.print(S3),this.semicolon()}function _C(CE){this.token("require("),this.print(CE.expression),this.tokenChar(41)}function d3(CE){this.print(CE.expression),this.tokenChar(33),this.setLastChar(33)}function nA(CE){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(CE.expression),this.semicolon()}function DE(CE){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(CE.id),this.semicolon()}function iS(CE){const{typeParameters:sS}=CE,S3=CE.parameters;this.print(sS),this.tokenChar(40),s._parameters.call(this,S3,41);const v3=CE.typeAnnotation;this.print(v3)}function aS(CE){const sS=CE.type==="ClassPrivateProperty",S3=CE.type==="ClassAccessorProperty"||CE.type==="ClassProperty";AD(this,CE,[S3&&CE.declare&&"declare",!sS&&CE.accessibility]),CE.static&&(this.word("static"),this.space()),AD(this,CE,[!sS&&CE.abstract&&"abstract",!sS&&CE.override&&"override",(S3||sS)&&CE.readonly&&"readonly"])}function r3(CE,sS,S3){CE.token("{");const v3=CE.enterDelimited();S3(),CE._noLineTerminatorAfterNode=v3,CE.rightBrace(sS)}function AD(CE,sS,S3){var v3;const AC=new Set;for(const hA of S3)hA&&AC.add(hA);(v3=CE.tokenMap)==null||v3.find(sS,hA=>AC.has(hA.value)?(CE.token(hA.value),CE.space(),AC.delete(hA.value),AC.size===0):!1);for(const hA of AC)CE.word(hA),CE.space()}return typescript$2}var flow$4={},modules$1={},hasRequiredModules;function requireModules(){if(hasRequiredModules)return modules$1;hasRequiredModules=1,Object.defineProperty(modules$1,"__esModule",{value:!0}),modules$1.ExportAllDeclaration=qv,modules$1.ExportDefaultDeclaration=iv,modules$1.ExportDefaultSpecifier=F_,modules$1.ExportNamedDeclaration=S1,modules$1.ExportNamespaceSpecifier=z_,modules$1.ExportSpecifier=R_,modules$1.ImportAttribute=_x,modules$1.ImportDeclaration=Yv,modules$1.ImportDefaultSpecifier=I_,modules$1.ImportExpression=Fx,modules$1.ImportNamespaceSpecifier=Qv,modules$1.ImportSpecifier=D_,modules$1._printAttributes=Oy;var s=requireLib$2(),o=requireNode(),F0=requireExpressions();const{isClassDeclaration:L0,isExportDefaultSpecifier:B0,isExportNamespaceSpecifier:q0,isImportDefaultSpecifier:W0,isImportNamespaceSpecifier:X0,isStatement:K0}=s;function D_(jx){(jx.importKind==="type"||jx.importKind==="typeof")&&(this.word(jx.importKind),this.space()),this.print(jx.imported),jx.local&&jx.local.name!==jx.imported.name&&(this.space(),this.word("as"),this.space(),this.print(jx.local))}function I_(jx){this.print(jx.local)}function F_(jx){this.print(jx.exported)}function R_(jx){jx.exportKind==="type"&&(this.word("type"),this.space()),this.print(jx.local),jx.exported&&jx.local.name!==jx.exported.name&&(this.space(),this.word("as"),this.space(),this.print(jx.exported))}function z_(jx){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(jx.exported)}let H_=!1;function Oy(jx,K7){var g7;const{attributes:iT}=jx;var{assertions:$7}=jx;const{importAttributesKeyword:F7}=this.format;iT&&!F7&&jx.extra&&(jx.extra.deprecatedAssertSyntax||jx.extra.deprecatedWithLegacySyntax)&&!H_&&(H_=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const aE=F7==="assert"||!F7&&$7;if(this.word(aE?"assert":"with"),this.space(),!aE&&(F7==="with-legacy"||!F7&&(g7=jx.extra)!=null&&g7.deprecatedWithLegacySyntax)){this.printList(iT||$7);return}const gS=K7?1:0;this.token("{",void 0,gS),this.space(),this.printList(iT||$7,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",void 0,gS)}function qv(jx){var K7,g7;this.word("export"),this.space(),jx.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(K7=jx.attributes)!=null&&K7.length||(g7=jx.assertions)!=null&&g7.length?(this.print(jx.source,!0),this.space(),Oy.call(this,jx,!1)):this.print(jx.source),this.semicolon()}function Lv(jx,K7){L0(K7.declaration)&&F0._shouldPrintDecoratorsBeforeExport.call(jx,K7)&&jx.printJoin(K7.declaration.decorators)}function S1(jx){if(Lv(this,jx),this.word("export"),this.space(),jx.declaration){const iT=jx.declaration;this.print(iT),K0(iT)||this.semicolon()}else{jx.exportKind==="type"&&(this.word("type"),this.space());const iT=jx.specifiers.slice(0);let $7=!1;for(;;){const aE=iT[0];if(B0(aE)||q0(aE))$7=!0,this.print(iT.shift()),iT.length&&(this.tokenChar(44),this.space());else break}let F7=!1;if((iT.length||!iT.length&&!$7)&&(F7=!0,this.tokenChar(123),iT.length&&(this.space(),this.printList(iT,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),jx.source){var K7,g7;this.space(),this.word("from"),this.space(),(K7=jx.attributes)!=null&&K7.length||(g7=jx.assertions)!=null&&g7.length?(this.print(jx.source,!0),this.space(),Oy.call(this,jx,F7)):this.print(jx.source)}this.semicolon()}}function iv(jx){Lv(this,jx),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=o.TokenContext.exportDefault;const K7=jx.declaration;this.print(K7),K0(K7)||this.semicolon()}function Yv(jx){var K7,g7;this.word("import"),this.space();const iT=jx.importKind==="type"||jx.importKind==="typeof";iT?(this.noIndentInnerCommentsHere(),this.word(jx.importKind),this.space()):jx.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):jx.phase&&(this.noIndentInnerCommentsHere(),this.word(jx.phase),this.space());const $7=jx.specifiers.slice(0),F7=!!$7.length;for(;F7;){const gS=$7[0];if(W0(gS)||X0(gS))this.print($7.shift()),$7.length&&(this.tokenChar(44),this.space());else break}let aE=!1;$7.length?(aE=!0,this.tokenChar(123),this.space(),this.printList($7,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):iT&&!F7&&(aE=!0,this.tokenChar(123),this.tokenChar(125)),(F7||iT)&&(this.space(),this.word("from"),this.space()),(K7=jx.attributes)!=null&&K7.length||(g7=jx.assertions)!=null&&g7.length?(this.print(jx.source,!0),this.space(),Oy.call(this,jx,aE)):this.print(jx.source),this.semicolon()}function _x(jx){this.print(jx.key),this.tokenChar(58),this.space(),this.print(jx.value)}function Qv(jx){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(jx.local)}function Fx(jx){this.word("import"),jx.phase&&(this.tokenChar(46),this.word(jx.phase)),this.tokenChar(40);const K7=this.shouldPrintTrailingComma(")");this.print(jx.source),jx.options!=null&&(this.tokenChar(44),this.space(),this.print(jx.options)),K7&&this.tokenChar(44),this.rightParens(jx)}return modules$1}var types$2={};const object$1={},hasOwnProperty$9=object$1.hasOwnProperty,forOwn$1=(s,o)=>{for(const F0 in s)hasOwnProperty$9.call(s,F0)&&o(F0,s[F0])},extend$1=(s,o)=>(o&&forOwn$1(o,(F0,L0)=>{s[F0]=L0}),s),forEach$1=(s,o)=>{const F0=s.length;let L0=-1;for(;++L0<F0;)o(s[L0])},fourHexEscape=s=>"\\u"+("0000"+s).slice(-4),hexadecimal=(s,o)=>{let F0=s.toString(16);return o?F0:F0.toUpperCase()},toString$4=object$1.toString,isArray$9=Array.isArray,isBuffer$2=s=>typeof Buffer=="function"&&Buffer.isBuffer(s),isObject$4=s=>toString$4.call(s)=="[object Object]",isString$1=s=>typeof s=="string"||toString$4.call(s)=="[object String]",isNumber$1=s=>typeof s=="number"||toString$4.call(s)=="[object Number]",isBigInt=s=>typeof s=="bigint",isFunction$9=s=>typeof s=="function",isMap$1=s=>toString$4.call(s)=="[object Map]",isSet$1=s=>toString$4.call(s)=="[object Set]",singleEscapes$1={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},regexSingleEscape$1=/[\\\b\f\n\r\t]/,regexDigit$1=/[0-9]/,regexWhitespace=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,escapeEverythingRegex=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,escapeNonAsciiRegex=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,jsesc$1=(s,o)=>{const F0=()=>{D_=K0,++o.indentLevel,K0=o.indent.repeat(o.indentLevel)},L0={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},B0=o&&o.json;B0&&(L0.quotes="double",L0.wrap=!0),o=extend$1(L0,o),o.quotes!="single"&&o.quotes!="double"&&o.quotes!="backtick"&&(o.quotes="single");const q0=o.quotes=="double"?'"':o.quotes=="backtick"?"`":"'",W0=o.compact,X0=o.lowercaseHex;let K0=o.indent.repeat(o.indentLevel),D_="";const I_=o.__inline1__,F_=o.__inline2__,R_=W0?"":`
4811
+ `,z_);B0.column+=L0-z_}removeLastSemicolon(){this._queuedChar===59&&(this._queuedChar=0)}getLastChar(o){if(!o)return this._last;const F0=this._queuedChar;return F0!==0?F0:this._last}getNewlineCount(){return this._queuedChar===0&&this._last===10?1:0}hasContent(){return this._last!==0}exactSource(o,F0){if(!this._map){F0();return}this.source("start",o);const L0=o.identifierName,B0=this._sourcePosition;L0!=null&&(this._canMarkIdName=!1,B0.identifierName=L0),F0(),L0!=null&&(this._canMarkIdName=!0,B0.identifierName=void 0,B0.identifierNamePos=void 0),this.source("end",o)}source(o,F0){this._map&&this._normalizePosition(o,F0,0)}sourceWithOffset(o,F0,L0){this._map&&this._normalizePosition(o,F0,L0)}_normalizePosition(o,F0,L0){this._flush();const B0=F0[o],q0=this._sourcePosition;B0&&(q0.line=B0.line,q0.column=Math.max(B0.column+L0,0),q0.filename=F0.filename)}getCurrentColumn(){return this._position.column+(this._queuedChar?1:0)}getCurrentLine(){return this._position.line}};buffer$4.default=Buffer$2;var node$2={},parentheses$1={},hasRequiredParentheses;function requireParentheses(){if(hasRequiredParentheses)return parentheses$1;hasRequiredParentheses=1,Object.defineProperty(parentheses$1,"__esModule",{value:!0}),parentheses$1.AssignmentExpression=D7,parentheses$1.BinaryExpression=iT,parentheses$1.ClassExpression=gS,parentheses$1.ArrowFunctionExpression=parentheses$1.ConditionalExpression=UT,parentheses$1.DoExpression=Oy,parentheses$1.FunctionExpression=lT,parentheses$1.FunctionTypeAnnotation=F_,parentheses$1.Identifier=WT,parentheses$1.LogicalExpression=$7,parentheses$1.NullableTypeAnnotation=I_,parentheses$1.ObjectExpression=H_,parentheses$1.OptionalIndexedAccessType=S1,parentheses$1.OptionalCallExpression=parentheses$1.OptionalMemberExpression=pT,parentheses$1.SequenceExpression=F7,parentheses$1.TSSatisfiesExpression=parentheses$1.TSAsExpression=iv,parentheses$1.TSConditionalType=Yv,parentheses$1.TSConstructorType=parentheses$1.TSFunctionType=g7,parentheses$1.TSInferType=Fx,parentheses$1.TSInstantiationExpression=K7,parentheses$1.TSIntersectionType=Qv,parentheses$1.SpreadElement=parentheses$1.UnaryExpression=parentheses$1.TSTypeAssertion=eS,parentheses$1.TSTypeOperator=jx,parentheses$1.TSUnionType=_x,parentheses$1.IntersectionTypeAnnotation=parentheses$1.UnionTypeAnnotation=Lv,parentheses$1.UpdateExpression=R_,parentheses$1.AwaitExpression=parentheses$1.YieldExpression=aE;var s=requireLib$2(),o=requireNode();const{isMemberExpression:F0,isOptionalMemberExpression:L0,isYieldExpression:B0,isStatement:q0}=s,W0=new Map([["||",0],["??",1],["&&",2],["|",3],["^",4],["&",5],["==",6],["===",6],["!=",6],["!==",6],["<",7],[">",7],["<=",7],[">=",7],["in",7],["instanceof",7],[">>",8],["<<",8],[">>>",8],["+",9],["-",9],["*",10],["/",10],["%",10],["**",11]]);function X0(A7){return A7===156||A7===201||A7===209}const K0=(A7,U7,OS)=>(OS===21||OS===22)&&U7.superClass===A7,D_=(A7,U7,OS)=>{switch(OS){case 108:case 132:return U7.object===A7;case 17:case 130:case 112:return U7.callee===A7;case 222:return U7.tag===A7;case 191:return!0}return!1};function I_(A7,U7,OS){return OS===4}function F_(A7,U7,OS,wE){return OS===239||OS===90||OS===4||(wE&o.TokenContext.arrowFlowReturnType)>0}function R_(A7,U7,OS){return D_(A7,U7,OS)||K0(A7,U7,OS)}function z_(A7){return(A7&(o.TokenContext.expressionStatement|o.TokenContext.arrowBody))>0}function H_(A7,U7,OS,wE){return z_(wE)}function Oy(A7,U7,OS,wE){return(wE&o.TokenContext.expressionStatement)>0&&!A7.async}function qv(A7,U7,OS,wE){if(K0(A7,U7,OS)||D_(A7,U7,OS)||OS===238||OS===145||OS===8)return!0;let xT;switch(OS){case 10:case 107:xT=W0.get(U7.operator);break;case 156:case 201:xT=7}if(xT!==void 0){const mS=wE===2?7:W0.get(A7.operator);if(xT>mS||xT===mS&&OS===10&&(mS===11?U7.left===A7:U7.right===A7)||wE===1&&OS===107&&(mS===1&&xT!==1||xT===1&&mS!==1))return!0}return!1}function Lv(A7,U7,OS){switch(OS){case 4:case 115:case 90:case 239:return!0}return!1}function S1(A7,U7,OS){return OS===84&&U7.objectType===A7}function iv(A7,U7,OS){return(OS===6||OS===7)&&U7.left===A7||OS===10&&(U7.operator==="|"||U7.operator==="&")&&A7===U7.left?!0:qv(A7,U7,OS,2)}function Yv(A7,U7,OS){switch(OS){case 155:case 195:case 211:case 212:return!0;case 175:return U7.objectType===A7;case 181:case 219:return U7.types[0]===A7;case 161:return U7.checkType===A7||U7.extendsType===A7}return!1}function _x(A7,U7,OS){switch(OS){case 181:case 211:case 155:case 195:return!0;case 175:return U7.objectType===A7}return!1}function Qv(A7,U7,OS){return OS===211||jx(A7,U7,OS)}function Fx(A7,U7,OS){return!!(jx(A7,U7,OS)||(OS===181||OS===219)&&A7.typeParameter.constraint&&U7.types[0]===A7)}function jx(A7,U7,OS){switch(OS){case 155:case 195:return!0;case 175:if(U7.objectType===A7)return!0}return!1}function K7(A7,U7,OS){switch(OS){case 17:case 130:case 112:case 177:return U7.typeParameters!=null}return!1}function g7(A7,U7,OS){return _x(A7,U7,OS)?!0:OS===219||OS===161&&(U7.checkType===A7||U7.extendsType===A7)}function iT(A7,U7,OS,wE){return qv(A7,U7,OS,0)?!0:(wE&o.TokenContext.forInOrInitHeadAccumulate)>0&&A7.operator==="in"}function $7(A7,U7,OS){return qv(A7,U7,OS,1)}function F7(A7,U7,OS){return OS===144||OS===133||OS===108&&U7.property===A7||OS===132&&U7.property===A7||OS===224?!1:OS===21?!0:OS===68?U7.right===A7:OS===60?!0:!q0(U7)}function aE(A7,U7,OS){return OS===10||OS===107||OS===238||OS===145||D_(A7,U7,OS)||OS===8&&B0(A7)||OS===28&&A7===U7.test||K0(A7,U7,OS)||X0(OS)}function gS(A7,U7,OS,wE){return(wE&(o.TokenContext.expressionStatement|o.TokenContext.exportDefault))>0}function eS(A7,U7,OS){return D_(A7,U7,OS)||OS===10&&U7.operator==="**"&&U7.left===A7||K0(A7,U7,OS)}function lT(A7,U7,OS,wE){return(wE&(o.TokenContext.expressionStatement|o.TokenContext.exportDefault))>0}function UT(A7,U7,OS){switch(OS){case 238:case 145:case 10:case 107:case 8:return!0;case 28:if(U7.test===A7)return!0}return X0(OS)?!0:eS(A7,U7,OS)}function pT(A7,U7,OS){switch(OS){case 17:return U7.callee===A7;case 108:return U7.object===A7}return!1}function D7(A7,U7,OS,wE){return z_(wE)&&A7.left.type==="ObjectPattern"?!0:UT(A7,U7,OS)}function WT(A7,U7,OS,wE,xT){var mS;if(xT&&xT(A7)!==A7.name)return!1;if(OS===6&&(mS=A7.extra)!=null&&mS.parenthesized&&U7.left===A7){const bE=U7.right.type;if((bE==="FunctionExpression"||bE==="ClassExpression")&&U7.right.id==null)return!0}return(wE&o.TokenContext.forOfHead||(OS===108||OS===132)&&wE&(o.TokenContext.expressionStatement|o.TokenContext.forInitHead|o.TokenContext.forInHead))&&A7.name==="let"?(F0(U7,{object:A7,computed:!0})||L0(U7,{object:A7,computed:!0,optional:!1}))&&wE&(o.TokenContext.expressionStatement|o.TokenContext.forInitHead|o.TokenContext.forInHead)?!0:(wE&o.TokenContext.forOfHead)>0:OS===68&&U7.left===A7&&A7.name==="async"&&!U7.await}return parentheses$1}var nodes$1={},generators$1={},templateLiterals$1={};Object.defineProperty(templateLiterals$1,"__esModule",{value:!0});templateLiterals$1.TaggedTemplateExpression=TaggedTemplateExpression$1;templateLiterals$1.TemplateElement=TemplateElement$1;templateLiterals$1.TemplateLiteral=TemplateLiteral$1;templateLiterals$1._printTemplate=_printTemplate;function TaggedTemplateExpression$1(s){this.print(s.tag),this.print(s.typeParameters),this.print(s.quasi)}function TemplateElement$1(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function _printTemplate(s,o){const F0=s.quasis;let L0="`";for(let B0=0;B0<F0.length-1;B0++)if(L0+=F0[B0].value.raw,this.token(L0+"${",!0),this.print(o[B0]),L0="}",this.tokenMap){const q0=this.tokenMap.findMatching(s,"}",B0);q0&&this._catchUpTo(q0.loc.start)}L0+=F0[F0.length-1].value.raw,this.token(L0+"`",!0)}function TemplateLiteral$1(s){_printTemplate.call(this,s,s.expressions)}var expressions$1={},hasRequiredExpressions;function requireExpressions(){if(hasRequiredExpressions)return expressions$1;hasRequiredExpressions=1,Object.defineProperty(expressions$1,"__esModule",{value:!0}),expressions$1.LogicalExpression=expressions$1.AssignmentExpression=iT,expressions$1.AssignmentPattern=g7,expressions$1.AwaitExpression=Qv,expressions$1.BinaryExpression=$7,expressions$1.BindExpression=F7,expressions$1.CallExpression=Yv,expressions$1.ConditionalExpression=F_,expressions$1.Decorator=Lv,expressions$1.DoExpression=K0,expressions$1.EmptyStatement=jx,expressions$1.ExpressionStatement=K7,expressions$1.Import=_x,expressions$1.MemberExpression=aE,expressions$1.MetaProperty=gS,expressions$1.ModuleExpression=UT,expressions$1.NewExpression=R_,expressions$1.OptionalCallExpression=iv,expressions$1.OptionalMemberExpression=S1,expressions$1.ParenthesizedExpression=D_,expressions$1.PrivateName=eS,expressions$1.SequenceExpression=z_,expressions$1.Super=Oy,expressions$1.ThisExpression=H_,expressions$1.UnaryExpression=X0,expressions$1.UpdateExpression=I_,expressions$1.V8IntrinsicIdentifier=lT,expressions$1.YieldExpression=Fx,expressions$1._shouldPrintDecoratorsBeforeExport=qv;var s=requireLib$2(),o=requireNode();const{isCallExpression:F0,isLiteral:L0,isMemberExpression:B0,isNewExpression:q0,isPattern:W0}=s;function X0(pT){const{operator:D7}=pT,WT=D7.charCodeAt(0);WT>=97&&WT<=122?(this.word(D7),this.space()):this.tokenChar(WT),this.print(pT.argument)}function K0(pT){pT.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(pT.body)}function D_(pT){this.tokenChar(40);const D7=this.enterDelimited();this.print(pT.expression,void 0,!0),this._noLineTerminatorAfterNode=D7,this.rightParens(pT)}function I_(pT){pT.prefix?(this.token(pT.operator,!1,0,!0),this.print(pT.argument)):(this.print(pT.argument,!0),this.token(pT.operator,!1,0,!0))}function F_(pT){this.print(pT.test),this.space(),this.tokenChar(63),this.space(),this.print(pT.consequent),this.space(),this.tokenChar(58),this.space(),this.print(pT.alternate)}function R_(pT,D7){if(this.word("new"),this.space(),this.print(pT.callee),this.format.minified&&pT.arguments.length===0&&!pT.optional&&!F0(D7,{callee:pT})&&!B0(D7)&&!q0(D7)||(this.print(pT.typeArguments),this.print(pT.typeParameters),pT.optional&&this.token("?."),pT.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(pT,")")))return;this.tokenChar(40);const WT=this.enterDelimited();this.printList(pT.arguments,this.shouldPrintTrailingComma(")"),void 0,void 0,void 0,!0),this._noLineTerminatorAfterNode=WT,this.rightParens(pT)}function z_(pT){this.printList(pT.expressions)}function H_(){this.word("this")}function Oy(){this.word("super")}function qv(pT){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof pT.start=="number"&&pT.start===pT.declaration.start}function Lv(pT){this.tokenChar(64);const{expression:D7}=pT;this.print(D7),this.newline()}function S1(pT){let{computed:D7}=pT;const{optional:WT,property:A7}=pT;if(this.print(pT.object),!D7&&B0(A7))throw new TypeError("Got a MemberExpression for MemberExpression property");L0(A7)&&typeof A7.value=="number"&&(D7=!0),WT&&this.token("?."),D7?(this.tokenChar(91),this.print(A7),this.tokenChar(93)):(WT||this.tokenChar(46),this.print(A7))}function iv(pT){this.print(pT.callee),this.print(pT.typeParameters),pT.optional&&this.token("?."),this.print(pT.typeArguments),this.tokenChar(40);const D7=this.enterDelimited();this.printList(pT.arguments,void 0,void 0,void 0,void 0,!0),this._noLineTerminatorAfterNode=D7,this.rightParens(pT)}function Yv(pT){this.print(pT.callee),this.print(pT.typeArguments),this.print(pT.typeParameters),this.tokenChar(40);const D7=this.enterDelimited();this.printList(pT.arguments,this.shouldPrintTrailingComma(")"),void 0,void 0,void 0,!0),this._noLineTerminatorAfterNode=D7,this.rightParens(pT)}function _x(){this.word("import")}function Qv(pT){this.word("await"),this.space(),this.print(pT.argument)}function Fx(pT){pT.delegate?(this.word("yield",!0),this.tokenChar(42),pT.argument&&(this.space(),this.print(pT.argument))):pT.argument?(this.word("yield",!0),this.space(),this.print(pT.argument)):this.word("yield")}function jx(){this.semicolon(!0)}function K7(pT){this.tokenContext|=o.TokenContext.expressionStatement,this.print(pT.expression),this.semicolon()}function g7(pT){this.print(pT.left),(pT.left.type==="Identifier"||W0(pT.left))&&(pT.left.optional&&this.tokenChar(63),this.print(pT.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(pT.right)}function iT(pT){this.print(pT.left),this.space(),this.token(pT.operator,!1,0,!0),this.space(),this.print(pT.right)}function $7(pT){this.print(pT.left),this.space();const{operator:D7}=pT;D7.charCodeAt(0)===105?this.word(D7):(this.token(D7,!1,0,!0),this.setLastChar(D7.charCodeAt(D7.length-1))),this.space(),this.print(pT.right)}function F7(pT){this.print(pT.object),this.token("::"),this.print(pT.callee)}function aE(pT){if(this.print(pT.object),!pT.computed&&B0(pT.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let D7=pT.computed;if(L0(pT.property)&&typeof pT.property.value=="number"&&(D7=!0),D7){const WT=this.enterDelimited();this.tokenChar(91),this.print(pT.property,void 0,!0),this.tokenChar(93),this._noLineTerminatorAfterNode=WT}else this.tokenChar(46),this.print(pT.property)}function gS(pT){this.print(pT.meta),this.tokenChar(46),this.print(pT.property)}function eS(pT){this.tokenChar(35),this.print(pT.id)}function lT(pT){this.tokenChar(37),this.word(pT.name)}function UT(pT){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();const{body:D7}=pT;(D7.body.length||D7.directives.length)&&this.newline(),this.print(D7),this.dedent(),this.rightBrace(pT)}return expressions$1}var statements$2={},hasRequiredStatements;function requireStatements(){if(hasRequiredStatements)return statements$2;hasRequiredStatements=1,Object.defineProperty(statements$2,"__esModule",{value:!0}),statements$2.BreakStatement=H_,statements$2.CatchClause=Yv,statements$2.ContinueStatement=Oy,statements$2.DebuggerStatement=Fx,statements$2.DoWhileStatement=R_,statements$2.ForInStatement=I_,statements$2.ForOfStatement=F_,statements$2.ForStatement=K0,statements$2.IfStatement=W0,statements$2.LabeledStatement=S1,statements$2.ReturnStatement=qv,statements$2.SwitchCase=Qv,statements$2.SwitchStatement=_x,statements$2.ThrowStatement=Lv,statements$2.TryStatement=iv,statements$2.VariableDeclaration=K7,statements$2.VariableDeclarator=g7,statements$2.WhileStatement=D_,statements$2.WithStatement=q0;var s=requireLib$2(),o=requireNode();const{isFor:F0,isIfStatement:L0,isStatement:B0}=s;function q0(iT){this.word("with"),this.space(),this.tokenChar(40),this.print(iT.object),this.tokenChar(41),this.printBlock(iT.body)}function W0(iT){this.word("if"),this.space(),this.tokenChar(40),this.print(iT.test),this.tokenChar(41),this.space();const $7=iT.alternate&&L0(X0(iT.consequent));$7&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(iT.consequent),$7&&(this.dedent(),this.newline(),this.tokenChar(125)),iT.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(iT.alternate))}function X0(iT){const{body:$7}=iT;return B0($7)===!1?iT:X0($7)}function K0(iT){this.word("for"),this.space(),this.tokenChar(40),this.tokenContext|=o.TokenContext.forInitHead|o.TokenContext.forInOrInitHeadAccumulate,this.print(iT.init),this.tokenContext=o.TokenContext.normal,this.tokenChar(59),iT.test&&(this.space(),this.print(iT.test)),this.tokenChar(59,1),iT.update&&(this.space(),this.print(iT.update)),this.tokenChar(41),this.printBlock(iT.body)}function D_(iT){this.word("while"),this.space(),this.tokenChar(40),this.print(iT.test),this.tokenChar(41),this.printBlock(iT.body)}function I_(iT){this.word("for"),this.space(),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.tokenContext|=o.TokenContext.forInHead|o.TokenContext.forInOrInitHeadAccumulate,this.print(iT.left),this.tokenContext=o.TokenContext.normal,this.space(),this.word("in"),this.space(),this.print(iT.right),this.tokenChar(41),this.printBlock(iT.body)}function F_(iT){this.word("for"),this.space(),iT.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.tokenContext|=o.TokenContext.forOfHead,this.print(iT.left),this.space(),this.word("of"),this.space(),this.print(iT.right),this.tokenChar(41),this.printBlock(iT.body)}function R_(iT){this.word("do"),this.space(),this.print(iT.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(iT.test),this.tokenChar(41),this.semicolon()}function z_(iT,$7){$7&&(iT.space(),iT.printTerminatorless($7)),iT.semicolon()}function H_(iT){this.word("break"),z_(this,iT.label)}function Oy(iT){this.word("continue"),z_(this,iT.label)}function qv(iT){this.word("return"),z_(this,iT.argument)}function Lv(iT){this.word("throw"),z_(this,iT.argument)}function S1(iT){this.print(iT.label),this.tokenChar(58),this.space(),this.print(iT.body)}function iv(iT){this.word("try"),this.space(),this.print(iT.block),this.space(),iT.handlers?this.print(iT.handlers[0]):this.print(iT.handler),iT.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(iT.finalizer))}function Yv(iT){this.word("catch"),this.space(),iT.param&&(this.tokenChar(40),this.print(iT.param),this.print(iT.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(iT.body)}function _x(iT){this.word("switch"),this.space(),this.tokenChar(40),this.print(iT.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(iT.cases,!0),this.rightBrace(iT)}function Qv(iT){iT.test?(this.word("case"),this.space(),this.print(iT.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),iT.consequent.length&&(this.newline(),this.printSequence(iT.consequent,!0))}function Fx(){this.word("debugger"),this.semicolon()}function jx(iT){this.tokenChar(44,iT),this.newline()}function K7(iT,$7){iT.declare&&(this.word("declare"),this.space());const{kind:F7}=iT;switch(F7){case"await using":this.word("await"),this.space();case"using":this.word("using",!0);break;default:this.word(F7)}this.space();let aE=!1;if(!F0($7)){for(const gS of iT.declarations)if(gS.init){aE=!0;break}}if(this.printList(iT.declarations,void 0,void 0,iT.declarations.length>1,aE?jx:void 0),$7!=null)switch($7.type){case"ForStatement":if($7.init===iT)return;break;case"ForInStatement":case"ForOfStatement":if($7.left===iT)return}this.semicolon()}function g7(iT){this.print(iT.id),iT.definite&&this.tokenChar(33),this.print(iT.id.typeAnnotation),iT.init&&(this.space(),this.tokenChar(61),this.space(),this.print(iT.init))}return statements$2}var classes$1={},typescript$2={},methods$1={},hasRequiredMethods;function requireMethods(){if(hasRequiredMethods)return methods$1;hasRequiredMethods=1,Object.defineProperty(methods$1,"__esModule",{value:!0}),methods$1.ArrowFunctionExpression=I_,methods$1.FunctionDeclaration=methods$1.FunctionExpression=D_,methods$1._functionHead=K0,methods$1._methodHead=W0,methods$1._param=q0,methods$1._parameters=B0,methods$1._params=L0,methods$1._predicate=X0,methods$1._shouldPrintArrowParamsParens=F_;var s=requireLib$2(),o=requireNode();const{isIdentifier:F0}=s;function L0(z_,H_,Oy,qv){if(this.print(z_.typeParameters),Oy!==void 0||qv!==void 0){const Lv=R_.call(this,Oy,qv);Lv&&this.sourceIdentifierName(Lv.name,Lv.pos)}this.tokenChar(40),B0.call(this,z_.params,41),this.print(z_.returnType,H_),this._noLineTerminator=H_}function B0(z_,H_){const Oy=this.enterDelimited(),qv=this.shouldPrintTrailingComma(H_),Lv=z_.length;for(let S1=0;S1<Lv;S1++)q0.call(this,z_[S1]),(qv||S1<Lv-1)&&(this.tokenChar(44,S1),this.space());this.tokenChar(H_),this._noLineTerminatorAfterNode=Oy}function q0(z_){this.printJoin(z_.decorators,void 0,void 0,void 0,void 0,!0),this.print(z_,void 0,!0),z_.optional&&this.tokenChar(63),this.print(z_.typeAnnotation,void 0,!0)}function W0(z_){const H_=z_.kind,Oy=z_.key;(H_==="get"||H_==="set")&&(this.word(H_),this.space()),z_.async&&(this.word("async",!0),this.space()),(H_==="method"||H_==="init")&&z_.generator&&this.tokenChar(42),z_.computed?(this.tokenChar(91),this.print(Oy),this.tokenChar(93)):this.print(Oy),z_.optional&&this.tokenChar(63),this._buf._map?L0.call(this,z_,!1,z_.computed&&z_.key.type!=="StringLiteral"?void 0:z_.key):L0.call(this,z_,!1)}function X0(z_,H_){z_.predicate&&(z_.returnType||this.tokenChar(58),this.space(),this.print(z_.predicate,H_))}function K0(z_,H_,Oy){z_.async&&(this.word("async"),this.format.preserveFormat||(this._innerCommentsState=0),this.space()),this.word("function"),z_.generator&&(this.format.preserveFormat||(this._innerCommentsState=0),this.tokenChar(42)),this.space(),z_.id&&this.print(z_.id),this._buf._map?L0.call(this,z_,!1,z_.id,H_):L0.call(this,z_,!1),Oy&&X0.call(this,z_)}function D_(z_,H_){K0.call(this,z_,H_,!0),this.space(),this.print(z_.body)}function I_(z_,H_){z_.async&&(this.word("async",!0),this.space()),F_.call(this,z_)?L0.call(this,z_,!0,void 0,this._buf._map?H_:void 0):this.print(z_.params[0],!0),X0.call(this,z_,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=o.TokenContext.arrowBody,this.print(z_.body)}function F_(z_){var H_,Oy;if(z_.params.length!==1||z_.typeParameters||z_.returnType||z_.predicate)return!0;const qv=z_.params[0];if(!F0(qv)||qv.typeAnnotation||qv.optional||(H_=qv.leadingComments)!=null&&H_.length||(Oy=qv.trailingComments)!=null&&Oy.length)return!0;if(this.tokenMap){if(z_.loc==null||this.tokenMap.findMatching(z_,"(")!==null)return!0;const Lv=this.tokenMap.findMatching(z_,"=>");return(Lv==null?void 0:Lv.loc)==null?!0:Lv.loc.start.line!==z_.loc.start.line}return!!this.format.retainLines}function R_(z_,H_){let Oy=z_;if(!Oy&&H_){const _x=H_.type;_x==="VariableDeclarator"?Oy=H_.id:_x==="AssignmentExpression"||_x==="AssignmentPattern"?Oy=H_.left:_x==="ObjectProperty"||_x==="ClassProperty"?(!H_.computed||H_.key.type==="StringLiteral")&&(Oy=H_.key):(_x==="ClassPrivateProperty"||_x==="ClassAccessorProperty")&&(Oy=H_.key)}if(!Oy)return;let qv;if(Oy.type==="Identifier"){var Lv,S1;qv={pos:(Lv=Oy.loc)==null?void 0:Lv.start,name:((S1=Oy.loc)==null?void 0:S1.identifierName)||Oy.name}}else if(Oy.type==="PrivateName"){var iv;qv={pos:(iv=Oy.loc)==null?void 0:iv.start,name:"#"+Oy.id.name}}else if(Oy.type==="StringLiteral"){var Yv;qv={pos:(Yv=Oy.loc)==null?void 0:Yv.start,name:Oy.value}}return qv}return methods$1}var hasRequiredTypescript$1;function requireTypescript$1(){if(hasRequiredTypescript$1)return typescript$2;hasRequiredTypescript$1=1,Object.defineProperty(typescript$2,"__esModule",{value:!0}),typescript$2.TSAnyKeyword=Lv,typescript$2.TSArrayType=A7,typescript$2.TSAsExpression=hE,typescript$2.TSBigIntKeyword=S1,typescript$2.TSBooleanKeyword=Qv,typescript$2.TSCallSignatureDeclaration=I_,typescript$2.TSInterfaceHeritage=typescript$2.TSClassImplements=VT,typescript$2.TSConditionalType=W3,typescript$2.TSConstructSignatureDeclaration=R_,typescript$2.TSConstructorType=eS,typescript$2.TSDeclareFunction=X0,typescript$2.TSDeclareMethod=K0,typescript$2.TSEnumBody=RT,typescript$2.TSEnumDeclaration=dT,typescript$2.TSEnumMember=KS,typescript$2.TSExportAssignment=nA,typescript$2.TSExternalModuleReference=_C,typescript$2.TSFunctionType=gS,typescript$2.TSImportEqualsDeclaration=uE,typescript$2.TSImportType=yC,typescript$2.TSIndexSignature=qv,typescript$2.TSIndexedAccessType=XE,typescript$2.TSInferType=bT,typescript$2.TSInstantiationExpression=wT,typescript$2.TSInterfaceBody=_T,typescript$2.TSInterfaceDeclaration=kS,typescript$2.TSIntersectionType=bE,typescript$2.TSIntrinsicKeyword=F7,typescript$2.TSLiteralType=E7,typescript$2.TSMappedType=rS,typescript$2.TSMethodSignature=Oy,typescript$2.TSModuleBlock=B3,typescript$2.TSModuleDeclaration=sE,typescript$2.TSNamedTupleMember=xT,typescript$2.TSNamespaceExportDeclaration=DE,typescript$2.TSNeverKeyword=$7,typescript$2.TSNonNullExpression=d3,typescript$2.TSNullKeyword=iT,typescript$2.TSNumberKeyword=Yv,typescript$2.TSObjectKeyword=_x,typescript$2.TSOptionalType=OS,typescript$2.TSParameterProperty=W0,typescript$2.TSParenthesizedType=Z7,typescript$2.TSPropertySignature=z_,typescript$2.TSQualifiedName=D_,typescript$2.TSRestType=wE,typescript$2.TSSatisfiesExpression=yS,typescript$2.TSStringKeyword=Fx,typescript$2.TSSymbolKeyword=jx,typescript$2.TSTemplateLiteralType=T7,typescript$2.TSThisType=aE,typescript$2.TSTupleType=U7,typescript$2.TSTypeAliasDeclaration=LS,typescript$2.TSTypeAnnotation=L0,typescript$2.TSTypeAssertion=BD,typescript$2.TSTypeLiteral=WT,typescript$2.TSTypeOperator=JS,typescript$2.TSTypeParameter=q0,typescript$2.TSTypeParameterDeclaration=typescript$2.TSTypeParameterInstantiation=B0,typescript$2.TSTypePredicate=pT,typescript$2.TSTypeQuery=D7,typescript$2.TSTypeReference=UT,typescript$2.TSUndefinedKeyword=g7,typescript$2.TSUnionType=mS,typescript$2.TSUnknownKeyword=iv,typescript$2.TSVoidKeyword=K7,typescript$2._tsPrintClassMemberModifiers=aS;var s=requireMethods(),o=requireClasses(),F0=templateLiterals$1;function L0(CE,sS){this.token((sS.type==="TSFunctionType"||sS.type==="TSConstructorType")&&sS.typeAnnotation===CE?"=>":":"),this.space(),CE.optional&&this.tokenChar(63),this.print(CE.typeAnnotation)}function B0(CE,sS){this.tokenChar(60);let S3=sS.type==="ArrowFunctionExpression"&&CE.params.length===1;this.tokenMap&&CE.start!=null&&CE.end!=null&&(S3&&(S3=!!this.tokenMap.find(CE,v3=>this.tokenMap.matchesOriginal(v3,","))),S3||(S3=this.shouldPrintTrailingComma(">"))),this.printList(CE.params,S3),this.tokenChar(62)}function q0(CE){CE.const&&(this.word("const"),this.space()),CE.in&&(this.word("in"),this.space()),CE.out&&(this.word("out"),this.space()),this.word(CE.name),CE.constraint&&(this.space(),this.word("extends"),this.space(),this.print(CE.constraint)),CE.default&&(this.space(),this.tokenChar(61),this.space(),this.print(CE.default))}function W0(CE){CE.accessibility&&(this.word(CE.accessibility),this.space()),CE.readonly&&(this.word("readonly"),this.space()),s._param.call(this,CE.parameter)}function X0(CE,sS){CE.declare&&(this.word("declare"),this.space()),s._functionHead.call(this,CE,sS,!1),this.semicolon()}function K0(CE){o._classMethodHead.call(this,CE),this.semicolon()}function D_(CE){this.print(CE.left),this.tokenChar(46),this.print(CE.right)}function I_(CE){iS.call(this,CE),F_(this,CE)}function F_(CE,sS){if(!CE.tokenMap||!sS.start||!sS.end){CE.semicolon();return}CE.tokenMap.endMatches(sS,",")?CE.token(","):CE.tokenMap.endMatches(sS,";")&&CE.semicolon()}function R_(CE){this.word("new"),this.space(),iS.call(this,CE),F_(this,CE)}function z_(CE){const{readonly:sS}=CE;sS&&(this.word("readonly"),this.space()),H_.call(this,CE),this.print(CE.typeAnnotation),F_(this,CE)}function H_(CE){CE.computed&&this.tokenChar(91),this.print(CE.key),CE.computed&&this.tokenChar(93),CE.optional&&this.tokenChar(63)}function Oy(CE){const{kind:sS}=CE;(sS==="set"||sS==="get")&&(this.word(sS),this.space()),H_.call(this,CE),iS.call(this,CE),F_(this,CE)}function qv(CE){const{readonly:sS,static:S3}=CE;S3&&(this.word("static"),this.space()),sS&&(this.word("readonly"),this.space()),this.tokenChar(91),s._parameters.call(this,CE.parameters,93),this.print(CE.typeAnnotation),F_(this,CE)}function Lv(){this.word("any")}function S1(){this.word("bigint")}function iv(){this.word("unknown")}function Yv(){this.word("number")}function _x(){this.word("object")}function Qv(){this.word("boolean")}function Fx(){this.word("string")}function jx(){this.word("symbol")}function K7(){this.word("void")}function g7(){this.word("undefined")}function iT(){this.word("null")}function $7(){this.word("never")}function F7(){this.word("intrinsic")}function aE(){this.word("this")}function gS(CE){lT.call(this,CE)}function eS(CE){CE.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),lT.call(this,CE)}function lT(CE){const{typeParameters:sS}=CE,S3=CE.parameters;this.print(sS),this.tokenChar(40),s._parameters.call(this,S3,41),this.space();const v3=CE.typeAnnotation;this.print(v3)}function UT(CE){const sS=CE.typeParameters;this.print(CE.typeName,!!sS),this.print(sS)}function pT(CE){CE.asserts&&(this.word("asserts"),this.space()),this.print(CE.parameterName),CE.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(CE.typeAnnotation.typeAnnotation))}function D7(CE){this.word("typeof"),this.space(),this.print(CE.exprName);const sS=CE.typeParameters;sS&&this.print(sS)}function WT(CE){r3(this,CE,()=>this.printJoin(CE.members,!0,!0,void 0,void 0,!0))}function A7(CE){this.print(CE.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function U7(CE){this.tokenChar(91),this.printList(CE.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function OS(CE){this.print(CE.typeAnnotation),this.tokenChar(63)}function wE(CE){this.token("..."),this.print(CE.typeAnnotation)}function xT(CE){this.print(CE.label),CE.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(CE.elementType)}function mS(CE){R7(this,CE,"|")}function bE(CE){R7(this,CE,"&")}function R7(CE,sS,S3){var v3;let AC=0;(v3=CE.tokenMap)!=null&&v3.startMatches(sS,S3)&&(AC=1,CE.token(S3)),CE.printJoin(sS.types,void 0,void 0,function(hA){this.space(),this.token(S3,void 0,hA+AC),this.space()})}function W3(CE){this.print(CE.checkType),this.space(),this.word("extends"),this.space(),this.print(CE.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(CE.trueType),this.space(),this.tokenChar(58),this.space(),this.print(CE.falseType)}function bT(CE){this.word("infer"),this.print(CE.typeParameter)}function Z7(CE){this.tokenChar(40),this.print(CE.typeAnnotation),this.tokenChar(41)}function JS(CE){this.word(CE.operator),this.space(),this.print(CE.typeAnnotation)}function XE(CE){this.print(CE.objectType,!0),this.tokenChar(91),this.print(CE.indexType),this.tokenChar(93)}function rS(CE){const{nameType:sS,optional:S3,readonly:v3,typeAnnotation:AC}=CE;this.tokenChar(123);const hA=this.enterDelimited();this.space(),v3&&(OT(this,v3),this.word("readonly"),this.space()),this.tokenChar(91),this.word(CE.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(CE.typeParameter.constraint,void 0,!0),sS&&(this.space(),this.word("as"),this.space(),this.print(sS,void 0,!0)),this.tokenChar(93),S3&&(OT(this,S3),this.tokenChar(63)),AC&&(this.tokenChar(58),this.space(),this.print(AC,void 0,!0)),this.space(),this._noLineTerminatorAfterNode=hA,this.tokenChar(125)}function OT(CE,sS){sS!==!0&&CE.token(sS)}function T7(CE){F0._printTemplate.call(this,CE,CE.types)}function E7(CE){this.print(CE.literal)}function VT(CE){this.print(CE.expression),this.print(CE.typeArguments)}function kS(CE){const{declare:sS,id:S3,typeParameters:v3,extends:AC,body:hA}=CE;sS&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(S3),this.print(v3),AC!=null&&AC.length&&(this.space(),this.word("extends"),this.space(),this.printList(AC)),this.space(),this.print(hA)}function _T(CE){r3(this,CE,()=>this.printJoin(CE.body,!0,!0,void 0,void 0,!0))}function LS(CE){const{declare:sS,id:S3,typeParameters:v3,typeAnnotation:AC}=CE;sS&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(S3),this.print(v3),this.space(),this.tokenChar(61),this.space(),this.print(AC),this.semicolon()}function hE(CE){const{expression:sS,typeAnnotation:S3}=CE;this.print(sS,!0),this.space(),this.word("as"),this.space(),this.print(S3)}function yS(CE){const{expression:sS,typeAnnotation:S3}=CE;this.print(sS,!0),this.space(),this.word("satisfies"),this.space(),this.print(S3)}function BD(CE){const{typeAnnotation:sS,expression:S3}=CE;this.tokenChar(60),this.print(sS),this.tokenChar(62),this.space(),this.print(S3)}function wT(CE){this.print(CE.expression),this.print(CE.typeParameters)}function dT(CE){const{declare:sS,const:S3,id:v3}=CE;sS&&(this.word("declare"),this.space()),S3&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(v3),this.space(),RT.call(this,CE)}function RT(CE){r3(this,CE,()=>{var sS;return this.printList(CE.members,(sS=this.shouldPrintTrailingComma("}"))!=null?sS:!0,!0,!0,void 0,!0)})}function KS(CE){const{id:sS,initializer:S3}=CE;this.print(sS),S3&&(this.space(),this.tokenChar(61),this.space(),this.print(S3))}function sE(CE){const{declare:sS,id:S3,kind:v3}=CE;if(sS&&(this.word("declare"),this.space()),CE.global||(this.word(v3??(S3.type==="Identifier"?"namespace":"module")),this.space()),this.print(S3),!CE.body){this.semicolon();return}let AC=CE.body;for(;AC.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(AC.id),AC=AC.body;this.space(),this.print(AC)}function B3(CE){r3(this,CE,()=>this.printSequence(CE.body,!0,!0))}function yC(CE){const{qualifier:sS,options:S3}=CE;this.word("import"),this.tokenChar(40),this.print(CE.argument),S3&&(this.tokenChar(44),this.print(S3)),this.tokenChar(41),sS&&(this.tokenChar(46),this.print(sS));const v3=CE.typeParameters;v3&&this.print(v3)}function uE(CE){const{id:sS,moduleReference:S3}=CE;CE.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(sS),this.space(),this.tokenChar(61),this.space(),this.print(S3),this.semicolon()}function _C(CE){this.token("require("),this.print(CE.expression),this.tokenChar(41)}function d3(CE){this.print(CE.expression),this.tokenChar(33),this.setLastChar(33)}function nA(CE){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(CE.expression),this.semicolon()}function DE(CE){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(CE.id),this.semicolon()}function iS(CE){const{typeParameters:sS}=CE,S3=CE.parameters;this.print(sS),this.tokenChar(40),s._parameters.call(this,S3,41);const v3=CE.typeAnnotation;this.print(v3)}function aS(CE){const sS=CE.type==="ClassPrivateProperty",S3=CE.type==="ClassAccessorProperty"||CE.type==="ClassProperty";AD(this,CE,[S3&&CE.declare&&"declare",!sS&&CE.accessibility]),CE.static&&(this.word("static"),this.space()),AD(this,CE,[!sS&&CE.abstract&&"abstract",!sS&&CE.override&&"override",(S3||sS)&&CE.readonly&&"readonly"])}function r3(CE,sS,S3){CE.token("{");const v3=CE.enterDelimited();S3(),CE._noLineTerminatorAfterNode=v3,CE.rightBrace(sS)}function AD(CE,sS,S3){var v3;const AC=new Set;for(const hA of S3)hA&&AC.add(hA);(v3=CE.tokenMap)==null||v3.find(sS,hA=>AC.has(hA.value)?(CE.token(hA.value),CE.space(),AC.delete(hA.value),AC.size===0):!1);for(const hA of AC)CE.word(hA),CE.space()}return typescript$2}var flow$4={},modules$1={},hasRequiredModules;function requireModules(){if(hasRequiredModules)return modules$1;hasRequiredModules=1,Object.defineProperty(modules$1,"__esModule",{value:!0}),modules$1.ExportAllDeclaration=qv,modules$1.ExportDefaultDeclaration=iv,modules$1.ExportDefaultSpecifier=F_,modules$1.ExportNamedDeclaration=S1,modules$1.ExportNamespaceSpecifier=z_,modules$1.ExportSpecifier=R_,modules$1.ImportAttribute=_x,modules$1.ImportDeclaration=Yv,modules$1.ImportDefaultSpecifier=I_,modules$1.ImportExpression=Fx,modules$1.ImportNamespaceSpecifier=Qv,modules$1.ImportSpecifier=D_,modules$1._printAttributes=Oy;var s=requireLib$2(),o=requireNode(),F0=requireExpressions();const{isClassDeclaration:L0,isExportDefaultSpecifier:B0,isExportNamespaceSpecifier:q0,isImportDefaultSpecifier:W0,isImportNamespaceSpecifier:X0,isStatement:K0}=s;function D_(jx){(jx.importKind==="type"||jx.importKind==="typeof")&&(this.word(jx.importKind),this.space()),this.print(jx.imported),jx.local&&jx.local.name!==jx.imported.name&&(this.space(),this.word("as"),this.space(),this.print(jx.local))}function I_(jx){this.print(jx.local)}function F_(jx){this.print(jx.exported)}function R_(jx){jx.exportKind==="type"&&(this.word("type"),this.space()),this.print(jx.local),jx.exported&&jx.local.name!==jx.exported.name&&(this.space(),this.word("as"),this.space(),this.print(jx.exported))}function z_(jx){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(jx.exported)}let H_=!1;function Oy(jx,K7){var g7;const{attributes:iT}=jx;var{assertions:$7}=jx;const{importAttributesKeyword:F7}=this.format;iT&&!F7&&jx.extra&&(jx.extra.deprecatedAssertSyntax||jx.extra.deprecatedWithLegacySyntax)&&!H_&&(H_=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));const aE=F7==="assert"||!F7&&$7;if(this.word(aE?"assert":"with"),this.space(),!aE&&(F7==="with-legacy"||!F7&&(g7=jx.extra)!=null&&g7.deprecatedWithLegacySyntax)){this.printList(iT||$7);return}const gS=K7?1:0;this.token("{",void 0,gS),this.space(),this.printList(iT||$7,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",void 0,gS)}function qv(jx){var K7,g7;this.word("export"),this.space(),jx.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(K7=jx.attributes)!=null&&K7.length||(g7=jx.assertions)!=null&&g7.length?(this.print(jx.source,!0),this.space(),Oy.call(this,jx,!1)):this.print(jx.source),this.semicolon()}function Lv(jx,K7){L0(K7.declaration)&&F0._shouldPrintDecoratorsBeforeExport.call(jx,K7)&&jx.printJoin(K7.declaration.decorators)}function S1(jx){if(Lv(this,jx),this.word("export"),this.space(),jx.declaration){const iT=jx.declaration;this.print(iT),K0(iT)||this.semicolon()}else{jx.exportKind==="type"&&(this.word("type"),this.space());const iT=jx.specifiers.slice(0);let $7=!1;for(;;){const aE=iT[0];if(B0(aE)||q0(aE))$7=!0,this.print(iT.shift()),iT.length&&(this.tokenChar(44),this.space());else break}let F7=!1;if((iT.length||!iT.length&&!$7)&&(F7=!0,this.tokenChar(123),iT.length&&(this.space(),this.printList(iT,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),jx.source){var K7,g7;this.space(),this.word("from"),this.space(),(K7=jx.attributes)!=null&&K7.length||(g7=jx.assertions)!=null&&g7.length?(this.print(jx.source,!0),this.space(),Oy.call(this,jx,F7)):this.print(jx.source)}this.semicolon()}}function iv(jx){Lv(this,jx),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=o.TokenContext.exportDefault;const K7=jx.declaration;this.print(K7),K0(K7)||this.semicolon()}function Yv(jx){var K7,g7;this.word("import"),this.space();const iT=jx.importKind==="type"||jx.importKind==="typeof";iT?(this.noIndentInnerCommentsHere(),this.word(jx.importKind),this.space()):jx.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):jx.phase&&(this.noIndentInnerCommentsHere(),this.word(jx.phase),this.space());const $7=jx.specifiers.slice(0),F7=!!$7.length;for(;F7;){const gS=$7[0];if(W0(gS)||X0(gS))this.print($7.shift()),$7.length&&(this.tokenChar(44),this.space());else break}let aE=!1;$7.length?(aE=!0,this.tokenChar(123),this.space(),this.printList($7,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):iT&&!F7&&(aE=!0,this.tokenChar(123),this.tokenChar(125)),(F7||iT)&&(this.space(),this.word("from"),this.space()),(K7=jx.attributes)!=null&&K7.length||(g7=jx.assertions)!=null&&g7.length?(this.print(jx.source,!0),this.space(),Oy.call(this,jx,aE)):this.print(jx.source),this.semicolon()}function _x(jx){this.print(jx.key),this.tokenChar(58),this.space(),this.print(jx.value)}function Qv(jx){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(jx.local)}function Fx(jx){this.word("import"),jx.phase&&(this.tokenChar(46),this.word(jx.phase)),this.tokenChar(40);const K7=this.shouldPrintTrailingComma(")");this.print(jx.source),jx.options!=null&&(this.tokenChar(44),this.space(),this.print(jx.options)),K7&&this.tokenChar(44),this.rightParens(jx)}return modules$1}var types$2={};const object$1={},hasOwnProperty$7=object$1.hasOwnProperty,forOwn$1=(s,o)=>{for(const F0 in s)hasOwnProperty$7.call(s,F0)&&o(F0,s[F0])},extend$1=(s,o)=>(o&&forOwn$1(o,(F0,L0)=>{s[F0]=L0}),s),forEach$1=(s,o)=>{const F0=s.length;let L0=-1;for(;++L0<F0;)o(s[L0])},fourHexEscape=s=>"\\u"+("0000"+s).slice(-4),hexadecimal=(s,o)=>{let F0=s.toString(16);return o?F0:F0.toUpperCase()},toString$4=object$1.toString,isArray$9=Array.isArray,isBuffer$2=s=>typeof Buffer=="function"&&Buffer.isBuffer(s),isObject$4=s=>toString$4.call(s)=="[object Object]",isString$1=s=>typeof s=="string"||toString$4.call(s)=="[object String]",isNumber$1=s=>typeof s=="number"||toString$4.call(s)=="[object Number]",isBigInt=s=>typeof s=="bigint",isFunction$9=s=>typeof s=="function",isMap$1=s=>toString$4.call(s)=="[object Map]",isSet$1=s=>toString$4.call(s)=="[object Set]",singleEscapes$1={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},regexSingleEscape$1=/[\\\b\f\n\r\t]/,regexDigit$1=/[0-9]/,regexWhitespace=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,escapeEverythingRegex=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,escapeNonAsciiRegex=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,jsesc$1=(s,o)=>{const F0=()=>{D_=K0,++o.indentLevel,K0=o.indent.repeat(o.indentLevel)},L0={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},B0=o&&o.json;B0&&(L0.quotes="double",L0.wrap=!0),o=extend$1(L0,o),o.quotes!="single"&&o.quotes!="double"&&o.quotes!="backtick"&&(o.quotes="single");const q0=o.quotes=="double"?'"':o.quotes=="backtick"?"`":"'",W0=o.compact,X0=o.lowercaseHex;let K0=o.indent.repeat(o.indentLevel),D_="";const I_=o.__inline1__,F_=o.__inline2__,R_=W0?"":`
4812
4812
  `;let z_,H_=!0;const Oy=o.numbers=="binary",qv=o.numbers=="octal",Lv=o.numbers=="decimal",S1=o.numbers=="hexadecimal";if(B0&&s&&isFunction$9(s.toJSON)&&(s=s.toJSON()),!isString$1(s)){if(isMap$1(s))return s.size==0?"new Map()":(W0||(o.__inline1__=!0,o.__inline2__=!1),"new Map("+jsesc$1(Array.from(s),o)+")");if(isSet$1(s))return s.size==0?"new Set()":"new Set("+jsesc$1(Array.from(s),o)+")";if(isBuffer$2(s))return s.length==0?"Buffer.from([])":"Buffer.from("+jsesc$1(Array.from(s),o)+")";if(isArray$9(s))return z_=[],o.wrap=!0,I_&&(o.__inline1__=!1,o.__inline2__=!0),F_||F0(),forEach$1(s,Yv=>{H_=!1,F_&&(o.__inline2__=!1),z_.push((W0||F_?"":K0)+jsesc$1(Yv,o))}),H_?"[]":F_?"["+z_.join(", ")+"]":"["+R_+z_.join(","+R_)+R_+(W0?"":D_)+"]";if(isNumber$1(s)||isBigInt(s)){if(B0)return JSON.stringify(Number(s));let Yv;if(Lv)Yv=String(s);else if(S1){let _x=s.toString(16);X0||(_x=_x.toUpperCase()),Yv="0x"+_x}else Oy?Yv="0b"+s.toString(2):qv&&(Yv="0o"+s.toString(8));return isBigInt(s)?Yv+"n":Yv}else return isBigInt(s)?B0?JSON.stringify(Number(s)):s+"n":isObject$4(s)?(z_=[],o.wrap=!0,F0(),forOwn$1(s,(Yv,_x)=>{H_=!1,z_.push((W0?"":K0)+jsesc$1(Yv,o)+":"+(W0?"":" ")+jsesc$1(_x,o))}),H_?"{}":"{"+R_+z_.join(","+R_)+R_+(W0?"":D_)+"}"):B0?JSON.stringify(s)||"null":String(s)}const iv=o.escapeEverything?escapeEverythingRegex:escapeNonAsciiRegex;return z_=s.replace(iv,(Yv,_x,Qv,Fx,jx,K7)=>{if(_x){if(o.minimal)return _x;const iT=_x.charCodeAt(0),$7=_x.charCodeAt(1);if(o.es6){const F7=(iT-55296)*1024+$7-56320+65536;return"\\u{"+hexadecimal(F7,X0)+"}"}return fourHexEscape(hexadecimal(iT,X0))+fourHexEscape(hexadecimal($7,X0))}if(Qv)return fourHexEscape(hexadecimal(Qv.charCodeAt(0),X0));if(Yv=="\0"&&!B0&&!regexDigit$1.test(K7.charAt(jx+1)))return"\\0";if(Fx)return Fx==q0||o.escapeEverything?"\\"+Fx:Fx;if(regexSingleEscape$1.test(Yv))return singleEscapes$1[Yv];if(o.minimal&&!regexWhitespace.test(Yv))return Yv;const g7=hexadecimal(Yv.charCodeAt(0),X0);return B0||g7.length>2?fourHexEscape(g7):"\\x"+("00"+g7).slice(-2)}),q0=="`"&&(z_=z_.replace(/\$\{/g,"\\${")),o.isScriptContext&&(z_=z_.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,B0?"\\u003C!--":"\\x3C!--")),o.wrap&&(z_=q0+z_+q0),z_};jsesc$1.version="3.0.2";var jsesc_1$1=jsesc$1,hasRequiredTypes;function requireTypes(){if(hasRequiredTypes)return types$2;hasRequiredTypes=1,Object.defineProperty(types$2,"__esModule",{value:!0}),types$2.ArgumentPlaceholder=K0,types$2.ArrayPattern=types$2.ArrayExpression=z_,types$2.BigIntLiteral=iv,types$2.BooleanLiteral=Oy,types$2.Identifier=X0,types$2.NullLiteral=qv,types$2.NumericLiteral=Lv,types$2.ObjectPattern=types$2.ObjectExpression=I_,types$2.ObjectMethod=F_,types$2.ObjectProperty=R_,types$2.PipelineBareFunction=Fx,types$2.PipelinePrimaryTopicReference=jx,types$2.PipelineTopicExpression=Qv,types$2.RegExpLiteral=H_,types$2.SpreadElement=types$2.RestElement=D_,types$2.StringLiteral=S1,types$2.TopicReference=_x,types$2.VoidPattern=K7,types$2._getRawIdentifier=W0;var s=requireLib$2(),o=jsesc_1$1,F0=requireMethods();const{isAssignmentPattern:L0,isIdentifier:B0}=s;let q0="";function W0(g7){const{name:iT}=g7,$7=this.tokenMap.find(g7,F7=>F7.value===iT);return $7?(q0=this._originalCode.slice($7.start,$7.end),q0):q0=g7.name}function X0(g7){if(this._buf._map){var iT;this.sourceIdentifierName(((iT=g7.loc)==null?void 0:iT.identifierName)||g7.name)}this.word(this.tokenMap?q0:g7.name)}function K0(){this.tokenChar(63)}function D_(g7){this.token("..."),this.print(g7.argument)}function I_(g7){const iT=g7.properties;if(this.tokenChar(123),iT.length){const $7=this.enterDelimited();this.space(),this.printList(iT,this.shouldPrintTrailingComma("}"),!0,!0,void 0,!0),this.space(),this._noLineTerminatorAfterNode=$7}this.rightBrace(g7)}function F_(g7){this.printJoin(g7.decorators),F0._methodHead.call(this,g7),this.space(),this.print(g7.body)}function R_(g7){if(this.printJoin(g7.decorators),g7.computed)this.tokenChar(91),this.print(g7.key),this.tokenChar(93);else{if(L0(g7.value)&&B0(g7.key)&&g7.key.name===g7.value.left.name){this.print(g7.value);return}if(this.print(g7.key),g7.shorthand&&B0(g7.key)&&B0(g7.value)&&g7.key.name===g7.value.name)return}this.tokenChar(58),this.space(),this.print(g7.value)}function z_(g7){const iT=g7.elements,$7=iT.length;this.tokenChar(91);const F7=this.enterDelimited();for(let aE=0;aE<iT.length;aE++){const gS=iT[aE];gS?(aE>0&&this.space(),this.print(gS,void 0,!0),(aE<$7-1||this.shouldPrintTrailingComma("]"))&&this.tokenChar(44,aE)):this.tokenChar(44,aE)}this._noLineTerminatorAfterNode=F7,this.tokenChar(93)}function H_(g7){this.word(`/${g7.pattern}/${g7.flags}`,!1)}function Oy(g7){this.word(g7.value?"true":"false")}function qv(){this.word("null")}function Lv(g7){const iT=this.getPossibleRaw(g7),$7=this.format.jsescOption,F7=g7.value,aE=F7+"";$7.numbers?this.number(o(F7,$7),F7):iT==null?this.number(aE,F7):this.format.minified?this.number(iT.length<aE.length?iT:aE,F7):this.number(iT,F7)}function S1(g7){const iT=this.getPossibleRaw(g7);if(!this.format.minified&&iT!==void 0){this.token(iT);return}const $7=o(g7.value,this.format.jsescOption);this.token($7)}function iv(g7){const iT=this.getPossibleRaw(g7);if(!this.format.minified&&iT!==void 0){this.word(iT);return}this.word(g7.value+"n")}const Yv=new Set(["^^","@@","^","%","#"]);function _x(){const{topicToken:g7}=this.format;if(Yv.has(g7))this.token(g7);else{const iT=JSON.stringify(g7),$7=Array.from(Yv,F7=>JSON.stringify(F7));throw new Error(`The "topicToken" generator option must be one of ${$7.join(", ")} (${iT} received instead).`)}}function Qv(g7){this.print(g7.expression)}function Fx(g7){this.print(g7.callee)}function jx(){this.tokenChar(35)}function K7(){this.word("void")}return types$2}var hasRequiredFlow$1;function requireFlow$1(){return hasRequiredFlow$1||(hasRequiredFlow$1=1,function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.AnyTypeAnnotation=X0,s.ArrayTypeAnnotation=K0,s.BooleanLiteralTypeAnnotation=I_,s.BooleanTypeAnnotation=D_,s.DeclareClass=R_,s.DeclareExportAllDeclaration=Fx,s.DeclareExportDeclaration=Qv,s.DeclareFunction=z_,s.DeclareInterface=qv,s.DeclareModule=Lv,s.DeclareModuleExports=S1,s.DeclareOpaqueType=Yv,s.DeclareTypeAlias=iv,s.DeclareVariable=_x,s.DeclaredPredicate=Oy,s.EmptyTypeAnnotation=Z7,s.EnumBooleanBody=iT,s.EnumBooleanMember=lT,s.EnumDeclaration=jx,s.EnumDefaultedMember=gS,s.EnumNumberBody=$7,s.EnumNumberMember=UT,s.EnumStringBody=F7,s.EnumStringMember=pT,s.EnumSymbolBody=aE,s.ExistsTypeAnnotation=WT,s.FunctionTypeAnnotation=A7,s.FunctionTypeParam=U7,s.IndexedAccessType=DE,s.InferredPredicate=H_,s.InterfaceDeclaration=mS,s.GenericTypeAnnotation=s.ClassImplements=s.InterfaceExtends=OS,s.InterfaceTypeAnnotation=R7,s.IntersectionTypeAnnotation=W3,s.MixedTypeAnnotation=bT,s.NullLiteralTypeAnnotation=F_,s.NullableTypeAnnotation=JS,Object.defineProperty(s,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return B0.NumericLiteral}}),s.NumberTypeAnnotation=XE,s.ObjectTypeAnnotation=yS,s.ObjectTypeCallProperty=wT,s.ObjectTypeIndexer=dT,s.ObjectTypeInternalSlot=BD,s.ObjectTypeProperty=RT,s.ObjectTypeSpreadProperty=KS,s.OpaqueType=hE,s.OptionalIndexedAccessType=iS,s.QualifiedTypeIdentifier=sE,Object.defineProperty(s,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return B0.StringLiteral}}),s.StringTypeAnnotation=rS,s.SymbolTypeAnnotation=B3,s.ThisTypeAnnotation=OT,s.TupleTypeAnnotation=T7,s.TypeAlias=VT,s.TypeAnnotation=kS,s.TypeCastExpression=_C,s.TypeParameter=LS,s.TypeParameterDeclaration=s.TypeParameterInstantiation=_T,s.TypeofTypeAnnotation=E7,s.UnionTypeAnnotation=uE,s.Variance=d3,s.VoidTypeAnnotation=nA,s._interfaceish=wE,s._variance=xT;var o=requireLib$2(),F0=requireModules(),L0=requireNode(),B0=requireTypes();const{isDeclareExportDeclaration:q0,isStatement:W0}=o;function X0(){this.word("any")}function K0(aS){this.print(aS.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function D_(){this.word("boolean")}function I_(aS){this.word(aS.value?"true":"false")}function F_(){this.word("null")}function R_(aS,r3){q0(r3)||(this.word("declare"),this.space()),this.word("class"),this.space(),wE.call(this,aS)}function z_(aS,r3){q0(r3)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(aS.id),this.print(aS.id.typeAnnotation.typeAnnotation),aS.predicate&&(this.space(),this.print(aS.predicate)),this.semicolon()}function H_(){this.tokenChar(37),this.word("checks")}function Oy(aS){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(aS.value),this.tokenChar(41)}function qv(aS){this.word("declare"),this.space(),mS.call(this,aS)}function Lv(aS){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(aS.id),this.space(),this.print(aS.body)}function S1(aS){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(aS.typeAnnotation)}function iv(aS){this.word("declare"),this.space(),VT.call(this,aS)}function Yv(aS,r3){q0(r3)||(this.word("declare"),this.space()),hE.call(this,aS)}function _x(aS,r3){q0(r3)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(aS.id),this.print(aS.id.typeAnnotation),this.semicolon()}function Qv(aS){this.word("declare"),this.space(),this.word("export"),this.space(),aS.default&&(this.word("default"),this.space()),D7.call(this,aS)}function Fx(aS){this.word("declare"),this.space(),F0.ExportAllDeclaration.call(this,aS)}function jx(aS){const{id:r3,body:AD}=aS;this.word("enum"),this.space(),this.print(r3),this.print(AD)}function K7(aS,r3,AD){AD&&(aS.space(),aS.word("of"),aS.space(),aS.word(r3)),aS.space()}function g7(aS,r3){const{members:AD}=r3;aS.token("{"),aS.indent(),aS.newline();for(const CE of AD)aS.print(CE),aS.newline();r3.hasUnknownMembers&&(aS.token("..."),aS.newline()),aS.dedent(),aS.token("}")}function iT(aS){const{explicitType:r3}=aS;K7(this,"boolean",r3),g7(this,aS)}function $7(aS){const{explicitType:r3}=aS;K7(this,"number",r3),g7(this,aS)}function F7(aS){const{explicitType:r3}=aS;K7(this,"string",r3),g7(this,aS)}function aE(aS){K7(this,"symbol",!0),g7(this,aS)}function gS(aS){const{id:r3}=aS;this.print(r3),this.tokenChar(44)}function eS(aS,r3){aS.print(r3.id),aS.space(),aS.token("="),aS.space(),aS.print(r3.init),aS.token(",")}function lT(aS){eS(this,aS)}function UT(aS){eS(this,aS)}function pT(aS){eS(this,aS)}function D7(aS){if(aS.declaration){const r3=aS.declaration;this.print(r3),W0(r3)||this.semicolon()}else this.tokenChar(123),aS.specifiers.length&&(this.space(),this.printList(aS.specifiers),this.space()),this.tokenChar(125),aS.source&&(this.space(),this.word("from"),this.space(),this.print(aS.source)),this.semicolon()}function WT(){this.tokenChar(42)}function A7(aS,r3){this.print(aS.typeParameters),this.tokenChar(40),aS.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(aS.this.typeAnnotation),(aS.params.length||aS.rest)&&(this.tokenChar(44),this.space())),this.printList(aS.params),aS.rest&&(aS.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(aS.rest)),this.tokenChar(41);const AD=r3==null?void 0:r3.type;AD!=null&&(AD==="ObjectTypeCallProperty"||AD==="ObjectTypeInternalSlot"||AD==="DeclareFunction"||AD==="ObjectTypeProperty"&&r3.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(aS.returnType)}function U7(aS){this.print(aS.name),aS.optional&&this.tokenChar(63),aS.name&&(this.tokenChar(58),this.space()),this.print(aS.typeAnnotation)}function OS(aS){this.print(aS.id),this.print(aS.typeParameters,!0)}function wE(aS){var r3;if(this.print(aS.id),this.print(aS.typeParameters),(r3=aS.extends)!=null&&r3.length&&(this.space(),this.word("extends"),this.space(),this.printList(aS.extends)),aS.type==="DeclareClass"){var AD,CE;(AD=aS.mixins)!=null&&AD.length&&(this.space(),this.word("mixins"),this.space(),this.printList(aS.mixins)),(CE=aS.implements)!=null&&CE.length&&(this.space(),this.word("implements"),this.space(),this.printList(aS.implements))}this.space(),this.print(aS.body)}function xT(aS){var r3;const AD=(r3=aS.variance)==null?void 0:r3.kind;AD!=null&&(AD==="plus"?this.tokenChar(43):AD==="minus"&&this.tokenChar(45))}function mS(aS){this.word("interface"),this.space(),wE.call(this,aS)}function bE(aS){this.space(),this.token("&",!1,aS),this.space()}function R7(aS){var r3;this.word("interface"),(r3=aS.extends)!=null&&r3.length&&(this.space(),this.word("extends"),this.space(),this.printList(aS.extends)),this.space(),this.print(aS.body)}function W3(aS){this.printJoin(aS.types,void 0,void 0,bE)}function bT(){this.word("mixed")}function Z7(){this.word("empty")}function JS(aS){this.tokenChar(63),this.print(aS.typeAnnotation)}function XE(){this.word("number")}function rS(){this.word("string")}function OT(){this.word("this")}function T7(aS){this.tokenChar(91),this.printList(aS.types),this.tokenChar(93)}function E7(aS){this.word("typeof"),this.space(),this.print(aS.argument)}function VT(aS){this.word("type"),this.space(),this.print(aS.id),this.print(aS.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(aS.right),this.semicolon()}function kS(aS,r3){this.tokenChar(58),this.space(),r3.type==="ArrowFunctionExpression"?this.tokenContext|=L0.TokenContext.arrowFlowReturnType:aS.optional&&this.tokenChar(63),this.print(aS.typeAnnotation)}function _T(aS){this.tokenChar(60),this.printList(aS.params),this.tokenChar(62)}function LS(aS){xT.call(this,aS),this.word(aS.name),aS.bound&&this.print(aS.bound),aS.default&&(this.space(),this.tokenChar(61),this.space(),this.print(aS.default))}function hE(aS){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(aS.id),this.print(aS.typeParameters),aS.supertype&&(this.tokenChar(58),this.space(),this.print(aS.supertype)),aS.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(aS.impltype)),this.semicolon()}function yS(aS){aS.exact?this.token("{|"):this.tokenChar(123);const r3=[...aS.properties,...aS.callProperties||[],...aS.indexers||[],...aS.internalSlots||[]];r3.length&&(this.newline(),this.space(),this.printJoin(r3,!0,!0,()=>{(r3.length!==1||aS.inexact)&&(this.tokenChar(44),this.space())},!0),this.space()),aS.inexact&&(this.indent(),this.token("..."),r3.length&&this.newline(),this.dedent()),aS.exact?this.token("|}"):this.tokenChar(125)}function BD(aS){aS.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(aS.id),this.tokenChar(93),this.tokenChar(93),aS.optional&&this.tokenChar(63),aS.method||(this.tokenChar(58),this.space()),this.print(aS.value)}function wT(aS){aS.static&&(this.word("static"),this.space()),this.print(aS.value)}function dT(aS){aS.static&&(this.word("static"),this.space()),xT.call(this,aS),this.tokenChar(91),aS.id&&(this.print(aS.id),this.tokenChar(58),this.space()),this.print(aS.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(aS.value)}function RT(aS){aS.proto&&(this.word("proto"),this.space()),aS.static&&(this.word("static"),this.space()),(aS.kind==="get"||aS.kind==="set")&&(this.word(aS.kind),this.space()),xT.call(this,aS),this.print(aS.key),aS.optional&&this.tokenChar(63),aS.method||(this.tokenChar(58),this.space()),this.print(aS.value)}function KS(aS){this.token("..."),this.print(aS.argument)}function sE(aS){this.print(aS.qualification),this.tokenChar(46),this.print(aS.id)}function B3(){this.word("symbol")}function yC(aS){this.space(),this.token("|",!1,aS),this.space()}function uE(aS){this.printJoin(aS.types,void 0,void 0,yC)}function _C(aS){this.tokenChar(40),this.print(aS.expression),this.print(aS.typeAnnotation),this.tokenChar(41)}function d3(aS){aS.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function nA(){this.word("void")}function DE(aS){this.print(aS.objectType,!0),this.tokenChar(91),this.print(aS.indexType),this.tokenChar(93)}function iS(aS){this.print(aS.objectType),aS.optional&&this.token("?."),this.tokenChar(91),this.print(aS.indexType),this.tokenChar(93)}}(flow$4)),flow$4}var hasRequiredClasses;function requireClasses(){if(hasRequiredClasses)return classes$1;hasRequiredClasses=1,Object.defineProperty(classes$1,"__esModule",{value:!0}),classes$1.ClassAccessorProperty=F_,classes$1.ClassBody=K0,classes$1.ClassExpression=classes$1.ClassDeclaration=X0,classes$1.ClassMethod=z_,classes$1.ClassPrivateMethod=H_,classes$1.ClassPrivateProperty=R_,classes$1.ClassProperty=I_,classes$1.StaticBlock=qv,classes$1._classMethodHead=Oy;var s=requireLib$2(),o=requireExpressions(),F0=requireTypescript$1(),L0=requireFlow$1(),B0=requireMethods();const{isExportDefaultDeclaration:q0,isExportNamedDeclaration:W0}=s;function X0(Lv,S1){(!(q0(S1)||W0(S1))||!o._shouldPrintDecoratorsBeforeExport.call(this,S1))&&this.printJoin(Lv.decorators),Lv.declare&&(this.word("declare"),this.space()),Lv.abstract&&(this.word("abstract"),this.space()),this.word("class"),Lv.id&&(this.space(),this.print(Lv.id)),this.print(Lv.typeParameters),Lv.superClass&&(this.space(),this.word("extends"),this.space(),this.print(Lv.superClass),this.print(Lv.superTypeParameters)),Lv.implements&&(this.space(),this.word("implements"),this.space(),this.printList(Lv.implements)),this.space(),this.print(Lv.body)}function K0(Lv){if(this.tokenChar(123),Lv.body.length===0)this.tokenChar(125);else{const S1=D_(this,Lv);S1==null||S1(-1);const iv=this.enterDelimited();this.printJoin(Lv.body,!0,!0,S1,!0,!0),this._noLineTerminatorAfterNode=iv,this.endsWith(10)||this.newline(),this.rightBrace(Lv)}}function D_(Lv,S1){if(!Lv.tokenMap||S1.start==null||S1.end==null)return null;const iv=Lv.tokenMap.getIndexes(S1);if(!iv)return null;let Yv=1,_x=0,Qv=0;const Fx=()=>{for(;Qv<S1.body.length&&S1.body[Qv].start==null;)Qv++};return Fx(),jx=>{Qv<=jx&&(Qv=jx+1,Fx());const K7=Qv===S1.body.length?S1.end:S1.body[Qv].start;let g7;for(;Yv<iv.length&&Lv.tokenMap.matchesOriginal(g7=Lv._tokens[iv[Yv]],";")&&g7.start<K7;)Lv.tokenChar(59,_x++),Yv++}}function I_(Lv){if(this.printJoin(Lv.decorators),!Lv.static&&!this.format.preserveFormat){var S1;const iv=(S1=Lv.key.loc)==null||(S1=S1.end)==null?void 0:S1.line;iv&&this.catchUp(iv)}F0._tsPrintClassMemberModifiers.call(this,Lv),Lv.computed?(this.tokenChar(91),this.print(Lv.key),this.tokenChar(93)):(L0._variance.call(this,Lv),this.print(Lv.key)),Lv.optional&&this.tokenChar(63),Lv.definite&&this.tokenChar(33),this.print(Lv.typeAnnotation),Lv.value&&(this.space(),this.tokenChar(61),this.space(),this.print(Lv.value)),this.semicolon()}function F_(Lv){var S1;this.printJoin(Lv.decorators);const iv=(S1=Lv.key.loc)==null||(S1=S1.end)==null?void 0:S1.line;iv&&this.catchUp(iv),F0._tsPrintClassMemberModifiers.call(this,Lv),this.word("accessor",!0),this.space(),Lv.computed?(this.tokenChar(91),this.print(Lv.key),this.tokenChar(93)):(L0._variance.call(this,Lv),this.print(Lv.key)),Lv.optional&&this.tokenChar(63),Lv.definite&&this.tokenChar(33),this.print(Lv.typeAnnotation),Lv.value&&(this.space(),this.tokenChar(61),this.space(),this.print(Lv.value)),this.semicolon()}function R_(Lv){this.printJoin(Lv.decorators),F0._tsPrintClassMemberModifiers.call(this,Lv),this.print(Lv.key),Lv.optional&&this.tokenChar(63),Lv.definite&&this.tokenChar(33),this.print(Lv.typeAnnotation),Lv.value&&(this.space(),this.tokenChar(61),this.space(),this.print(Lv.value)),this.semicolon()}function z_(Lv){Oy.call(this,Lv),this.space(),this.print(Lv.body)}function H_(Lv){Oy.call(this,Lv),this.space(),this.print(Lv.body)}function Oy(Lv){if(this.printJoin(Lv.decorators),!this.format.preserveFormat){var S1;const iv=(S1=Lv.key.loc)==null||(S1=S1.end)==null?void 0:S1.line;iv&&this.catchUp(iv)}F0._tsPrintClassMemberModifiers.call(this,Lv),B0._methodHead.call(this,Lv)}function qv(Lv){this.word("static"),this.space(),this.tokenChar(123),Lv.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(Lv.body,!0),this.rightBrace(Lv))}return classes$1}var base$2={};Object.defineProperty(base$2,"__esModule",{value:!0});base$2.BlockStatement=BlockStatement$1;base$2.Directive=Directive$1;base$2.DirectiveLiteral=DirectiveLiteral$1;base$2.File=File$2;base$2.InterpreterDirective=InterpreterDirective$1;base$2.Placeholder=Placeholder$1;base$2.Program=Program$1;function File$2(s){s.program&&this.print(s.program.interpreter),this.print(s.program)}function Program$1(s){var o;this.printInnerComments(!1);const F0=(o=s.directives)==null?void 0:o.length;if(F0){var L0;const B0=s.body.length?2:1;this.printSequence(s.directives,void 0,void 0,B0),(L0=s.directives[F0-1].trailingComments)!=null&&L0.length||this.newline(B0)}this.printSequence(s.body)}function BlockStatement$1(s){var o;this.tokenChar(123);const F0=this.enterDelimited(),L0=(o=s.directives)==null?void 0:o.length;if(L0){var B0;const q0=s.body.length?2:1;this.printSequence(s.directives,!0,!0,q0),(B0=s.directives[L0-1].trailingComments)!=null&&B0.length||this.newline(q0)}this.printSequence(s.body,!0,!0),this._noLineTerminatorAfterNode=F0,this.rightBrace(s)}function Directive$1(s){this.print(s.value),this.semicolon()}const unescapedSingleQuoteRE$1=/(?:^|[^\\])(?:\\\\)*'/,unescapedDoubleQuoteRE$1=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral$1(s){const o=this.getPossibleRaw(s);if(!this.format.minified&&o!==void 0){this.token(o);return}const{value:F0}=s;if(!unescapedDoubleQuoteRE$1.test(F0))this.token(`"${F0}"`);else if(!unescapedSingleQuoteRE$1.test(F0))this.token(`'${F0}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function InterpreterDirective$1(s){this.token(`#!${s.value}`),this._newline()}function Placeholder$1(s){this.token("%%"),this.print(s.name),this.token("%%"),s.expectedNode==="Statement"&&this.semicolon()}var jsx$2={};Object.defineProperty(jsx$2,"__esModule",{value:!0});jsx$2.JSXAttribute=JSXAttribute$1;jsx$2.JSXClosingElement=JSXClosingElement$1;jsx$2.JSXClosingFragment=JSXClosingFragment$1;jsx$2.JSXElement=JSXElement$1;jsx$2.JSXEmptyExpression=JSXEmptyExpression$1;jsx$2.JSXExpressionContainer=JSXExpressionContainer$1;jsx$2.JSXFragment=JSXFragment$1;jsx$2.JSXIdentifier=JSXIdentifier$1;jsx$2.JSXMemberExpression=JSXMemberExpression$1;jsx$2.JSXNamespacedName=JSXNamespacedName$1;jsx$2.JSXOpeningElement=JSXOpeningElement$1;jsx$2.JSXOpeningFragment=JSXOpeningFragment$1;jsx$2.JSXSpreadAttribute=JSXSpreadAttribute$1;jsx$2.JSXSpreadChild=JSXSpreadChild$1;jsx$2.JSXText=JSXText$1;function JSXAttribute$1(s){this.print(s.name),s.value&&(this.tokenChar(61),this.print(s.value))}function JSXIdentifier$1(s){this.word(s.name)}function JSXNamespacedName$1(s){this.print(s.namespace),this.tokenChar(58),this.print(s.name)}function JSXMemberExpression$1(s){this.print(s.object),this.tokenChar(46),this.print(s.property)}function JSXSpreadAttribute$1(s){this.tokenChar(123),this.token("..."),this.print(s.argument),this.rightBrace(s)}function JSXExpressionContainer$1(s){this.tokenChar(123),this.print(s.expression),this.rightBrace(s)}function JSXSpreadChild$1(s){this.tokenChar(123),this.token("..."),this.print(s.expression),this.rightBrace(s)}function JSXText$1(s){const o=this.getPossibleRaw(s);o!==void 0?this.token(o,!0):this.token(s.value,!0)}function JSXElement$1(s){const o=s.openingElement;if(this.print(o),!o.selfClosing){this.indent();for(const F0 of s.children)this.print(F0);this.dedent(),this.print(s.closingElement)}}function spaceSeparator$1(){this.space()}function JSXOpeningElement$1(s){this.tokenChar(60),this.print(s.name),s.typeArguments&&this.print(s.typeArguments),this.print(s.typeParameters),s.attributes.length>0&&(this.space(),this.printJoin(s.attributes,void 0,void 0,spaceSeparator$1)),s.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)}function JSXClosingElement$1(s){this.tokenChar(60),this.tokenChar(47),this.print(s.name),this.tokenChar(62)}function JSXEmptyExpression$1(){this.printInnerComments()}function JSXFragment$1(s){this.print(s.openingFragment),this.indent();for(const o of s.children)this.print(o);this.dedent(),this.print(s.closingFragment)}function JSXOpeningFragment$1(){this.tokenChar(60),this.tokenChar(62)}function JSXClosingFragment$1(){this.token("</"),this.tokenChar(62)}var hasRequiredGenerators;function requireGenerators(){return hasRequiredGenerators||(hasRequiredGenerators=1,function(s){Object.defineProperty(s,"__esModule",{value:!0});var o=templateLiterals$1;Object.keys(o).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===o[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return o[R_]}})});var F0=requireExpressions();Object.keys(F0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===F0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return F0[R_]}})});var L0=requireStatements();Object.keys(L0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===L0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return L0[R_]}})});var B0=requireClasses();Object.keys(B0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===B0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return B0[R_]}})});var q0=requireMethods();Object.keys(q0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===q0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return q0[R_]}})});var W0=requireModules();Object.keys(W0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===W0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return W0[R_]}})});var X0=requireTypes();Object.keys(X0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===X0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return X0[R_]}})});var K0=requireFlow$1();Object.keys(K0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===K0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return K0[R_]}})});var D_=base$2;Object.keys(D_).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===D_[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return D_[R_]}})});var I_=jsx$2;Object.keys(I_).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===I_[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return I_[R_]}})});var F_=requireTypescript$1();Object.keys(F_).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===F_[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return F_[R_]}})})}(generators$1)),generators$1}var deprecated={};Object.defineProperty(deprecated,"__esModule",{value:!0});deprecated.DecimalLiteral=DecimalLiteral$1;deprecated.Noop=Noop;deprecated.RecordExpression=RecordExpression$1;deprecated.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments$1;deprecated.TupleExpression=TupleExpression$1;function Noop(){}function TSExpressionWithTypeArguments$1(s){this.print(s.expression),this.print(s.typeParameters)}function DecimalLiteral$1(s){const o=this.getPossibleRaw(s);if(!this.format.minified&&o!==void 0){this.word(o);return}this.word(s.value+"m")}function RecordExpression$1(s){const o=s.properties;let F0,L0;if(this.format.recordAndTupleSyntaxType==="bar")F0="{|",L0="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);F0="#{",L0="}"}this.token(F0),o.length&&(this.space(),this.printList(o,this.shouldPrintTrailingComma(L0),!0,!0),this.space()),this.token(L0)}function TupleExpression$1(s){const o=s.elements,F0=o.length;let L0,B0;if(this.format.recordAndTupleSyntaxType==="bar")L0="[|",B0="|]";else if(this.format.recordAndTupleSyntaxType==="hash")L0="#[",B0="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(L0);for(let q0=0;q0<o.length;q0++){const W0=o[q0];W0&&(q0>0&&this.space(),this.print(W0),(q0<F0-1||this.shouldPrintTrailingComma(B0))&&this.token(",",!1,q0))}this.token(B0)}var hasRequiredNodes;function requireNodes(){if(hasRequiredNodes)return nodes$1;hasRequiredNodes=1,Object.defineProperty(nodes$1,"__esModule",{value:!0}),nodes$1.generatorInfosMap=void 0;var s=requireGenerators(),o=deprecated;const F0=nodes$1.generatorInfosMap=new Map;let L0=0;for(const B0 of Object.keys(s).sort())B0.startsWith("_")||F0.set(B0,[s[B0],L0++,void 0]);for(const B0 of Object.keys(o))F0.set(B0,[o[B0],L0++,void 0]);return nodes$1}var hasRequiredNode;function requireNode(){if(hasRequiredNode)return node$2;hasRequiredNode=1,Object.defineProperty(node$2,"__esModule",{value:!0}),node$2.TokenContext=void 0,node$2.isLastChild=X0,node$2.parentNeedsParens=q0;var s=requireParentheses(),o=requireLib$2(),F0=requireNodes();const{VISITOR_KEYS:L0}=o;node$2.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};for(const K0 of Object.keys(s)){const D_=s[K0];F0.generatorInfosMap.has(K0)&&(F0.generatorInfosMap.get(K0)[2]=D_)}function B0(K0){switch(K0.type){case"CallExpression":return!0;case"MemberExpression":return B0(K0.object)}return!1}function q0(K0,D_,I_){switch(I_){case 112:if(D_.callee===K0&&B0(K0))return!0;break;case 42:return!W0(K0)&&!(K0.type==="CallExpression"&&W0(K0.callee))&&K0.type!=="ParenthesizedExpression"}return!1}function W0(K0){switch(K0.type){case"Identifier":return!0;case"MemberExpression":return!K0.computed&&K0.property.type==="Identifier"&&W0(K0.object);default:return!1}}function X0(K0,D_){const I_=L0[K0.type];for(let F_=I_.length-1;F_>=0;F_--){const R_=K0[I_[F_]];if(R_===D_)return!0;if(Array.isArray(R_)){let z_=R_.length-1;for(;z_>=0&&R_[z_]===null;)z_--;return z_>=0&&R_[z_]===D_}else if(R_)return!1}return!1}return node$2}var tokenMap={};Object.defineProperty(tokenMap,"__esModule",{value:!0});tokenMap.TokenMap=void 0;var _t$r=requireLib$2();const{traverseFast:traverseFast$2,VISITOR_KEYS:VISITOR_KEYS$2}=_t$r;class TokenMap{constructor(o,F0,L0){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=F0,this._source=L0,traverseFast$2(o,B0=>{const q0=this._getTokensIndexesOfNode(B0);q0.length>0&&this._nodesToTokenIndexes.set(B0,q0)}),this._tokensCache.clear()}has(o){return this._nodesToTokenIndexes.has(o)}getIndexes(o){return this._nodesToTokenIndexes.get(o)}find(o,F0){const L0=this._nodesToTokenIndexes.get(o);if(L0)for(let B0=0;B0<L0.length;B0++){const q0=L0[B0],W0=this._tokens[q0];if(F0(W0,q0))return W0}return null}findLastIndex(o,F0){const L0=this._nodesToTokenIndexes.get(o);if(L0)for(let B0=L0.length-1;B0>=0;B0--){const q0=L0[B0],W0=this._tokens[q0];if(F0(W0,q0))return q0}return-1}findMatching(o,F0,L0=0){const B0=this._nodesToTokenIndexes.get(o);if(B0){typeof F0=="number"&&(F0=String.fromCharCode(F0));let q0=0;const W0=L0;if(W0>1){const X0=this._nodesOccurrencesCountCache.get(o);(X0==null?void 0:X0.test)===F0&&X0.count<W0&&(q0=X0.i+1,L0-=X0.count+1)}for(;q0<B0.length;q0++){const X0=this._tokens[B0[q0]];if(this.matchesOriginal(X0,F0)){if(L0===0)return W0>0&&this._nodesOccurrencesCountCache.set(o,{test:F0,count:W0,i:q0}),X0;L0--}}}return null}matchesOriginal(o,F0){return o.end-o.start!==F0.length?!1:o.value!=null?o.value===F0:this._source.startsWith(F0,o.start)}startMatches(o,F0){const L0=this._nodesToTokenIndexes.get(o);if(!L0)return!1;const B0=this._tokens[L0[0]];return B0.start!==o.start?!1:this.matchesOriginal(B0,F0)}endMatches(o,F0){const L0=this._nodesToTokenIndexes.get(o);if(!L0)return!1;const B0=this._tokens[L0[L0.length-1]];return B0.end!==o.end?!1:this.matchesOriginal(B0,F0)}_getTokensIndexesOfNode(o){var F0;if(o.start==null||o.end==null)return[];const{first:L0,last:B0}=this._findTokensOfNode(o,0,this._tokens.length-1);let q0=L0;const W0=childrenIterator(o);(o.type==="ExportNamedDeclaration"||o.type==="ExportDefaultDeclaration")&&((F0=o.declaration)==null?void 0:F0.type)==="ClassDeclaration"&&W0.next();const X0=[];for(const K0 of W0){if(K0==null||K0.start==null||K0.end==null)continue;const D_=this._findTokensOfNode(K0,q0,B0),I_=D_.first;for(let F_=q0;F_<I_;F_++)X0.push(F_);q0=D_.last+1}for(let K0=q0;K0<=B0;K0++)X0.push(K0);return X0}_findTokensOfNode(o,F0,L0){const B0=this._tokensCache.get(o);if(B0)return B0;const q0=this._findFirstTokenOfNode(o.start,F0,L0),W0=this._findLastTokenOfNode(o.end,q0,L0);return this._tokensCache.set(o,{first:q0,last:W0}),{first:q0,last:W0}}_findFirstTokenOfNode(o,F0,L0){for(;F0<=L0;){const B0=L0+F0>>1;if(o<this._tokens[B0].start)L0=B0-1;else if(o>this._tokens[B0].start)F0=B0+1;else return B0}return F0}_findLastTokenOfNode(o,F0,L0){for(;F0<=L0;){const B0=L0+F0>>1;if(o<this._tokens[B0].end)L0=B0-1;else if(o>this._tokens[B0].end)F0=B0+1;else return B0}return L0}}tokenMap.TokenMap=TokenMap;function*childrenIterator(s){if(s.type==="TemplateLiteral"){yield s.quasis[0];for(let F0=1;F0<s.quasis.length;F0++)yield s.expressions[F0-1],yield s.quasis[F0];return}const o=VISITOR_KEYS$2[s.type];for(const F0 of o){const L0=s[F0];L0&&(Array.isArray(L0)?yield*L0:yield L0)}}Object.defineProperty(printer$1,"__esModule",{value:!0});printer$1.default=void 0;var _buffer$1=buffer$4,_index=requireNode(),_nodes=requireNodes(),_t$q=requireLib$2(),_tokenMap=tokenMap,_types2=requireTypes();const{isExpression:isExpression$3,isFunction:isFunction$8,isStatement:isStatement$6,isClassBody:isClassBody$1,isTSInterfaceBody:isTSInterfaceBody$1,isTSEnumMember:isTSEnumMember$1}=_t$q,SCIENTIFIC_NOTATION$1=/e/i,ZERO_DECIMAL_INTEGER$1=/\.0+$/,HAS_NEWLINE=/[\n\r\u2028\u2029]/,HAS_NEWLINE_OR_BlOCK_COMMENT_END=/[\n\r\u2028\u2029]|\*\//;function commentIsNewline(s){return s.type==="CommentLine"||HAS_NEWLINE.test(s.value)}let Printer$1=class{constructor(o,F0,L0=null,B0=null){this.tokenContext=_index.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._currentTypeId=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._lastCommentLine=0,this._innerCommentsState=0,this._flags=0,this.tokenMap=null,this._boundGetRawIdentifier=null,this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=o,this._tokens=L0,this._originalCode=B0,this._indentRepeat=o.indent.style.length,this._inputMap=(F0==null?void 0:F0._inputMap)||null,this._buf=new _buffer$1.default(F0,o.indent.style[0]);const{preserveFormat:q0,compact:W0,concise:X0,retainLines:K0,retainFunctionParens:D_}=o;q0&&(this._flags|=1),W0&&(this._flags|=2),X0&&(this._flags|=4),K0&&(this._flags|=8),D_&&(this._flags|=16),(o.auxiliaryCommentBefore||o.auxiliaryCommentAfter)&&(this._flags|=32)}enterDelimited(){const o=this._noLineTerminatorAfterNode;return o!==null&&(this._noLineTerminatorAfterNode=null),o}generate(o){return this.format.preserveFormat&&(this.tokenMap=new _tokenMap.TokenMap(o,this._tokens,this._originalCode),this._boundGetRawIdentifier=_types2._getRawIdentifier.bind(this)),this.print(o),this._maybeAddAuxComment(),this._buf.get()}indent(o=this._flags){o&7||(this._indent+=this._indentRepeat)}dedent(o=this._flags){o&7||(this._indent-=this._indentRepeat)}semicolon(o=!1){const F0=this._flags;if(F0&32&&this._maybeAddAuxComment(),F0&1){const L0=this._currentNode;if(L0.start!=null&&L0.end!=null){if(!this.tokenMap.endMatches(L0,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}const B0=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[B0[B0.length-1]].loc.start)}}o?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(o){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",o.loc,-1),this.tokenChar(125)}rightParens(o){this.sourceWithOffset("end",o.loc,-1),this.tokenChar(41)}space(o=!1){if(!(this._flags&3))if(o)this._space();else{const F0=this.getLastChar(!0);F0!==0&&F0!==32&&F0!==10&&this._space()}}word(o,F0=!1){this.tokenContext&=_index.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(o);const L0=this._flags;L0&32&&this._maybeAddAuxComment(),L0&1&&this._catchUpToCurrentToken(o);const B0=this.getLastChar();(B0===-2||B0===-3||B0===47&&o.charCodeAt(0)===47)&&this._space(),this._append(o,!1),this.setLastChar(-3),this._noLineTerminator=F0}number(o,F0){function L0(B0){if(B0.length>2&&B0.charCodeAt(0)===48){const q0=B0.charCodeAt(1);return q0===98||q0===111||q0===120}return!1}this.word(o),Number.isInteger(F0)&&!L0(o)&&!SCIENTIFIC_NOTATION$1.test(o)&&!ZERO_DECIMAL_INTEGER$1.test(o)&&o.charCodeAt(o.length-1)!==46&&this.setLastChar(-2)}token(o,F0=!1,L0=0,B0=!1){this.tokenContext&=_index.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(o,L0);const q0=this._flags;if(q0&32&&this._maybeAddAuxComment(),q0&1&&this._catchUpToCurrentToken(o,L0),B0){const W0=o.charCodeAt(0);((W0===45&&o==="--"||W0===61)&&this.getLastChar()===33||W0===43&&this.getLastChar()===43||W0===45&&this.getLastChar()===45||W0===46&&this.getLastChar()===-2)&&this._space()}this._append(o,F0),this._noLineTerminator=!1}tokenChar(o,F0=0){this.tokenContext&=_index.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(o,F0);const L0=this._flags;L0&32&&this._maybeAddAuxComment(),L0&1&&this._catchUpToCurrentToken(o,F0),(o===43&&this.getLastChar()===43||o===45&&this.getLastChar()===45||o===46&&this.getLastChar()===-2)&&this._space(),this._appendChar(o),this._noLineTerminator=!1}newline(o=1,F0=this._flags){if(!(o<=0)&&!(F0&10)){if(F0&4){this.space();return}o>2&&(o=2),o-=this._buf.getNewlineCount();for(let L0=0;L0<o;L0++)this._newline()}}endsWith(o){return this.getLastChar(!0)===o}getLastChar(o){return this._buf.getLastChar(o)}setLastChar(o){this._buf._last=o}exactSource(o,F0){if(!o){F0();return}this._catchUp("start",o),this._buf.exactSource(o,F0)}source(o,F0){F0&&(this._catchUp(o,F0),this._buf.source(o,F0))}sourceWithOffset(o,F0,L0){!F0||this.format.preserveFormat||(this._catchUp(o,F0),this._buf.sourceWithOffset(o,F0,L0))}sourceIdentifierName(o,F0){if(!this._buf._canMarkIdName)return;const L0=this._buf._sourcePosition;L0.identifierNamePos=F0,L0.identifierName=o}_space(){this._queue(32)}_newline(){this._buf._queuedChar===32&&(this._buf._queuedChar=0),this._appendChar(10,!0)}_catchUpToCurrentToken(o,F0=0){const L0=this.tokenMap.findMatching(this._currentNode,o,F0);L0&&this._catchUpTo(L0.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&this._appendChar(59,!0),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(o,F0){this._maybeIndent(),this._buf.append(o,F0)}_appendChar(o,F0){F0||this._maybeIndent(),this._buf.appendChar(o)}_queue(o){this._buf.queue(o),this.setLastChar(-1)}_maybeIndent(){const o=this._shouldIndent();o>0&&this._buf._appendChar(-1,o,!1)}_shouldIndent(){return this.endsWith(10)?this._indent:0}catchUp(o){if(!this.format.retainLines)return;const F0=o-this._buf.getCurrentLine();for(let L0=0;L0<F0;L0++)this._newline()}_catchUp(o,F0){const L0=this._flags;if(!(L0&1)){L0&8&&F0!=null&&F0[o]&&this.catchUp(F0[o].line);return}const B0=F0==null?void 0:F0[o];B0!=null&&this._catchUpTo(B0)}_catchUpTo({line:o,column:F0,index:L0}){const B0=o-this._buf.getCurrentLine();if(B0>0&&this._noLineTerminator)return;for(let W0=0;W0<B0;W0++)this._newline();const q0=B0>0?F0:F0-this._buf.getCurrentColumn();if(q0>0){const W0=this._originalCode?this._originalCode.slice(L0-q0,L0).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(q0);this._append(W0,!1),this.setLastChar(32)}}printTerminatorless(o){this._noLineTerminator=!0,this.print(o)}print(o,F0=!1,L0=!1,B0){var q0,W0;if(!o)return;this._innerCommentsState=0;const{type:X0,loc:K0,extra:D_}=o,I_=this._flags;let F_=!1;o._compact&&(this._flags|=4,F_=!0);const R_=_nodes.generatorInfosMap.get(X0);if(R_===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(X0)} with constructor ${JSON.stringify(o.constructor.name)}`);const[z_,H_,Oy]=R_,qv=this._currentNode,Lv=this._currentTypeId;this._currentNode=o,this._currentTypeId=H_,I_&1&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let S1;I_&32&&(S1=this._insideAux,this._insideAux=K0==null,this._maybeAddAuxComment(this._insideAux&&!S1));let iv=0;L0&&(iv=this.tokenContext,iv&_index.TokenContext.forInOrInitHeadAccumulate?this.tokenContext=0:iv=0);const Yv=D_!=null&&D_.parenthesized;let _x=Yv&&I_&1||Yv&&I_&16&&H_===71||qv&&((0,_index.parentNeedsParens)(o,qv,Lv)||Oy!=null&&Oy(o,qv,Lv,this.tokenContext,I_&1?this._boundGetRawIdentifier:void 0));if(!_x&&Yv&&(q0=o.leadingComments)!=null&&q0.length&&o.leadingComments[0].type==="CommentBlock")switch(Lv){case 65:case 243:case 6:case 143:break;case 17:case 130:case 112:if(qv.callee!==o)break;default:_x=!0}let Qv=!1;!_x&&this._noLineTerminator&&((W0=o.leadingComments)!=null&&W0.some(commentIsNewline)||I_&8&&K0&&K0.start.line>this._buf.getCurrentLine())&&(_x=!0,Qv=!0);let Fx;if(!_x&&(F0||(F0=!!qv&&this._noLineTerminatorAfterNode===qv&&(0,_index.isLastChild)(qv,o)),F0)){var jx;(jx=o.trailingComments)!=null&&jx.some(commentIsNewline)?isExpression$3(o)&&(_x=!0):(Fx=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=o)}_x&&(this.tokenChar(40),Qv&&this.indent(),this._innerCommentsState=0,L0||(iv=this.tokenContext),iv&_index.TokenContext.forInOrInitHeadAccumulate&&(this.tokenContext=0),Fx=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._printLeadingComments(o,qv),this.exactSource(H_===139||H_===66?null:K0,z_.bind(this,o,qv)),_x?(this._printTrailingComments(o,qv),Qv&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=F0):F0&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(o,qv)):this._printTrailingComments(o,qv,B0),iv&&(this.tokenContext=iv),this._currentNode=qv,this._currentTypeId=Lv,F_&&(this._flags=I_),I_&32&&(this._insideAux=S1),Fx!=null&&(this._noLineTerminatorAfterNode=Fx),this._innerCommentsState=0}_maybeAddAuxComment(o){o&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const o=this.format.auxiliaryCommentBefore;o&&this._printComment({type:"CommentBlock",value:o},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const o=this.format.auxiliaryCommentAfter;o&&this._printComment({type:"CommentBlock",value:o},0)}getPossibleRaw(o){const F0=o.extra;if((F0==null?void 0:F0.raw)!=null&&F0.rawValue!=null&&o.value===F0.rawValue)return F0.raw}printJoin(o,F0,L0,B0,q0,W0,X0){if(!(o!=null&&o.length))return;const K0=this._flags;if(L0==null&&K0&8){var D_;const R_=(D_=o[0].loc)==null?void 0:D_.start.line;R_!=null&&R_!==this._buf.getCurrentLine()&&(L0=!0)}L0&&this.indent(K0);const I_=o.length;for(let R_=0;R_<I_;R_++){const z_=o[R_];if(z_&&(F0&&R_===0&&this._buf.hasContent()&&this.newline(1,K0),this.print(z_,!1,W0,X0||0),B0!=null&&(R_<I_-1?B0.call(this,R_,!1):q0&&B0.call(this,R_,!0)),F0))if(R_+1===I_)this.newline(1,K0);else{const H_=this._lastCommentLine;if(H_>0){var F_;const Oy=(((F_=o[R_+1].loc)==null?void 0:F_.start.line)||0)-H_;if(Oy>=0){this.newline(Oy||1,K0);continue}}this.newline(1,K0)}}L0&&this.dedent(K0)}printAndIndentOnComments(o){const F0=o.leadingComments&&o.leadingComments.length>0;F0&&this.indent(),this.print(o),F0&&this.dedent()}printBlock(o){o.type!=="EmptyStatement"&&this.space(),this.print(o)}_printTrailingComments(o,F0,L0){const{innerComments:B0,trailingComments:q0}=o;B0!=null&&B0.length&&this._printComments(2,B0,o,F0,L0),q0!=null&&q0.length?this._printComments(2,q0,o,F0,L0):this._lastCommentLine=0}_printLeadingComments(o,F0){const L0=o.leadingComments;L0!=null&&L0.length&&this._printComments(0,L0,o,F0)}_maybePrintInnerComments(o,F0){var L0;const B0=this._innerCommentsState;switch(B0&3){case 0:this._innerCommentsState=5;return;case 1:this.printInnerComments((B0&4)>0,(L0=this.tokenMap)==null?void 0:L0.findMatching(this._currentNode,o,F0))}}printInnerComments(o=!0,F0){const L0=this._currentNode,B0=L0.innerComments;if(!(B0!=null&&B0.length)){this._innerCommentsState=2;return}const q0=this.endsWith(32);switch(o&&this.indent(),this._printComments(1,B0,L0,void 0,void 0,F0)){case 2:this._innerCommentsState=2;case 1:q0&&this.space()}o&&this.dedent()}noIndentInnerCommentsHere(){this._innerCommentsState&=-5}printSequence(o,F0,L0,B0){this.printJoin(o,!0,F0??!1,void 0,void 0,L0,B0)}printList(o,F0,L0,B0,q0,W0){this.printJoin(o,L0,B0,q0??commaSeparator$1,F0,W0)}shouldPrintTrailingComma(o){if(!this.tokenMap)return null;const F0=this.tokenMap.findLastIndex(this._currentNode,L0=>this.tokenMap.matchesOriginal(L0,typeof o=="number"?String.fromCharCode(o):o));return F0<=0?null:this.tokenMap.matchesOriginal(this._tokens[F0-1],",")}_shouldPrintComment(o,F0){if(o.ignore||this._printedComments.has(o))return 0;if(this._noLineTerminator&&HAS_NEWLINE_OR_BlOCK_COMMENT_END.test(o.value))return 2;if(F0&&this.tokenMap){const L0=this.tokenMap.find(this._currentNode,B0=>B0.value===o.value);if(L0&&L0.start>F0.start)return 2}return this._printedComments.add(o),this.format.shouldPrintComment(o.value)?1:0}_printComment(o,F0){const L0=this._noLineTerminator,B0=o.type==="CommentBlock",q0=B0&&F0!==1&&!L0;switch(q0&&this._buf.hasContent()&&F0!==2&&this.newline(1),this.getLastChar(!0)){case 47:this._space();case 91:case 123:case 40:break;default:this.space()}let W0;if(B0){if(W0=`/*${o.value}*/`,this.format.indent.adjustMultilineComment){var X0;const K0=(X0=o.loc)==null?void 0:X0.start.column;if(K0){const D_=new RegExp("\\n\\s{1,"+K0+"}","g");W0=W0.replace(D_,`
4813
4813
  `)}if(this._flags&4)W0=W0.replace(/\n(?!$)/g,`
4814
4814
  `);else{let D_=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent()||this.format.retainLines)&&(D_+=this._indent),W0=W0.replace(/\n(?!$)/g,`
@@ -4861,7 +4861,7 @@ Expected ${Oy.length+1} quasis but got ${z_.quasis.length}`)})}}}),W0("YieldExpr
4861
4861
  `,K0);this._position.column+=o.length-K0}_mark(o,F0,L0,B0,q0){var W0;(W0=this._map)==null||W0.mark(this._position.line,this._position.column,o,F0,L0,B0,q0)}removeTrailingNewline(){this._queue.length>0&&this._queue[0][0]===`
4862
4862
  `&&this._queue.shift()}removeLastSemicolon(){this._queue.length>0&&this._queue[0][0]===";"&&this._queue.shift()}getLastChar(){let o;return this._queue.length>0?o=this._queue[0][0].charCodeAt(0):o=this._last,o}endsWithCharAndNewline(){const o=this._queue;if(o.length>0)return o[0][0].charCodeAt(0)!==10?void 0:o.length>1?o[1][0].charCodeAt(0):this._last}hasContent(){return this._queue.length>0||!!this._last}exactSource(o,F0){this.source("start",o,!0),F0(),this.source("end",o),this._disallowPop("start",o)}source(o,F0,L0){o&&!F0||this._normalizePosition(o,F0,this._sourcePosition,L0)}withSource(o,F0,L0){if(!this._map)return L0();const B0=this._sourcePosition.line,q0=this._sourcePosition.column,W0=this._sourcePosition.filename,X0=this._sourcePosition.identifierName;this.source(o,F0),L0(),(!this._sourcePosition.force||this._sourcePosition.line!==B0||this._sourcePosition.column!==q0||this._sourcePosition.filename!==W0)&&(!this._disallowedPop||this._disallowedPop.line!==B0||this._disallowedPop.column!==q0||this._disallowedPop.filename!==W0)&&(this._sourcePosition.line=B0,this._sourcePosition.column=q0,this._sourcePosition.filename=W0,this._sourcePosition.identifierName=X0,this._sourcePosition.force=!1,this._disallowedPop=null)}_disallowPop(o,F0){o&&!F0||(this._disallowedPop=this._normalizePosition(o,F0))}_normalizePosition(o,F0,L0,B0){const q0=F0?F0[o]:null;L0===void 0&&(L0={identifierName:null,line:null,column:null,filename:null,force:!1});const W0=L0.line,X0=L0.column,K0=L0.filename;return L0.identifierName=o==="start"&&(F0==null?void 0:F0.identifierName)||null,L0.line=q0==null?void 0:q0.line,L0.column=q0==null?void 0:q0.column,L0.filename=F0==null?void 0:F0.filename,(B0||L0.line!==W0||L0.column!==X0||L0.filename!==K0)&&(L0.force=B0),L0}getCurrentColumn(){const o=this._queue.reduce((L0,B0)=>B0[0]+L0,""),F0=o.lastIndexOf(`
4863
4863
  `);return F0===-1?this._position.column+o.length:o.length-1-F0}getCurrentLine(){const o=this._queue.reduce((L0,B0)=>B0[0]+L0,"");let F0=0;for(let L0=0;L0<o.length;L0++)o[L0]===`
4864
- `&&F0++;return this._position.line+F0}};buffer$3.default=Buffer$1;var node$1={},whitespace$1={};Object.defineProperty(whitespace$1,"__esModule",{value:!0});whitespace$1.nodes=whitespace$1.list=void 0;var _t$b=requireLib$2();const{FLIPPED_ALIAS_KEYS:FLIPPED_ALIAS_KEYS$1,isArrayExpression,isAssignmentExpression:isAssignmentExpression$1,isBinary:isBinary$1,isBlockStatement,isCallExpression:isCallExpression$3,isFunction:isFunction$4,isIdentifier:isIdentifier$2,isLiteral:isLiteral$1,isMemberExpression:isMemberExpression$3,isObjectExpression,isOptionalCallExpression:isOptionalCallExpression$1,isOptionalMemberExpression:isOptionalMemberExpression$1,isStringLiteral}=_t$b;function crawl(s,o={}){return isMemberExpression$3(s)||isOptionalMemberExpression$1(s)?(crawl(s.object,o),s.computed&&crawl(s.property,o)):isBinary$1(s)||isAssignmentExpression$1(s)?(crawl(s.left,o),crawl(s.right,o)):isCallExpression$3(s)||isOptionalCallExpression$1(s)?(o.hasCall=!0,crawl(s.callee,o)):isFunction$4(s)?o.hasFunction=!0:isIdentifier$2(s)&&(o.hasHelper=o.hasHelper||isHelper(s.callee)),o}function isHelper(s){return isMemberExpression$3(s)?isHelper(s.object)||isHelper(s.property):isIdentifier$2(s)?s.name==="require"||s.name[0]==="_":isCallExpression$3(s)?isHelper(s.callee):isBinary$1(s)||isAssignmentExpression$1(s)?isIdentifier$2(s.left)&&isHelper(s.left)||isHelper(s.right):!1}function isType(s){return isLiteral$1(s)||isObjectExpression(s)||isArrayExpression(s)||isIdentifier$2(s)||isMemberExpression$3(s)}const nodes={AssignmentExpression(s){const o=crawl(s.right);if(o.hasCall&&o.hasHelper||o.hasFunction)return{before:o.hasFunction,after:!0}},SwitchCase(s,o){return{before:!!s.consequent.length||o.cases[0]===s,after:!s.consequent.length&&o.cases[o.cases.length-1]===s}},LogicalExpression(s){if(isFunction$4(s.left)||isFunction$4(s.right))return{after:!0}},Literal(s){if(isStringLiteral(s)&&s.value==="use strict")return{after:!0}},CallExpression(s){if(isFunction$4(s.callee)||isHelper(s))return{before:!0,after:!0}},OptionalCallExpression(s){if(isFunction$4(s.callee))return{before:!0,after:!0}},VariableDeclaration(s){for(let o=0;o<s.declarations.length;o++){const F0=s.declarations[o];let L0=isHelper(F0.id)&&!isType(F0.init);if(!L0){const B0=crawl(F0.init);L0=isHelper(F0.init)&&B0.hasCall||B0.hasFunction}if(L0)return{before:!0,after:!0}}},IfStatement(s){if(isBlockStatement(s.consequent))return{before:!0,after:!0}}};whitespace$1.nodes=nodes;nodes.ObjectProperty=nodes.ObjectTypeProperty=nodes.ObjectMethod=function(s,o){if(o.properties[0]===s)return{before:!0}};nodes.ObjectTypeCallProperty=function(s,o){var F0;if(o.callProperties[0]===s&&!((F0=o.properties)!=null&&F0.length))return{before:!0}};nodes.ObjectTypeIndexer=function(s,o){var F0,L0;if(o.indexers[0]===s&&!((F0=o.properties)!=null&&F0.length)&&!((L0=o.callProperties)!=null&&L0.length))return{before:!0}};nodes.ObjectTypeInternalSlot=function(s,o){var F0,L0,B0;if(o.internalSlots[0]===s&&!((F0=o.properties)!=null&&F0.length)&&!((L0=o.callProperties)!=null&&L0.length)&&!((B0=o.indexers)!=null&&B0.length))return{before:!0}};const list$2={VariableDeclaration(s){return s.declarations.map(o=>o.init)},ArrayExpression(s){return s.elements},ObjectExpression(s){return s.properties}};whitespace$1.list=list$2;[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([s,o]){typeof o=="boolean"&&(o={after:o,before:o}),[s].concat(FLIPPED_ALIAS_KEYS$1[s]||[]).forEach(function(F0){nodes[F0]=function(){return o}})});var parentheses={};Object.defineProperty(parentheses,"__esModule",{value:!0});parentheses.ArrowFunctionExpression=ArrowFunctionExpression$1;parentheses.AssignmentExpression=AssignmentExpression$1;parentheses.Binary=Binary;parentheses.BinaryExpression=BinaryExpression;parentheses.ClassExpression=ClassExpression;parentheses.ConditionalExpression=ConditionalExpression$1;parentheses.DoExpression=DoExpression$1;parentheses.FunctionExpression=FunctionExpression$1;parentheses.FunctionTypeAnnotation=FunctionTypeAnnotation;parentheses.Identifier=Identifier$1;parentheses.LogicalExpression=LogicalExpression;parentheses.NullableTypeAnnotation=NullableTypeAnnotation;parentheses.ObjectExpression=ObjectExpression$1;parentheses.OptionalIndexedAccessType=OptionalIndexedAccessType;parentheses.OptionalCallExpression=parentheses.OptionalMemberExpression=OptionalMemberExpression$1;parentheses.SequenceExpression=SequenceExpression$1;parentheses.TSAsExpression=TSAsExpression$1;parentheses.TSInferType=TSInferType$1;parentheses.TSTypeAssertion=TSTypeAssertion$1;parentheses.TSIntersectionType=parentheses.TSUnionType=TSUnionType$1;parentheses.UnaryLike=UnaryLike;parentheses.IntersectionTypeAnnotation=parentheses.UnionTypeAnnotation=UnionTypeAnnotation;parentheses.UpdateExpression=UpdateExpression$1;parentheses.AwaitExpression=parentheses.YieldExpression=YieldExpression$1;var _t$a=requireLib$2();const{isArrayTypeAnnotation,isArrowFunctionExpression,isAssignmentExpression,isAwaitExpression,isBinary,isBinaryExpression,isCallExpression:isCallExpression$2,isClassDeclaration:isClassDeclaration$1,isClassExpression,isConditional,isConditionalExpression,isExportDeclaration,isExportDefaultDeclaration:isExportDefaultDeclaration$1,isExpressionStatement:isExpressionStatement$1,isFor:isFor$1,isForInStatement,isForOfStatement,isForStatement:isForStatement$1,isIfStatement:isIfStatement$1,isIndexedAccessType,isIntersectionTypeAnnotation,isLogicalExpression,isMemberExpression:isMemberExpression$2,isNewExpression:isNewExpression$2,isNullableTypeAnnotation,isObjectPattern,isOptionalCallExpression,isOptionalMemberExpression,isReturnStatement,isSequenceExpression,isSwitchStatement,isTSArrayType,isTSAsExpression,isTSIntersectionType,isTSNonNullExpression,isTSOptionalType,isTSRestType,isTSTypeAssertion,isTSUnionType,isTaggedTemplateExpression,isThrowStatement,isTypeAnnotation,isUnaryLike,isUnionTypeAnnotation,isVariableDeclarator,isWhileStatement,isYieldExpression}=_t$a,PRECEDENCE={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10},isClassExtendsClause=(s,o)=>(isClassDeclaration$1(o)||isClassExpression(o))&&o.superClass===s,hasPostfixPart=(s,o)=>(isMemberExpression$2(o)||isOptionalMemberExpression(o))&&o.object===s||(isCallExpression$2(o)||isOptionalCallExpression(o)||isNewExpression$2(o))&&o.callee===s||isTaggedTemplateExpression(o)&&o.tag===s||isTSNonNullExpression(o);function NullableTypeAnnotation(s,o){return isArrayTypeAnnotation(o)}function FunctionTypeAnnotation(s,o,F0){return isUnionTypeAnnotation(o)||isIntersectionTypeAnnotation(o)||isArrayTypeAnnotation(o)||isTypeAnnotation(o)&&isArrowFunctionExpression(F0[F0.length-3])}function UpdateExpression$1(s,o){return hasPostfixPart(s,o)||isClassExtendsClause(s,o)}function ObjectExpression$1(s,o,F0){return isFirstInContext(F0,{expressionStatement:!0,arrowBody:!0})}function DoExpression$1(s,o,F0){return!s.async&&isFirstInContext(F0,{expressionStatement:!0})}function Binary(s,o){if(s.operator==="**"&&isBinaryExpression(o,{operator:"**"}))return o.left===s;if(isClassExtendsClause(s,o)||hasPostfixPart(s,o)||isUnaryLike(o)||isAwaitExpression(o))return!0;if(isBinary(o)){const F0=o.operator,L0=PRECEDENCE[F0],B0=s.operator,q0=PRECEDENCE[B0];if(L0===q0&&o.right===s&&!isLogicalExpression(o)||L0>q0)return!0}}function UnionTypeAnnotation(s,o){return isArrayTypeAnnotation(o)||isNullableTypeAnnotation(o)||isIntersectionTypeAnnotation(o)||isUnionTypeAnnotation(o)}function OptionalIndexedAccessType(s,o){return isIndexedAccessType(o,{objectType:s})}function TSAsExpression$1(){return!0}function TSTypeAssertion$1(){return!0}function TSUnionType$1(s,o){return isTSArrayType(o)||isTSOptionalType(o)||isTSIntersectionType(o)||isTSUnionType(o)||isTSRestType(o)}function TSInferType$1(s,o){return isTSArrayType(o)||isTSOptionalType(o)}function BinaryExpression(s,o){return s.operator==="in"&&(isVariableDeclarator(o)||isFor$1(o))}function SequenceExpression$1(s,o){return!(isForStatement$1(o)||isThrowStatement(o)||isReturnStatement(o)||isIfStatement$1(o)&&o.test===s||isWhileStatement(o)&&o.test===s||isForInStatement(o)&&o.right===s||isSwitchStatement(o)&&o.discriminant===s||isExpressionStatement$1(o)&&o.expression===s)}function YieldExpression$1(s,o){return isBinary(o)||isUnaryLike(o)||hasPostfixPart(s,o)||isAwaitExpression(o)&&isYieldExpression(s)||isConditionalExpression(o)&&s===o.test||isClassExtendsClause(s,o)}function ClassExpression(s,o,F0){return isFirstInContext(F0,{expressionStatement:!0,exportDefault:!0})}function UnaryLike(s,o){return hasPostfixPart(s,o)||isBinaryExpression(o,{operator:"**",left:s})||isClassExtendsClause(s,o)}function FunctionExpression$1(s,o,F0){return isFirstInContext(F0,{expressionStatement:!0,exportDefault:!0})}function ArrowFunctionExpression$1(s,o){return isExportDeclaration(o)||ConditionalExpression$1(s,o)}function ConditionalExpression$1(s,o){return isUnaryLike(o)||isBinary(o)||isConditionalExpression(o,{test:s})||isAwaitExpression(o)||isTSTypeAssertion(o)||isTSAsExpression(o)?!0:UnaryLike(s,o)}function OptionalMemberExpression$1(s,o){return isCallExpression$2(o,{callee:s})||isMemberExpression$2(o,{object:s})}function AssignmentExpression$1(s,o){return isObjectPattern(s.left)?!0:ConditionalExpression$1(s,o)}function LogicalExpression(s,o){switch(s.operator){case"||":return isLogicalExpression(o)?o.operator==="??"||o.operator==="&&":!1;case"&&":return isLogicalExpression(o,{operator:"??"});case"??":return isLogicalExpression(o)&&o.operator!=="??"}}function Identifier$1(s,o,F0){if(s.name==="let"){const L0=isMemberExpression$2(o,{object:s,computed:!0})||isOptionalMemberExpression(o,{object:s,computed:!0,optional:!1});return isFirstInContext(F0,{expressionStatement:L0,forHead:L0,forInHead:L0,forOfHead:!0})}return s.name==="async"&&isForOfStatement(o)&&s===o.left}function isFirstInContext(s,{expressionStatement:o=!1,arrowBody:F0=!1,exportDefault:L0=!1,forHead:B0=!1,forInHead:q0=!1,forOfHead:W0=!1}){let X0=s.length-1,K0=s[X0];X0--;let D_=s[X0];for(;X0>=0;){if(o&&isExpressionStatement$1(D_,{expression:K0})||L0&&isExportDefaultDeclaration$1(D_,{declaration:K0})||F0&&isArrowFunctionExpression(D_,{body:K0})||B0&&isForStatement$1(D_,{init:K0})||q0&&isForInStatement(D_,{left:K0})||W0&&isForOfStatement(D_,{left:K0}))return!0;if(hasPostfixPart(K0,D_)&&!isNewExpression$2(D_)||isSequenceExpression(D_)&&D_.expressions[0]===K0||isConditional(D_,{test:K0})||isBinary(D_,{left:K0})||isAssignmentExpression(D_,{left:K0}))K0=D_,X0--,D_=s[X0];else return!1}return!1}Object.defineProperty(node$1,"__esModule",{value:!0});node$1.needsParens=needsParens$1;node$1.needsWhitespace=needsWhitespace;node$1.needsWhitespaceAfter=needsWhitespaceAfter$1;node$1.needsWhitespaceBefore=needsWhitespaceBefore$1;var whitespace=whitespace$1,parens=parentheses,_t$9=requireLib$2();const{FLIPPED_ALIAS_KEYS,isCallExpression:isCallExpression$1,isExpressionStatement,isMemberExpression:isMemberExpression$1,isNewExpression:isNewExpression$1}=_t$9;function expandAliases(s){const o={};function F0(L0,B0){const q0=o[L0];o[L0]=q0?function(W0,X0,K0){const D_=q0(W0,X0,K0);return D_??B0(W0,X0,K0)}:B0}for(const L0 of Object.keys(s)){const B0=FLIPPED_ALIAS_KEYS[L0];if(B0)for(const q0 of B0)F0(q0,s[L0]);else F0(L0,s[L0])}return o}const expandedParens=expandAliases(parens),expandedWhitespaceNodes=expandAliases(whitespace.nodes),expandedWhitespaceList=expandAliases(whitespace.list);function find$2(s,o,F0,L0){const B0=s[o.type];return B0?B0(o,F0,L0):null}function isOrHasCallExpression(s){return isCallExpression$1(s)?!0:isMemberExpression$1(s)&&isOrHasCallExpression(s.object)}function needsWhitespace(s,o,F0){if(!s)return 0;isExpressionStatement(s)&&(s=s.expression);let L0=find$2(expandedWhitespaceNodes,s,o);if(!L0){const B0=find$2(expandedWhitespaceList,s,o);if(B0)for(let q0=0;q0<B0.length&&(L0=needsWhitespace(B0[q0],s,F0),!L0);q0++);}return typeof L0=="object"&&L0!==null&&L0[F0]||0}function needsWhitespaceBefore$1(s,o){return needsWhitespace(s,o,"before")}function needsWhitespaceAfter$1(s,o){return needsWhitespace(s,o,"after")}function needsParens$1(s,o,F0){return o?isNewExpression$1(o)&&o.callee===s&&isOrHasCallExpression(s)?!0:find$2(expandedParens,s,o,F0):!1}var generators={},templateLiterals={};Object.defineProperty(templateLiterals,"__esModule",{value:!0});templateLiterals.TaggedTemplateExpression=TaggedTemplateExpression;templateLiterals.TemplateElement=TemplateElement;templateLiterals.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(s){this.print(s.tag,s),this.print(s.typeParameters,s),this.print(s.quasi,s)}function TemplateElement(s,o){const F0=o.quasis[0]===s,L0=o.quasis[o.quasis.length-1]===s,B0=(F0?"`":"}")+s.value.raw+(L0?"`":"${");this.token(B0)}function TemplateLiteral(s){const o=s.quasis;for(let F0=0;F0<o.length;F0++)this.print(o[F0],s),F0+1<o.length&&this.print(s.expressions[F0],s)}var expressions={};Object.defineProperty(expressions,"__esModule",{value:!0});expressions.LogicalExpression=expressions.BinaryExpression=expressions.AssignmentExpression=AssignmentExpression;expressions.AssignmentPattern=AssignmentPattern;expressions.AwaitExpression=void 0;expressions.BindExpression=BindExpression;expressions.CallExpression=CallExpression;expressions.ConditionalExpression=ConditionalExpression;expressions.Decorator=Decorator;expressions.DoExpression=DoExpression;expressions.EmptyStatement=EmptyStatement;expressions.ExpressionStatement=ExpressionStatement;expressions.Import=Import;expressions.MemberExpression=MemberExpression;expressions.MetaProperty=MetaProperty;expressions.ModuleExpression=ModuleExpression;expressions.NewExpression=NewExpression;expressions.OptionalCallExpression=OptionalCallExpression;expressions.OptionalMemberExpression=OptionalMemberExpression;expressions.ParenthesizedExpression=ParenthesizedExpression;expressions.PrivateName=PrivateName;expressions.SequenceExpression=SequenceExpression;expressions.Super=Super;expressions.ThisExpression=ThisExpression;expressions.UnaryExpression=UnaryExpression;expressions.UpdateExpression=UpdateExpression;expressions.V8IntrinsicIdentifier=V8IntrinsicIdentifier;expressions.YieldExpression=void 0;var _t$8=requireLib$2(),n$1=node$1;const{isCallExpression,isLiteral,isMemberExpression,isNewExpression}=_t$8;function UnaryExpression(s){s.operator==="void"||s.operator==="delete"||s.operator==="typeof"||s.operator==="throw"?(this.word(s.operator),this.space()):this.token(s.operator),this.print(s.argument,s)}function DoExpression(s){s.async&&(this.word("async"),this.space()),this.word("do"),this.space(),this.print(s.body,s)}function ParenthesizedExpression(s){this.token("("),this.print(s.expression,s),this.token(")")}function UpdateExpression(s){s.prefix?(this.token(s.operator),this.print(s.argument,s)):(this.startTerminatorless(!0),this.print(s.argument,s),this.endTerminatorless(),this.token(s.operator))}function ConditionalExpression(s){this.print(s.test,s),this.space(),this.token("?"),this.space(),this.print(s.consequent,s),this.space(),this.token(":"),this.space(),this.print(s.alternate,s)}function NewExpression(s,o){this.word("new"),this.space(),this.print(s.callee,s),!(this.format.minified&&s.arguments.length===0&&!s.optional&&!isCallExpression(o,{callee:s})&&!isMemberExpression(o)&&!isNewExpression(o))&&(this.print(s.typeArguments,s),this.print(s.typeParameters,s),s.optional&&this.token("?."),this.token("("),this.printList(s.arguments,s),this.token(")"))}function SequenceExpression(s){this.printList(s.expressions,s)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(s){this.token("@"),this.print(s.expression,s),this.newline()}function OptionalMemberExpression(s){if(this.print(s.object,s),!s.computed&&isMemberExpression(s.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let o=s.computed;isLiteral(s.property)&&typeof s.property.value=="number"&&(o=!0),s.optional&&this.token("?."),o?(this.token("["),this.print(s.property,s),this.token("]")):(s.optional||this.token("."),this.print(s.property,s))}function OptionalCallExpression(s){this.print(s.callee,s),this.print(s.typeArguments,s),this.print(s.typeParameters,s),s.optional&&this.token("?."),this.token("("),this.printList(s.arguments,s),this.token(")")}function CallExpression(s){this.print(s.callee,s),this.print(s.typeArguments,s),this.print(s.typeParameters,s),this.token("("),this.printList(s.arguments,s),this.token(")")}function Import(){this.word("import")}function buildYieldAwait(s){return function(o){if(this.word(s),o.delegate&&this.token("*"),o.argument){this.space();const F0=this.startTerminatorless();this.print(o.argument,o),this.endTerminatorless(F0)}}}const YieldExpression=buildYieldAwait("yield");expressions.YieldExpression=YieldExpression;const AwaitExpression=buildYieldAwait("await");expressions.AwaitExpression=AwaitExpression;function EmptyStatement(){this.semicolon(!0)}function ExpressionStatement(s){this.print(s.expression,s),this.semicolon()}function AssignmentPattern(s){this.print(s.left,s),s.left.optional&&this.token("?"),this.print(s.left.typeAnnotation,s),this.space(),this.token("="),this.space(),this.print(s.right,s)}function AssignmentExpression(s,o){const F0=this.inForStatementInitCounter&&s.operator==="in"&&!n$1.needsParens(s,o);F0&&this.token("("),this.print(s.left,s),this.space(),s.operator==="in"||s.operator==="instanceof"?this.word(s.operator):this.token(s.operator),this.space(),this.print(s.right,s),F0&&this.token(")")}function BindExpression(s){this.print(s.object,s),this.token("::"),this.print(s.callee,s)}function MemberExpression(s){if(this.print(s.object,s),!s.computed&&isMemberExpression(s.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let o=s.computed;isLiteral(s.property)&&typeof s.property.value=="number"&&(o=!0),o?(this.token("["),this.print(s.property,s),this.token("]")):(this.token("."),this.print(s.property,s))}function MetaProperty(s){this.print(s.meta,s),this.token("."),this.print(s.property,s)}function PrivateName(s){this.token("#"),this.print(s.id,s)}function V8IntrinsicIdentifier(s){this.token("%"),this.word(s.name)}function ModuleExpression(s){this.word("module"),this.space(),this.token("{"),s.body.body.length===0?this.token("}"):(this.newline(),this.printSequence(s.body.body,s,{indent:!0}),this.rightBrace())}var statements={};Object.defineProperty(statements,"__esModule",{value:!0});statements.BreakStatement=void 0;statements.CatchClause=CatchClause;statements.ContinueStatement=void 0;statements.DebuggerStatement=DebuggerStatement;statements.DoWhileStatement=DoWhileStatement;statements.ForOfStatement=statements.ForInStatement=void 0;statements.ForStatement=ForStatement;statements.IfStatement=IfStatement;statements.LabeledStatement=LabeledStatement;statements.ReturnStatement=void 0;statements.SwitchCase=SwitchCase;statements.SwitchStatement=SwitchStatement;statements.ThrowStatement=void 0;statements.TryStatement=TryStatement;statements.VariableDeclaration=VariableDeclaration;statements.VariableDeclarator=VariableDeclarator;statements.WhileStatement=WhileStatement;statements.WithStatement=WithStatement;var _t$7=requireLib$2();const{isFor,isForStatement,isIfStatement,isStatement:isStatement$1}=_t$7;function WithStatement(s){this.word("with"),this.space(),this.token("("),this.print(s.object,s),this.token(")"),this.printBlock(s)}function IfStatement(s){this.word("if"),this.space(),this.token("("),this.print(s.test,s),this.token(")"),this.space();const o=s.alternate&&isIfStatement(getLastStatement(s.consequent));o&&(this.token("{"),this.newline(),this.indent()),this.printAndIndentOnComments(s.consequent,s),o&&(this.dedent(),this.newline(),this.token("}")),s.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(s.alternate,s))}function getLastStatement(s){return isStatement$1(s.body)?getLastStatement(s.body):s}function ForStatement(s){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(s.init,s),this.inForStatementInitCounter--,this.token(";"),s.test&&(this.space(),this.print(s.test,s)),this.token(";"),s.update&&(this.space(),this.print(s.update,s)),this.token(")"),this.printBlock(s)}function WhileStatement(s){this.word("while"),this.space(),this.token("("),this.print(s.test,s),this.token(")"),this.printBlock(s)}const buildForXStatement=function(s){return function(o){this.word("for"),this.space(),s==="of"&&o.await&&(this.word("await"),this.space()),this.token("("),this.print(o.left,o),this.space(),this.word(s),this.space(),this.print(o.right,o),this.token(")"),this.printBlock(o)}},ForInStatement=buildForXStatement("in");statements.ForInStatement=ForInStatement;const ForOfStatement=buildForXStatement("of");statements.ForOfStatement=ForOfStatement;function DoWhileStatement(s){this.word("do"),this.space(),this.print(s.body,s),this.space(),this.word("while"),this.space(),this.token("("),this.print(s.test,s),this.token(")"),this.semicolon()}function buildLabelStatement(s,o="label"){return function(F0){this.word(s);const L0=F0[o];if(L0){this.space();const B0=o=="label",q0=this.startTerminatorless(B0);this.print(L0,F0),this.endTerminatorless(q0)}this.semicolon()}}const ContinueStatement=buildLabelStatement("continue");statements.ContinueStatement=ContinueStatement;const ReturnStatement=buildLabelStatement("return","argument");statements.ReturnStatement=ReturnStatement;const BreakStatement=buildLabelStatement("break");statements.BreakStatement=BreakStatement;const ThrowStatement=buildLabelStatement("throw","argument");statements.ThrowStatement=ThrowStatement;function LabeledStatement(s){this.print(s.label,s),this.token(":"),this.space(),this.print(s.body,s)}function TryStatement(s){this.word("try"),this.space(),this.print(s.block,s),this.space(),s.handlers?this.print(s.handlers[0],s):this.print(s.handler,s),s.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(s.finalizer,s))}function CatchClause(s){this.word("catch"),this.space(),s.param&&(this.token("("),this.print(s.param,s),this.print(s.param.typeAnnotation,s),this.token(")"),this.space()),this.print(s.body,s)}function SwitchStatement(s){this.word("switch"),this.space(),this.token("("),this.print(s.discriminant,s),this.token(")"),this.space(),this.token("{"),this.printSequence(s.cases,s,{indent:!0,addNewlines(o,F0){if(!o&&s.cases[s.cases.length-1]===F0)return-1}}),this.token("}")}function SwitchCase(s){s.test?(this.word("case"),this.space(),this.print(s.test,s),this.token(":")):(this.word("default"),this.token(":")),s.consequent.length&&(this.newline(),this.printSequence(s.consequent,s,{indent:!0}))}function DebuggerStatement(){this.word("debugger"),this.semicolon()}function variableDeclarationIndent(){if(this.token(","),this.newline(),this.endsWith(10))for(let s=0;s<4;s++)this.space(!0)}function constDeclarationIndent(){if(this.token(","),this.newline(),this.endsWith(10))for(let s=0;s<6;s++)this.space(!0)}function VariableDeclaration(s,o){s.declare&&(this.word("declare"),this.space()),this.word(s.kind),this.space();let F0=!1;if(!isFor(o))for(const B0 of s.declarations)B0.init&&(F0=!0);let L0;if(F0&&(L0=s.kind==="const"?constDeclarationIndent:variableDeclarationIndent),this.printList(s.declarations,s,{separator:L0}),isFor(o)){if(isForStatement(o)){if(o.init===s)return}else if(o.left===s)return}this.semicolon()}function VariableDeclarator(s){this.print(s.id,s),s.definite&&this.token("!"),this.print(s.id.typeAnnotation,s),s.init&&(this.space(),this.token("="),this.space(),this.print(s.init,s))}var classes={};Object.defineProperty(classes,"__esModule",{value:!0});classes.ClassAccessorProperty=ClassAccessorProperty;classes.ClassBody=ClassBody;classes.ClassExpression=classes.ClassDeclaration=ClassDeclaration;classes.ClassMethod=ClassMethod;classes.ClassPrivateMethod=ClassPrivateMethod;classes.ClassPrivateProperty=ClassPrivateProperty;classes.ClassProperty=ClassProperty;classes.StaticBlock=StaticBlock;classes._classMethodHead=_classMethodHead;var _t$6=requireLib$2();const{isExportDefaultDeclaration,isExportNamedDeclaration}=_t$6;function ClassDeclaration(s,o){(!this.format.decoratorsBeforeExport||!isExportDefaultDeclaration(o)&&!isExportNamedDeclaration(o))&&this.printJoin(s.decorators,s),s.declare&&(this.word("declare"),this.space()),s.abstract&&(this.word("abstract"),this.space()),this.word("class"),this.printInnerComments(s),s.id&&(this.space(),this.print(s.id,s)),this.print(s.typeParameters,s),s.superClass&&(this.space(),this.word("extends"),this.space(),this.print(s.superClass,s),this.print(s.superTypeParameters,s)),s.implements&&(this.space(),this.word("implements"),this.space(),this.printList(s.implements,s)),this.space(),this.print(s.body,s)}function ClassBody(s){this.token("{"),this.printInnerComments(s),s.body.length===0?this.token("}"):(this.newline(),this.indent(),this.printSequence(s.body,s),this.dedent(),this.endsWith(10)||this.newline(),this.rightBrace())}function ClassProperty(s){this.printJoin(s.decorators,s),this.source("end",s.key.loc),this.tsPrintClassMemberModifiers(s,!0),s.computed?(this.token("["),this.print(s.key,s),this.token("]")):(this._variance(s),this.print(s.key,s)),s.optional&&this.token("?"),s.definite&&this.token("!"),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.token("="),this.space(),this.print(s.value,s)),this.semicolon()}function ClassAccessorProperty(s){this.printJoin(s.decorators,s),this.source("end",s.key.loc),this.tsPrintClassMemberModifiers(s,!0),this.word("accessor"),this.printInnerComments(s),this.space(),s.computed?(this.token("["),this.print(s.key,s),this.token("]")):(this._variance(s),this.print(s.key,s)),s.optional&&this.token("?"),s.definite&&this.token("!"),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.token("="),this.space(),this.print(s.value,s)),this.semicolon()}function ClassPrivateProperty(s){this.printJoin(s.decorators,s),s.static&&(this.word("static"),this.space()),this.print(s.key,s),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.token("="),this.space(),this.print(s.value,s)),this.semicolon()}function ClassMethod(s){this._classMethodHead(s),this.space(),this.print(s.body,s)}function ClassPrivateMethod(s){this._classMethodHead(s),this.space(),this.print(s.body,s)}function _classMethodHead(s){this.printJoin(s.decorators,s),this.source("end",s.key.loc),this.tsPrintClassMemberModifiers(s,!1),this._methodHead(s)}function StaticBlock(s){this.word("static"),this.space(),this.token("{"),s.body.length===0?this.token("}"):(this.newline(),this.printSequence(s.body,s,{indent:!0}),this.rightBrace())}var methods={};Object.defineProperty(methods,"__esModule",{value:!0});methods.ArrowFunctionExpression=ArrowFunctionExpression;methods.FunctionDeclaration=methods.FunctionExpression=FunctionExpression;methods._functionHead=_functionHead;methods._methodHead=_methodHead;methods._param=_param;methods._parameters=_parameters;methods._params=_params;methods._predicate=_predicate;var _t$5=requireLib$2();const{isIdentifier:isIdentifier$1}=_t$5;function _params(s){this.print(s.typeParameters,s),this.token("("),this._parameters(s.params,s),this.token(")"),this.print(s.returnType,s)}function _parameters(s,o){for(let F0=0;F0<s.length;F0++)this._param(s[F0],o),F0<s.length-1&&(this.token(","),this.space())}function _param(s,o){this.printJoin(s.decorators,s),this.print(s,o),s.optional&&this.token("?"),this.print(s.typeAnnotation,s)}function _methodHead(s){const o=s.kind,F0=s.key;(o==="get"||o==="set")&&(this.word(o),this.space()),s.async&&(this._catchUp("start",F0.loc),this.word("async"),this.space()),(o==="method"||o==="init")&&s.generator&&this.token("*"),s.computed?(this.token("["),this.print(F0,s),this.token("]")):this.print(F0,s),s.optional&&this.token("?"),this._params(s)}function _predicate(s){s.predicate&&(s.returnType||this.token(":"),this.space(),this.print(s.predicate,s))}function _functionHead(s){s.async&&(this.word("async"),this.space()),this.word("function"),s.generator&&this.token("*"),this.printInnerComments(s),this.space(),s.id&&this.print(s.id,s),this._params(s),this._predicate(s)}function FunctionExpression(s){this._functionHead(s),this.space(),this.print(s.body,s)}function ArrowFunctionExpression(s){s.async&&(this.word("async"),this.space());const o=s.params[0];!this.format.retainLines&&!this.format.auxiliaryCommentBefore&&!this.format.auxiliaryCommentAfter&&s.params.length===1&&isIdentifier$1(o)&&!hasTypesOrComments(s,o)?this.print(o,s):this._params(s),this._predicate(s),this.space(),this.token("=>"),this.space(),this.print(s.body,s)}function hasTypesOrComments(s,o){var F0,L0;return!!(s.typeParameters||s.returnType||s.predicate||o.typeAnnotation||o.optional||(F0=o.leadingComments)!=null&&F0.length||(L0=o.trailingComments)!=null&&L0.length)}var modules={};Object.defineProperty(modules,"__esModule",{value:!0});modules.ExportAllDeclaration=ExportAllDeclaration;modules.ExportDefaultDeclaration=ExportDefaultDeclaration;modules.ExportDefaultSpecifier=ExportDefaultSpecifier;modules.ExportNamedDeclaration=ExportNamedDeclaration;modules.ExportNamespaceSpecifier=ExportNamespaceSpecifier;modules.ExportSpecifier=ExportSpecifier;modules.ImportAttribute=ImportAttribute;modules.ImportDeclaration=ImportDeclaration;modules.ImportDefaultSpecifier=ImportDefaultSpecifier;modules.ImportNamespaceSpecifier=ImportNamespaceSpecifier;modules.ImportSpecifier=ImportSpecifier;var _t$4=requireLib$2();const{isClassDeclaration,isExportDefaultSpecifier,isExportNamespaceSpecifier,isImportDefaultSpecifier,isImportNamespaceSpecifier,isStatement}=_t$4;function ImportSpecifier(s){(s.importKind==="type"||s.importKind==="typeof")&&(this.word(s.importKind),this.space()),this.print(s.imported,s),s.local&&s.local.name!==s.imported.name&&(this.space(),this.word("as"),this.space(),this.print(s.local,s))}function ImportDefaultSpecifier(s){this.print(s.local,s)}function ExportDefaultSpecifier(s){this.print(s.exported,s)}function ExportSpecifier(s){s.exportKind==="type"&&(this.word("type"),this.space()),this.print(s.local,s),s.exported&&s.local.name!==s.exported.name&&(this.space(),this.word("as"),this.space(),this.print(s.exported,s))}function ExportNamespaceSpecifier(s){this.token("*"),this.space(),this.word("as"),this.space(),this.print(s.exported,s)}function ExportAllDeclaration(s){this.word("export"),this.space(),s.exportKind==="type"&&(this.word("type"),this.space()),this.token("*"),this.space(),this.word("from"),this.space(),this.print(s.source,s),this.printAssertions(s),this.semicolon()}function ExportNamedDeclaration(s){this.format.decoratorsBeforeExport&&isClassDeclaration(s.declaration)&&this.printJoin(s.declaration.decorators,s),this.word("export"),this.space(),ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(s){this.format.decoratorsBeforeExport&&isClassDeclaration(s.declaration)&&this.printJoin(s.declaration.decorators,s),this.word("export"),this.space(),this.word("default"),this.space(),ExportDeclaration.apply(this,arguments)}function ExportDeclaration(s){if(s.declaration){const o=s.declaration;this.print(o,s),isStatement(o)||this.semicolon()}else{s.exportKind==="type"&&(this.word("type"),this.space());const o=s.specifiers.slice(0);let F0=!1;for(;;){const L0=o[0];if(isExportDefaultSpecifier(L0)||isExportNamespaceSpecifier(L0))F0=!0,this.print(o.shift(),s),o.length&&(this.token(","),this.space());else break}(o.length||!o.length&&!F0)&&(this.token("{"),o.length&&(this.space(),this.printList(o,s),this.space()),this.token("}")),s.source&&(this.space(),this.word("from"),this.space(),this.print(s.source,s),this.printAssertions(s)),this.semicolon()}}function ImportDeclaration(s){this.word("import"),this.space();const o=s.importKind==="type"||s.importKind==="typeof";o&&(this.word(s.importKind),this.space());const F0=s.specifiers.slice(0),L0=!!F0.length;for(;L0;){const q0=F0[0];if(isImportDefaultSpecifier(q0)||isImportNamespaceSpecifier(q0))this.print(F0.shift(),s),F0.length&&(this.token(","),this.space());else break}F0.length?(this.token("{"),this.space(),this.printList(F0,s),this.space(),this.token("}")):o&&!L0&&(this.token("{"),this.token("}")),(L0||o)&&(this.space(),this.word("from"),this.space()),this.print(s.source,s),this.printAssertions(s);{var B0;(B0=s.attributes)!=null&&B0.length&&(this.space(),this.word("with"),this.space(),this.printList(s.attributes,s))}this.semicolon()}function ImportAttribute(s){this.print(s.key),this.token(":"),this.space(),this.print(s.value)}function ImportNamespaceSpecifier(s){this.token("*"),this.space(),this.word("as"),this.space(),this.print(s.local,s)}var types$1={};const object={},hasOwnProperty$8=object.hasOwnProperty,forOwn=(s,o)=>{for(const F0 in s)hasOwnProperty$8.call(s,F0)&&o(F0,s[F0])},extend=(s,o)=>(o&&forOwn(o,(F0,L0)=>{s[F0]=L0}),s),forEach=(s,o)=>{const F0=s.length;let L0=-1;for(;++L0<F0;)o(s[L0])},toString$3=object.toString,isArray$8=Array.isArray,isBuffer$1=Buffer.isBuffer,isObject$3=s=>toString$3.call(s)=="[object Object]",isString=s=>typeof s=="string"||toString$3.call(s)=="[object String]",isNumber=s=>typeof s=="number"||toString$3.call(s)=="[object Number]",isFunction$3=s=>typeof s=="function",isMap=s=>toString$3.call(s)=="[object Map]",isSet=s=>toString$3.call(s)=="[object Set]",singleEscapes={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},regexSingleEscape=/["'\\\b\f\n\r\t]/,regexDigit=/[0-9]/,regexWhitelist=/[ !#-&\(-\[\]-_a-~]/,jsesc=(s,o)=>{const F0=()=>{D_=K0,++o.indentLevel,K0=o.indent.repeat(o.indentLevel)},L0={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},B0=o&&o.json;B0&&(L0.quotes="double",L0.wrap=!0),o=extend(L0,o),o.quotes!="single"&&o.quotes!="double"&&o.quotes!="backtick"&&(o.quotes="single");const q0=o.quotes=="double"?'"':o.quotes=="backtick"?"`":"'",W0=o.compact,X0=o.lowercaseHex;let K0=o.indent.repeat(o.indentLevel),D_="";const I_=o.__inline1__,F_=o.__inline2__,R_=W0?"":`
4864
+ `&&F0++;return this._position.line+F0}};buffer$3.default=Buffer$1;var node$1={},whitespace$1={};Object.defineProperty(whitespace$1,"__esModule",{value:!0});whitespace$1.nodes=whitespace$1.list=void 0;var _t$b=requireLib$2();const{FLIPPED_ALIAS_KEYS:FLIPPED_ALIAS_KEYS$1,isArrayExpression,isAssignmentExpression:isAssignmentExpression$1,isBinary:isBinary$1,isBlockStatement,isCallExpression:isCallExpression$3,isFunction:isFunction$4,isIdentifier:isIdentifier$2,isLiteral:isLiteral$1,isMemberExpression:isMemberExpression$3,isObjectExpression,isOptionalCallExpression:isOptionalCallExpression$1,isOptionalMemberExpression:isOptionalMemberExpression$1,isStringLiteral}=_t$b;function crawl(s,o={}){return isMemberExpression$3(s)||isOptionalMemberExpression$1(s)?(crawl(s.object,o),s.computed&&crawl(s.property,o)):isBinary$1(s)||isAssignmentExpression$1(s)?(crawl(s.left,o),crawl(s.right,o)):isCallExpression$3(s)||isOptionalCallExpression$1(s)?(o.hasCall=!0,crawl(s.callee,o)):isFunction$4(s)?o.hasFunction=!0:isIdentifier$2(s)&&(o.hasHelper=o.hasHelper||isHelper(s.callee)),o}function isHelper(s){return isMemberExpression$3(s)?isHelper(s.object)||isHelper(s.property):isIdentifier$2(s)?s.name==="require"||s.name[0]==="_":isCallExpression$3(s)?isHelper(s.callee):isBinary$1(s)||isAssignmentExpression$1(s)?isIdentifier$2(s.left)&&isHelper(s.left)||isHelper(s.right):!1}function isType(s){return isLiteral$1(s)||isObjectExpression(s)||isArrayExpression(s)||isIdentifier$2(s)||isMemberExpression$3(s)}const nodes={AssignmentExpression(s){const o=crawl(s.right);if(o.hasCall&&o.hasHelper||o.hasFunction)return{before:o.hasFunction,after:!0}},SwitchCase(s,o){return{before:!!s.consequent.length||o.cases[0]===s,after:!s.consequent.length&&o.cases[o.cases.length-1]===s}},LogicalExpression(s){if(isFunction$4(s.left)||isFunction$4(s.right))return{after:!0}},Literal(s){if(isStringLiteral(s)&&s.value==="use strict")return{after:!0}},CallExpression(s){if(isFunction$4(s.callee)||isHelper(s))return{before:!0,after:!0}},OptionalCallExpression(s){if(isFunction$4(s.callee))return{before:!0,after:!0}},VariableDeclaration(s){for(let o=0;o<s.declarations.length;o++){const F0=s.declarations[o];let L0=isHelper(F0.id)&&!isType(F0.init);if(!L0){const B0=crawl(F0.init);L0=isHelper(F0.init)&&B0.hasCall||B0.hasFunction}if(L0)return{before:!0,after:!0}}},IfStatement(s){if(isBlockStatement(s.consequent))return{before:!0,after:!0}}};whitespace$1.nodes=nodes;nodes.ObjectProperty=nodes.ObjectTypeProperty=nodes.ObjectMethod=function(s,o){if(o.properties[0]===s)return{before:!0}};nodes.ObjectTypeCallProperty=function(s,o){var F0;if(o.callProperties[0]===s&&!((F0=o.properties)!=null&&F0.length))return{before:!0}};nodes.ObjectTypeIndexer=function(s,o){var F0,L0;if(o.indexers[0]===s&&!((F0=o.properties)!=null&&F0.length)&&!((L0=o.callProperties)!=null&&L0.length))return{before:!0}};nodes.ObjectTypeInternalSlot=function(s,o){var F0,L0,B0;if(o.internalSlots[0]===s&&!((F0=o.properties)!=null&&F0.length)&&!((L0=o.callProperties)!=null&&L0.length)&&!((B0=o.indexers)!=null&&B0.length))return{before:!0}};const list$2={VariableDeclaration(s){return s.declarations.map(o=>o.init)},ArrayExpression(s){return s.elements},ObjectExpression(s){return s.properties}};whitespace$1.list=list$2;[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([s,o]){typeof o=="boolean"&&(o={after:o,before:o}),[s].concat(FLIPPED_ALIAS_KEYS$1[s]||[]).forEach(function(F0){nodes[F0]=function(){return o}})});var parentheses={};Object.defineProperty(parentheses,"__esModule",{value:!0});parentheses.ArrowFunctionExpression=ArrowFunctionExpression$1;parentheses.AssignmentExpression=AssignmentExpression$1;parentheses.Binary=Binary;parentheses.BinaryExpression=BinaryExpression;parentheses.ClassExpression=ClassExpression;parentheses.ConditionalExpression=ConditionalExpression$1;parentheses.DoExpression=DoExpression$1;parentheses.FunctionExpression=FunctionExpression$1;parentheses.FunctionTypeAnnotation=FunctionTypeAnnotation;parentheses.Identifier=Identifier$1;parentheses.LogicalExpression=LogicalExpression;parentheses.NullableTypeAnnotation=NullableTypeAnnotation;parentheses.ObjectExpression=ObjectExpression$1;parentheses.OptionalIndexedAccessType=OptionalIndexedAccessType;parentheses.OptionalCallExpression=parentheses.OptionalMemberExpression=OptionalMemberExpression$1;parentheses.SequenceExpression=SequenceExpression$1;parentheses.TSAsExpression=TSAsExpression$1;parentheses.TSInferType=TSInferType$1;parentheses.TSTypeAssertion=TSTypeAssertion$1;parentheses.TSIntersectionType=parentheses.TSUnionType=TSUnionType$1;parentheses.UnaryLike=UnaryLike;parentheses.IntersectionTypeAnnotation=parentheses.UnionTypeAnnotation=UnionTypeAnnotation;parentheses.UpdateExpression=UpdateExpression$1;parentheses.AwaitExpression=parentheses.YieldExpression=YieldExpression$1;var _t$a=requireLib$2();const{isArrayTypeAnnotation,isArrowFunctionExpression,isAssignmentExpression,isAwaitExpression,isBinary,isBinaryExpression,isCallExpression:isCallExpression$2,isClassDeclaration:isClassDeclaration$1,isClassExpression,isConditional,isConditionalExpression,isExportDeclaration,isExportDefaultDeclaration:isExportDefaultDeclaration$1,isExpressionStatement:isExpressionStatement$1,isFor:isFor$1,isForInStatement,isForOfStatement,isForStatement:isForStatement$1,isIfStatement:isIfStatement$1,isIndexedAccessType,isIntersectionTypeAnnotation,isLogicalExpression,isMemberExpression:isMemberExpression$2,isNewExpression:isNewExpression$2,isNullableTypeAnnotation,isObjectPattern,isOptionalCallExpression,isOptionalMemberExpression,isReturnStatement,isSequenceExpression,isSwitchStatement,isTSArrayType,isTSAsExpression,isTSIntersectionType,isTSNonNullExpression,isTSOptionalType,isTSRestType,isTSTypeAssertion,isTSUnionType,isTaggedTemplateExpression,isThrowStatement,isTypeAnnotation,isUnaryLike,isUnionTypeAnnotation,isVariableDeclarator,isWhileStatement,isYieldExpression}=_t$a,PRECEDENCE={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10},isClassExtendsClause=(s,o)=>(isClassDeclaration$1(o)||isClassExpression(o))&&o.superClass===s,hasPostfixPart=(s,o)=>(isMemberExpression$2(o)||isOptionalMemberExpression(o))&&o.object===s||(isCallExpression$2(o)||isOptionalCallExpression(o)||isNewExpression$2(o))&&o.callee===s||isTaggedTemplateExpression(o)&&o.tag===s||isTSNonNullExpression(o);function NullableTypeAnnotation(s,o){return isArrayTypeAnnotation(o)}function FunctionTypeAnnotation(s,o,F0){return isUnionTypeAnnotation(o)||isIntersectionTypeAnnotation(o)||isArrayTypeAnnotation(o)||isTypeAnnotation(o)&&isArrowFunctionExpression(F0[F0.length-3])}function UpdateExpression$1(s,o){return hasPostfixPart(s,o)||isClassExtendsClause(s,o)}function ObjectExpression$1(s,o,F0){return isFirstInContext(F0,{expressionStatement:!0,arrowBody:!0})}function DoExpression$1(s,o,F0){return!s.async&&isFirstInContext(F0,{expressionStatement:!0})}function Binary(s,o){if(s.operator==="**"&&isBinaryExpression(o,{operator:"**"}))return o.left===s;if(isClassExtendsClause(s,o)||hasPostfixPart(s,o)||isUnaryLike(o)||isAwaitExpression(o))return!0;if(isBinary(o)){const F0=o.operator,L0=PRECEDENCE[F0],B0=s.operator,q0=PRECEDENCE[B0];if(L0===q0&&o.right===s&&!isLogicalExpression(o)||L0>q0)return!0}}function UnionTypeAnnotation(s,o){return isArrayTypeAnnotation(o)||isNullableTypeAnnotation(o)||isIntersectionTypeAnnotation(o)||isUnionTypeAnnotation(o)}function OptionalIndexedAccessType(s,o){return isIndexedAccessType(o,{objectType:s})}function TSAsExpression$1(){return!0}function TSTypeAssertion$1(){return!0}function TSUnionType$1(s,o){return isTSArrayType(o)||isTSOptionalType(o)||isTSIntersectionType(o)||isTSUnionType(o)||isTSRestType(o)}function TSInferType$1(s,o){return isTSArrayType(o)||isTSOptionalType(o)}function BinaryExpression(s,o){return s.operator==="in"&&(isVariableDeclarator(o)||isFor$1(o))}function SequenceExpression$1(s,o){return!(isForStatement$1(o)||isThrowStatement(o)||isReturnStatement(o)||isIfStatement$1(o)&&o.test===s||isWhileStatement(o)&&o.test===s||isForInStatement(o)&&o.right===s||isSwitchStatement(o)&&o.discriminant===s||isExpressionStatement$1(o)&&o.expression===s)}function YieldExpression$1(s,o){return isBinary(o)||isUnaryLike(o)||hasPostfixPart(s,o)||isAwaitExpression(o)&&isYieldExpression(s)||isConditionalExpression(o)&&s===o.test||isClassExtendsClause(s,o)}function ClassExpression(s,o,F0){return isFirstInContext(F0,{expressionStatement:!0,exportDefault:!0})}function UnaryLike(s,o){return hasPostfixPart(s,o)||isBinaryExpression(o,{operator:"**",left:s})||isClassExtendsClause(s,o)}function FunctionExpression$1(s,o,F0){return isFirstInContext(F0,{expressionStatement:!0,exportDefault:!0})}function ArrowFunctionExpression$1(s,o){return isExportDeclaration(o)||ConditionalExpression$1(s,o)}function ConditionalExpression$1(s,o){return isUnaryLike(o)||isBinary(o)||isConditionalExpression(o,{test:s})||isAwaitExpression(o)||isTSTypeAssertion(o)||isTSAsExpression(o)?!0:UnaryLike(s,o)}function OptionalMemberExpression$1(s,o){return isCallExpression$2(o,{callee:s})||isMemberExpression$2(o,{object:s})}function AssignmentExpression$1(s,o){return isObjectPattern(s.left)?!0:ConditionalExpression$1(s,o)}function LogicalExpression(s,o){switch(s.operator){case"||":return isLogicalExpression(o)?o.operator==="??"||o.operator==="&&":!1;case"&&":return isLogicalExpression(o,{operator:"??"});case"??":return isLogicalExpression(o)&&o.operator!=="??"}}function Identifier$1(s,o,F0){if(s.name==="let"){const L0=isMemberExpression$2(o,{object:s,computed:!0})||isOptionalMemberExpression(o,{object:s,computed:!0,optional:!1});return isFirstInContext(F0,{expressionStatement:L0,forHead:L0,forInHead:L0,forOfHead:!0})}return s.name==="async"&&isForOfStatement(o)&&s===o.left}function isFirstInContext(s,{expressionStatement:o=!1,arrowBody:F0=!1,exportDefault:L0=!1,forHead:B0=!1,forInHead:q0=!1,forOfHead:W0=!1}){let X0=s.length-1,K0=s[X0];X0--;let D_=s[X0];for(;X0>=0;){if(o&&isExpressionStatement$1(D_,{expression:K0})||L0&&isExportDefaultDeclaration$1(D_,{declaration:K0})||F0&&isArrowFunctionExpression(D_,{body:K0})||B0&&isForStatement$1(D_,{init:K0})||q0&&isForInStatement(D_,{left:K0})||W0&&isForOfStatement(D_,{left:K0}))return!0;if(hasPostfixPart(K0,D_)&&!isNewExpression$2(D_)||isSequenceExpression(D_)&&D_.expressions[0]===K0||isConditional(D_,{test:K0})||isBinary(D_,{left:K0})||isAssignmentExpression(D_,{left:K0}))K0=D_,X0--,D_=s[X0];else return!1}return!1}Object.defineProperty(node$1,"__esModule",{value:!0});node$1.needsParens=needsParens$1;node$1.needsWhitespace=needsWhitespace;node$1.needsWhitespaceAfter=needsWhitespaceAfter$1;node$1.needsWhitespaceBefore=needsWhitespaceBefore$1;var whitespace=whitespace$1,parens=parentheses,_t$9=requireLib$2();const{FLIPPED_ALIAS_KEYS,isCallExpression:isCallExpression$1,isExpressionStatement,isMemberExpression:isMemberExpression$1,isNewExpression:isNewExpression$1}=_t$9;function expandAliases(s){const o={};function F0(L0,B0){const q0=o[L0];o[L0]=q0?function(W0,X0,K0){const D_=q0(W0,X0,K0);return D_??B0(W0,X0,K0)}:B0}for(const L0 of Object.keys(s)){const B0=FLIPPED_ALIAS_KEYS[L0];if(B0)for(const q0 of B0)F0(q0,s[L0]);else F0(L0,s[L0])}return o}const expandedParens=expandAliases(parens),expandedWhitespaceNodes=expandAliases(whitespace.nodes),expandedWhitespaceList=expandAliases(whitespace.list);function find$2(s,o,F0,L0){const B0=s[o.type];return B0?B0(o,F0,L0):null}function isOrHasCallExpression(s){return isCallExpression$1(s)?!0:isMemberExpression$1(s)&&isOrHasCallExpression(s.object)}function needsWhitespace(s,o,F0){if(!s)return 0;isExpressionStatement(s)&&(s=s.expression);let L0=find$2(expandedWhitespaceNodes,s,o);if(!L0){const B0=find$2(expandedWhitespaceList,s,o);if(B0)for(let q0=0;q0<B0.length&&(L0=needsWhitespace(B0[q0],s,F0),!L0);q0++);}return typeof L0=="object"&&L0!==null&&L0[F0]||0}function needsWhitespaceBefore$1(s,o){return needsWhitespace(s,o,"before")}function needsWhitespaceAfter$1(s,o){return needsWhitespace(s,o,"after")}function needsParens$1(s,o,F0){return o?isNewExpression$1(o)&&o.callee===s&&isOrHasCallExpression(s)?!0:find$2(expandedParens,s,o,F0):!1}var generators={},templateLiterals={};Object.defineProperty(templateLiterals,"__esModule",{value:!0});templateLiterals.TaggedTemplateExpression=TaggedTemplateExpression;templateLiterals.TemplateElement=TemplateElement;templateLiterals.TemplateLiteral=TemplateLiteral;function TaggedTemplateExpression(s){this.print(s.tag,s),this.print(s.typeParameters,s),this.print(s.quasi,s)}function TemplateElement(s,o){const F0=o.quasis[0]===s,L0=o.quasis[o.quasis.length-1]===s,B0=(F0?"`":"}")+s.value.raw+(L0?"`":"${");this.token(B0)}function TemplateLiteral(s){const o=s.quasis;for(let F0=0;F0<o.length;F0++)this.print(o[F0],s),F0+1<o.length&&this.print(s.expressions[F0],s)}var expressions={};Object.defineProperty(expressions,"__esModule",{value:!0});expressions.LogicalExpression=expressions.BinaryExpression=expressions.AssignmentExpression=AssignmentExpression;expressions.AssignmentPattern=AssignmentPattern;expressions.AwaitExpression=void 0;expressions.BindExpression=BindExpression;expressions.CallExpression=CallExpression;expressions.ConditionalExpression=ConditionalExpression;expressions.Decorator=Decorator;expressions.DoExpression=DoExpression;expressions.EmptyStatement=EmptyStatement;expressions.ExpressionStatement=ExpressionStatement;expressions.Import=Import;expressions.MemberExpression=MemberExpression;expressions.MetaProperty=MetaProperty;expressions.ModuleExpression=ModuleExpression;expressions.NewExpression=NewExpression;expressions.OptionalCallExpression=OptionalCallExpression;expressions.OptionalMemberExpression=OptionalMemberExpression;expressions.ParenthesizedExpression=ParenthesizedExpression;expressions.PrivateName=PrivateName;expressions.SequenceExpression=SequenceExpression;expressions.Super=Super;expressions.ThisExpression=ThisExpression;expressions.UnaryExpression=UnaryExpression;expressions.UpdateExpression=UpdateExpression;expressions.V8IntrinsicIdentifier=V8IntrinsicIdentifier;expressions.YieldExpression=void 0;var _t$8=requireLib$2(),n$1=node$1;const{isCallExpression,isLiteral,isMemberExpression,isNewExpression}=_t$8;function UnaryExpression(s){s.operator==="void"||s.operator==="delete"||s.operator==="typeof"||s.operator==="throw"?(this.word(s.operator),this.space()):this.token(s.operator),this.print(s.argument,s)}function DoExpression(s){s.async&&(this.word("async"),this.space()),this.word("do"),this.space(),this.print(s.body,s)}function ParenthesizedExpression(s){this.token("("),this.print(s.expression,s),this.token(")")}function UpdateExpression(s){s.prefix?(this.token(s.operator),this.print(s.argument,s)):(this.startTerminatorless(!0),this.print(s.argument,s),this.endTerminatorless(),this.token(s.operator))}function ConditionalExpression(s){this.print(s.test,s),this.space(),this.token("?"),this.space(),this.print(s.consequent,s),this.space(),this.token(":"),this.space(),this.print(s.alternate,s)}function NewExpression(s,o){this.word("new"),this.space(),this.print(s.callee,s),!(this.format.minified&&s.arguments.length===0&&!s.optional&&!isCallExpression(o,{callee:s})&&!isMemberExpression(o)&&!isNewExpression(o))&&(this.print(s.typeArguments,s),this.print(s.typeParameters,s),s.optional&&this.token("?."),this.token("("),this.printList(s.arguments,s),this.token(")"))}function SequenceExpression(s){this.printList(s.expressions,s)}function ThisExpression(){this.word("this")}function Super(){this.word("super")}function Decorator(s){this.token("@"),this.print(s.expression,s),this.newline()}function OptionalMemberExpression(s){if(this.print(s.object,s),!s.computed&&isMemberExpression(s.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let o=s.computed;isLiteral(s.property)&&typeof s.property.value=="number"&&(o=!0),s.optional&&this.token("?."),o?(this.token("["),this.print(s.property,s),this.token("]")):(s.optional||this.token("."),this.print(s.property,s))}function OptionalCallExpression(s){this.print(s.callee,s),this.print(s.typeArguments,s),this.print(s.typeParameters,s),s.optional&&this.token("?."),this.token("("),this.printList(s.arguments,s),this.token(")")}function CallExpression(s){this.print(s.callee,s),this.print(s.typeArguments,s),this.print(s.typeParameters,s),this.token("("),this.printList(s.arguments,s),this.token(")")}function Import(){this.word("import")}function buildYieldAwait(s){return function(o){if(this.word(s),o.delegate&&this.token("*"),o.argument){this.space();const F0=this.startTerminatorless();this.print(o.argument,o),this.endTerminatorless(F0)}}}const YieldExpression=buildYieldAwait("yield");expressions.YieldExpression=YieldExpression;const AwaitExpression=buildYieldAwait("await");expressions.AwaitExpression=AwaitExpression;function EmptyStatement(){this.semicolon(!0)}function ExpressionStatement(s){this.print(s.expression,s),this.semicolon()}function AssignmentPattern(s){this.print(s.left,s),s.left.optional&&this.token("?"),this.print(s.left.typeAnnotation,s),this.space(),this.token("="),this.space(),this.print(s.right,s)}function AssignmentExpression(s,o){const F0=this.inForStatementInitCounter&&s.operator==="in"&&!n$1.needsParens(s,o);F0&&this.token("("),this.print(s.left,s),this.space(),s.operator==="in"||s.operator==="instanceof"?this.word(s.operator):this.token(s.operator),this.space(),this.print(s.right,s),F0&&this.token(")")}function BindExpression(s){this.print(s.object,s),this.token("::"),this.print(s.callee,s)}function MemberExpression(s){if(this.print(s.object,s),!s.computed&&isMemberExpression(s.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let o=s.computed;isLiteral(s.property)&&typeof s.property.value=="number"&&(o=!0),o?(this.token("["),this.print(s.property,s),this.token("]")):(this.token("."),this.print(s.property,s))}function MetaProperty(s){this.print(s.meta,s),this.token("."),this.print(s.property,s)}function PrivateName(s){this.token("#"),this.print(s.id,s)}function V8IntrinsicIdentifier(s){this.token("%"),this.word(s.name)}function ModuleExpression(s){this.word("module"),this.space(),this.token("{"),s.body.body.length===0?this.token("}"):(this.newline(),this.printSequence(s.body.body,s,{indent:!0}),this.rightBrace())}var statements={};Object.defineProperty(statements,"__esModule",{value:!0});statements.BreakStatement=void 0;statements.CatchClause=CatchClause;statements.ContinueStatement=void 0;statements.DebuggerStatement=DebuggerStatement;statements.DoWhileStatement=DoWhileStatement;statements.ForOfStatement=statements.ForInStatement=void 0;statements.ForStatement=ForStatement;statements.IfStatement=IfStatement;statements.LabeledStatement=LabeledStatement;statements.ReturnStatement=void 0;statements.SwitchCase=SwitchCase;statements.SwitchStatement=SwitchStatement;statements.ThrowStatement=void 0;statements.TryStatement=TryStatement;statements.VariableDeclaration=VariableDeclaration;statements.VariableDeclarator=VariableDeclarator;statements.WhileStatement=WhileStatement;statements.WithStatement=WithStatement;var _t$7=requireLib$2();const{isFor,isForStatement,isIfStatement,isStatement:isStatement$1}=_t$7;function WithStatement(s){this.word("with"),this.space(),this.token("("),this.print(s.object,s),this.token(")"),this.printBlock(s)}function IfStatement(s){this.word("if"),this.space(),this.token("("),this.print(s.test,s),this.token(")"),this.space();const o=s.alternate&&isIfStatement(getLastStatement(s.consequent));o&&(this.token("{"),this.newline(),this.indent()),this.printAndIndentOnComments(s.consequent,s),o&&(this.dedent(),this.newline(),this.token("}")),s.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(s.alternate,s))}function getLastStatement(s){return isStatement$1(s.body)?getLastStatement(s.body):s}function ForStatement(s){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(s.init,s),this.inForStatementInitCounter--,this.token(";"),s.test&&(this.space(),this.print(s.test,s)),this.token(";"),s.update&&(this.space(),this.print(s.update,s)),this.token(")"),this.printBlock(s)}function WhileStatement(s){this.word("while"),this.space(),this.token("("),this.print(s.test,s),this.token(")"),this.printBlock(s)}const buildForXStatement=function(s){return function(o){this.word("for"),this.space(),s==="of"&&o.await&&(this.word("await"),this.space()),this.token("("),this.print(o.left,o),this.space(),this.word(s),this.space(),this.print(o.right,o),this.token(")"),this.printBlock(o)}},ForInStatement=buildForXStatement("in");statements.ForInStatement=ForInStatement;const ForOfStatement=buildForXStatement("of");statements.ForOfStatement=ForOfStatement;function DoWhileStatement(s){this.word("do"),this.space(),this.print(s.body,s),this.space(),this.word("while"),this.space(),this.token("("),this.print(s.test,s),this.token(")"),this.semicolon()}function buildLabelStatement(s,o="label"){return function(F0){this.word(s);const L0=F0[o];if(L0){this.space();const B0=o=="label",q0=this.startTerminatorless(B0);this.print(L0,F0),this.endTerminatorless(q0)}this.semicolon()}}const ContinueStatement=buildLabelStatement("continue");statements.ContinueStatement=ContinueStatement;const ReturnStatement=buildLabelStatement("return","argument");statements.ReturnStatement=ReturnStatement;const BreakStatement=buildLabelStatement("break");statements.BreakStatement=BreakStatement;const ThrowStatement=buildLabelStatement("throw","argument");statements.ThrowStatement=ThrowStatement;function LabeledStatement(s){this.print(s.label,s),this.token(":"),this.space(),this.print(s.body,s)}function TryStatement(s){this.word("try"),this.space(),this.print(s.block,s),this.space(),s.handlers?this.print(s.handlers[0],s):this.print(s.handler,s),s.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(s.finalizer,s))}function CatchClause(s){this.word("catch"),this.space(),s.param&&(this.token("("),this.print(s.param,s),this.print(s.param.typeAnnotation,s),this.token(")"),this.space()),this.print(s.body,s)}function SwitchStatement(s){this.word("switch"),this.space(),this.token("("),this.print(s.discriminant,s),this.token(")"),this.space(),this.token("{"),this.printSequence(s.cases,s,{indent:!0,addNewlines(o,F0){if(!o&&s.cases[s.cases.length-1]===F0)return-1}}),this.token("}")}function SwitchCase(s){s.test?(this.word("case"),this.space(),this.print(s.test,s),this.token(":")):(this.word("default"),this.token(":")),s.consequent.length&&(this.newline(),this.printSequence(s.consequent,s,{indent:!0}))}function DebuggerStatement(){this.word("debugger"),this.semicolon()}function variableDeclarationIndent(){if(this.token(","),this.newline(),this.endsWith(10))for(let s=0;s<4;s++)this.space(!0)}function constDeclarationIndent(){if(this.token(","),this.newline(),this.endsWith(10))for(let s=0;s<6;s++)this.space(!0)}function VariableDeclaration(s,o){s.declare&&(this.word("declare"),this.space()),this.word(s.kind),this.space();let F0=!1;if(!isFor(o))for(const B0 of s.declarations)B0.init&&(F0=!0);let L0;if(F0&&(L0=s.kind==="const"?constDeclarationIndent:variableDeclarationIndent),this.printList(s.declarations,s,{separator:L0}),isFor(o)){if(isForStatement(o)){if(o.init===s)return}else if(o.left===s)return}this.semicolon()}function VariableDeclarator(s){this.print(s.id,s),s.definite&&this.token("!"),this.print(s.id.typeAnnotation,s),s.init&&(this.space(),this.token("="),this.space(),this.print(s.init,s))}var classes={};Object.defineProperty(classes,"__esModule",{value:!0});classes.ClassAccessorProperty=ClassAccessorProperty;classes.ClassBody=ClassBody;classes.ClassExpression=classes.ClassDeclaration=ClassDeclaration;classes.ClassMethod=ClassMethod;classes.ClassPrivateMethod=ClassPrivateMethod;classes.ClassPrivateProperty=ClassPrivateProperty;classes.ClassProperty=ClassProperty;classes.StaticBlock=StaticBlock;classes._classMethodHead=_classMethodHead;var _t$6=requireLib$2();const{isExportDefaultDeclaration,isExportNamedDeclaration}=_t$6;function ClassDeclaration(s,o){(!this.format.decoratorsBeforeExport||!isExportDefaultDeclaration(o)&&!isExportNamedDeclaration(o))&&this.printJoin(s.decorators,s),s.declare&&(this.word("declare"),this.space()),s.abstract&&(this.word("abstract"),this.space()),this.word("class"),this.printInnerComments(s),s.id&&(this.space(),this.print(s.id,s)),this.print(s.typeParameters,s),s.superClass&&(this.space(),this.word("extends"),this.space(),this.print(s.superClass,s),this.print(s.superTypeParameters,s)),s.implements&&(this.space(),this.word("implements"),this.space(),this.printList(s.implements,s)),this.space(),this.print(s.body,s)}function ClassBody(s){this.token("{"),this.printInnerComments(s),s.body.length===0?this.token("}"):(this.newline(),this.indent(),this.printSequence(s.body,s),this.dedent(),this.endsWith(10)||this.newline(),this.rightBrace())}function ClassProperty(s){this.printJoin(s.decorators,s),this.source("end",s.key.loc),this.tsPrintClassMemberModifiers(s,!0),s.computed?(this.token("["),this.print(s.key,s),this.token("]")):(this._variance(s),this.print(s.key,s)),s.optional&&this.token("?"),s.definite&&this.token("!"),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.token("="),this.space(),this.print(s.value,s)),this.semicolon()}function ClassAccessorProperty(s){this.printJoin(s.decorators,s),this.source("end",s.key.loc),this.tsPrintClassMemberModifiers(s,!0),this.word("accessor"),this.printInnerComments(s),this.space(),s.computed?(this.token("["),this.print(s.key,s),this.token("]")):(this._variance(s),this.print(s.key,s)),s.optional&&this.token("?"),s.definite&&this.token("!"),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.token("="),this.space(),this.print(s.value,s)),this.semicolon()}function ClassPrivateProperty(s){this.printJoin(s.decorators,s),s.static&&(this.word("static"),this.space()),this.print(s.key,s),this.print(s.typeAnnotation,s),s.value&&(this.space(),this.token("="),this.space(),this.print(s.value,s)),this.semicolon()}function ClassMethod(s){this._classMethodHead(s),this.space(),this.print(s.body,s)}function ClassPrivateMethod(s){this._classMethodHead(s),this.space(),this.print(s.body,s)}function _classMethodHead(s){this.printJoin(s.decorators,s),this.source("end",s.key.loc),this.tsPrintClassMemberModifiers(s,!1),this._methodHead(s)}function StaticBlock(s){this.word("static"),this.space(),this.token("{"),s.body.length===0?this.token("}"):(this.newline(),this.printSequence(s.body,s,{indent:!0}),this.rightBrace())}var methods={};Object.defineProperty(methods,"__esModule",{value:!0});methods.ArrowFunctionExpression=ArrowFunctionExpression;methods.FunctionDeclaration=methods.FunctionExpression=FunctionExpression;methods._functionHead=_functionHead;methods._methodHead=_methodHead;methods._param=_param;methods._parameters=_parameters;methods._params=_params;methods._predicate=_predicate;var _t$5=requireLib$2();const{isIdentifier:isIdentifier$1}=_t$5;function _params(s){this.print(s.typeParameters,s),this.token("("),this._parameters(s.params,s),this.token(")"),this.print(s.returnType,s)}function _parameters(s,o){for(let F0=0;F0<s.length;F0++)this._param(s[F0],o),F0<s.length-1&&(this.token(","),this.space())}function _param(s,o){this.printJoin(s.decorators,s),this.print(s,o),s.optional&&this.token("?"),this.print(s.typeAnnotation,s)}function _methodHead(s){const o=s.kind,F0=s.key;(o==="get"||o==="set")&&(this.word(o),this.space()),s.async&&(this._catchUp("start",F0.loc),this.word("async"),this.space()),(o==="method"||o==="init")&&s.generator&&this.token("*"),s.computed?(this.token("["),this.print(F0,s),this.token("]")):this.print(F0,s),s.optional&&this.token("?"),this._params(s)}function _predicate(s){s.predicate&&(s.returnType||this.token(":"),this.space(),this.print(s.predicate,s))}function _functionHead(s){s.async&&(this.word("async"),this.space()),this.word("function"),s.generator&&this.token("*"),this.printInnerComments(s),this.space(),s.id&&this.print(s.id,s),this._params(s),this._predicate(s)}function FunctionExpression(s){this._functionHead(s),this.space(),this.print(s.body,s)}function ArrowFunctionExpression(s){s.async&&(this.word("async"),this.space());const o=s.params[0];!this.format.retainLines&&!this.format.auxiliaryCommentBefore&&!this.format.auxiliaryCommentAfter&&s.params.length===1&&isIdentifier$1(o)&&!hasTypesOrComments(s,o)?this.print(o,s):this._params(s),this._predicate(s),this.space(),this.token("=>"),this.space(),this.print(s.body,s)}function hasTypesOrComments(s,o){var F0,L0;return!!(s.typeParameters||s.returnType||s.predicate||o.typeAnnotation||o.optional||(F0=o.leadingComments)!=null&&F0.length||(L0=o.trailingComments)!=null&&L0.length)}var modules={};Object.defineProperty(modules,"__esModule",{value:!0});modules.ExportAllDeclaration=ExportAllDeclaration;modules.ExportDefaultDeclaration=ExportDefaultDeclaration;modules.ExportDefaultSpecifier=ExportDefaultSpecifier;modules.ExportNamedDeclaration=ExportNamedDeclaration;modules.ExportNamespaceSpecifier=ExportNamespaceSpecifier;modules.ExportSpecifier=ExportSpecifier;modules.ImportAttribute=ImportAttribute;modules.ImportDeclaration=ImportDeclaration;modules.ImportDefaultSpecifier=ImportDefaultSpecifier;modules.ImportNamespaceSpecifier=ImportNamespaceSpecifier;modules.ImportSpecifier=ImportSpecifier;var _t$4=requireLib$2();const{isClassDeclaration,isExportDefaultSpecifier,isExportNamespaceSpecifier,isImportDefaultSpecifier,isImportNamespaceSpecifier,isStatement}=_t$4;function ImportSpecifier(s){(s.importKind==="type"||s.importKind==="typeof")&&(this.word(s.importKind),this.space()),this.print(s.imported,s),s.local&&s.local.name!==s.imported.name&&(this.space(),this.word("as"),this.space(),this.print(s.local,s))}function ImportDefaultSpecifier(s){this.print(s.local,s)}function ExportDefaultSpecifier(s){this.print(s.exported,s)}function ExportSpecifier(s){s.exportKind==="type"&&(this.word("type"),this.space()),this.print(s.local,s),s.exported&&s.local.name!==s.exported.name&&(this.space(),this.word("as"),this.space(),this.print(s.exported,s))}function ExportNamespaceSpecifier(s){this.token("*"),this.space(),this.word("as"),this.space(),this.print(s.exported,s)}function ExportAllDeclaration(s){this.word("export"),this.space(),s.exportKind==="type"&&(this.word("type"),this.space()),this.token("*"),this.space(),this.word("from"),this.space(),this.print(s.source,s),this.printAssertions(s),this.semicolon()}function ExportNamedDeclaration(s){this.format.decoratorsBeforeExport&&isClassDeclaration(s.declaration)&&this.printJoin(s.declaration.decorators,s),this.word("export"),this.space(),ExportDeclaration.apply(this,arguments)}function ExportDefaultDeclaration(s){this.format.decoratorsBeforeExport&&isClassDeclaration(s.declaration)&&this.printJoin(s.declaration.decorators,s),this.word("export"),this.space(),this.word("default"),this.space(),ExportDeclaration.apply(this,arguments)}function ExportDeclaration(s){if(s.declaration){const o=s.declaration;this.print(o,s),isStatement(o)||this.semicolon()}else{s.exportKind==="type"&&(this.word("type"),this.space());const o=s.specifiers.slice(0);let F0=!1;for(;;){const L0=o[0];if(isExportDefaultSpecifier(L0)||isExportNamespaceSpecifier(L0))F0=!0,this.print(o.shift(),s),o.length&&(this.token(","),this.space());else break}(o.length||!o.length&&!F0)&&(this.token("{"),o.length&&(this.space(),this.printList(o,s),this.space()),this.token("}")),s.source&&(this.space(),this.word("from"),this.space(),this.print(s.source,s),this.printAssertions(s)),this.semicolon()}}function ImportDeclaration(s){this.word("import"),this.space();const o=s.importKind==="type"||s.importKind==="typeof";o&&(this.word(s.importKind),this.space());const F0=s.specifiers.slice(0),L0=!!F0.length;for(;L0;){const q0=F0[0];if(isImportDefaultSpecifier(q0)||isImportNamespaceSpecifier(q0))this.print(F0.shift(),s),F0.length&&(this.token(","),this.space());else break}F0.length?(this.token("{"),this.space(),this.printList(F0,s),this.space(),this.token("}")):o&&!L0&&(this.token("{"),this.token("}")),(L0||o)&&(this.space(),this.word("from"),this.space()),this.print(s.source,s),this.printAssertions(s);{var B0;(B0=s.attributes)!=null&&B0.length&&(this.space(),this.word("with"),this.space(),this.printList(s.attributes,s))}this.semicolon()}function ImportAttribute(s){this.print(s.key),this.token(":"),this.space(),this.print(s.value)}function ImportNamespaceSpecifier(s){this.token("*"),this.space(),this.word("as"),this.space(),this.print(s.local,s)}var types$1={};const object={},hasOwnProperty$6=object.hasOwnProperty,forOwn=(s,o)=>{for(const F0 in s)hasOwnProperty$6.call(s,F0)&&o(F0,s[F0])},extend=(s,o)=>(o&&forOwn(o,(F0,L0)=>{s[F0]=L0}),s),forEach=(s,o)=>{const F0=s.length;let L0=-1;for(;++L0<F0;)o(s[L0])},toString$3=object.toString,isArray$8=Array.isArray,isBuffer$1=Buffer.isBuffer,isObject$3=s=>toString$3.call(s)=="[object Object]",isString=s=>typeof s=="string"||toString$3.call(s)=="[object String]",isNumber=s=>typeof s=="number"||toString$3.call(s)=="[object Number]",isFunction$3=s=>typeof s=="function",isMap=s=>toString$3.call(s)=="[object Map]",isSet=s=>toString$3.call(s)=="[object Set]",singleEscapes={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},regexSingleEscape=/["'\\\b\f\n\r\t]/,regexDigit=/[0-9]/,regexWhitelist=/[ !#-&\(-\[\]-_a-~]/,jsesc=(s,o)=>{const F0=()=>{D_=K0,++o.indentLevel,K0=o.indent.repeat(o.indentLevel)},L0={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},B0=o&&o.json;B0&&(L0.quotes="double",L0.wrap=!0),o=extend(L0,o),o.quotes!="single"&&o.quotes!="double"&&o.quotes!="backtick"&&(o.quotes="single");const q0=o.quotes=="double"?'"':o.quotes=="backtick"?"`":"'",W0=o.compact,X0=o.lowercaseHex;let K0=o.indent.repeat(o.indentLevel),D_="";const I_=o.__inline1__,F_=o.__inline2__,R_=W0?"":`
4865
4865
  `;let z_,H_=!0;const Oy=o.numbers=="binary",qv=o.numbers=="octal",Lv=o.numbers=="decimal",S1=o.numbers=="hexadecimal";if(B0&&s&&isFunction$3(s.toJSON)&&(s=s.toJSON()),!isString(s)){if(isMap(s))return s.size==0?"new Map()":(W0||(o.__inline1__=!0,o.__inline2__=!1),"new Map("+jsesc(Array.from(s),o)+")");if(isSet(s))return s.size==0?"new Set()":"new Set("+jsesc(Array.from(s),o)+")";if(isBuffer$1(s))return s.length==0?"Buffer.from([])":"Buffer.from("+jsesc(Array.from(s),o)+")";if(isArray$8(s))return z_=[],o.wrap=!0,I_&&(o.__inline1__=!1,o.__inline2__=!0),F_||F0(),forEach(s,Qv=>{H_=!1,F_&&(o.__inline2__=!1),z_.push((W0||F_?"":K0)+jsesc(Qv,o))}),H_?"[]":F_?"["+z_.join(", ")+"]":"["+R_+z_.join(","+R_)+R_+(W0?"":D_)+"]";if(isNumber(s)){if(B0)return JSON.stringify(s);if(Lv)return String(s);if(S1){let Qv=s.toString(16);return X0||(Qv=Qv.toUpperCase()),"0x"+Qv}if(Oy)return"0b"+s.toString(2);if(qv)return"0o"+s.toString(8)}else return isObject$3(s)?(z_=[],o.wrap=!0,F0(),forOwn(s,(Qv,Fx)=>{H_=!1,z_.push((W0?"":K0)+jsesc(Qv,o)+":"+(W0?"":" ")+jsesc(Fx,o))}),H_?"{}":"{"+R_+z_.join(","+R_)+R_+(W0?"":D_)+"}"):B0?JSON.stringify(s)||"null":String(s)}const iv=s;let Yv=-1;const _x=iv.length;for(z_="";++Yv<_x;){const Qv=iv.charAt(Yv);if(o.es6){const iT=iv.charCodeAt(Yv);if(iT>=55296&&iT<=56319&&_x>Yv+1){const $7=iv.charCodeAt(Yv+1);if($7>=56320&&$7<=57343){let aE=((iT-55296)*1024+$7-56320+65536).toString(16);X0||(aE=aE.toUpperCase()),z_+="\\u{"+aE+"}",++Yv;continue}}}if(!o.escapeEverything){if(regexWhitelist.test(Qv)){z_+=Qv;continue}if(Qv=='"'){z_+=q0==Qv?'\\"':Qv;continue}if(Qv=="`"){z_+=q0==Qv?"\\`":Qv;continue}if(Qv=="'"){z_+=q0==Qv?"\\'":Qv;continue}}if(Qv=="\0"&&!B0&&!regexDigit.test(iv.charAt(Yv+1))){z_+="\\0";continue}if(regexSingleEscape.test(Qv)){z_+=singleEscapes[Qv];continue}const Fx=Qv.charCodeAt(0);if(o.minimal&&Fx!=8232&&Fx!=8233){z_+=Qv;continue}let jx=Fx.toString(16);X0||(jx=jx.toUpperCase());const K7=jx.length>2||B0,g7="\\"+(K7?"u":"x")+("0000"+jx).slice(K7?-4:-2);z_+=g7}return o.wrap&&(z_=q0+z_+q0),q0=="`"&&(z_=z_.replace(/\$\{/g,"\\${")),o.isScriptContext?z_.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,B0?"\\u003C!--":"\\x3C!--"):z_};jsesc.version="2.5.2";var jsesc_1=jsesc;Object.defineProperty(types$1,"__esModule",{value:!0});types$1.ArgumentPlaceholder=ArgumentPlaceholder;types$1.ArrayPattern=types$1.ArrayExpression=ArrayExpression;types$1.BigIntLiteral=BigIntLiteral;types$1.BooleanLiteral=BooleanLiteral;types$1.DecimalLiteral=DecimalLiteral;types$1.Identifier=Identifier;types$1.NullLiteral=NullLiteral;types$1.NumericLiteral=NumericLiteral;types$1.ObjectPattern=types$1.ObjectExpression=ObjectExpression;types$1.ObjectMethod=ObjectMethod;types$1.ObjectProperty=ObjectProperty;types$1.PipelineBareFunction=PipelineBareFunction;types$1.PipelinePrimaryTopicReference=PipelinePrimaryTopicReference;types$1.PipelineTopicExpression=PipelineTopicExpression;types$1.RecordExpression=RecordExpression;types$1.RegExpLiteral=RegExpLiteral;types$1.SpreadElement=types$1.RestElement=RestElement;types$1.StringLiteral=StringLiteral;types$1.TopicReference=TopicReference;types$1.TupleExpression=TupleExpression;var _t$3=requireLib$2(),_jsesc=jsesc_1;const{isAssignmentPattern,isIdentifier}=_t$3;function Identifier(s){this.exactSource(s.loc,()=>{this.word(s.name)})}function ArgumentPlaceholder(){this.token("?")}function RestElement(s){this.token("..."),this.print(s.argument,s)}function ObjectExpression(s){const o=s.properties;this.token("{"),this.printInnerComments(s),o.length&&(this.space(),this.printList(o,s,{indent:!0,statement:!0}),this.space()),this.token("}")}function ObjectMethod(s){this.printJoin(s.decorators,s),this._methodHead(s),this.space(),this.print(s.body,s)}function ObjectProperty(s){if(this.printJoin(s.decorators,s),s.computed)this.token("["),this.print(s.key,s),this.token("]");else{if(isAssignmentPattern(s.value)&&isIdentifier(s.key)&&s.key.name===s.value.left.name){this.print(s.value,s);return}if(this.print(s.key,s),s.shorthand&&isIdentifier(s.key)&&isIdentifier(s.value)&&s.key.name===s.value.name)return}this.token(":"),this.space(),this.print(s.value,s)}function ArrayExpression(s){const o=s.elements,F0=o.length;this.token("["),this.printInnerComments(s);for(let L0=0;L0<o.length;L0++){const B0=o[L0];B0?(L0>0&&this.space(),this.print(B0,s),L0<F0-1&&this.token(",")):this.token(",")}this.token("]")}function RecordExpression(s){const o=s.properties;let F0,L0;if(this.format.recordAndTupleSyntaxType==="bar")F0="{|",L0="|}";else if(this.format.recordAndTupleSyntaxType==="hash")F0="#{",L0="}";else throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);this.token(F0),this.printInnerComments(s),o.length&&(this.space(),this.printList(o,s,{indent:!0,statement:!0}),this.space()),this.token(L0)}function TupleExpression(s){const o=s.elements,F0=o.length;let L0,B0;if(this.format.recordAndTupleSyntaxType==="bar")L0="[|",B0="|]";else if(this.format.recordAndTupleSyntaxType==="hash")L0="#[",B0="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(L0),this.printInnerComments(s);for(let q0=0;q0<o.length;q0++){const W0=o[q0];W0&&(q0>0&&this.space(),this.print(W0,s),q0<F0-1&&this.token(","))}this.token(B0)}function RegExpLiteral(s){this.word(`/${s.pattern}/${s.flags}`)}function BooleanLiteral(s){this.word(s.value?"true":"false")}function NullLiteral(){this.word("null")}function NumericLiteral(s){const o=this.getPossibleRaw(s),F0=this.format.jsescOption,L0=s.value+"";F0.numbers?this.number(_jsesc(s.value,F0)):o==null?this.number(L0):this.format.minified?this.number(o.length<L0.length?o:L0):this.number(o)}function StringLiteral(s){const o=this.getPossibleRaw(s);if(!this.format.minified&&o!=null){this.token(o);return}const F0=_jsesc(s.value,Object.assign(this.format.jsescOption,this.format.jsonCompatibleStrings&&{json:!0}));return this.token(F0)}function BigIntLiteral(s){const o=this.getPossibleRaw(s);if(!this.format.minified&&o!=null){this.word(o);return}this.word(s.value+"n")}function DecimalLiteral(s){const o=this.getPossibleRaw(s);if(!this.format.minified&&o!=null){this.word(o);return}this.word(s.value+"m")}const validTopicTokenSet=new Set(["^^","@@","^","%","#"]);function TopicReference(){const{topicToken:s}=this.format;if(validTopicTokenSet.has(s))this.token(s);else{const o=JSON.stringify(s),F0=Array.from(validTopicTokenSet,L0=>JSON.stringify(L0));throw new Error(`The "topicToken" generator option must be one of ${F0.join(", ")} (${o} received instead).`)}}function PipelineTopicExpression(s){this.print(s.expression,s)}function PipelineBareFunction(s){this.print(s.callee,s)}function PipelinePrimaryTopicReference(){this.token("#")}var flow$2={};(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.AnyTypeAnnotation=W0,s.ArrayTypeAnnotation=X0,s.BooleanLiteralTypeAnnotation=D_,s.BooleanTypeAnnotation=K0,s.DeclareClass=F_,s.DeclareExportAllDeclaration=Qv,s.DeclareExportDeclaration=_x,s.DeclareFunction=R_,s.DeclareInterface=Oy,s.DeclareModule=qv,s.DeclareModuleExports=Lv,s.DeclareOpaqueType=iv,s.DeclareTypeAlias=S1,s.DeclareVariable=Yv,s.DeclaredPredicate=H_,s.EmptyTypeAnnotation=bT,s.EnumBooleanBody=g7,s.EnumBooleanMember=eS,s.EnumDeclaration=Fx,s.EnumDefaultedMember=aE,s.EnumNumberBody=iT,s.EnumNumberMember=lT,s.EnumStringBody=$7,s.EnumStringMember=UT,s.EnumSymbolBody=F7,s.ExistsTypeAnnotation=D7,s.FunctionTypeAnnotation=WT,s.FunctionTypeParam=A7,s.IndexedAccessType=nA,s.InferredPredicate=z_,s.InterfaceDeclaration=xT,s.GenericTypeAnnotation=s.ClassImplements=s.InterfaceExtends=U7,s.InterfaceTypeAnnotation=bE,s.IntersectionTypeAnnotation=R7,s.MixedTypeAnnotation=W3,s.NullLiteralTypeAnnotation=I_,s.NullableTypeAnnotation=Z7,Object.defineProperty(s,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return L0.NumericLiteral}}),s.NumberTypeAnnotation=JS,s.ObjectTypeAnnotation=hE,s.ObjectTypeCallProperty=BD,s.ObjectTypeIndexer=wT,s.ObjectTypeInternalSlot=yS,s.ObjectTypeProperty=dT,s.ObjectTypeSpreadProperty=RT,s.OpaqueType=LS,s.OptionalIndexedAccessType=DE,s.QualifiedTypeIdentifier=KS,Object.defineProperty(s,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return L0.StringLiteral}}),s.StringTypeAnnotation=XE,s.SymbolTypeAnnotation=sE,s.ThisTypeAnnotation=rS,s.TupleTypeAnnotation=OT,s.TypeAlias=E7,s.TypeAnnotation=VT,s.TypeCastExpression=uE,s.TypeParameter=_T,s.TypeParameterDeclaration=s.TypeParameterInstantiation=kS,s.TypeofTypeAnnotation=T7,s.UnionTypeAnnotation=yC,s.Variance=_C,s.VoidTypeAnnotation=d3,s._interfaceish=OS,s._variance=wE;var o=requireLib$2(),F0=modules,L0=types$1;const{isDeclareExportDeclaration:B0,isStatement:q0}=o;function W0(){this.word("any")}function X0(iS){this.print(iS.elementType,iS),this.token("["),this.token("]")}function K0(){this.word("boolean")}function D_(iS){this.word(iS.value?"true":"false")}function I_(){this.word("null")}function F_(iS,aS){B0(aS)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(iS)}function R_(iS,aS){B0(aS)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(iS.id,iS),this.print(iS.id.typeAnnotation.typeAnnotation,iS),iS.predicate&&(this.space(),this.print(iS.predicate,iS)),this.semicolon()}function z_(){this.token("%"),this.word("checks")}function H_(iS){this.token("%"),this.word("checks"),this.token("("),this.print(iS.value,iS),this.token(")")}function Oy(iS){this.word("declare"),this.space(),this.InterfaceDeclaration(iS)}function qv(iS){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(iS.id,iS),this.space(),this.print(iS.body,iS)}function Lv(iS){this.word("declare"),this.space(),this.word("module"),this.token("."),this.word("exports"),this.print(iS.typeAnnotation,iS)}function S1(iS){this.word("declare"),this.space(),this.TypeAlias(iS)}function iv(iS,aS){B0(aS)||(this.word("declare"),this.space()),this.OpaqueType(iS)}function Yv(iS,aS){B0(aS)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(iS.id,iS),this.print(iS.id.typeAnnotation,iS),this.semicolon()}function _x(iS){this.word("declare"),this.space(),this.word("export"),this.space(),iS.default&&(this.word("default"),this.space()),pT.apply(this,arguments)}function Qv(){this.word("declare"),this.space(),F0.ExportAllDeclaration.apply(this,arguments)}function Fx(iS){const{id:aS,body:r3}=iS;this.word("enum"),this.space(),this.print(aS,iS),this.print(r3,iS)}function jx(iS,aS,r3){r3&&(iS.space(),iS.word("of"),iS.space(),iS.word(aS)),iS.space()}function K7(iS,aS){const{members:r3}=aS;iS.token("{"),iS.indent(),iS.newline();for(const AD of r3)iS.print(AD,aS),iS.newline();aS.hasUnknownMembers&&(iS.token("..."),iS.newline()),iS.dedent(),iS.token("}")}function g7(iS){const{explicitType:aS}=iS;jx(this,"boolean",aS),K7(this,iS)}function iT(iS){const{explicitType:aS}=iS;jx(this,"number",aS),K7(this,iS)}function $7(iS){const{explicitType:aS}=iS;jx(this,"string",aS),K7(this,iS)}function F7(iS){jx(this,"symbol",!0),K7(this,iS)}function aE(iS){const{id:aS}=iS;this.print(aS,iS),this.token(",")}function gS(iS,aS){const{id:r3,init:AD}=aS;iS.print(r3,aS),iS.space(),iS.token("="),iS.space(),iS.print(AD,aS),iS.token(",")}function eS(iS){gS(this,iS)}function lT(iS){gS(this,iS)}function UT(iS){gS(this,iS)}function pT(iS){if(iS.declaration){const aS=iS.declaration;this.print(aS,iS),q0(aS)||this.semicolon()}else this.token("{"),iS.specifiers.length&&(this.space(),this.printList(iS.specifiers,iS),this.space()),this.token("}"),iS.source&&(this.space(),this.word("from"),this.space(),this.print(iS.source,iS)),this.semicolon()}function D7(){this.token("*")}function WT(iS,aS){this.print(iS.typeParameters,iS),this.token("("),iS.this&&(this.word("this"),this.token(":"),this.space(),this.print(iS.this.typeAnnotation,iS),(iS.params.length||iS.rest)&&(this.token(","),this.space())),this.printList(iS.params,iS),iS.rest&&(iS.params.length&&(this.token(","),this.space()),this.token("..."),this.print(iS.rest,iS)),this.token(")"),aS&&(aS.type==="ObjectTypeCallProperty"||aS.type==="DeclareFunction"||aS.type==="ObjectTypeProperty"&&aS.method)?this.token(":"):(this.space(),this.token("=>")),this.space(),this.print(iS.returnType,iS)}function A7(iS){this.print(iS.name,iS),iS.optional&&this.token("?"),iS.name&&(this.token(":"),this.space()),this.print(iS.typeAnnotation,iS)}function U7(iS){this.print(iS.id,iS),this.print(iS.typeParameters,iS)}function OS(iS){var aS;this.print(iS.id,iS),this.print(iS.typeParameters,iS),(aS=iS.extends)!=null&&aS.length&&(this.space(),this.word("extends"),this.space(),this.printList(iS.extends,iS)),iS.mixins&&iS.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(iS.mixins,iS)),iS.implements&&iS.implements.length&&(this.space(),this.word("implements"),this.space(),this.printList(iS.implements,iS)),this.space(),this.print(iS.body,iS)}function wE(iS){iS.variance&&(iS.variance.kind==="plus"?this.token("+"):iS.variance.kind==="minus"&&this.token("-"))}function xT(iS){this.word("interface"),this.space(),this._interfaceish(iS)}function mS(){this.space(),this.token("&"),this.space()}function bE(iS){this.word("interface"),iS.extends&&iS.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(iS.extends,iS)),this.space(),this.print(iS.body,iS)}function R7(iS){this.printJoin(iS.types,iS,{separator:mS})}function W3(){this.word("mixed")}function bT(){this.word("empty")}function Z7(iS){this.token("?"),this.print(iS.typeAnnotation,iS)}function JS(){this.word("number")}function XE(){this.word("string")}function rS(){this.word("this")}function OT(iS){this.token("["),this.printList(iS.types,iS),this.token("]")}function T7(iS){this.word("typeof"),this.space(),this.print(iS.argument,iS)}function E7(iS){this.word("type"),this.space(),this.print(iS.id,iS),this.print(iS.typeParameters,iS),this.space(),this.token("="),this.space(),this.print(iS.right,iS),this.semicolon()}function VT(iS){this.token(":"),this.space(),iS.optional&&this.token("?"),this.print(iS.typeAnnotation,iS)}function kS(iS){this.token("<"),this.printList(iS.params,iS,{}),this.token(">")}function _T(iS){this._variance(iS),this.word(iS.name),iS.bound&&this.print(iS.bound,iS),iS.default&&(this.space(),this.token("="),this.space(),this.print(iS.default,iS))}function LS(iS){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(iS.id,iS),this.print(iS.typeParameters,iS),iS.supertype&&(this.token(":"),this.space(),this.print(iS.supertype,iS)),iS.impltype&&(this.space(),this.token("="),this.space(),this.print(iS.impltype,iS)),this.semicolon()}function hE(iS){iS.exact?this.token("{|"):this.token("{");const aS=[...iS.properties,...iS.callProperties||[],...iS.indexers||[],...iS.internalSlots||[]];aS.length&&(this.space(),this.printJoin(aS,iS,{addNewlines(r3){if(r3&&!aS[0])return 1},indent:!0,statement:!0,iterator:()=>{(aS.length!==1||iS.inexact)&&(this.token(","),this.space())}}),this.space()),iS.inexact&&(this.indent(),this.token("..."),aS.length&&this.newline(),this.dedent()),iS.exact?this.token("|}"):this.token("}")}function yS(iS){iS.static&&(this.word("static"),this.space()),this.token("["),this.token("["),this.print(iS.id,iS),this.token("]"),this.token("]"),iS.optional&&this.token("?"),iS.method||(this.token(":"),this.space()),this.print(iS.value,iS)}function BD(iS){iS.static&&(this.word("static"),this.space()),this.print(iS.value,iS)}function wT(iS){iS.static&&(this.word("static"),this.space()),this._variance(iS),this.token("["),iS.id&&(this.print(iS.id,iS),this.token(":"),this.space()),this.print(iS.key,iS),this.token("]"),this.token(":"),this.space(),this.print(iS.value,iS)}function dT(iS){iS.proto&&(this.word("proto"),this.space()),iS.static&&(this.word("static"),this.space()),(iS.kind==="get"||iS.kind==="set")&&(this.word(iS.kind),this.space()),this._variance(iS),this.print(iS.key,iS),iS.optional&&this.token("?"),iS.method||(this.token(":"),this.space()),this.print(iS.value,iS)}function RT(iS){this.token("..."),this.print(iS.argument,iS)}function KS(iS){this.print(iS.qualification,iS),this.token("."),this.print(iS.id,iS)}function sE(){this.word("symbol")}function B3(){this.space(),this.token("|"),this.space()}function yC(iS){this.printJoin(iS.types,iS,{separator:B3})}function uE(iS){this.token("("),this.print(iS.expression,iS),this.print(iS.typeAnnotation,iS),this.token(")")}function _C(iS){iS.kind==="plus"?this.token("+"):this.token("-")}function d3(){this.word("void")}function nA(iS){this.print(iS.objectType,iS),this.token("["),this.print(iS.indexType,iS),this.token("]")}function DE(iS){this.print(iS.objectType,iS),iS.optional&&this.token("?."),this.token("["),this.print(iS.indexType,iS),this.token("]")}})(flow$2);var base$1={};Object.defineProperty(base$1,"__esModule",{value:!0});base$1.BlockStatement=BlockStatement;base$1.Directive=Directive;base$1.DirectiveLiteral=DirectiveLiteral;base$1.File=File$1;base$1.InterpreterDirective=InterpreterDirective;base$1.Placeholder=Placeholder;base$1.Program=Program;function File$1(s){s.program&&this.print(s.program.interpreter,s),this.print(s.program,s)}function Program(s){this.printInnerComments(s,!1),this.printSequence(s.directives,s),s.directives&&s.directives.length&&this.newline(),this.printSequence(s.body,s)}function BlockStatement(s){var o;this.token("{"),this.printInnerComments(s);const F0=(o=s.directives)==null?void 0:o.length;s.body.length||F0?(this.newline(),this.printSequence(s.directives,s,{indent:!0}),F0&&this.newline(),this.printSequence(s.body,s,{indent:!0}),this.removeTrailingNewline(),this.source("end",s.loc),this.endsWith(10)||this.newline(),this.rightBrace()):(this.source("end",s.loc),this.token("}"))}function Directive(s){this.print(s.value,s),this.semicolon()}const unescapedSingleQuoteRE=/(?:^|[^\\])(?:\\\\)*'/,unescapedDoubleQuoteRE=/(?:^|[^\\])(?:\\\\)*"/;function DirectiveLiteral(s){const o=this.getPossibleRaw(s);if(!this.format.minified&&o!=null){this.token(o);return}const{value:F0}=s;if(!unescapedDoubleQuoteRE.test(F0))this.token(`"${F0}"`);else if(!unescapedSingleQuoteRE.test(F0))this.token(`'${F0}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function InterpreterDirective(s){this.token(`#!${s.value}
4866
4866
  `)}function Placeholder(s){this.token("%%"),this.print(s.name),this.token("%%"),s.expectedNode==="Statement"&&this.semicolon()}var jsx={};Object.defineProperty(jsx,"__esModule",{value:!0});jsx.JSXAttribute=JSXAttribute;jsx.JSXClosingElement=JSXClosingElement;jsx.JSXClosingFragment=JSXClosingFragment;jsx.JSXElement=JSXElement;jsx.JSXEmptyExpression=JSXEmptyExpression;jsx.JSXExpressionContainer=JSXExpressionContainer;jsx.JSXFragment=JSXFragment;jsx.JSXIdentifier=JSXIdentifier;jsx.JSXMemberExpression=JSXMemberExpression;jsx.JSXNamespacedName=JSXNamespacedName;jsx.JSXOpeningElement=JSXOpeningElement;jsx.JSXOpeningFragment=JSXOpeningFragment;jsx.JSXSpreadAttribute=JSXSpreadAttribute;jsx.JSXSpreadChild=JSXSpreadChild;jsx.JSXText=JSXText;function JSXAttribute(s){this.print(s.name,s),s.value&&(this.token("="),this.print(s.value,s))}function JSXIdentifier(s){this.word(s.name)}function JSXNamespacedName(s){this.print(s.namespace,s),this.token(":"),this.print(s.name,s)}function JSXMemberExpression(s){this.print(s.object,s),this.token("."),this.print(s.property,s)}function JSXSpreadAttribute(s){this.token("{"),this.token("..."),this.print(s.argument,s),this.token("}")}function JSXExpressionContainer(s){this.token("{"),this.print(s.expression,s),this.token("}")}function JSXSpreadChild(s){this.token("{"),this.token("..."),this.print(s.expression,s),this.token("}")}function JSXText(s){const o=this.getPossibleRaw(s);o!=null?this.token(o):this.token(s.value)}function JSXElement(s){const o=s.openingElement;if(this.print(o,s),!o.selfClosing){this.indent();for(const F0 of s.children)this.print(F0,s);this.dedent(),this.print(s.closingElement,s)}}function spaceSeparator(){this.space()}function JSXOpeningElement(s){this.token("<"),this.print(s.name,s),this.print(s.typeParameters,s),s.attributes.length>0&&(this.space(),this.printJoin(s.attributes,s,{separator:spaceSeparator})),s.selfClosing?(this.space(),this.token("/>")):this.token(">")}function JSXClosingElement(s){this.token("</"),this.print(s.name,s),this.token(">")}function JSXEmptyExpression(s){this.printInnerComments(s)}function JSXFragment(s){this.print(s.openingFragment,s),this.indent();for(const o of s.children)this.print(o,s);this.dedent(),this.print(s.closingFragment,s)}function JSXOpeningFragment(){this.token("<"),this.token(">")}function JSXClosingFragment(){this.token("</"),this.token(">")}var typescript={};Object.defineProperty(typescript,"__esModule",{value:!0});typescript.TSAnyKeyword=TSAnyKeyword;typescript.TSArrayType=TSArrayType;typescript.TSAsExpression=TSAsExpression;typescript.TSBigIntKeyword=TSBigIntKeyword;typescript.TSBooleanKeyword=TSBooleanKeyword;typescript.TSCallSignatureDeclaration=TSCallSignatureDeclaration;typescript.TSConditionalType=TSConditionalType;typescript.TSConstructSignatureDeclaration=TSConstructSignatureDeclaration;typescript.TSConstructorType=TSConstructorType;typescript.TSDeclareFunction=TSDeclareFunction;typescript.TSDeclareMethod=TSDeclareMethod;typescript.TSEnumDeclaration=TSEnumDeclaration;typescript.TSEnumMember=TSEnumMember;typescript.TSExportAssignment=TSExportAssignment;typescript.TSExpressionWithTypeArguments=TSExpressionWithTypeArguments;typescript.TSExternalModuleReference=TSExternalModuleReference;typescript.TSFunctionType=TSFunctionType;typescript.TSImportEqualsDeclaration=TSImportEqualsDeclaration;typescript.TSImportType=TSImportType;typescript.TSIndexSignature=TSIndexSignature;typescript.TSIndexedAccessType=TSIndexedAccessType;typescript.TSInferType=TSInferType;typescript.TSInterfaceBody=TSInterfaceBody;typescript.TSInterfaceDeclaration=TSInterfaceDeclaration;typescript.TSIntersectionType=TSIntersectionType;typescript.TSIntrinsicKeyword=TSIntrinsicKeyword;typescript.TSLiteralType=TSLiteralType;typescript.TSMappedType=TSMappedType;typescript.TSMethodSignature=TSMethodSignature;typescript.TSModuleBlock=TSModuleBlock;typescript.TSModuleDeclaration=TSModuleDeclaration;typescript.TSNamedTupleMember=TSNamedTupleMember;typescript.TSNamespaceExportDeclaration=TSNamespaceExportDeclaration;typescript.TSNeverKeyword=TSNeverKeyword;typescript.TSNonNullExpression=TSNonNullExpression;typescript.TSNullKeyword=TSNullKeyword;typescript.TSNumberKeyword=TSNumberKeyword;typescript.TSObjectKeyword=TSObjectKeyword;typescript.TSOptionalType=TSOptionalType;typescript.TSParameterProperty=TSParameterProperty;typescript.TSParenthesizedType=TSParenthesizedType;typescript.TSPropertySignature=TSPropertySignature;typescript.TSQualifiedName=TSQualifiedName;typescript.TSRestType=TSRestType;typescript.TSStringKeyword=TSStringKeyword;typescript.TSSymbolKeyword=TSSymbolKeyword;typescript.TSThisType=TSThisType;typescript.TSTupleType=TSTupleType;typescript.TSTypeAliasDeclaration=TSTypeAliasDeclaration;typescript.TSTypeAnnotation=TSTypeAnnotation;typescript.TSTypeAssertion=TSTypeAssertion;typescript.TSTypeLiteral=TSTypeLiteral;typescript.TSTypeOperator=TSTypeOperator;typescript.TSTypeParameter=TSTypeParameter;typescript.TSTypeParameterDeclaration=typescript.TSTypeParameterInstantiation=TSTypeParameterInstantiation;typescript.TSTypePredicate=TSTypePredicate;typescript.TSTypeQuery=TSTypeQuery;typescript.TSTypeReference=TSTypeReference;typescript.TSUndefinedKeyword=TSUndefinedKeyword;typescript.TSUnionType=TSUnionType;typescript.TSUnknownKeyword=TSUnknownKeyword;typescript.TSVoidKeyword=TSVoidKeyword;typescript.tsPrintBraced=tsPrintBraced;typescript.tsPrintClassMemberModifiers=tsPrintClassMemberModifiers;typescript.tsPrintFunctionOrConstructorType=tsPrintFunctionOrConstructorType;typescript.tsPrintPropertyOrMethodName=tsPrintPropertyOrMethodName;typescript.tsPrintSignatureDeclarationBase=tsPrintSignatureDeclarationBase;typescript.tsPrintTypeLiteralOrInterfaceBody=tsPrintTypeLiteralOrInterfaceBody;typescript.tsPrintUnionOrIntersectionType=tsPrintUnionOrIntersectionType;function TSTypeAnnotation(s){this.token(":"),this.space(),s.optional&&this.token("?"),this.print(s.typeAnnotation,s)}function TSTypeParameterInstantiation(s,o){this.token("<"),this.printList(s.params,s,{}),o.type==="ArrowFunctionExpression"&&s.params.length===1&&this.token(","),this.token(">")}function TSTypeParameter(s){this.word(s.name),s.constraint&&(this.space(),this.word("extends"),this.space(),this.print(s.constraint,s)),s.default&&(this.space(),this.token("="),this.space(),this.print(s.default,s))}function TSParameterProperty(s){s.accessibility&&(this.word(s.accessibility),this.space()),s.readonly&&(this.word("readonly"),this.space()),this._param(s.parameter)}function TSDeclareFunction(s){s.declare&&(this.word("declare"),this.space()),this._functionHead(s),this.token(";")}function TSDeclareMethod(s){this._classMethodHead(s),this.token(";")}function TSQualifiedName(s){this.print(s.left,s),this.token("."),this.print(s.right,s)}function TSCallSignatureDeclaration(s){this.tsPrintSignatureDeclarationBase(s),this.token(";")}function TSConstructSignatureDeclaration(s){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(s),this.token(";")}function TSPropertySignature(s){const{readonly:o,initializer:F0}=s;o&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(s),this.print(s.typeAnnotation,s),F0&&(this.space(),this.token("="),this.space(),this.print(F0,s)),this.token(";")}function tsPrintPropertyOrMethodName(s){s.computed&&this.token("["),this.print(s.key,s),s.computed&&this.token("]"),s.optional&&this.token("?")}function TSMethodSignature(s){const{kind:o}=s;(o==="set"||o==="get")&&(this.word(o),this.space()),this.tsPrintPropertyOrMethodName(s),this.tsPrintSignatureDeclarationBase(s),this.token(";")}function TSIndexSignature(s){const{readonly:o,static:F0}=s;F0&&(this.word("static"),this.space()),o&&(this.word("readonly"),this.space()),this.token("["),this._parameters(s.parameters,s),this.token("]"),this.print(s.typeAnnotation,s),this.token(";")}function TSAnyKeyword(){this.word("any")}function TSBigIntKeyword(){this.word("bigint")}function TSUnknownKeyword(){this.word("unknown")}function TSNumberKeyword(){this.word("number")}function TSObjectKeyword(){this.word("object")}function TSBooleanKeyword(){this.word("boolean")}function TSStringKeyword(){this.word("string")}function TSSymbolKeyword(){this.word("symbol")}function TSVoidKeyword(){this.word("void")}function TSUndefinedKeyword(){this.word("undefined")}function TSNullKeyword(){this.word("null")}function TSNeverKeyword(){this.word("never")}function TSIntrinsicKeyword(){this.word("intrinsic")}function TSThisType(){this.word("this")}function TSFunctionType(s){this.tsPrintFunctionOrConstructorType(s)}function TSConstructorType(s){s.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(s)}function tsPrintFunctionOrConstructorType(s){const{typeParameters:o}=s,F0=s.parameters;this.print(o,s),this.token("("),this._parameters(F0,s),this.token(")"),this.space(),this.token("=>"),this.space();const L0=s.typeAnnotation;this.print(L0.typeAnnotation,s)}function TSTypeReference(s){this.print(s.typeName,s),this.print(s.typeParameters,s)}function TSTypePredicate(s){s.asserts&&(this.word("asserts"),this.space()),this.print(s.parameterName),s.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(s.typeAnnotation.typeAnnotation))}function TSTypeQuery(s){this.word("typeof"),this.space(),this.print(s.exprName)}function TSTypeLiteral(s){this.tsPrintTypeLiteralOrInterfaceBody(s.members,s)}function tsPrintTypeLiteralOrInterfaceBody(s,o){this.tsPrintBraced(s,o)}function tsPrintBraced(s,o){if(this.token("{"),s.length){this.indent(),this.newline();for(const F0 of s)this.print(F0,o),this.newline();this.dedent(),this.rightBrace()}else this.token("}")}function TSArrayType(s){this.print(s.elementType,s),this.token("[]")}function TSTupleType(s){this.token("["),this.printList(s.elementTypes,s),this.token("]")}function TSOptionalType(s){this.print(s.typeAnnotation,s),this.token("?")}function TSRestType(s){this.token("..."),this.print(s.typeAnnotation,s)}function TSNamedTupleMember(s){this.print(s.label,s),s.optional&&this.token("?"),this.token(":"),this.space(),this.print(s.elementType,s)}function TSUnionType(s){this.tsPrintUnionOrIntersectionType(s,"|")}function TSIntersectionType(s){this.tsPrintUnionOrIntersectionType(s,"&")}function tsPrintUnionOrIntersectionType(s,o){this.printJoin(s.types,s,{separator(){this.space(),this.token(o),this.space()}})}function TSConditionalType(s){this.print(s.checkType),this.space(),this.word("extends"),this.space(),this.print(s.extendsType),this.space(),this.token("?"),this.space(),this.print(s.trueType),this.space(),this.token(":"),this.space(),this.print(s.falseType)}function TSInferType(s){this.token("infer"),this.space(),this.print(s.typeParameter)}function TSParenthesizedType(s){this.token("("),this.print(s.typeAnnotation,s),this.token(")")}function TSTypeOperator(s){this.word(s.operator),this.space(),this.print(s.typeAnnotation,s)}function TSIndexedAccessType(s){this.print(s.objectType,s),this.token("["),this.print(s.indexType,s),this.token("]")}function TSMappedType(s){const{nameType:o,optional:F0,readonly:L0,typeParameter:B0}=s;this.token("{"),this.space(),L0&&(tokenIfPlusMinus(this,L0),this.word("readonly"),this.space()),this.token("["),this.word(B0.name),this.space(),this.word("in"),this.space(),this.print(B0.constraint,B0),o&&(this.space(),this.word("as"),this.space(),this.print(o,s)),this.token("]"),F0&&(tokenIfPlusMinus(this,F0),this.token("?")),this.token(":"),this.space(),this.print(s.typeAnnotation,s),this.space(),this.token("}")}function tokenIfPlusMinus(s,o){o!==!0&&s.token(o)}function TSLiteralType(s){this.print(s.literal,s)}function TSExpressionWithTypeArguments(s){this.print(s.expression,s),this.print(s.typeParameters,s)}function TSInterfaceDeclaration(s){const{declare:o,id:F0,typeParameters:L0,extends:B0,body:q0}=s;o&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(F0,s),this.print(L0,s),B0!=null&&B0.length&&(this.space(),this.word("extends"),this.space(),this.printList(B0,s)),this.space(),this.print(q0,s)}function TSInterfaceBody(s){this.tsPrintTypeLiteralOrInterfaceBody(s.body,s)}function TSTypeAliasDeclaration(s){const{declare:o,id:F0,typeParameters:L0,typeAnnotation:B0}=s;o&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(F0,s),this.print(L0,s),this.space(),this.token("="),this.space(),this.print(B0,s),this.token(";")}function TSAsExpression(s){const{expression:o,typeAnnotation:F0}=s;this.print(o,s),this.space(),this.word("as"),this.space(),this.print(F0,s)}function TSTypeAssertion(s){const{typeAnnotation:o,expression:F0}=s;this.token("<"),this.print(o,s),this.token(">"),this.space(),this.print(F0,s)}function TSEnumDeclaration(s){const{declare:o,const:F0,id:L0,members:B0}=s;o&&(this.word("declare"),this.space()),F0&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(L0,s),this.space(),this.tsPrintBraced(B0,s)}function TSEnumMember(s){const{id:o,initializer:F0}=s;this.print(o,s),F0&&(this.space(),this.token("="),this.space(),this.print(F0,s)),this.token(",")}function TSModuleDeclaration(s){const{declare:o,id:F0}=s;if(o&&(this.word("declare"),this.space()),s.global||(this.word(F0.type==="Identifier"?"namespace":"module"),this.space()),this.print(F0,s),!s.body){this.token(";");return}let L0=s.body;for(;L0.type==="TSModuleDeclaration";)this.token("."),this.print(L0.id,L0),L0=L0.body;this.space(),this.print(L0,s)}function TSModuleBlock(s){this.tsPrintBraced(s.body,s)}function TSImportType(s){const{argument:o,qualifier:F0,typeParameters:L0}=s;this.word("import"),this.token("("),this.print(o,s),this.token(")"),F0&&(this.token("."),this.print(F0,s)),L0&&this.print(L0,s)}function TSImportEqualsDeclaration(s){const{isExport:o,id:F0,moduleReference:L0}=s;o&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(F0,s),this.space(),this.token("="),this.space(),this.print(L0,s),this.token(";")}function TSExternalModuleReference(s){this.token("require("),this.print(s.expression,s),this.token(")")}function TSNonNullExpression(s){this.print(s.expression,s),this.token("!")}function TSExportAssignment(s){this.word("export"),this.space(),this.token("="),this.space(),this.print(s.expression,s),this.token(";")}function TSNamespaceExportDeclaration(s){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(s.id,s)}function tsPrintSignatureDeclarationBase(s){const{typeParameters:o}=s,F0=s.parameters;this.print(o,s),this.token("("),this._parameters(F0,s),this.token(")");const L0=s.typeAnnotation;this.print(L0,s)}function tsPrintClassMemberModifiers(s,o){o&&s.declare&&(this.word("declare"),this.space()),s.accessibility&&(this.word(s.accessibility),this.space()),s.static&&(this.word("static"),this.space()),s.override&&(this.word("override"),this.space()),s.abstract&&(this.word("abstract"),this.space()),o&&s.readonly&&(this.word("readonly"),this.space())}(function(s){Object.defineProperty(s,"__esModule",{value:!0});var o=templateLiterals;Object.keys(o).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===o[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return o[R_]}})});var F0=expressions;Object.keys(F0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===F0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return F0[R_]}})});var L0=statements;Object.keys(L0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===L0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return L0[R_]}})});var B0=classes;Object.keys(B0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===B0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return B0[R_]}})});var q0=methods;Object.keys(q0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===q0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return q0[R_]}})});var W0=modules;Object.keys(W0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===W0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return W0[R_]}})});var X0=types$1;Object.keys(X0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===X0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return X0[R_]}})});var K0=flow$2;Object.keys(K0).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===K0[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return K0[R_]}})});var D_=base$1;Object.keys(D_).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===D_[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return D_[R_]}})});var I_=jsx;Object.keys(I_).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===I_[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return I_[R_]}})});var F_=typescript;Object.keys(F_).forEach(function(R_){R_==="default"||R_==="__esModule"||R_ in s&&s[R_]===F_[R_]||Object.defineProperty(s,R_,{enumerable:!0,get:function(){return F_[R_]}})})})(generators);Object.defineProperty(printer,"__esModule",{value:!0});printer.default=void 0;var _buffer=buffer$3,n=node$1,_t$2=requireLib$2(),generatorFunctions=generators;const{isProgram,isFile,isEmptyStatement}=_t$2,SCIENTIFIC_NOTATION=/e/i,ZERO_DECIMAL_INTEGER=/\.0+$/,NON_DECIMAL_LITERAL=/^0[box]/,PURE_ANNOTATION_RE=/^\s*[@#]__PURE__\s*$/,{needsParens,needsWhitespaceAfter,needsWhitespaceBefore}=n;class Printer{constructor(o,F0){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new WeakSet,this._endsWithInteger=!1,this._endsWithWord=!1,this.format=o,this._buf=new _buffer.default(F0)}generate(o){return this.print(o),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(o=!1){this._maybeAddAuxComment(),this._append(";",!o)}rightBrace(){this.format.minified&&this._buf.removeLastSemicolon(),this.token("}")}space(o=!1){if(!this.format.compact){if(o)this._space();else if(this._buf.hasContent()){const F0=this.getLastChar();F0!==32&&F0!==10&&this._space()}}}word(o){(this._endsWithWord||this.endsWith(47)&&o.charCodeAt(0)===47)&&this._space(),this._maybeAddAuxComment(),this._append(o),this._endsWithWord=!0}number(o){this.word(o),this._endsWithInteger=Number.isInteger(+o)&&!NON_DECIMAL_LITERAL.test(o)&&!SCIENTIFIC_NOTATION.test(o)&&!ZERO_DECIMAL_INTEGER.test(o)&&o.charCodeAt(o.length-1)!==46}token(o){const F0=this.getLastChar(),L0=o.charCodeAt(0);(o==="--"&&F0===33||L0===43&&F0===43||L0===45&&F0===45||L0===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(o)}newline(o=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}const F0=this.endsWithCharAndNewline();if(F0!==10&&((F0===123||F0===58)&&o--,!(o<=0)))for(let L0=0;L0<o;L0++)this._newline()}endsWith(o){return this.getLastChar()===o}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(o,F0){this._catchUp("start",o),this._buf.exactSource(o,F0)}source(o,F0){this._catchUp(o,F0),this._buf.source(o,F0)}withSource(o,F0,L0){this._catchUp(o,F0),this._buf.withSource(o,F0,L0)}_space(){this._append(" ",!0)}_newline(){this._append(`
4867
4867
  `,!0)}_append(o,F0=!1){this._maybeAddParen(o),this._maybeIndent(o),F0?this._buf.queue(o):this._buf.append(o),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(o){this._indent&&this.endsWith(10)&&o.charCodeAt(0)!==10&&this._buf.queue(this._getIndent())}_maybeAddParen(o){const F0=this._parenPushNewlineState;if(!F0)return;let L0;for(L0=0;L0<o.length&&o[L0]===" ";L0++);if(L0===o.length)return;const B0=o[L0];if(B0!==`
@@ -4943,7 +4943,7 @@ ${s.split(`
4943
4943
  `).map(W0=>`${o}${B0?W0:W0.trim()}`).join(`
4944
4944
  `)}
4945
4945
  `,s=s.replace(/^\n[\s]+\n/g,`
4946
- `)}return s}const findPluginByParser=(s,o)=>{var L0;const F0=o.plugins.find(B0=>typeof B0=="object"&&B0!==null&&!(B0 instanceof URL)&&B0.name&&B0.name!=="prettier-plugin-jsdoc"&&B0.parsers&&!("jsdoc-parser"in B0.parsers)&&B0.parsers.hasOwnProperty(s));return F0?(L0=F0.parsers)==null?void 0:L0[s]:void 0},isDefaultTag=s=>TAGS_DEFAULT.includes(s),emptyOptions={};function toString$2(s,o){const F0=emptyOptions,L0=typeof F0.includeImageAlt=="boolean"?F0.includeImageAlt:!0,B0=typeof F0.includeHtml=="boolean"?F0.includeHtml:!0;return one(s,L0,B0)}function one(s,o,F0){if(node(s)){if("value"in s)return s.type==="html"&&!F0?"":s.value;if(o&&"alt"in s&&s.alt)return s.alt;if("children"in s)return all(s.children,o,F0)}return Array.isArray(s)?all(s,o,F0):""}function all(s,o,F0){const L0=[];let B0=-1;for(;++B0<s.length;)L0[B0]=one(s[B0],o,F0);return L0.join("")}function node(s){return!!(s&&typeof s=="object")}const element=document.createElement("i");function decodeNamedCharacterReference(s){const o="&"+s+";";element.innerHTML=o;const F0=element.textContent;return F0.charCodeAt(F0.length-1)===59&&s!=="semi"||F0===o?!1:F0}function splice(s,o,F0,L0){const B0=s.length;let q0=0,W0;if(o<0?o=-o>B0?0:B0+o:o=o>B0?B0:o,F0=F0>0?F0:0,L0.length<1e4)W0=Array.from(L0),W0.unshift(o,F0),s.splice(...W0);else for(F0&&s.splice(o,F0);q0<L0.length;)W0=L0.slice(q0,q0+1e4),W0.unshift(o,0),s.splice(...W0),q0+=1e4,o+=1e4}function push(s,o){return s.length>0?(splice(s,s.length,0,o),s):o}const hasOwnProperty$7={}.hasOwnProperty;function combineExtensions(s){const o={};let F0=-1;for(;++F0<s.length;)syntaxExtension(o,s[F0]);return o}function syntaxExtension(s,o){let F0;for(F0 in o){const B0=(hasOwnProperty$7.call(s,F0)?s[F0]:void 0)||(s[F0]={}),q0=o[F0];let W0;if(q0)for(W0 in q0){hasOwnProperty$7.call(B0,W0)||(B0[W0]=[]);const X0=q0[W0];constructs(B0[W0],Array.isArray(X0)?X0:X0?[X0]:[])}}}function constructs(s,o){let F0=-1;const L0=[];for(;++F0<o.length;)(o[F0].add==="after"?s:L0).push(o[F0]);splice(s,0,0,L0)}function decodeNumericCharacterReference(s,o){const F0=Number.parseInt(s,o);return F0<9||F0===11||F0>13&&F0<32||F0>126&&F0<160||F0>55295&&F0<57344||F0>64975&&F0<65008||(F0&65535)===65535||(F0&65535)===65534||F0>1114111?"�":String.fromCodePoint(F0)}function normalizeIdentifier(s){return s.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const asciiAlpha=regexCheck(/[A-Za-z]/),asciiAlphanumeric=regexCheck(/[\dA-Za-z]/),asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(s){return s!==null&&(s<32||s===127)}const asciiDigit=regexCheck(/\d/),asciiHexDigit=regexCheck(/[\dA-Fa-f]/),asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/);function markdownLineEnding(s){return s!==null&&s<-2}function markdownLineEndingOrSpace(s){return s!==null&&(s<0||s===32)}function markdownSpace(s){return s===-2||s===-1||s===32}const unicodePunctuation=regexCheck(new RegExp("\\p{P}|\\p{S}","u")),unicodeWhitespace=regexCheck(/\s/);function regexCheck(s){return o;function o(F0){return F0!==null&&F0>-1&&s.test(String.fromCharCode(F0))}}function factorySpace(s,o,F0,L0){const B0=L0?L0-1:Number.POSITIVE_INFINITY;let q0=0;return W0;function W0(K0){return markdownSpace(K0)?(s.enter(F0),X0(K0)):o(K0)}function X0(K0){return markdownSpace(K0)&&q0++<B0?(s.consume(K0),X0):(s.exit(F0),o(K0))}}const content$1={tokenize:initializeContent};function initializeContent(s){const o=s.attempt(this.parser.constructs.contentInitial,L0,B0);let F0;return o;function L0(X0){if(X0===null){s.consume(X0);return}return s.enter("lineEnding"),s.consume(X0),s.exit("lineEnding"),factorySpace(s,o,"linePrefix")}function B0(X0){return s.enter("paragraph"),q0(X0)}function q0(X0){const K0=s.enter("chunkText",{contentType:"text",previous:F0});return F0&&(F0.next=K0),F0=K0,W0(X0)}function W0(X0){if(X0===null){s.exit("chunkText"),s.exit("paragraph"),s.consume(X0);return}return markdownLineEnding(X0)?(s.consume(X0),s.exit("chunkText"),q0):(s.consume(X0),W0)}}const document$2={tokenize:initializeDocument},containerConstruct={tokenize:tokenizeContainer};function initializeDocument(s){const o=this,F0=[];let L0=0,B0,q0,W0;return X0;function X0(iv){if(L0<F0.length){const Yv=F0[L0];return o.containerState=Yv[1],s.attempt(Yv[0].continuation,K0,D_)(iv)}return D_(iv)}function K0(iv){if(L0++,o.containerState._closeFlow){o.containerState._closeFlow=void 0,B0&&S1();const Yv=o.events.length;let _x=Yv,Qv;for(;_x--;)if(o.events[_x][0]==="exit"&&o.events[_x][1].type==="chunkFlow"){Qv=o.events[_x][1].end;break}Lv(L0);let Fx=Yv;for(;Fx<o.events.length;)o.events[Fx][1].end={...Qv},Fx++;return splice(o.events,_x+1,0,o.events.slice(Yv)),o.events.length=Fx,D_(iv)}return X0(iv)}function D_(iv){if(L0===F0.length){if(!B0)return R_(iv);if(B0.currentConstruct&&B0.currentConstruct.concrete)return H_(iv);o.interrupt=!!(B0.currentConstruct&&!B0._gfmTableDynamicInterruptHack)}return o.containerState={},s.check(containerConstruct,I_,F_)(iv)}function I_(iv){return B0&&S1(),Lv(L0),R_(iv)}function F_(iv){return o.parser.lazy[o.now().line]=L0!==F0.length,W0=o.now().offset,H_(iv)}function R_(iv){return o.containerState={},s.attempt(containerConstruct,z_,H_)(iv)}function z_(iv){return L0++,F0.push([o.currentConstruct,o.containerState]),R_(iv)}function H_(iv){if(iv===null){B0&&S1(),Lv(0),s.consume(iv);return}return B0=B0||o.parser.flow(o.now()),s.enter("chunkFlow",{_tokenizer:B0,contentType:"flow",previous:q0}),Oy(iv)}function Oy(iv){if(iv===null){qv(s.exit("chunkFlow"),!0),Lv(0),s.consume(iv);return}return markdownLineEnding(iv)?(s.consume(iv),qv(s.exit("chunkFlow")),L0=0,o.interrupt=void 0,X0):(s.consume(iv),Oy)}function qv(iv,Yv){const _x=o.sliceStream(iv);if(Yv&&_x.push(null),iv.previous=q0,q0&&(q0.next=iv),q0=iv,B0.defineSkip(iv.start),B0.write(_x),o.parser.lazy[iv.start.line]){let Qv=B0.events.length;for(;Qv--;)if(B0.events[Qv][1].start.offset<W0&&(!B0.events[Qv][1].end||B0.events[Qv][1].end.offset>W0))return;const Fx=o.events.length;let jx=Fx,K7,g7;for(;jx--;)if(o.events[jx][0]==="exit"&&o.events[jx][1].type==="chunkFlow"){if(K7){g7=o.events[jx][1].end;break}K7=!0}for(Lv(L0),Qv=Fx;Qv<o.events.length;)o.events[Qv][1].end={...g7},Qv++;splice(o.events,jx+1,0,o.events.slice(Fx)),o.events.length=Qv}}function Lv(iv){let Yv=F0.length;for(;Yv-- >iv;){const _x=F0[Yv];o.containerState=_x[1],_x[0].exit.call(o,s)}F0.length=iv}function S1(){B0.write([null]),q0=void 0,B0=void 0,o.containerState._closeFlow=void 0}}function tokenizeContainer(s,o,F0){return factorySpace(s,s.attempt(this.parser.constructs.document,o,F0),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function classifyCharacter(s){if(s===null||markdownLineEndingOrSpace(s)||unicodeWhitespace(s))return 1;if(unicodePunctuation(s))return 2}function resolveAll(s,o,F0){const L0=[];let B0=-1;for(;++B0<s.length;){const q0=s[B0].resolveAll;q0&&!L0.includes(q0)&&(o=q0(o,F0),L0.push(q0))}return o}const attention={name:"attention",resolveAll:resolveAllAttention,tokenize:tokenizeAttention};function resolveAllAttention(s,o){let F0=-1,L0,B0,q0,W0,X0,K0,D_,I_;for(;++F0<s.length;)if(s[F0][0]==="enter"&&s[F0][1].type==="attentionSequence"&&s[F0][1]._close){for(L0=F0;L0--;)if(s[L0][0]==="exit"&&s[L0][1].type==="attentionSequence"&&s[L0][1]._open&&o.sliceSerialize(s[L0][1]).charCodeAt(0)===o.sliceSerialize(s[F0][1]).charCodeAt(0)){if((s[L0][1]._close||s[F0][1]._open)&&(s[F0][1].end.offset-s[F0][1].start.offset)%3&&!((s[L0][1].end.offset-s[L0][1].start.offset+s[F0][1].end.offset-s[F0][1].start.offset)%3))continue;K0=s[L0][1].end.offset-s[L0][1].start.offset>1&&s[F0][1].end.offset-s[F0][1].start.offset>1?2:1;const F_={...s[L0][1].end},R_={...s[F0][1].start};movePoint(F_,-K0),movePoint(R_,K0),W0={type:K0>1?"strongSequence":"emphasisSequence",start:F_,end:{...s[L0][1].end}},X0={type:K0>1?"strongSequence":"emphasisSequence",start:{...s[F0][1].start},end:R_},q0={type:K0>1?"strongText":"emphasisText",start:{...s[L0][1].end},end:{...s[F0][1].start}},B0={type:K0>1?"strong":"emphasis",start:{...W0.start},end:{...X0.end}},s[L0][1].end={...W0.start},s[F0][1].start={...X0.end},D_=[],s[L0][1].end.offset-s[L0][1].start.offset&&(D_=push(D_,[["enter",s[L0][1],o],["exit",s[L0][1],o]])),D_=push(D_,[["enter",B0,o],["enter",W0,o],["exit",W0,o],["enter",q0,o]]),D_=push(D_,resolveAll(o.parser.constructs.insideSpan.null,s.slice(L0+1,F0),o)),D_=push(D_,[["exit",q0,o],["enter",X0,o],["exit",X0,o],["exit",B0,o]]),s[F0][1].end.offset-s[F0][1].start.offset?(I_=2,D_=push(D_,[["enter",s[F0][1],o],["exit",s[F0][1],o]])):I_=0,splice(s,L0-1,F0-L0+3,D_),F0=L0+D_.length-I_-2;break}}for(F0=-1;++F0<s.length;)s[F0][1].type==="attentionSequence"&&(s[F0][1].type="data");return s}function tokenizeAttention(s,o){const F0=this.parser.constructs.attentionMarkers.null,L0=this.previous,B0=classifyCharacter(L0);let q0;return W0;function W0(K0){return q0=K0,s.enter("attentionSequence"),X0(K0)}function X0(K0){if(K0===q0)return s.consume(K0),X0;const D_=s.exit("attentionSequence"),I_=classifyCharacter(K0),F_=!I_||I_===2&&B0||F0.includes(K0),R_=!B0||B0===2&&I_||F0.includes(L0);return D_._open=!!(q0===42?F_:F_&&(B0||!R_)),D_._close=!!(q0===42?R_:R_&&(I_||!F_)),o(K0)}}function movePoint(s,o){s.column+=o,s.offset+=o,s._bufferIndex+=o}const autolink={name:"autolink",tokenize:tokenizeAutolink};function tokenizeAutolink(s,o,F0){let L0=0;return B0;function B0(z_){return s.enter("autolink"),s.enter("autolinkMarker"),s.consume(z_),s.exit("autolinkMarker"),s.enter("autolinkProtocol"),q0}function q0(z_){return asciiAlpha(z_)?(s.consume(z_),W0):z_===64?F0(z_):D_(z_)}function W0(z_){return z_===43||z_===45||z_===46||asciiAlphanumeric(z_)?(L0=1,X0(z_)):D_(z_)}function X0(z_){return z_===58?(s.consume(z_),L0=0,K0):(z_===43||z_===45||z_===46||asciiAlphanumeric(z_))&&L0++<32?(s.consume(z_),X0):(L0=0,D_(z_))}function K0(z_){return z_===62?(s.exit("autolinkProtocol"),s.enter("autolinkMarker"),s.consume(z_),s.exit("autolinkMarker"),s.exit("autolink"),o):z_===null||z_===32||z_===60||asciiControl(z_)?F0(z_):(s.consume(z_),K0)}function D_(z_){return z_===64?(s.consume(z_),I_):asciiAtext(z_)?(s.consume(z_),D_):F0(z_)}function I_(z_){return asciiAlphanumeric(z_)?F_(z_):F0(z_)}function F_(z_){return z_===46?(s.consume(z_),L0=0,I_):z_===62?(s.exit("autolinkProtocol").type="autolinkEmail",s.enter("autolinkMarker"),s.consume(z_),s.exit("autolinkMarker"),s.exit("autolink"),o):R_(z_)}function R_(z_){if((z_===45||asciiAlphanumeric(z_))&&L0++<63){const H_=z_===45?R_:F_;return s.consume(z_),H_}return F0(z_)}}const blankLine={partial:!0,tokenize:tokenizeBlankLine};function tokenizeBlankLine(s,o,F0){return L0;function L0(q0){return markdownSpace(q0)?factorySpace(s,B0,"linePrefix")(q0):B0(q0)}function B0(q0){return q0===null||markdownLineEnding(q0)?o(q0):F0(q0)}}const blockQuote={continuation:{tokenize:tokenizeBlockQuoteContinuation},exit,name:"blockQuote",tokenize:tokenizeBlockQuoteStart};function tokenizeBlockQuoteStart(s,o,F0){const L0=this;return B0;function B0(W0){if(W0===62){const X0=L0.containerState;return X0.open||(s.enter("blockQuote",{_container:!0}),X0.open=!0),s.enter("blockQuotePrefix"),s.enter("blockQuoteMarker"),s.consume(W0),s.exit("blockQuoteMarker"),q0}return F0(W0)}function q0(W0){return markdownSpace(W0)?(s.enter("blockQuotePrefixWhitespace"),s.consume(W0),s.exit("blockQuotePrefixWhitespace"),s.exit("blockQuotePrefix"),o):(s.exit("blockQuotePrefix"),o(W0))}}function tokenizeBlockQuoteContinuation(s,o,F0){const L0=this;return B0;function B0(W0){return markdownSpace(W0)?factorySpace(s,q0,"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W0):q0(W0)}function q0(W0){return s.attempt(blockQuote,o,F0)(W0)}}function exit(s){s.exit("blockQuote")}const characterEscape={name:"characterEscape",tokenize:tokenizeCharacterEscape};function tokenizeCharacterEscape(s,o,F0){return L0;function L0(q0){return s.enter("characterEscape"),s.enter("escapeMarker"),s.consume(q0),s.exit("escapeMarker"),B0}function B0(q0){return asciiPunctuation(q0)?(s.enter("characterEscapeValue"),s.consume(q0),s.exit("characterEscapeValue"),s.exit("characterEscape"),o):F0(q0)}}const characterReference={name:"characterReference",tokenize:tokenizeCharacterReference};function tokenizeCharacterReference(s,o,F0){const L0=this;let B0=0,q0,W0;return X0;function X0(F_){return s.enter("characterReference"),s.enter("characterReferenceMarker"),s.consume(F_),s.exit("characterReferenceMarker"),K0}function K0(F_){return F_===35?(s.enter("characterReferenceMarkerNumeric"),s.consume(F_),s.exit("characterReferenceMarkerNumeric"),D_):(s.enter("characterReferenceValue"),q0=31,W0=asciiAlphanumeric,I_(F_))}function D_(F_){return F_===88||F_===120?(s.enter("characterReferenceMarkerHexadecimal"),s.consume(F_),s.exit("characterReferenceMarkerHexadecimal"),s.enter("characterReferenceValue"),q0=6,W0=asciiHexDigit,I_):(s.enter("characterReferenceValue"),q0=7,W0=asciiDigit,I_(F_))}function I_(F_){if(F_===59&&B0){const R_=s.exit("characterReferenceValue");return W0===asciiAlphanumeric&&!decodeNamedCharacterReference(L0.sliceSerialize(R_))?F0(F_):(s.enter("characterReferenceMarker"),s.consume(F_),s.exit("characterReferenceMarker"),s.exit("characterReference"),o)}return W0(F_)&&B0++<q0?(s.consume(F_),I_):F0(F_)}}const nonLazyContinuation={partial:!0,tokenize:tokenizeNonLazyContinuation},codeFenced={concrete:!0,name:"codeFenced",tokenize:tokenizeCodeFenced};function tokenizeCodeFenced(s,o,F0){const L0=this,B0={partial:!0,tokenize:_x};let q0=0,W0=0,X0;return K0;function K0(Qv){return D_(Qv)}function D_(Qv){const Fx=L0.events[L0.events.length-1];return q0=Fx&&Fx[1].type==="linePrefix"?Fx[2].sliceSerialize(Fx[1],!0).length:0,X0=Qv,s.enter("codeFenced"),s.enter("codeFencedFence"),s.enter("codeFencedFenceSequence"),I_(Qv)}function I_(Qv){return Qv===X0?(W0++,s.consume(Qv),I_):W0<3?F0(Qv):(s.exit("codeFencedFenceSequence"),markdownSpace(Qv)?factorySpace(s,F_,"whitespace")(Qv):F_(Qv))}function F_(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("codeFencedFence"),L0.interrupt?o(Qv):s.check(nonLazyContinuation,Oy,Yv)(Qv)):(s.enter("codeFencedFenceInfo"),s.enter("chunkString",{contentType:"string"}),R_(Qv))}function R_(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("chunkString"),s.exit("codeFencedFenceInfo"),F_(Qv)):markdownSpace(Qv)?(s.exit("chunkString"),s.exit("codeFencedFenceInfo"),factorySpace(s,z_,"whitespace")(Qv)):Qv===96&&Qv===X0?F0(Qv):(s.consume(Qv),R_)}function z_(Qv){return Qv===null||markdownLineEnding(Qv)?F_(Qv):(s.enter("codeFencedFenceMeta"),s.enter("chunkString",{contentType:"string"}),H_(Qv))}function H_(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("chunkString"),s.exit("codeFencedFenceMeta"),F_(Qv)):Qv===96&&Qv===X0?F0(Qv):(s.consume(Qv),H_)}function Oy(Qv){return s.attempt(B0,Yv,qv)(Qv)}function qv(Qv){return s.enter("lineEnding"),s.consume(Qv),s.exit("lineEnding"),Lv}function Lv(Qv){return q0>0&&markdownSpace(Qv)?factorySpace(s,S1,"linePrefix",q0+1)(Qv):S1(Qv)}function S1(Qv){return Qv===null||markdownLineEnding(Qv)?s.check(nonLazyContinuation,Oy,Yv)(Qv):(s.enter("codeFlowValue"),iv(Qv))}function iv(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("codeFlowValue"),S1(Qv)):(s.consume(Qv),iv)}function Yv(Qv){return s.exit("codeFenced"),o(Qv)}function _x(Qv,Fx,jx){let K7=0;return g7;function g7(gS){return Qv.enter("lineEnding"),Qv.consume(gS),Qv.exit("lineEnding"),iT}function iT(gS){return Qv.enter("codeFencedFence"),markdownSpace(gS)?factorySpace(Qv,$7,"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(gS):$7(gS)}function $7(gS){return gS===X0?(Qv.enter("codeFencedFenceSequence"),F7(gS)):jx(gS)}function F7(gS){return gS===X0?(K7++,Qv.consume(gS),F7):K7>=W0?(Qv.exit("codeFencedFenceSequence"),markdownSpace(gS)?factorySpace(Qv,aE,"whitespace")(gS):aE(gS)):jx(gS)}function aE(gS){return gS===null||markdownLineEnding(gS)?(Qv.exit("codeFencedFence"),Fx(gS)):jx(gS)}}}function tokenizeNonLazyContinuation(s,o,F0){const L0=this;return B0;function B0(W0){return W0===null?F0(W0):(s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),q0)}function q0(W0){return L0.parser.lazy[L0.now().line]?F0(W0):o(W0)}}const codeIndented={name:"codeIndented",tokenize:tokenizeCodeIndented},furtherStart={partial:!0,tokenize:tokenizeFurtherStart};function tokenizeCodeIndented(s,o,F0){const L0=this;return B0;function B0(D_){return s.enter("codeIndented"),factorySpace(s,q0,"linePrefix",5)(D_)}function q0(D_){const I_=L0.events[L0.events.length-1];return I_&&I_[1].type==="linePrefix"&&I_[2].sliceSerialize(I_[1],!0).length>=4?W0(D_):F0(D_)}function W0(D_){return D_===null?K0(D_):markdownLineEnding(D_)?s.attempt(furtherStart,W0,K0)(D_):(s.enter("codeFlowValue"),X0(D_))}function X0(D_){return D_===null||markdownLineEnding(D_)?(s.exit("codeFlowValue"),W0(D_)):(s.consume(D_),X0)}function K0(D_){return s.exit("codeIndented"),o(D_)}}function tokenizeFurtherStart(s,o,F0){const L0=this;return B0;function B0(W0){return L0.parser.lazy[L0.now().line]?F0(W0):markdownLineEnding(W0)?(s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),B0):factorySpace(s,q0,"linePrefix",5)(W0)}function q0(W0){const X0=L0.events[L0.events.length-1];return X0&&X0[1].type==="linePrefix"&&X0[2].sliceSerialize(X0[1],!0).length>=4?o(W0):markdownLineEnding(W0)?B0(W0):F0(W0)}}const codeText={name:"codeText",previous,resolve:resolveCodeText,tokenize:tokenizeCodeText};function resolveCodeText(s){let o=s.length-4,F0=3,L0,B0;if((s[F0][1].type==="lineEnding"||s[F0][1].type==="space")&&(s[o][1].type==="lineEnding"||s[o][1].type==="space")){for(L0=F0;++L0<o;)if(s[L0][1].type==="codeTextData"){s[F0][1].type="codeTextPadding",s[o][1].type="codeTextPadding",F0+=2,o-=2;break}}for(L0=F0-1,o++;++L0<=o;)B0===void 0?L0!==o&&s[L0][1].type!=="lineEnding"&&(B0=L0):(L0===o||s[L0][1].type==="lineEnding")&&(s[B0][1].type="codeTextData",L0!==B0+2&&(s[B0][1].end=s[L0-1][1].end,s.splice(B0+2,L0-B0-2),o-=L0-B0-2,L0=B0+2),B0=void 0);return s}function previous(s){return s!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tokenizeCodeText(s,o,F0){let L0=0,B0,q0;return W0;function W0(F_){return s.enter("codeText"),s.enter("codeTextSequence"),X0(F_)}function X0(F_){return F_===96?(s.consume(F_),L0++,X0):(s.exit("codeTextSequence"),K0(F_))}function K0(F_){return F_===null?F0(F_):F_===32?(s.enter("space"),s.consume(F_),s.exit("space"),K0):F_===96?(q0=s.enter("codeTextSequence"),B0=0,I_(F_)):markdownLineEnding(F_)?(s.enter("lineEnding"),s.consume(F_),s.exit("lineEnding"),K0):(s.enter("codeTextData"),D_(F_))}function D_(F_){return F_===null||F_===32||F_===96||markdownLineEnding(F_)?(s.exit("codeTextData"),K0(F_)):(s.consume(F_),D_)}function I_(F_){return F_===96?(s.consume(F_),B0++,I_):B0===L0?(s.exit("codeTextSequence"),s.exit("codeText"),o(F_)):(q0.type="codeTextData",D_(F_))}}class SpliceBuffer{constructor(o){this.left=o?[...o]:[],this.right=[]}get(o){if(o<0||o>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+o+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return o<this.left.length?this.left[o]:this.right[this.right.length-o+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(o,F0){const L0=F0??Number.POSITIVE_INFINITY;return L0<this.left.length?this.left.slice(o,L0):o>this.left.length?this.right.slice(this.right.length-L0+this.left.length,this.right.length-o+this.left.length).reverse():this.left.slice(o).concat(this.right.slice(this.right.length-L0+this.left.length).reverse())}splice(o,F0,L0){const B0=F0||0;this.setCursor(Math.trunc(o));const q0=this.right.splice(this.right.length-B0,Number.POSITIVE_INFINITY);return L0&&chunkedPush(this.left,L0),q0.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(o){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(o)}pushMany(o){this.setCursor(Number.POSITIVE_INFINITY),chunkedPush(this.left,o)}unshift(o){this.setCursor(0),this.right.push(o)}unshiftMany(o){this.setCursor(0),chunkedPush(this.right,o.reverse())}setCursor(o){if(!(o===this.left.length||o>this.left.length&&this.right.length===0||o<0&&this.left.length===0))if(o<this.left.length){const F0=this.left.splice(o,Number.POSITIVE_INFINITY);chunkedPush(this.right,F0.reverse())}else{const F0=this.right.splice(this.left.length+this.right.length-o,Number.POSITIVE_INFINITY);chunkedPush(this.left,F0.reverse())}}}function chunkedPush(s,o){let F0=0;if(o.length<1e4)s.push(...o);else for(;F0<o.length;)s.push(...o.slice(F0,F0+1e4)),F0+=1e4}function subtokenize(s){const o={};let F0=-1,L0,B0,q0,W0,X0,K0,D_;const I_=new SpliceBuffer(s);for(;++F0<I_.length;){for(;F0 in o;)F0=o[F0];if(L0=I_.get(F0),F0&&L0[1].type==="chunkFlow"&&I_.get(F0-1)[1].type==="listItemPrefix"&&(K0=L0[1]._tokenizer.events,q0=0,q0<K0.length&&K0[q0][1].type==="lineEndingBlank"&&(q0+=2),q0<K0.length&&K0[q0][1].type==="content"))for(;++q0<K0.length&&K0[q0][1].type!=="content";)K0[q0][1].type==="chunkText"&&(K0[q0][1]._isInFirstContentOfListItem=!0,q0++);if(L0[0]==="enter")L0[1].contentType&&(Object.assign(o,subcontent(I_,F0)),F0=o[F0],D_=!0);else if(L0[1]._container){for(q0=F0,B0=void 0;q0--;)if(W0=I_.get(q0),W0[1].type==="lineEnding"||W0[1].type==="lineEndingBlank")W0[0]==="enter"&&(B0&&(I_.get(B0)[1].type="lineEndingBlank"),W0[1].type="lineEnding",B0=q0);else if(!(W0[1].type==="linePrefix"||W0[1].type==="listItemIndent"))break;B0&&(L0[1].end={...I_.get(B0)[1].start},X0=I_.slice(B0,F0),X0.unshift(L0),I_.splice(B0,F0-B0+1,X0))}}return splice(s,0,Number.POSITIVE_INFINITY,I_.slice(0)),!D_}function subcontent(s,o){const F0=s.get(o)[1],L0=s.get(o)[2];let B0=o-1;const q0=[];let W0=F0._tokenizer;W0||(W0=L0.parser[F0.contentType](F0.start),F0._contentTypeTextTrailing&&(W0._contentTypeTextTrailing=!0));const X0=W0.events,K0=[],D_={};let I_,F_,R_=-1,z_=F0,H_=0,Oy=0;const qv=[Oy];for(;z_;){for(;s.get(++B0)[1]!==z_;);q0.push(B0),z_._tokenizer||(I_=L0.sliceStream(z_),z_.next||I_.push(null),F_&&W0.defineSkip(z_.start),z_._isInFirstContentOfListItem&&(W0._gfmTasklistFirstContentOfListItem=!0),W0.write(I_),z_._isInFirstContentOfListItem&&(W0._gfmTasklistFirstContentOfListItem=void 0)),F_=z_,z_=z_.next}for(z_=F0;++R_<X0.length;)X0[R_][0]==="exit"&&X0[R_-1][0]==="enter"&&X0[R_][1].type===X0[R_-1][1].type&&X0[R_][1].start.line!==X0[R_][1].end.line&&(Oy=R_+1,qv.push(Oy),z_._tokenizer=void 0,z_.previous=void 0,z_=z_.next);for(W0.events=[],z_?(z_._tokenizer=void 0,z_.previous=void 0):qv.pop(),R_=qv.length;R_--;){const Lv=X0.slice(qv[R_],qv[R_+1]),S1=q0.pop();K0.push([S1,S1+Lv.length-1]),s.splice(S1,2,Lv)}for(K0.reverse(),R_=-1;++R_<K0.length;)D_[H_+K0[R_][0]]=H_+K0[R_][1],H_+=K0[R_][1]-K0[R_][0]-1;return D_}const content={resolve:resolveContent,tokenize:tokenizeContent},continuationConstruct={partial:!0,tokenize:tokenizeContinuation};function resolveContent(s){return subtokenize(s),s}function tokenizeContent(s,o){let F0;return L0;function L0(X0){return s.enter("content"),F0=s.enter("chunkContent",{contentType:"content"}),B0(X0)}function B0(X0){return X0===null?q0(X0):markdownLineEnding(X0)?s.check(continuationConstruct,W0,q0)(X0):(s.consume(X0),B0)}function q0(X0){return s.exit("chunkContent"),s.exit("content"),o(X0)}function W0(X0){return s.consume(X0),s.exit("chunkContent"),F0.next=s.enter("chunkContent",{contentType:"content",previous:F0}),F0=F0.next,B0}}function tokenizeContinuation(s,o,F0){const L0=this;return B0;function B0(W0){return s.exit("chunkContent"),s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),factorySpace(s,q0,"linePrefix")}function q0(W0){if(W0===null||markdownLineEnding(W0))return F0(W0);const X0=L0.events[L0.events.length-1];return!L0.parser.constructs.disable.null.includes("codeIndented")&&X0&&X0[1].type==="linePrefix"&&X0[2].sliceSerialize(X0[1],!0).length>=4?o(W0):s.interrupt(L0.parser.constructs.flow,F0,o)(W0)}}function factoryDestination(s,o,F0,L0,B0,q0,W0,X0,K0){const D_=K0||Number.POSITIVE_INFINITY;let I_=0;return F_;function F_(Lv){return Lv===60?(s.enter(L0),s.enter(B0),s.enter(q0),s.consume(Lv),s.exit(q0),R_):Lv===null||Lv===32||Lv===41||asciiControl(Lv)?F0(Lv):(s.enter(L0),s.enter(W0),s.enter(X0),s.enter("chunkString",{contentType:"string"}),Oy(Lv))}function R_(Lv){return Lv===62?(s.enter(q0),s.consume(Lv),s.exit(q0),s.exit(B0),s.exit(L0),o):(s.enter(X0),s.enter("chunkString",{contentType:"string"}),z_(Lv))}function z_(Lv){return Lv===62?(s.exit("chunkString"),s.exit(X0),R_(Lv)):Lv===null||Lv===60||markdownLineEnding(Lv)?F0(Lv):(s.consume(Lv),Lv===92?H_:z_)}function H_(Lv){return Lv===60||Lv===62||Lv===92?(s.consume(Lv),z_):z_(Lv)}function Oy(Lv){return!I_&&(Lv===null||Lv===41||markdownLineEndingOrSpace(Lv))?(s.exit("chunkString"),s.exit(X0),s.exit(W0),s.exit(L0),o(Lv)):I_<D_&&Lv===40?(s.consume(Lv),I_++,Oy):Lv===41?(s.consume(Lv),I_--,Oy):Lv===null||Lv===32||Lv===40||asciiControl(Lv)?F0(Lv):(s.consume(Lv),Lv===92?qv:Oy)}function qv(Lv){return Lv===40||Lv===41||Lv===92?(s.consume(Lv),Oy):Oy(Lv)}}function factoryLabel(s,o,F0,L0,B0,q0){const W0=this;let X0=0,K0;return D_;function D_(z_){return s.enter(L0),s.enter(B0),s.consume(z_),s.exit(B0),s.enter(q0),I_}function I_(z_){return X0>999||z_===null||z_===91||z_===93&&!K0||z_===94&&!X0&&"_hiddenFootnoteSupport"in W0.parser.constructs?F0(z_):z_===93?(s.exit(q0),s.enter(B0),s.consume(z_),s.exit(B0),s.exit(L0),o):markdownLineEnding(z_)?(s.enter("lineEnding"),s.consume(z_),s.exit("lineEnding"),I_):(s.enter("chunkString",{contentType:"string"}),F_(z_))}function F_(z_){return z_===null||z_===91||z_===93||markdownLineEnding(z_)||X0++>999?(s.exit("chunkString"),I_(z_)):(s.consume(z_),K0||(K0=!markdownSpace(z_)),z_===92?R_:F_)}function R_(z_){return z_===91||z_===92||z_===93?(s.consume(z_),X0++,F_):F_(z_)}}function factoryTitle(s,o,F0,L0,B0,q0){let W0;return X0;function X0(R_){return R_===34||R_===39||R_===40?(s.enter(L0),s.enter(B0),s.consume(R_),s.exit(B0),W0=R_===40?41:R_,K0):F0(R_)}function K0(R_){return R_===W0?(s.enter(B0),s.consume(R_),s.exit(B0),s.exit(L0),o):(s.enter(q0),D_(R_))}function D_(R_){return R_===W0?(s.exit(q0),K0(W0)):R_===null?F0(R_):markdownLineEnding(R_)?(s.enter("lineEnding"),s.consume(R_),s.exit("lineEnding"),factorySpace(s,D_,"linePrefix")):(s.enter("chunkString",{contentType:"string"}),I_(R_))}function I_(R_){return R_===W0||R_===null||markdownLineEnding(R_)?(s.exit("chunkString"),D_(R_)):(s.consume(R_),R_===92?F_:I_)}function F_(R_){return R_===W0||R_===92?(s.consume(R_),I_):I_(R_)}}function factoryWhitespace(s,o){let F0;return L0;function L0(B0){return markdownLineEnding(B0)?(s.enter("lineEnding"),s.consume(B0),s.exit("lineEnding"),F0=!0,L0):markdownSpace(B0)?factorySpace(s,L0,F0?"linePrefix":"lineSuffix")(B0):o(B0)}}const definition={name:"definition",tokenize:tokenizeDefinition},titleBefore={partial:!0,tokenize:tokenizeTitleBefore};function tokenizeDefinition(s,o,F0){const L0=this;let B0;return q0;function q0(z_){return s.enter("definition"),W0(z_)}function W0(z_){return factoryLabel.call(L0,s,X0,F0,"definitionLabel","definitionLabelMarker","definitionLabelString")(z_)}function X0(z_){return B0=normalizeIdentifier(L0.sliceSerialize(L0.events[L0.events.length-1][1]).slice(1,-1)),z_===58?(s.enter("definitionMarker"),s.consume(z_),s.exit("definitionMarker"),K0):F0(z_)}function K0(z_){return markdownLineEndingOrSpace(z_)?factoryWhitespace(s,D_)(z_):D_(z_)}function D_(z_){return factoryDestination(s,I_,F0,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(z_)}function I_(z_){return s.attempt(titleBefore,F_,F_)(z_)}function F_(z_){return markdownSpace(z_)?factorySpace(s,R_,"whitespace")(z_):R_(z_)}function R_(z_){return z_===null||markdownLineEnding(z_)?(s.exit("definition"),L0.parser.defined.push(B0),o(z_)):F0(z_)}}function tokenizeTitleBefore(s,o,F0){return L0;function L0(X0){return markdownLineEndingOrSpace(X0)?factoryWhitespace(s,B0)(X0):F0(X0)}function B0(X0){return factoryTitle(s,q0,F0,"definitionTitle","definitionTitleMarker","definitionTitleString")(X0)}function q0(X0){return markdownSpace(X0)?factorySpace(s,W0,"whitespace")(X0):W0(X0)}function W0(X0){return X0===null||markdownLineEnding(X0)?o(X0):F0(X0)}}const hardBreakEscape={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(s,o,F0){return L0;function L0(q0){return s.enter("hardBreakEscape"),s.consume(q0),B0}function B0(q0){return markdownLineEnding(q0)?(s.exit("hardBreakEscape"),o(q0)):F0(q0)}}const headingAtx={name:"headingAtx",resolve:resolveHeadingAtx,tokenize:tokenizeHeadingAtx};function resolveHeadingAtx(s,o){let F0=s.length-2,L0=3,B0,q0;return s[L0][1].type==="whitespace"&&(L0+=2),F0-2>L0&&s[F0][1].type==="whitespace"&&(F0-=2),s[F0][1].type==="atxHeadingSequence"&&(L0===F0-1||F0-4>L0&&s[F0-2][1].type==="whitespace")&&(F0-=L0+1===F0?2:4),F0>L0&&(B0={type:"atxHeadingText",start:s[L0][1].start,end:s[F0][1].end},q0={type:"chunkText",start:s[L0][1].start,end:s[F0][1].end,contentType:"text"},splice(s,L0,F0-L0+1,[["enter",B0,o],["enter",q0,o],["exit",q0,o],["exit",B0,o]])),s}function tokenizeHeadingAtx(s,o,F0){let L0=0;return B0;function B0(I_){return s.enter("atxHeading"),q0(I_)}function q0(I_){return s.enter("atxHeadingSequence"),W0(I_)}function W0(I_){return I_===35&&L0++<6?(s.consume(I_),W0):I_===null||markdownLineEndingOrSpace(I_)?(s.exit("atxHeadingSequence"),X0(I_)):F0(I_)}function X0(I_){return I_===35?(s.enter("atxHeadingSequence"),K0(I_)):I_===null||markdownLineEnding(I_)?(s.exit("atxHeading"),o(I_)):markdownSpace(I_)?factorySpace(s,X0,"whitespace")(I_):(s.enter("atxHeadingText"),D_(I_))}function K0(I_){return I_===35?(s.consume(I_),K0):(s.exit("atxHeadingSequence"),X0(I_))}function D_(I_){return I_===null||I_===35||markdownLineEndingOrSpace(I_)?(s.exit("atxHeadingText"),X0(I_)):(s.consume(I_),D_)}}const htmlBlockNames=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],htmlRawNames=["pre","script","style","textarea"],htmlFlow={concrete:!0,name:"htmlFlow",resolveTo:resolveToHtmlFlow,tokenize:tokenizeHtmlFlow},blankLineBefore={partial:!0,tokenize:tokenizeBlankLineBefore},nonLazyContinuationStart={partial:!0,tokenize:tokenizeNonLazyContinuationStart};function resolveToHtmlFlow(s){let o=s.length;for(;o--&&!(s[o][0]==="enter"&&s[o][1].type==="htmlFlow"););return o>1&&s[o-2][1].type==="linePrefix"&&(s[o][1].start=s[o-2][1].start,s[o+1][1].start=s[o-2][1].start,s.splice(o-2,2)),s}function tokenizeHtmlFlow(s,o,F0){const L0=this;let B0,q0,W0,X0,K0;return D_;function D_(U7){return I_(U7)}function I_(U7){return s.enter("htmlFlow"),s.enter("htmlFlowData"),s.consume(U7),F_}function F_(U7){return U7===33?(s.consume(U7),R_):U7===47?(s.consume(U7),q0=!0,Oy):U7===63?(s.consume(U7),B0=3,L0.interrupt?o:D7):asciiAlpha(U7)?(s.consume(U7),W0=String.fromCharCode(U7),qv):F0(U7)}function R_(U7){return U7===45?(s.consume(U7),B0=2,z_):U7===91?(s.consume(U7),B0=5,X0=0,H_):asciiAlpha(U7)?(s.consume(U7),B0=4,L0.interrupt?o:D7):F0(U7)}function z_(U7){return U7===45?(s.consume(U7),L0.interrupt?o:D7):F0(U7)}function H_(U7){const OS="CDATA[";return U7===OS.charCodeAt(X0++)?(s.consume(U7),X0===OS.length?L0.interrupt?o:$7:H_):F0(U7)}function Oy(U7){return asciiAlpha(U7)?(s.consume(U7),W0=String.fromCharCode(U7),qv):F0(U7)}function qv(U7){if(U7===null||U7===47||U7===62||markdownLineEndingOrSpace(U7)){const OS=U7===47,wE=W0.toLowerCase();return!OS&&!q0&&htmlRawNames.includes(wE)?(B0=1,L0.interrupt?o(U7):$7(U7)):htmlBlockNames.includes(W0.toLowerCase())?(B0=6,OS?(s.consume(U7),Lv):L0.interrupt?o(U7):$7(U7)):(B0=7,L0.interrupt&&!L0.parser.lazy[L0.now().line]?F0(U7):q0?S1(U7):iv(U7))}return U7===45||asciiAlphanumeric(U7)?(s.consume(U7),W0+=String.fromCharCode(U7),qv):F0(U7)}function Lv(U7){return U7===62?(s.consume(U7),L0.interrupt?o:$7):F0(U7)}function S1(U7){return markdownSpace(U7)?(s.consume(U7),S1):g7(U7)}function iv(U7){return U7===47?(s.consume(U7),g7):U7===58||U7===95||asciiAlpha(U7)?(s.consume(U7),Yv):markdownSpace(U7)?(s.consume(U7),iv):g7(U7)}function Yv(U7){return U7===45||U7===46||U7===58||U7===95||asciiAlphanumeric(U7)?(s.consume(U7),Yv):_x(U7)}function _x(U7){return U7===61?(s.consume(U7),Qv):markdownSpace(U7)?(s.consume(U7),_x):iv(U7)}function Qv(U7){return U7===null||U7===60||U7===61||U7===62||U7===96?F0(U7):U7===34||U7===39?(s.consume(U7),K0=U7,Fx):markdownSpace(U7)?(s.consume(U7),Qv):jx(U7)}function Fx(U7){return U7===K0?(s.consume(U7),K0=null,K7):U7===null||markdownLineEnding(U7)?F0(U7):(s.consume(U7),Fx)}function jx(U7){return U7===null||U7===34||U7===39||U7===47||U7===60||U7===61||U7===62||U7===96||markdownLineEndingOrSpace(U7)?_x(U7):(s.consume(U7),jx)}function K7(U7){return U7===47||U7===62||markdownSpace(U7)?iv(U7):F0(U7)}function g7(U7){return U7===62?(s.consume(U7),iT):F0(U7)}function iT(U7){return U7===null||markdownLineEnding(U7)?$7(U7):markdownSpace(U7)?(s.consume(U7),iT):F0(U7)}function $7(U7){return U7===45&&B0===2?(s.consume(U7),eS):U7===60&&B0===1?(s.consume(U7),lT):U7===62&&B0===4?(s.consume(U7),WT):U7===63&&B0===3?(s.consume(U7),D7):U7===93&&B0===5?(s.consume(U7),pT):markdownLineEnding(U7)&&(B0===6||B0===7)?(s.exit("htmlFlowData"),s.check(blankLineBefore,A7,F7)(U7)):U7===null||markdownLineEnding(U7)?(s.exit("htmlFlowData"),F7(U7)):(s.consume(U7),$7)}function F7(U7){return s.check(nonLazyContinuationStart,aE,A7)(U7)}function aE(U7){return s.enter("lineEnding"),s.consume(U7),s.exit("lineEnding"),gS}function gS(U7){return U7===null||markdownLineEnding(U7)?F7(U7):(s.enter("htmlFlowData"),$7(U7))}function eS(U7){return U7===45?(s.consume(U7),D7):$7(U7)}function lT(U7){return U7===47?(s.consume(U7),W0="",UT):$7(U7)}function UT(U7){if(U7===62){const OS=W0.toLowerCase();return htmlRawNames.includes(OS)?(s.consume(U7),WT):$7(U7)}return asciiAlpha(U7)&&W0.length<8?(s.consume(U7),W0+=String.fromCharCode(U7),UT):$7(U7)}function pT(U7){return U7===93?(s.consume(U7),D7):$7(U7)}function D7(U7){return U7===62?(s.consume(U7),WT):U7===45&&B0===2?(s.consume(U7),D7):$7(U7)}function WT(U7){return U7===null||markdownLineEnding(U7)?(s.exit("htmlFlowData"),A7(U7)):(s.consume(U7),WT)}function A7(U7){return s.exit("htmlFlow"),o(U7)}}function tokenizeNonLazyContinuationStart(s,o,F0){const L0=this;return B0;function B0(W0){return markdownLineEnding(W0)?(s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),q0):F0(W0)}function q0(W0){return L0.parser.lazy[L0.now().line]?F0(W0):o(W0)}}function tokenizeBlankLineBefore(s,o,F0){return L0;function L0(B0){return s.enter("lineEnding"),s.consume(B0),s.exit("lineEnding"),s.attempt(blankLine,o,F0)}}const htmlText={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(s,o,F0){const L0=this;let B0,q0,W0;return X0;function X0(D7){return s.enter("htmlText"),s.enter("htmlTextData"),s.consume(D7),K0}function K0(D7){return D7===33?(s.consume(D7),D_):D7===47?(s.consume(D7),_x):D7===63?(s.consume(D7),iv):asciiAlpha(D7)?(s.consume(D7),jx):F0(D7)}function D_(D7){return D7===45?(s.consume(D7),I_):D7===91?(s.consume(D7),q0=0,H_):asciiAlpha(D7)?(s.consume(D7),S1):F0(D7)}function I_(D7){return D7===45?(s.consume(D7),z_):F0(D7)}function F_(D7){return D7===null?F0(D7):D7===45?(s.consume(D7),R_):markdownLineEnding(D7)?(W0=F_,lT(D7)):(s.consume(D7),F_)}function R_(D7){return D7===45?(s.consume(D7),z_):F_(D7)}function z_(D7){return D7===62?eS(D7):D7===45?R_(D7):F_(D7)}function H_(D7){const WT="CDATA[";return D7===WT.charCodeAt(q0++)?(s.consume(D7),q0===WT.length?Oy:H_):F0(D7)}function Oy(D7){return D7===null?F0(D7):D7===93?(s.consume(D7),qv):markdownLineEnding(D7)?(W0=Oy,lT(D7)):(s.consume(D7),Oy)}function qv(D7){return D7===93?(s.consume(D7),Lv):Oy(D7)}function Lv(D7){return D7===62?eS(D7):D7===93?(s.consume(D7),Lv):Oy(D7)}function S1(D7){return D7===null||D7===62?eS(D7):markdownLineEnding(D7)?(W0=S1,lT(D7)):(s.consume(D7),S1)}function iv(D7){return D7===null?F0(D7):D7===63?(s.consume(D7),Yv):markdownLineEnding(D7)?(W0=iv,lT(D7)):(s.consume(D7),iv)}function Yv(D7){return D7===62?eS(D7):iv(D7)}function _x(D7){return asciiAlpha(D7)?(s.consume(D7),Qv):F0(D7)}function Qv(D7){return D7===45||asciiAlphanumeric(D7)?(s.consume(D7),Qv):Fx(D7)}function Fx(D7){return markdownLineEnding(D7)?(W0=Fx,lT(D7)):markdownSpace(D7)?(s.consume(D7),Fx):eS(D7)}function jx(D7){return D7===45||asciiAlphanumeric(D7)?(s.consume(D7),jx):D7===47||D7===62||markdownLineEndingOrSpace(D7)?K7(D7):F0(D7)}function K7(D7){return D7===47?(s.consume(D7),eS):D7===58||D7===95||asciiAlpha(D7)?(s.consume(D7),g7):markdownLineEnding(D7)?(W0=K7,lT(D7)):markdownSpace(D7)?(s.consume(D7),K7):eS(D7)}function g7(D7){return D7===45||D7===46||D7===58||D7===95||asciiAlphanumeric(D7)?(s.consume(D7),g7):iT(D7)}function iT(D7){return D7===61?(s.consume(D7),$7):markdownLineEnding(D7)?(W0=iT,lT(D7)):markdownSpace(D7)?(s.consume(D7),iT):K7(D7)}function $7(D7){return D7===null||D7===60||D7===61||D7===62||D7===96?F0(D7):D7===34||D7===39?(s.consume(D7),B0=D7,F7):markdownLineEnding(D7)?(W0=$7,lT(D7)):markdownSpace(D7)?(s.consume(D7),$7):(s.consume(D7),aE)}function F7(D7){return D7===B0?(s.consume(D7),B0=void 0,gS):D7===null?F0(D7):markdownLineEnding(D7)?(W0=F7,lT(D7)):(s.consume(D7),F7)}function aE(D7){return D7===null||D7===34||D7===39||D7===60||D7===61||D7===96?F0(D7):D7===47||D7===62||markdownLineEndingOrSpace(D7)?K7(D7):(s.consume(D7),aE)}function gS(D7){return D7===47||D7===62||markdownLineEndingOrSpace(D7)?K7(D7):F0(D7)}function eS(D7){return D7===62?(s.consume(D7),s.exit("htmlTextData"),s.exit("htmlText"),o):F0(D7)}function lT(D7){return s.exit("htmlTextData"),s.enter("lineEnding"),s.consume(D7),s.exit("lineEnding"),UT}function UT(D7){return markdownSpace(D7)?factorySpace(s,pT,"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D7):pT(D7)}function pT(D7){return s.enter("htmlTextData"),W0(D7)}}const labelEnd={name:"labelEnd",resolveAll:resolveAllLabelEnd,resolveTo:resolveToLabelEnd,tokenize:tokenizeLabelEnd},resourceConstruct={tokenize:tokenizeResource},referenceFullConstruct={tokenize:tokenizeReferenceFull},referenceCollapsedConstruct={tokenize:tokenizeReferenceCollapsed};function resolveAllLabelEnd(s){let o=-1;const F0=[];for(;++o<s.length;){const L0=s[o][1];if(F0.push(s[o]),L0.type==="labelImage"||L0.type==="labelLink"||L0.type==="labelEnd"){const B0=L0.type==="labelImage"?4:2;L0.type="data",o+=B0}}return s.length!==F0.length&&splice(s,0,s.length,F0),s}function resolveToLabelEnd(s,o){let F0=s.length,L0=0,B0,q0,W0,X0;for(;F0--;)if(B0=s[F0][1],q0){if(B0.type==="link"||B0.type==="labelLink"&&B0._inactive)break;s[F0][0]==="enter"&&B0.type==="labelLink"&&(B0._inactive=!0)}else if(W0){if(s[F0][0]==="enter"&&(B0.type==="labelImage"||B0.type==="labelLink")&&!B0._balanced&&(q0=F0,B0.type!=="labelLink")){L0=2;break}}else B0.type==="labelEnd"&&(W0=F0);const K0={type:s[q0][1].type==="labelLink"?"link":"image",start:{...s[q0][1].start},end:{...s[s.length-1][1].end}},D_={type:"label",start:{...s[q0][1].start},end:{...s[W0][1].end}},I_={type:"labelText",start:{...s[q0+L0+2][1].end},end:{...s[W0-2][1].start}};return X0=[["enter",K0,o],["enter",D_,o]],X0=push(X0,s.slice(q0+1,q0+L0+3)),X0=push(X0,[["enter",I_,o]]),X0=push(X0,resolveAll(o.parser.constructs.insideSpan.null,s.slice(q0+L0+4,W0-3),o)),X0=push(X0,[["exit",I_,o],s[W0-2],s[W0-1],["exit",D_,o]]),X0=push(X0,s.slice(W0+1)),X0=push(X0,[["exit",K0,o]]),splice(s,q0,s.length,X0),s}function tokenizeLabelEnd(s,o,F0){const L0=this;let B0=L0.events.length,q0,W0;for(;B0--;)if((L0.events[B0][1].type==="labelImage"||L0.events[B0][1].type==="labelLink")&&!L0.events[B0][1]._balanced){q0=L0.events[B0][1];break}return X0;function X0(R_){return q0?q0._inactive?F_(R_):(W0=L0.parser.defined.includes(normalizeIdentifier(L0.sliceSerialize({start:q0.end,end:L0.now()}))),s.enter("labelEnd"),s.enter("labelMarker"),s.consume(R_),s.exit("labelMarker"),s.exit("labelEnd"),K0):F0(R_)}function K0(R_){return R_===40?s.attempt(resourceConstruct,I_,W0?I_:F_)(R_):R_===91?s.attempt(referenceFullConstruct,I_,W0?D_:F_)(R_):W0?I_(R_):F_(R_)}function D_(R_){return s.attempt(referenceCollapsedConstruct,I_,F_)(R_)}function I_(R_){return o(R_)}function F_(R_){return q0._balanced=!0,F0(R_)}}function tokenizeResource(s,o,F0){return L0;function L0(F_){return s.enter("resource"),s.enter("resourceMarker"),s.consume(F_),s.exit("resourceMarker"),B0}function B0(F_){return markdownLineEndingOrSpace(F_)?factoryWhitespace(s,q0)(F_):q0(F_)}function q0(F_){return F_===41?I_(F_):factoryDestination(s,W0,X0,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(F_)}function W0(F_){return markdownLineEndingOrSpace(F_)?factoryWhitespace(s,K0)(F_):I_(F_)}function X0(F_){return F0(F_)}function K0(F_){return F_===34||F_===39||F_===40?factoryTitle(s,D_,F0,"resourceTitle","resourceTitleMarker","resourceTitleString")(F_):I_(F_)}function D_(F_){return markdownLineEndingOrSpace(F_)?factoryWhitespace(s,I_)(F_):I_(F_)}function I_(F_){return F_===41?(s.enter("resourceMarker"),s.consume(F_),s.exit("resourceMarker"),s.exit("resource"),o):F0(F_)}}function tokenizeReferenceFull(s,o,F0){const L0=this;return B0;function B0(X0){return factoryLabel.call(L0,s,q0,W0,"reference","referenceMarker","referenceString")(X0)}function q0(X0){return L0.parser.defined.includes(normalizeIdentifier(L0.sliceSerialize(L0.events[L0.events.length-1][1]).slice(1,-1)))?o(X0):F0(X0)}function W0(X0){return F0(X0)}}function tokenizeReferenceCollapsed(s,o,F0){return L0;function L0(q0){return s.enter("reference"),s.enter("referenceMarker"),s.consume(q0),s.exit("referenceMarker"),B0}function B0(q0){return q0===93?(s.enter("referenceMarker"),s.consume(q0),s.exit("referenceMarker"),s.exit("reference"),o):F0(q0)}}const labelStartImage={name:"labelStartImage",resolveAll:labelEnd.resolveAll,tokenize:tokenizeLabelStartImage};function tokenizeLabelStartImage(s,o,F0){const L0=this;return B0;function B0(X0){return s.enter("labelImage"),s.enter("labelImageMarker"),s.consume(X0),s.exit("labelImageMarker"),q0}function q0(X0){return X0===91?(s.enter("labelMarker"),s.consume(X0),s.exit("labelMarker"),s.exit("labelImage"),W0):F0(X0)}function W0(X0){return X0===94&&"_hiddenFootnoteSupport"in L0.parser.constructs?F0(X0):o(X0)}}const labelStartLink={name:"labelStartLink",resolveAll:labelEnd.resolveAll,tokenize:tokenizeLabelStartLink};function tokenizeLabelStartLink(s,o,F0){const L0=this;return B0;function B0(W0){return s.enter("labelLink"),s.enter("labelMarker"),s.consume(W0),s.exit("labelMarker"),s.exit("labelLink"),q0}function q0(W0){return W0===94&&"_hiddenFootnoteSupport"in L0.parser.constructs?F0(W0):o(W0)}}const lineEnding={name:"lineEnding",tokenize:tokenizeLineEnding};function tokenizeLineEnding(s,o){return F0;function F0(L0){return s.enter("lineEnding"),s.consume(L0),s.exit("lineEnding"),factorySpace(s,o,"linePrefix")}}const thematicBreak={name:"thematicBreak",tokenize:tokenizeThematicBreak};function tokenizeThematicBreak(s,o,F0){let L0=0,B0;return q0;function q0(D_){return s.enter("thematicBreak"),W0(D_)}function W0(D_){return B0=D_,X0(D_)}function X0(D_){return D_===B0?(s.enter("thematicBreakSequence"),K0(D_)):L0>=3&&(D_===null||markdownLineEnding(D_))?(s.exit("thematicBreak"),o(D_)):F0(D_)}function K0(D_){return D_===B0?(s.consume(D_),L0++,K0):(s.exit("thematicBreakSequence"),markdownSpace(D_)?factorySpace(s,X0,"whitespace")(D_):X0(D_))}}const list$1={continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd,name:"list",tokenize:tokenizeListStart},listItemPrefixWhitespaceConstruct={partial:!0,tokenize:tokenizeListItemPrefixWhitespace},indentConstruct={partial:!0,tokenize:tokenizeIndent};function tokenizeListStart(s,o,F0){const L0=this,B0=L0.events[L0.events.length-1];let q0=B0&&B0[1].type==="linePrefix"?B0[2].sliceSerialize(B0[1],!0).length:0,W0=0;return X0;function X0(z_){const H_=L0.containerState.type||(z_===42||z_===43||z_===45?"listUnordered":"listOrdered");if(H_==="listUnordered"?!L0.containerState.marker||z_===L0.containerState.marker:asciiDigit(z_)){if(L0.containerState.type||(L0.containerState.type=H_,s.enter(H_,{_container:!0})),H_==="listUnordered")return s.enter("listItemPrefix"),z_===42||z_===45?s.check(thematicBreak,F0,D_)(z_):D_(z_);if(!L0.interrupt||z_===49)return s.enter("listItemPrefix"),s.enter("listItemValue"),K0(z_)}return F0(z_)}function K0(z_){return asciiDigit(z_)&&++W0<10?(s.consume(z_),K0):(!L0.interrupt||W0<2)&&(L0.containerState.marker?z_===L0.containerState.marker:z_===41||z_===46)?(s.exit("listItemValue"),D_(z_)):F0(z_)}function D_(z_){return s.enter("listItemMarker"),s.consume(z_),s.exit("listItemMarker"),L0.containerState.marker=L0.containerState.marker||z_,s.check(blankLine,L0.interrupt?F0:I_,s.attempt(listItemPrefixWhitespaceConstruct,R_,F_))}function I_(z_){return L0.containerState.initialBlankLine=!0,q0++,R_(z_)}function F_(z_){return markdownSpace(z_)?(s.enter("listItemPrefixWhitespace"),s.consume(z_),s.exit("listItemPrefixWhitespace"),R_):F0(z_)}function R_(z_){return L0.containerState.size=q0+L0.sliceSerialize(s.exit("listItemPrefix"),!0).length,o(z_)}}function tokenizeListContinuation(s,o,F0){const L0=this;return L0.containerState._closeFlow=void 0,s.check(blankLine,B0,q0);function B0(X0){return L0.containerState.furtherBlankLines=L0.containerState.furtherBlankLines||L0.containerState.initialBlankLine,factorySpace(s,o,"listItemIndent",L0.containerState.size+1)(X0)}function q0(X0){return L0.containerState.furtherBlankLines||!markdownSpace(X0)?(L0.containerState.furtherBlankLines=void 0,L0.containerState.initialBlankLine=void 0,W0(X0)):(L0.containerState.furtherBlankLines=void 0,L0.containerState.initialBlankLine=void 0,s.attempt(indentConstruct,o,W0)(X0))}function W0(X0){return L0.containerState._closeFlow=!0,L0.interrupt=void 0,factorySpace(s,s.attempt(list$1,o,F0),"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X0)}}function tokenizeIndent(s,o,F0){const L0=this;return factorySpace(s,B0,"listItemIndent",L0.containerState.size+1);function B0(q0){const W0=L0.events[L0.events.length-1];return W0&&W0[1].type==="listItemIndent"&&W0[2].sliceSerialize(W0[1],!0).length===L0.containerState.size?o(q0):F0(q0)}}function tokenizeListEnd(s){s.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(s,o,F0){const L0=this;return factorySpace(s,B0,"listItemPrefixWhitespace",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function B0(q0){const W0=L0.events[L0.events.length-1];return!markdownSpace(q0)&&W0&&W0[1].type==="listItemPrefixWhitespace"?o(q0):F0(q0)}}const setextUnderline={name:"setextUnderline",resolveTo:resolveToSetextUnderline,tokenize:tokenizeSetextUnderline};function resolveToSetextUnderline(s,o){let F0=s.length,L0,B0,q0;for(;F0--;)if(s[F0][0]==="enter"){if(s[F0][1].type==="content"){L0=F0;break}s[F0][1].type==="paragraph"&&(B0=F0)}else s[F0][1].type==="content"&&s.splice(F0,1),!q0&&s[F0][1].type==="definition"&&(q0=F0);const W0={type:"setextHeading",start:{...s[L0][1].start},end:{...s[s.length-1][1].end}};return s[B0][1].type="setextHeadingText",q0?(s.splice(B0,0,["enter",W0,o]),s.splice(q0+1,0,["exit",s[L0][1],o]),s[L0][1].end={...s[q0][1].end}):s[L0][1]=W0,s.push(["exit",W0,o]),s}function tokenizeSetextUnderline(s,o,F0){const L0=this;let B0;return q0;function q0(D_){let I_=L0.events.length,F_;for(;I_--;)if(L0.events[I_][1].type!=="lineEnding"&&L0.events[I_][1].type!=="linePrefix"&&L0.events[I_][1].type!=="content"){F_=L0.events[I_][1].type==="paragraph";break}return!L0.parser.lazy[L0.now().line]&&(L0.interrupt||F_)?(s.enter("setextHeadingLine"),B0=D_,W0(D_)):F0(D_)}function W0(D_){return s.enter("setextHeadingLineSequence"),X0(D_)}function X0(D_){return D_===B0?(s.consume(D_),X0):(s.exit("setextHeadingLineSequence"),markdownSpace(D_)?factorySpace(s,K0,"lineSuffix")(D_):K0(D_))}function K0(D_){return D_===null||markdownLineEnding(D_)?(s.exit("setextHeadingLine"),o(D_)):F0(D_)}}const flow$1={tokenize:initializeFlow};function initializeFlow(s){const o=this,F0=s.attempt(blankLine,L0,s.attempt(this.parser.constructs.flowInitial,B0,factorySpace(s,s.attempt(this.parser.constructs.flow,B0,s.attempt(content,B0)),"linePrefix")));return F0;function L0(q0){if(q0===null){s.consume(q0);return}return s.enter("lineEndingBlank"),s.consume(q0),s.exit("lineEndingBlank"),o.currentConstruct=void 0,F0}function B0(q0){if(q0===null){s.consume(q0);return}return s.enter("lineEnding"),s.consume(q0),s.exit("lineEnding"),o.currentConstruct=void 0,F0}}const resolver={resolveAll:createResolver()},string$1=initializeFactory("string"),text$1=initializeFactory("text");function initializeFactory(s){return{resolveAll:createResolver(s==="text"?resolveAllLineSuffixes:void 0),tokenize:o};function o(F0){const L0=this,B0=this.parser.constructs[s],q0=F0.attempt(B0,W0,X0);return W0;function W0(I_){return D_(I_)?q0(I_):X0(I_)}function X0(I_){if(I_===null){F0.consume(I_);return}return F0.enter("data"),F0.consume(I_),K0}function K0(I_){return D_(I_)?(F0.exit("data"),q0(I_)):(F0.consume(I_),K0)}function D_(I_){if(I_===null)return!0;const F_=B0[I_];let R_=-1;if(F_)for(;++R_<F_.length;){const z_=F_[R_];if(!z_.previous||z_.previous.call(L0,L0.previous))return!0}return!1}}}function createResolver(s){return o;function o(F0,L0){let B0=-1,q0;for(;++B0<=F0.length;)q0===void 0?F0[B0]&&F0[B0][1].type==="data"&&(q0=B0,B0++):(!F0[B0]||F0[B0][1].type!=="data")&&(B0!==q0+2&&(F0[q0][1].end=F0[B0-1][1].end,F0.splice(q0+2,B0-q0-2),B0=q0+2),q0=void 0);return s?s(F0,L0):F0}}function resolveAllLineSuffixes(s,o){let F0=0;for(;++F0<=s.length;)if((F0===s.length||s[F0][1].type==="lineEnding")&&s[F0-1][1].type==="data"){const L0=s[F0-1][1],B0=o.sliceStream(L0);let q0=B0.length,W0=-1,X0=0,K0;for(;q0--;){const D_=B0[q0];if(typeof D_=="string"){for(W0=D_.length;D_.charCodeAt(W0-1)===32;)X0++,W0--;if(W0)break;W0=-1}else if(D_===-2)K0=!0,X0++;else if(D_!==-1){q0++;break}}if(o._contentTypeTextTrailing&&F0===s.length&&(X0=0),X0){const D_={type:F0===s.length||K0||X0<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:q0?W0:L0.start._bufferIndex+W0,_index:L0.start._index+q0,line:L0.end.line,column:L0.end.column-X0,offset:L0.end.offset-X0},end:{...L0.end}};L0.end={...D_.start},L0.start.offset===L0.end.offset?Object.assign(L0,D_):(s.splice(F0,0,["enter",D_,o],["exit",D_,o]),F0+=2)}F0++}return s}const document$1={42:list$1,43:list$1,45:list$1,48:list$1,49:list$1,50:list$1,51:list$1,52:list$1,53:list$1,54:list$1,55:list$1,56:list$1,57:list$1,62:blockQuote},contentInitial={91:definition},flowInitial={[-2]:codeIndented,[-1]:codeIndented,32:codeIndented},flow={35:headingAtx,42:thematicBreak,45:[setextUnderline,thematicBreak],60:htmlFlow,61:setextUnderline,95:thematicBreak,96:codeFenced,126:codeFenced},string={38:characterReference,92:characterEscape},text={[-5]:lineEnding,[-4]:lineEnding,[-3]:lineEnding,33:labelStartImage,38:characterReference,42:attention,60:[autolink,htmlText],91:labelStartLink,92:[hardBreakEscape,characterEscape],93:labelEnd,95:attention,96:codeText},insideSpan={null:[attention,resolver]},attentionMarkers={null:[42,95]},disable={null:[]},defaultConstructs=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers,contentInitial,disable,document:document$1,flow,flowInitial,insideSpan,string,text},Symbol.toStringTag,{value:"Module"}));function createTokenizer(s,o,F0){let L0={_bufferIndex:-1,_index:0,line:F0&&F0.line||1,column:F0&&F0.column||1,offset:F0&&F0.offset||0};const B0={},q0=[];let W0=[],X0=[];const K0={attempt:Fx(_x),check:Fx(Qv),consume:S1,enter:iv,exit:Yv,interrupt:Fx(Qv,{interrupt:!0})},D_={code:null,containerState:{},defineSkip:Oy,events:[],now:H_,parser:s,previous:null,sliceSerialize:R_,sliceStream:z_,write:F_};let I_=o.tokenize.call(D_,K0);return o.resolveAll&&q0.push(o),D_;function F_(iT){return W0=push(W0,iT),qv(),W0[W0.length-1]!==null?[]:(jx(o,0),D_.events=resolveAll(q0,D_.events,D_),D_.events)}function R_(iT,$7){return serializeChunks(z_(iT),$7)}function z_(iT){return sliceChunks(W0,iT)}function H_(){const{_bufferIndex:iT,_index:$7,line:F7,column:aE,offset:gS}=L0;return{_bufferIndex:iT,_index:$7,line:F7,column:aE,offset:gS}}function Oy(iT){B0[iT.line]=iT.column,g7()}function qv(){let iT;for(;L0._index<W0.length;){const $7=W0[L0._index];if(typeof $7=="string")for(iT=L0._index,L0._bufferIndex<0&&(L0._bufferIndex=0);L0._index===iT&&L0._bufferIndex<$7.length;)Lv($7.charCodeAt(L0._bufferIndex));else Lv($7)}}function Lv(iT){I_=I_(iT)}function S1(iT){markdownLineEnding(iT)?(L0.line++,L0.column=1,L0.offset+=iT===-3?2:1,g7()):iT!==-1&&(L0.column++,L0.offset++),L0._bufferIndex<0?L0._index++:(L0._bufferIndex++,L0._bufferIndex===W0[L0._index].length&&(L0._bufferIndex=-1,L0._index++)),D_.previous=iT}function iv(iT,$7){const F7=$7||{};return F7.type=iT,F7.start=H_(),D_.events.push(["enter",F7,D_]),X0.push(F7),F7}function Yv(iT){const $7=X0.pop();return $7.end=H_(),D_.events.push(["exit",$7,D_]),$7}function _x(iT,$7){jx(iT,$7.from)}function Qv(iT,$7){$7.restore()}function Fx(iT,$7){return F7;function F7(aE,gS,eS){let lT,UT,pT,D7;return Array.isArray(aE)?A7(aE):"tokenize"in aE?A7([aE]):WT(aE);function WT(xT){return mS;function mS(bE){const R7=bE!==null&&xT[bE],W3=bE!==null&&xT.null,bT=[...Array.isArray(R7)?R7:R7?[R7]:[],...Array.isArray(W3)?W3:W3?[W3]:[]];return A7(bT)(bE)}}function A7(xT){return lT=xT,UT=0,xT.length===0?eS:U7(xT[UT])}function U7(xT){return mS;function mS(bE){return D7=K7(),pT=xT,xT.partial||(D_.currentConstruct=xT),xT.name&&D_.parser.constructs.disable.null.includes(xT.name)?wE():xT.tokenize.call($7?Object.assign(Object.create(D_),$7):D_,K0,OS,wE)(bE)}}function OS(xT){return iT(pT,D7),gS}function wE(xT){return D7.restore(),++UT<lT.length?U7(lT[UT]):eS}}}function jx(iT,$7){iT.resolveAll&&!q0.includes(iT)&&q0.push(iT),iT.resolve&&splice(D_.events,$7,D_.events.length-$7,iT.resolve(D_.events.slice($7),D_)),iT.resolveTo&&(D_.events=iT.resolveTo(D_.events,D_))}function K7(){const iT=H_(),$7=D_.previous,F7=D_.currentConstruct,aE=D_.events.length,gS=Array.from(X0);return{from:aE,restore:eS};function eS(){L0=iT,D_.previous=$7,D_.currentConstruct=F7,D_.events.length=aE,X0=gS,g7()}}function g7(){L0.line in B0&&L0.column<2&&(L0.column=B0[L0.line],L0.offset+=B0[L0.line]-1)}}function sliceChunks(s,o){const F0=o.start._index,L0=o.start._bufferIndex,B0=o.end._index,q0=o.end._bufferIndex;let W0;if(F0===B0)W0=[s[F0].slice(L0,q0)];else{if(W0=s.slice(F0,B0),L0>-1){const X0=W0[0];typeof X0=="string"?W0[0]=X0.slice(L0):W0.shift()}q0>0&&W0.push(s[B0].slice(0,q0))}return W0}function serializeChunks(s,o){let F0=-1;const L0=[];let B0;for(;++F0<s.length;){const q0=s[F0];let W0;if(typeof q0=="string")W0=q0;else switch(q0){case-5:{W0="\r";break}case-4:{W0=`
4946
+ `)}return s}const findPluginByParser=(s,o)=>{var L0;const F0=o.plugins.find(B0=>typeof B0=="object"&&B0!==null&&!(B0 instanceof URL)&&B0.name&&B0.name!=="prettier-plugin-jsdoc"&&B0.parsers&&!("jsdoc-parser"in B0.parsers)&&B0.parsers.hasOwnProperty(s));return F0?(L0=F0.parsers)==null?void 0:L0[s]:void 0},isDefaultTag=s=>TAGS_DEFAULT.includes(s),emptyOptions={};function toString$2(s,o){const F0=emptyOptions,L0=typeof F0.includeImageAlt=="boolean"?F0.includeImageAlt:!0,B0=typeof F0.includeHtml=="boolean"?F0.includeHtml:!0;return one(s,L0,B0)}function one(s,o,F0){if(node(s)){if("value"in s)return s.type==="html"&&!F0?"":s.value;if(o&&"alt"in s&&s.alt)return s.alt;if("children"in s)return all(s.children,o,F0)}return Array.isArray(s)?all(s,o,F0):""}function all(s,o,F0){const L0=[];let B0=-1;for(;++B0<s.length;)L0[B0]=one(s[B0],o,F0);return L0.join("")}function node(s){return!!(s&&typeof s=="object")}const element=document.createElement("i");function decodeNamedCharacterReference(s){const o="&"+s+";";element.innerHTML=o;const F0=element.textContent;return F0.charCodeAt(F0.length-1)===59&&s!=="semi"||F0===o?!1:F0}function splice(s,o,F0,L0){const B0=s.length;let q0=0,W0;if(o<0?o=-o>B0?0:B0+o:o=o>B0?B0:o,F0=F0>0?F0:0,L0.length<1e4)W0=Array.from(L0),W0.unshift(o,F0),s.splice(...W0);else for(F0&&s.splice(o,F0);q0<L0.length;)W0=L0.slice(q0,q0+1e4),W0.unshift(o,0),s.splice(...W0),q0+=1e4,o+=1e4}function push(s,o){return s.length>0?(splice(s,s.length,0,o),s):o}const hasOwnProperty$5={}.hasOwnProperty;function combineExtensions(s){const o={};let F0=-1;for(;++F0<s.length;)syntaxExtension(o,s[F0]);return o}function syntaxExtension(s,o){let F0;for(F0 in o){const B0=(hasOwnProperty$5.call(s,F0)?s[F0]:void 0)||(s[F0]={}),q0=o[F0];let W0;if(q0)for(W0 in q0){hasOwnProperty$5.call(B0,W0)||(B0[W0]=[]);const X0=q0[W0];constructs(B0[W0],Array.isArray(X0)?X0:X0?[X0]:[])}}}function constructs(s,o){let F0=-1;const L0=[];for(;++F0<o.length;)(o[F0].add==="after"?s:L0).push(o[F0]);splice(s,0,0,L0)}function decodeNumericCharacterReference(s,o){const F0=Number.parseInt(s,o);return F0<9||F0===11||F0>13&&F0<32||F0>126&&F0<160||F0>55295&&F0<57344||F0>64975&&F0<65008||(F0&65535)===65535||(F0&65535)===65534||F0>1114111?"�":String.fromCodePoint(F0)}function normalizeIdentifier(s){return s.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const asciiAlpha=regexCheck(/[A-Za-z]/),asciiAlphanumeric=regexCheck(/[\dA-Za-z]/),asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(s){return s!==null&&(s<32||s===127)}const asciiDigit=regexCheck(/\d/),asciiHexDigit=regexCheck(/[\dA-Fa-f]/),asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/);function markdownLineEnding(s){return s!==null&&s<-2}function markdownLineEndingOrSpace(s){return s!==null&&(s<0||s===32)}function markdownSpace(s){return s===-2||s===-1||s===32}const unicodePunctuation=regexCheck(new RegExp("\\p{P}|\\p{S}","u")),unicodeWhitespace=regexCheck(/\s/);function regexCheck(s){return o;function o(F0){return F0!==null&&F0>-1&&s.test(String.fromCharCode(F0))}}function factorySpace(s,o,F0,L0){const B0=L0?L0-1:Number.POSITIVE_INFINITY;let q0=0;return W0;function W0(K0){return markdownSpace(K0)?(s.enter(F0),X0(K0)):o(K0)}function X0(K0){return markdownSpace(K0)&&q0++<B0?(s.consume(K0),X0):(s.exit(F0),o(K0))}}const content$1={tokenize:initializeContent};function initializeContent(s){const o=s.attempt(this.parser.constructs.contentInitial,L0,B0);let F0;return o;function L0(X0){if(X0===null){s.consume(X0);return}return s.enter("lineEnding"),s.consume(X0),s.exit("lineEnding"),factorySpace(s,o,"linePrefix")}function B0(X0){return s.enter("paragraph"),q0(X0)}function q0(X0){const K0=s.enter("chunkText",{contentType:"text",previous:F0});return F0&&(F0.next=K0),F0=K0,W0(X0)}function W0(X0){if(X0===null){s.exit("chunkText"),s.exit("paragraph"),s.consume(X0);return}return markdownLineEnding(X0)?(s.consume(X0),s.exit("chunkText"),q0):(s.consume(X0),W0)}}const document$2={tokenize:initializeDocument},containerConstruct={tokenize:tokenizeContainer};function initializeDocument(s){const o=this,F0=[];let L0=0,B0,q0,W0;return X0;function X0(iv){if(L0<F0.length){const Yv=F0[L0];return o.containerState=Yv[1],s.attempt(Yv[0].continuation,K0,D_)(iv)}return D_(iv)}function K0(iv){if(L0++,o.containerState._closeFlow){o.containerState._closeFlow=void 0,B0&&S1();const Yv=o.events.length;let _x=Yv,Qv;for(;_x--;)if(o.events[_x][0]==="exit"&&o.events[_x][1].type==="chunkFlow"){Qv=o.events[_x][1].end;break}Lv(L0);let Fx=Yv;for(;Fx<o.events.length;)o.events[Fx][1].end={...Qv},Fx++;return splice(o.events,_x+1,0,o.events.slice(Yv)),o.events.length=Fx,D_(iv)}return X0(iv)}function D_(iv){if(L0===F0.length){if(!B0)return R_(iv);if(B0.currentConstruct&&B0.currentConstruct.concrete)return H_(iv);o.interrupt=!!(B0.currentConstruct&&!B0._gfmTableDynamicInterruptHack)}return o.containerState={},s.check(containerConstruct,I_,F_)(iv)}function I_(iv){return B0&&S1(),Lv(L0),R_(iv)}function F_(iv){return o.parser.lazy[o.now().line]=L0!==F0.length,W0=o.now().offset,H_(iv)}function R_(iv){return o.containerState={},s.attempt(containerConstruct,z_,H_)(iv)}function z_(iv){return L0++,F0.push([o.currentConstruct,o.containerState]),R_(iv)}function H_(iv){if(iv===null){B0&&S1(),Lv(0),s.consume(iv);return}return B0=B0||o.parser.flow(o.now()),s.enter("chunkFlow",{_tokenizer:B0,contentType:"flow",previous:q0}),Oy(iv)}function Oy(iv){if(iv===null){qv(s.exit("chunkFlow"),!0),Lv(0),s.consume(iv);return}return markdownLineEnding(iv)?(s.consume(iv),qv(s.exit("chunkFlow")),L0=0,o.interrupt=void 0,X0):(s.consume(iv),Oy)}function qv(iv,Yv){const _x=o.sliceStream(iv);if(Yv&&_x.push(null),iv.previous=q0,q0&&(q0.next=iv),q0=iv,B0.defineSkip(iv.start),B0.write(_x),o.parser.lazy[iv.start.line]){let Qv=B0.events.length;for(;Qv--;)if(B0.events[Qv][1].start.offset<W0&&(!B0.events[Qv][1].end||B0.events[Qv][1].end.offset>W0))return;const Fx=o.events.length;let jx=Fx,K7,g7;for(;jx--;)if(o.events[jx][0]==="exit"&&o.events[jx][1].type==="chunkFlow"){if(K7){g7=o.events[jx][1].end;break}K7=!0}for(Lv(L0),Qv=Fx;Qv<o.events.length;)o.events[Qv][1].end={...g7},Qv++;splice(o.events,jx+1,0,o.events.slice(Fx)),o.events.length=Qv}}function Lv(iv){let Yv=F0.length;for(;Yv-- >iv;){const _x=F0[Yv];o.containerState=_x[1],_x[0].exit.call(o,s)}F0.length=iv}function S1(){B0.write([null]),q0=void 0,B0=void 0,o.containerState._closeFlow=void 0}}function tokenizeContainer(s,o,F0){return factorySpace(s,s.attempt(this.parser.constructs.document,o,F0),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function classifyCharacter(s){if(s===null||markdownLineEndingOrSpace(s)||unicodeWhitespace(s))return 1;if(unicodePunctuation(s))return 2}function resolveAll(s,o,F0){const L0=[];let B0=-1;for(;++B0<s.length;){const q0=s[B0].resolveAll;q0&&!L0.includes(q0)&&(o=q0(o,F0),L0.push(q0))}return o}const attention={name:"attention",resolveAll:resolveAllAttention,tokenize:tokenizeAttention};function resolveAllAttention(s,o){let F0=-1,L0,B0,q0,W0,X0,K0,D_,I_;for(;++F0<s.length;)if(s[F0][0]==="enter"&&s[F0][1].type==="attentionSequence"&&s[F0][1]._close){for(L0=F0;L0--;)if(s[L0][0]==="exit"&&s[L0][1].type==="attentionSequence"&&s[L0][1]._open&&o.sliceSerialize(s[L0][1]).charCodeAt(0)===o.sliceSerialize(s[F0][1]).charCodeAt(0)){if((s[L0][1]._close||s[F0][1]._open)&&(s[F0][1].end.offset-s[F0][1].start.offset)%3&&!((s[L0][1].end.offset-s[L0][1].start.offset+s[F0][1].end.offset-s[F0][1].start.offset)%3))continue;K0=s[L0][1].end.offset-s[L0][1].start.offset>1&&s[F0][1].end.offset-s[F0][1].start.offset>1?2:1;const F_={...s[L0][1].end},R_={...s[F0][1].start};movePoint(F_,-K0),movePoint(R_,K0),W0={type:K0>1?"strongSequence":"emphasisSequence",start:F_,end:{...s[L0][1].end}},X0={type:K0>1?"strongSequence":"emphasisSequence",start:{...s[F0][1].start},end:R_},q0={type:K0>1?"strongText":"emphasisText",start:{...s[L0][1].end},end:{...s[F0][1].start}},B0={type:K0>1?"strong":"emphasis",start:{...W0.start},end:{...X0.end}},s[L0][1].end={...W0.start},s[F0][1].start={...X0.end},D_=[],s[L0][1].end.offset-s[L0][1].start.offset&&(D_=push(D_,[["enter",s[L0][1],o],["exit",s[L0][1],o]])),D_=push(D_,[["enter",B0,o],["enter",W0,o],["exit",W0,o],["enter",q0,o]]),D_=push(D_,resolveAll(o.parser.constructs.insideSpan.null,s.slice(L0+1,F0),o)),D_=push(D_,[["exit",q0,o],["enter",X0,o],["exit",X0,o],["exit",B0,o]]),s[F0][1].end.offset-s[F0][1].start.offset?(I_=2,D_=push(D_,[["enter",s[F0][1],o],["exit",s[F0][1],o]])):I_=0,splice(s,L0-1,F0-L0+3,D_),F0=L0+D_.length-I_-2;break}}for(F0=-1;++F0<s.length;)s[F0][1].type==="attentionSequence"&&(s[F0][1].type="data");return s}function tokenizeAttention(s,o){const F0=this.parser.constructs.attentionMarkers.null,L0=this.previous,B0=classifyCharacter(L0);let q0;return W0;function W0(K0){return q0=K0,s.enter("attentionSequence"),X0(K0)}function X0(K0){if(K0===q0)return s.consume(K0),X0;const D_=s.exit("attentionSequence"),I_=classifyCharacter(K0),F_=!I_||I_===2&&B0||F0.includes(K0),R_=!B0||B0===2&&I_||F0.includes(L0);return D_._open=!!(q0===42?F_:F_&&(B0||!R_)),D_._close=!!(q0===42?R_:R_&&(I_||!F_)),o(K0)}}function movePoint(s,o){s.column+=o,s.offset+=o,s._bufferIndex+=o}const autolink={name:"autolink",tokenize:tokenizeAutolink};function tokenizeAutolink(s,o,F0){let L0=0;return B0;function B0(z_){return s.enter("autolink"),s.enter("autolinkMarker"),s.consume(z_),s.exit("autolinkMarker"),s.enter("autolinkProtocol"),q0}function q0(z_){return asciiAlpha(z_)?(s.consume(z_),W0):z_===64?F0(z_):D_(z_)}function W0(z_){return z_===43||z_===45||z_===46||asciiAlphanumeric(z_)?(L0=1,X0(z_)):D_(z_)}function X0(z_){return z_===58?(s.consume(z_),L0=0,K0):(z_===43||z_===45||z_===46||asciiAlphanumeric(z_))&&L0++<32?(s.consume(z_),X0):(L0=0,D_(z_))}function K0(z_){return z_===62?(s.exit("autolinkProtocol"),s.enter("autolinkMarker"),s.consume(z_),s.exit("autolinkMarker"),s.exit("autolink"),o):z_===null||z_===32||z_===60||asciiControl(z_)?F0(z_):(s.consume(z_),K0)}function D_(z_){return z_===64?(s.consume(z_),I_):asciiAtext(z_)?(s.consume(z_),D_):F0(z_)}function I_(z_){return asciiAlphanumeric(z_)?F_(z_):F0(z_)}function F_(z_){return z_===46?(s.consume(z_),L0=0,I_):z_===62?(s.exit("autolinkProtocol").type="autolinkEmail",s.enter("autolinkMarker"),s.consume(z_),s.exit("autolinkMarker"),s.exit("autolink"),o):R_(z_)}function R_(z_){if((z_===45||asciiAlphanumeric(z_))&&L0++<63){const H_=z_===45?R_:F_;return s.consume(z_),H_}return F0(z_)}}const blankLine={partial:!0,tokenize:tokenizeBlankLine};function tokenizeBlankLine(s,o,F0){return L0;function L0(q0){return markdownSpace(q0)?factorySpace(s,B0,"linePrefix")(q0):B0(q0)}function B0(q0){return q0===null||markdownLineEnding(q0)?o(q0):F0(q0)}}const blockQuote={continuation:{tokenize:tokenizeBlockQuoteContinuation},exit,name:"blockQuote",tokenize:tokenizeBlockQuoteStart};function tokenizeBlockQuoteStart(s,o,F0){const L0=this;return B0;function B0(W0){if(W0===62){const X0=L0.containerState;return X0.open||(s.enter("blockQuote",{_container:!0}),X0.open=!0),s.enter("blockQuotePrefix"),s.enter("blockQuoteMarker"),s.consume(W0),s.exit("blockQuoteMarker"),q0}return F0(W0)}function q0(W0){return markdownSpace(W0)?(s.enter("blockQuotePrefixWhitespace"),s.consume(W0),s.exit("blockQuotePrefixWhitespace"),s.exit("blockQuotePrefix"),o):(s.exit("blockQuotePrefix"),o(W0))}}function tokenizeBlockQuoteContinuation(s,o,F0){const L0=this;return B0;function B0(W0){return markdownSpace(W0)?factorySpace(s,q0,"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W0):q0(W0)}function q0(W0){return s.attempt(blockQuote,o,F0)(W0)}}function exit(s){s.exit("blockQuote")}const characterEscape={name:"characterEscape",tokenize:tokenizeCharacterEscape};function tokenizeCharacterEscape(s,o,F0){return L0;function L0(q0){return s.enter("characterEscape"),s.enter("escapeMarker"),s.consume(q0),s.exit("escapeMarker"),B0}function B0(q0){return asciiPunctuation(q0)?(s.enter("characterEscapeValue"),s.consume(q0),s.exit("characterEscapeValue"),s.exit("characterEscape"),o):F0(q0)}}const characterReference={name:"characterReference",tokenize:tokenizeCharacterReference};function tokenizeCharacterReference(s,o,F0){const L0=this;let B0=0,q0,W0;return X0;function X0(F_){return s.enter("characterReference"),s.enter("characterReferenceMarker"),s.consume(F_),s.exit("characterReferenceMarker"),K0}function K0(F_){return F_===35?(s.enter("characterReferenceMarkerNumeric"),s.consume(F_),s.exit("characterReferenceMarkerNumeric"),D_):(s.enter("characterReferenceValue"),q0=31,W0=asciiAlphanumeric,I_(F_))}function D_(F_){return F_===88||F_===120?(s.enter("characterReferenceMarkerHexadecimal"),s.consume(F_),s.exit("characterReferenceMarkerHexadecimal"),s.enter("characterReferenceValue"),q0=6,W0=asciiHexDigit,I_):(s.enter("characterReferenceValue"),q0=7,W0=asciiDigit,I_(F_))}function I_(F_){if(F_===59&&B0){const R_=s.exit("characterReferenceValue");return W0===asciiAlphanumeric&&!decodeNamedCharacterReference(L0.sliceSerialize(R_))?F0(F_):(s.enter("characterReferenceMarker"),s.consume(F_),s.exit("characterReferenceMarker"),s.exit("characterReference"),o)}return W0(F_)&&B0++<q0?(s.consume(F_),I_):F0(F_)}}const nonLazyContinuation={partial:!0,tokenize:tokenizeNonLazyContinuation},codeFenced={concrete:!0,name:"codeFenced",tokenize:tokenizeCodeFenced};function tokenizeCodeFenced(s,o,F0){const L0=this,B0={partial:!0,tokenize:_x};let q0=0,W0=0,X0;return K0;function K0(Qv){return D_(Qv)}function D_(Qv){const Fx=L0.events[L0.events.length-1];return q0=Fx&&Fx[1].type==="linePrefix"?Fx[2].sliceSerialize(Fx[1],!0).length:0,X0=Qv,s.enter("codeFenced"),s.enter("codeFencedFence"),s.enter("codeFencedFenceSequence"),I_(Qv)}function I_(Qv){return Qv===X0?(W0++,s.consume(Qv),I_):W0<3?F0(Qv):(s.exit("codeFencedFenceSequence"),markdownSpace(Qv)?factorySpace(s,F_,"whitespace")(Qv):F_(Qv))}function F_(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("codeFencedFence"),L0.interrupt?o(Qv):s.check(nonLazyContinuation,Oy,Yv)(Qv)):(s.enter("codeFencedFenceInfo"),s.enter("chunkString",{contentType:"string"}),R_(Qv))}function R_(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("chunkString"),s.exit("codeFencedFenceInfo"),F_(Qv)):markdownSpace(Qv)?(s.exit("chunkString"),s.exit("codeFencedFenceInfo"),factorySpace(s,z_,"whitespace")(Qv)):Qv===96&&Qv===X0?F0(Qv):(s.consume(Qv),R_)}function z_(Qv){return Qv===null||markdownLineEnding(Qv)?F_(Qv):(s.enter("codeFencedFenceMeta"),s.enter("chunkString",{contentType:"string"}),H_(Qv))}function H_(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("chunkString"),s.exit("codeFencedFenceMeta"),F_(Qv)):Qv===96&&Qv===X0?F0(Qv):(s.consume(Qv),H_)}function Oy(Qv){return s.attempt(B0,Yv,qv)(Qv)}function qv(Qv){return s.enter("lineEnding"),s.consume(Qv),s.exit("lineEnding"),Lv}function Lv(Qv){return q0>0&&markdownSpace(Qv)?factorySpace(s,S1,"linePrefix",q0+1)(Qv):S1(Qv)}function S1(Qv){return Qv===null||markdownLineEnding(Qv)?s.check(nonLazyContinuation,Oy,Yv)(Qv):(s.enter("codeFlowValue"),iv(Qv))}function iv(Qv){return Qv===null||markdownLineEnding(Qv)?(s.exit("codeFlowValue"),S1(Qv)):(s.consume(Qv),iv)}function Yv(Qv){return s.exit("codeFenced"),o(Qv)}function _x(Qv,Fx,jx){let K7=0;return g7;function g7(gS){return Qv.enter("lineEnding"),Qv.consume(gS),Qv.exit("lineEnding"),iT}function iT(gS){return Qv.enter("codeFencedFence"),markdownSpace(gS)?factorySpace(Qv,$7,"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(gS):$7(gS)}function $7(gS){return gS===X0?(Qv.enter("codeFencedFenceSequence"),F7(gS)):jx(gS)}function F7(gS){return gS===X0?(K7++,Qv.consume(gS),F7):K7>=W0?(Qv.exit("codeFencedFenceSequence"),markdownSpace(gS)?factorySpace(Qv,aE,"whitespace")(gS):aE(gS)):jx(gS)}function aE(gS){return gS===null||markdownLineEnding(gS)?(Qv.exit("codeFencedFence"),Fx(gS)):jx(gS)}}}function tokenizeNonLazyContinuation(s,o,F0){const L0=this;return B0;function B0(W0){return W0===null?F0(W0):(s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),q0)}function q0(W0){return L0.parser.lazy[L0.now().line]?F0(W0):o(W0)}}const codeIndented={name:"codeIndented",tokenize:tokenizeCodeIndented},furtherStart={partial:!0,tokenize:tokenizeFurtherStart};function tokenizeCodeIndented(s,o,F0){const L0=this;return B0;function B0(D_){return s.enter("codeIndented"),factorySpace(s,q0,"linePrefix",5)(D_)}function q0(D_){const I_=L0.events[L0.events.length-1];return I_&&I_[1].type==="linePrefix"&&I_[2].sliceSerialize(I_[1],!0).length>=4?W0(D_):F0(D_)}function W0(D_){return D_===null?K0(D_):markdownLineEnding(D_)?s.attempt(furtherStart,W0,K0)(D_):(s.enter("codeFlowValue"),X0(D_))}function X0(D_){return D_===null||markdownLineEnding(D_)?(s.exit("codeFlowValue"),W0(D_)):(s.consume(D_),X0)}function K0(D_){return s.exit("codeIndented"),o(D_)}}function tokenizeFurtherStart(s,o,F0){const L0=this;return B0;function B0(W0){return L0.parser.lazy[L0.now().line]?F0(W0):markdownLineEnding(W0)?(s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),B0):factorySpace(s,q0,"linePrefix",5)(W0)}function q0(W0){const X0=L0.events[L0.events.length-1];return X0&&X0[1].type==="linePrefix"&&X0[2].sliceSerialize(X0[1],!0).length>=4?o(W0):markdownLineEnding(W0)?B0(W0):F0(W0)}}const codeText={name:"codeText",previous,resolve:resolveCodeText,tokenize:tokenizeCodeText};function resolveCodeText(s){let o=s.length-4,F0=3,L0,B0;if((s[F0][1].type==="lineEnding"||s[F0][1].type==="space")&&(s[o][1].type==="lineEnding"||s[o][1].type==="space")){for(L0=F0;++L0<o;)if(s[L0][1].type==="codeTextData"){s[F0][1].type="codeTextPadding",s[o][1].type="codeTextPadding",F0+=2,o-=2;break}}for(L0=F0-1,o++;++L0<=o;)B0===void 0?L0!==o&&s[L0][1].type!=="lineEnding"&&(B0=L0):(L0===o||s[L0][1].type==="lineEnding")&&(s[B0][1].type="codeTextData",L0!==B0+2&&(s[B0][1].end=s[L0-1][1].end,s.splice(B0+2,L0-B0-2),o-=L0-B0-2,L0=B0+2),B0=void 0);return s}function previous(s){return s!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tokenizeCodeText(s,o,F0){let L0=0,B0,q0;return W0;function W0(F_){return s.enter("codeText"),s.enter("codeTextSequence"),X0(F_)}function X0(F_){return F_===96?(s.consume(F_),L0++,X0):(s.exit("codeTextSequence"),K0(F_))}function K0(F_){return F_===null?F0(F_):F_===32?(s.enter("space"),s.consume(F_),s.exit("space"),K0):F_===96?(q0=s.enter("codeTextSequence"),B0=0,I_(F_)):markdownLineEnding(F_)?(s.enter("lineEnding"),s.consume(F_),s.exit("lineEnding"),K0):(s.enter("codeTextData"),D_(F_))}function D_(F_){return F_===null||F_===32||F_===96||markdownLineEnding(F_)?(s.exit("codeTextData"),K0(F_)):(s.consume(F_),D_)}function I_(F_){return F_===96?(s.consume(F_),B0++,I_):B0===L0?(s.exit("codeTextSequence"),s.exit("codeText"),o(F_)):(q0.type="codeTextData",D_(F_))}}class SpliceBuffer{constructor(o){this.left=o?[...o]:[],this.right=[]}get(o){if(o<0||o>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+o+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return o<this.left.length?this.left[o]:this.right[this.right.length-o+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(o,F0){const L0=F0??Number.POSITIVE_INFINITY;return L0<this.left.length?this.left.slice(o,L0):o>this.left.length?this.right.slice(this.right.length-L0+this.left.length,this.right.length-o+this.left.length).reverse():this.left.slice(o).concat(this.right.slice(this.right.length-L0+this.left.length).reverse())}splice(o,F0,L0){const B0=F0||0;this.setCursor(Math.trunc(o));const q0=this.right.splice(this.right.length-B0,Number.POSITIVE_INFINITY);return L0&&chunkedPush(this.left,L0),q0.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(o){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(o)}pushMany(o){this.setCursor(Number.POSITIVE_INFINITY),chunkedPush(this.left,o)}unshift(o){this.setCursor(0),this.right.push(o)}unshiftMany(o){this.setCursor(0),chunkedPush(this.right,o.reverse())}setCursor(o){if(!(o===this.left.length||o>this.left.length&&this.right.length===0||o<0&&this.left.length===0))if(o<this.left.length){const F0=this.left.splice(o,Number.POSITIVE_INFINITY);chunkedPush(this.right,F0.reverse())}else{const F0=this.right.splice(this.left.length+this.right.length-o,Number.POSITIVE_INFINITY);chunkedPush(this.left,F0.reverse())}}}function chunkedPush(s,o){let F0=0;if(o.length<1e4)s.push(...o);else for(;F0<o.length;)s.push(...o.slice(F0,F0+1e4)),F0+=1e4}function subtokenize(s){const o={};let F0=-1,L0,B0,q0,W0,X0,K0,D_;const I_=new SpliceBuffer(s);for(;++F0<I_.length;){for(;F0 in o;)F0=o[F0];if(L0=I_.get(F0),F0&&L0[1].type==="chunkFlow"&&I_.get(F0-1)[1].type==="listItemPrefix"&&(K0=L0[1]._tokenizer.events,q0=0,q0<K0.length&&K0[q0][1].type==="lineEndingBlank"&&(q0+=2),q0<K0.length&&K0[q0][1].type==="content"))for(;++q0<K0.length&&K0[q0][1].type!=="content";)K0[q0][1].type==="chunkText"&&(K0[q0][1]._isInFirstContentOfListItem=!0,q0++);if(L0[0]==="enter")L0[1].contentType&&(Object.assign(o,subcontent(I_,F0)),F0=o[F0],D_=!0);else if(L0[1]._container){for(q0=F0,B0=void 0;q0--;)if(W0=I_.get(q0),W0[1].type==="lineEnding"||W0[1].type==="lineEndingBlank")W0[0]==="enter"&&(B0&&(I_.get(B0)[1].type="lineEndingBlank"),W0[1].type="lineEnding",B0=q0);else if(!(W0[1].type==="linePrefix"||W0[1].type==="listItemIndent"))break;B0&&(L0[1].end={...I_.get(B0)[1].start},X0=I_.slice(B0,F0),X0.unshift(L0),I_.splice(B0,F0-B0+1,X0))}}return splice(s,0,Number.POSITIVE_INFINITY,I_.slice(0)),!D_}function subcontent(s,o){const F0=s.get(o)[1],L0=s.get(o)[2];let B0=o-1;const q0=[];let W0=F0._tokenizer;W0||(W0=L0.parser[F0.contentType](F0.start),F0._contentTypeTextTrailing&&(W0._contentTypeTextTrailing=!0));const X0=W0.events,K0=[],D_={};let I_,F_,R_=-1,z_=F0,H_=0,Oy=0;const qv=[Oy];for(;z_;){for(;s.get(++B0)[1]!==z_;);q0.push(B0),z_._tokenizer||(I_=L0.sliceStream(z_),z_.next||I_.push(null),F_&&W0.defineSkip(z_.start),z_._isInFirstContentOfListItem&&(W0._gfmTasklistFirstContentOfListItem=!0),W0.write(I_),z_._isInFirstContentOfListItem&&(W0._gfmTasklistFirstContentOfListItem=void 0)),F_=z_,z_=z_.next}for(z_=F0;++R_<X0.length;)X0[R_][0]==="exit"&&X0[R_-1][0]==="enter"&&X0[R_][1].type===X0[R_-1][1].type&&X0[R_][1].start.line!==X0[R_][1].end.line&&(Oy=R_+1,qv.push(Oy),z_._tokenizer=void 0,z_.previous=void 0,z_=z_.next);for(W0.events=[],z_?(z_._tokenizer=void 0,z_.previous=void 0):qv.pop(),R_=qv.length;R_--;){const Lv=X0.slice(qv[R_],qv[R_+1]),S1=q0.pop();K0.push([S1,S1+Lv.length-1]),s.splice(S1,2,Lv)}for(K0.reverse(),R_=-1;++R_<K0.length;)D_[H_+K0[R_][0]]=H_+K0[R_][1],H_+=K0[R_][1]-K0[R_][0]-1;return D_}const content={resolve:resolveContent,tokenize:tokenizeContent},continuationConstruct={partial:!0,tokenize:tokenizeContinuation};function resolveContent(s){return subtokenize(s),s}function tokenizeContent(s,o){let F0;return L0;function L0(X0){return s.enter("content"),F0=s.enter("chunkContent",{contentType:"content"}),B0(X0)}function B0(X0){return X0===null?q0(X0):markdownLineEnding(X0)?s.check(continuationConstruct,W0,q0)(X0):(s.consume(X0),B0)}function q0(X0){return s.exit("chunkContent"),s.exit("content"),o(X0)}function W0(X0){return s.consume(X0),s.exit("chunkContent"),F0.next=s.enter("chunkContent",{contentType:"content",previous:F0}),F0=F0.next,B0}}function tokenizeContinuation(s,o,F0){const L0=this;return B0;function B0(W0){return s.exit("chunkContent"),s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),factorySpace(s,q0,"linePrefix")}function q0(W0){if(W0===null||markdownLineEnding(W0))return F0(W0);const X0=L0.events[L0.events.length-1];return!L0.parser.constructs.disable.null.includes("codeIndented")&&X0&&X0[1].type==="linePrefix"&&X0[2].sliceSerialize(X0[1],!0).length>=4?o(W0):s.interrupt(L0.parser.constructs.flow,F0,o)(W0)}}function factoryDestination(s,o,F0,L0,B0,q0,W0,X0,K0){const D_=K0||Number.POSITIVE_INFINITY;let I_=0;return F_;function F_(Lv){return Lv===60?(s.enter(L0),s.enter(B0),s.enter(q0),s.consume(Lv),s.exit(q0),R_):Lv===null||Lv===32||Lv===41||asciiControl(Lv)?F0(Lv):(s.enter(L0),s.enter(W0),s.enter(X0),s.enter("chunkString",{contentType:"string"}),Oy(Lv))}function R_(Lv){return Lv===62?(s.enter(q0),s.consume(Lv),s.exit(q0),s.exit(B0),s.exit(L0),o):(s.enter(X0),s.enter("chunkString",{contentType:"string"}),z_(Lv))}function z_(Lv){return Lv===62?(s.exit("chunkString"),s.exit(X0),R_(Lv)):Lv===null||Lv===60||markdownLineEnding(Lv)?F0(Lv):(s.consume(Lv),Lv===92?H_:z_)}function H_(Lv){return Lv===60||Lv===62||Lv===92?(s.consume(Lv),z_):z_(Lv)}function Oy(Lv){return!I_&&(Lv===null||Lv===41||markdownLineEndingOrSpace(Lv))?(s.exit("chunkString"),s.exit(X0),s.exit(W0),s.exit(L0),o(Lv)):I_<D_&&Lv===40?(s.consume(Lv),I_++,Oy):Lv===41?(s.consume(Lv),I_--,Oy):Lv===null||Lv===32||Lv===40||asciiControl(Lv)?F0(Lv):(s.consume(Lv),Lv===92?qv:Oy)}function qv(Lv){return Lv===40||Lv===41||Lv===92?(s.consume(Lv),Oy):Oy(Lv)}}function factoryLabel(s,o,F0,L0,B0,q0){const W0=this;let X0=0,K0;return D_;function D_(z_){return s.enter(L0),s.enter(B0),s.consume(z_),s.exit(B0),s.enter(q0),I_}function I_(z_){return X0>999||z_===null||z_===91||z_===93&&!K0||z_===94&&!X0&&"_hiddenFootnoteSupport"in W0.parser.constructs?F0(z_):z_===93?(s.exit(q0),s.enter(B0),s.consume(z_),s.exit(B0),s.exit(L0),o):markdownLineEnding(z_)?(s.enter("lineEnding"),s.consume(z_),s.exit("lineEnding"),I_):(s.enter("chunkString",{contentType:"string"}),F_(z_))}function F_(z_){return z_===null||z_===91||z_===93||markdownLineEnding(z_)||X0++>999?(s.exit("chunkString"),I_(z_)):(s.consume(z_),K0||(K0=!markdownSpace(z_)),z_===92?R_:F_)}function R_(z_){return z_===91||z_===92||z_===93?(s.consume(z_),X0++,F_):F_(z_)}}function factoryTitle(s,o,F0,L0,B0,q0){let W0;return X0;function X0(R_){return R_===34||R_===39||R_===40?(s.enter(L0),s.enter(B0),s.consume(R_),s.exit(B0),W0=R_===40?41:R_,K0):F0(R_)}function K0(R_){return R_===W0?(s.enter(B0),s.consume(R_),s.exit(B0),s.exit(L0),o):(s.enter(q0),D_(R_))}function D_(R_){return R_===W0?(s.exit(q0),K0(W0)):R_===null?F0(R_):markdownLineEnding(R_)?(s.enter("lineEnding"),s.consume(R_),s.exit("lineEnding"),factorySpace(s,D_,"linePrefix")):(s.enter("chunkString",{contentType:"string"}),I_(R_))}function I_(R_){return R_===W0||R_===null||markdownLineEnding(R_)?(s.exit("chunkString"),D_(R_)):(s.consume(R_),R_===92?F_:I_)}function F_(R_){return R_===W0||R_===92?(s.consume(R_),I_):I_(R_)}}function factoryWhitespace(s,o){let F0;return L0;function L0(B0){return markdownLineEnding(B0)?(s.enter("lineEnding"),s.consume(B0),s.exit("lineEnding"),F0=!0,L0):markdownSpace(B0)?factorySpace(s,L0,F0?"linePrefix":"lineSuffix")(B0):o(B0)}}const definition={name:"definition",tokenize:tokenizeDefinition},titleBefore={partial:!0,tokenize:tokenizeTitleBefore};function tokenizeDefinition(s,o,F0){const L0=this;let B0;return q0;function q0(z_){return s.enter("definition"),W0(z_)}function W0(z_){return factoryLabel.call(L0,s,X0,F0,"definitionLabel","definitionLabelMarker","definitionLabelString")(z_)}function X0(z_){return B0=normalizeIdentifier(L0.sliceSerialize(L0.events[L0.events.length-1][1]).slice(1,-1)),z_===58?(s.enter("definitionMarker"),s.consume(z_),s.exit("definitionMarker"),K0):F0(z_)}function K0(z_){return markdownLineEndingOrSpace(z_)?factoryWhitespace(s,D_)(z_):D_(z_)}function D_(z_){return factoryDestination(s,I_,F0,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(z_)}function I_(z_){return s.attempt(titleBefore,F_,F_)(z_)}function F_(z_){return markdownSpace(z_)?factorySpace(s,R_,"whitespace")(z_):R_(z_)}function R_(z_){return z_===null||markdownLineEnding(z_)?(s.exit("definition"),L0.parser.defined.push(B0),o(z_)):F0(z_)}}function tokenizeTitleBefore(s,o,F0){return L0;function L0(X0){return markdownLineEndingOrSpace(X0)?factoryWhitespace(s,B0)(X0):F0(X0)}function B0(X0){return factoryTitle(s,q0,F0,"definitionTitle","definitionTitleMarker","definitionTitleString")(X0)}function q0(X0){return markdownSpace(X0)?factorySpace(s,W0,"whitespace")(X0):W0(X0)}function W0(X0){return X0===null||markdownLineEnding(X0)?o(X0):F0(X0)}}const hardBreakEscape={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(s,o,F0){return L0;function L0(q0){return s.enter("hardBreakEscape"),s.consume(q0),B0}function B0(q0){return markdownLineEnding(q0)?(s.exit("hardBreakEscape"),o(q0)):F0(q0)}}const headingAtx={name:"headingAtx",resolve:resolveHeadingAtx,tokenize:tokenizeHeadingAtx};function resolveHeadingAtx(s,o){let F0=s.length-2,L0=3,B0,q0;return s[L0][1].type==="whitespace"&&(L0+=2),F0-2>L0&&s[F0][1].type==="whitespace"&&(F0-=2),s[F0][1].type==="atxHeadingSequence"&&(L0===F0-1||F0-4>L0&&s[F0-2][1].type==="whitespace")&&(F0-=L0+1===F0?2:4),F0>L0&&(B0={type:"atxHeadingText",start:s[L0][1].start,end:s[F0][1].end},q0={type:"chunkText",start:s[L0][1].start,end:s[F0][1].end,contentType:"text"},splice(s,L0,F0-L0+1,[["enter",B0,o],["enter",q0,o],["exit",q0,o],["exit",B0,o]])),s}function tokenizeHeadingAtx(s,o,F0){let L0=0;return B0;function B0(I_){return s.enter("atxHeading"),q0(I_)}function q0(I_){return s.enter("atxHeadingSequence"),W0(I_)}function W0(I_){return I_===35&&L0++<6?(s.consume(I_),W0):I_===null||markdownLineEndingOrSpace(I_)?(s.exit("atxHeadingSequence"),X0(I_)):F0(I_)}function X0(I_){return I_===35?(s.enter("atxHeadingSequence"),K0(I_)):I_===null||markdownLineEnding(I_)?(s.exit("atxHeading"),o(I_)):markdownSpace(I_)?factorySpace(s,X0,"whitespace")(I_):(s.enter("atxHeadingText"),D_(I_))}function K0(I_){return I_===35?(s.consume(I_),K0):(s.exit("atxHeadingSequence"),X0(I_))}function D_(I_){return I_===null||I_===35||markdownLineEndingOrSpace(I_)?(s.exit("atxHeadingText"),X0(I_)):(s.consume(I_),D_)}}const htmlBlockNames=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],htmlRawNames=["pre","script","style","textarea"],htmlFlow={concrete:!0,name:"htmlFlow",resolveTo:resolveToHtmlFlow,tokenize:tokenizeHtmlFlow},blankLineBefore={partial:!0,tokenize:tokenizeBlankLineBefore},nonLazyContinuationStart={partial:!0,tokenize:tokenizeNonLazyContinuationStart};function resolveToHtmlFlow(s){let o=s.length;for(;o--&&!(s[o][0]==="enter"&&s[o][1].type==="htmlFlow"););return o>1&&s[o-2][1].type==="linePrefix"&&(s[o][1].start=s[o-2][1].start,s[o+1][1].start=s[o-2][1].start,s.splice(o-2,2)),s}function tokenizeHtmlFlow(s,o,F0){const L0=this;let B0,q0,W0,X0,K0;return D_;function D_(U7){return I_(U7)}function I_(U7){return s.enter("htmlFlow"),s.enter("htmlFlowData"),s.consume(U7),F_}function F_(U7){return U7===33?(s.consume(U7),R_):U7===47?(s.consume(U7),q0=!0,Oy):U7===63?(s.consume(U7),B0=3,L0.interrupt?o:D7):asciiAlpha(U7)?(s.consume(U7),W0=String.fromCharCode(U7),qv):F0(U7)}function R_(U7){return U7===45?(s.consume(U7),B0=2,z_):U7===91?(s.consume(U7),B0=5,X0=0,H_):asciiAlpha(U7)?(s.consume(U7),B0=4,L0.interrupt?o:D7):F0(U7)}function z_(U7){return U7===45?(s.consume(U7),L0.interrupt?o:D7):F0(U7)}function H_(U7){const OS="CDATA[";return U7===OS.charCodeAt(X0++)?(s.consume(U7),X0===OS.length?L0.interrupt?o:$7:H_):F0(U7)}function Oy(U7){return asciiAlpha(U7)?(s.consume(U7),W0=String.fromCharCode(U7),qv):F0(U7)}function qv(U7){if(U7===null||U7===47||U7===62||markdownLineEndingOrSpace(U7)){const OS=U7===47,wE=W0.toLowerCase();return!OS&&!q0&&htmlRawNames.includes(wE)?(B0=1,L0.interrupt?o(U7):$7(U7)):htmlBlockNames.includes(W0.toLowerCase())?(B0=6,OS?(s.consume(U7),Lv):L0.interrupt?o(U7):$7(U7)):(B0=7,L0.interrupt&&!L0.parser.lazy[L0.now().line]?F0(U7):q0?S1(U7):iv(U7))}return U7===45||asciiAlphanumeric(U7)?(s.consume(U7),W0+=String.fromCharCode(U7),qv):F0(U7)}function Lv(U7){return U7===62?(s.consume(U7),L0.interrupt?o:$7):F0(U7)}function S1(U7){return markdownSpace(U7)?(s.consume(U7),S1):g7(U7)}function iv(U7){return U7===47?(s.consume(U7),g7):U7===58||U7===95||asciiAlpha(U7)?(s.consume(U7),Yv):markdownSpace(U7)?(s.consume(U7),iv):g7(U7)}function Yv(U7){return U7===45||U7===46||U7===58||U7===95||asciiAlphanumeric(U7)?(s.consume(U7),Yv):_x(U7)}function _x(U7){return U7===61?(s.consume(U7),Qv):markdownSpace(U7)?(s.consume(U7),_x):iv(U7)}function Qv(U7){return U7===null||U7===60||U7===61||U7===62||U7===96?F0(U7):U7===34||U7===39?(s.consume(U7),K0=U7,Fx):markdownSpace(U7)?(s.consume(U7),Qv):jx(U7)}function Fx(U7){return U7===K0?(s.consume(U7),K0=null,K7):U7===null||markdownLineEnding(U7)?F0(U7):(s.consume(U7),Fx)}function jx(U7){return U7===null||U7===34||U7===39||U7===47||U7===60||U7===61||U7===62||U7===96||markdownLineEndingOrSpace(U7)?_x(U7):(s.consume(U7),jx)}function K7(U7){return U7===47||U7===62||markdownSpace(U7)?iv(U7):F0(U7)}function g7(U7){return U7===62?(s.consume(U7),iT):F0(U7)}function iT(U7){return U7===null||markdownLineEnding(U7)?$7(U7):markdownSpace(U7)?(s.consume(U7),iT):F0(U7)}function $7(U7){return U7===45&&B0===2?(s.consume(U7),eS):U7===60&&B0===1?(s.consume(U7),lT):U7===62&&B0===4?(s.consume(U7),WT):U7===63&&B0===3?(s.consume(U7),D7):U7===93&&B0===5?(s.consume(U7),pT):markdownLineEnding(U7)&&(B0===6||B0===7)?(s.exit("htmlFlowData"),s.check(blankLineBefore,A7,F7)(U7)):U7===null||markdownLineEnding(U7)?(s.exit("htmlFlowData"),F7(U7)):(s.consume(U7),$7)}function F7(U7){return s.check(nonLazyContinuationStart,aE,A7)(U7)}function aE(U7){return s.enter("lineEnding"),s.consume(U7),s.exit("lineEnding"),gS}function gS(U7){return U7===null||markdownLineEnding(U7)?F7(U7):(s.enter("htmlFlowData"),$7(U7))}function eS(U7){return U7===45?(s.consume(U7),D7):$7(U7)}function lT(U7){return U7===47?(s.consume(U7),W0="",UT):$7(U7)}function UT(U7){if(U7===62){const OS=W0.toLowerCase();return htmlRawNames.includes(OS)?(s.consume(U7),WT):$7(U7)}return asciiAlpha(U7)&&W0.length<8?(s.consume(U7),W0+=String.fromCharCode(U7),UT):$7(U7)}function pT(U7){return U7===93?(s.consume(U7),D7):$7(U7)}function D7(U7){return U7===62?(s.consume(U7),WT):U7===45&&B0===2?(s.consume(U7),D7):$7(U7)}function WT(U7){return U7===null||markdownLineEnding(U7)?(s.exit("htmlFlowData"),A7(U7)):(s.consume(U7),WT)}function A7(U7){return s.exit("htmlFlow"),o(U7)}}function tokenizeNonLazyContinuationStart(s,o,F0){const L0=this;return B0;function B0(W0){return markdownLineEnding(W0)?(s.enter("lineEnding"),s.consume(W0),s.exit("lineEnding"),q0):F0(W0)}function q0(W0){return L0.parser.lazy[L0.now().line]?F0(W0):o(W0)}}function tokenizeBlankLineBefore(s,o,F0){return L0;function L0(B0){return s.enter("lineEnding"),s.consume(B0),s.exit("lineEnding"),s.attempt(blankLine,o,F0)}}const htmlText={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(s,o,F0){const L0=this;let B0,q0,W0;return X0;function X0(D7){return s.enter("htmlText"),s.enter("htmlTextData"),s.consume(D7),K0}function K0(D7){return D7===33?(s.consume(D7),D_):D7===47?(s.consume(D7),_x):D7===63?(s.consume(D7),iv):asciiAlpha(D7)?(s.consume(D7),jx):F0(D7)}function D_(D7){return D7===45?(s.consume(D7),I_):D7===91?(s.consume(D7),q0=0,H_):asciiAlpha(D7)?(s.consume(D7),S1):F0(D7)}function I_(D7){return D7===45?(s.consume(D7),z_):F0(D7)}function F_(D7){return D7===null?F0(D7):D7===45?(s.consume(D7),R_):markdownLineEnding(D7)?(W0=F_,lT(D7)):(s.consume(D7),F_)}function R_(D7){return D7===45?(s.consume(D7),z_):F_(D7)}function z_(D7){return D7===62?eS(D7):D7===45?R_(D7):F_(D7)}function H_(D7){const WT="CDATA[";return D7===WT.charCodeAt(q0++)?(s.consume(D7),q0===WT.length?Oy:H_):F0(D7)}function Oy(D7){return D7===null?F0(D7):D7===93?(s.consume(D7),qv):markdownLineEnding(D7)?(W0=Oy,lT(D7)):(s.consume(D7),Oy)}function qv(D7){return D7===93?(s.consume(D7),Lv):Oy(D7)}function Lv(D7){return D7===62?eS(D7):D7===93?(s.consume(D7),Lv):Oy(D7)}function S1(D7){return D7===null||D7===62?eS(D7):markdownLineEnding(D7)?(W0=S1,lT(D7)):(s.consume(D7),S1)}function iv(D7){return D7===null?F0(D7):D7===63?(s.consume(D7),Yv):markdownLineEnding(D7)?(W0=iv,lT(D7)):(s.consume(D7),iv)}function Yv(D7){return D7===62?eS(D7):iv(D7)}function _x(D7){return asciiAlpha(D7)?(s.consume(D7),Qv):F0(D7)}function Qv(D7){return D7===45||asciiAlphanumeric(D7)?(s.consume(D7),Qv):Fx(D7)}function Fx(D7){return markdownLineEnding(D7)?(W0=Fx,lT(D7)):markdownSpace(D7)?(s.consume(D7),Fx):eS(D7)}function jx(D7){return D7===45||asciiAlphanumeric(D7)?(s.consume(D7),jx):D7===47||D7===62||markdownLineEndingOrSpace(D7)?K7(D7):F0(D7)}function K7(D7){return D7===47?(s.consume(D7),eS):D7===58||D7===95||asciiAlpha(D7)?(s.consume(D7),g7):markdownLineEnding(D7)?(W0=K7,lT(D7)):markdownSpace(D7)?(s.consume(D7),K7):eS(D7)}function g7(D7){return D7===45||D7===46||D7===58||D7===95||asciiAlphanumeric(D7)?(s.consume(D7),g7):iT(D7)}function iT(D7){return D7===61?(s.consume(D7),$7):markdownLineEnding(D7)?(W0=iT,lT(D7)):markdownSpace(D7)?(s.consume(D7),iT):K7(D7)}function $7(D7){return D7===null||D7===60||D7===61||D7===62||D7===96?F0(D7):D7===34||D7===39?(s.consume(D7),B0=D7,F7):markdownLineEnding(D7)?(W0=$7,lT(D7)):markdownSpace(D7)?(s.consume(D7),$7):(s.consume(D7),aE)}function F7(D7){return D7===B0?(s.consume(D7),B0=void 0,gS):D7===null?F0(D7):markdownLineEnding(D7)?(W0=F7,lT(D7)):(s.consume(D7),F7)}function aE(D7){return D7===null||D7===34||D7===39||D7===60||D7===61||D7===96?F0(D7):D7===47||D7===62||markdownLineEndingOrSpace(D7)?K7(D7):(s.consume(D7),aE)}function gS(D7){return D7===47||D7===62||markdownLineEndingOrSpace(D7)?K7(D7):F0(D7)}function eS(D7){return D7===62?(s.consume(D7),s.exit("htmlTextData"),s.exit("htmlText"),o):F0(D7)}function lT(D7){return s.exit("htmlTextData"),s.enter("lineEnding"),s.consume(D7),s.exit("lineEnding"),UT}function UT(D7){return markdownSpace(D7)?factorySpace(s,pT,"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D7):pT(D7)}function pT(D7){return s.enter("htmlTextData"),W0(D7)}}const labelEnd={name:"labelEnd",resolveAll:resolveAllLabelEnd,resolveTo:resolveToLabelEnd,tokenize:tokenizeLabelEnd},resourceConstruct={tokenize:tokenizeResource},referenceFullConstruct={tokenize:tokenizeReferenceFull},referenceCollapsedConstruct={tokenize:tokenizeReferenceCollapsed};function resolveAllLabelEnd(s){let o=-1;const F0=[];for(;++o<s.length;){const L0=s[o][1];if(F0.push(s[o]),L0.type==="labelImage"||L0.type==="labelLink"||L0.type==="labelEnd"){const B0=L0.type==="labelImage"?4:2;L0.type="data",o+=B0}}return s.length!==F0.length&&splice(s,0,s.length,F0),s}function resolveToLabelEnd(s,o){let F0=s.length,L0=0,B0,q0,W0,X0;for(;F0--;)if(B0=s[F0][1],q0){if(B0.type==="link"||B0.type==="labelLink"&&B0._inactive)break;s[F0][0]==="enter"&&B0.type==="labelLink"&&(B0._inactive=!0)}else if(W0){if(s[F0][0]==="enter"&&(B0.type==="labelImage"||B0.type==="labelLink")&&!B0._balanced&&(q0=F0,B0.type!=="labelLink")){L0=2;break}}else B0.type==="labelEnd"&&(W0=F0);const K0={type:s[q0][1].type==="labelLink"?"link":"image",start:{...s[q0][1].start},end:{...s[s.length-1][1].end}},D_={type:"label",start:{...s[q0][1].start},end:{...s[W0][1].end}},I_={type:"labelText",start:{...s[q0+L0+2][1].end},end:{...s[W0-2][1].start}};return X0=[["enter",K0,o],["enter",D_,o]],X0=push(X0,s.slice(q0+1,q0+L0+3)),X0=push(X0,[["enter",I_,o]]),X0=push(X0,resolveAll(o.parser.constructs.insideSpan.null,s.slice(q0+L0+4,W0-3),o)),X0=push(X0,[["exit",I_,o],s[W0-2],s[W0-1],["exit",D_,o]]),X0=push(X0,s.slice(W0+1)),X0=push(X0,[["exit",K0,o]]),splice(s,q0,s.length,X0),s}function tokenizeLabelEnd(s,o,F0){const L0=this;let B0=L0.events.length,q0,W0;for(;B0--;)if((L0.events[B0][1].type==="labelImage"||L0.events[B0][1].type==="labelLink")&&!L0.events[B0][1]._balanced){q0=L0.events[B0][1];break}return X0;function X0(R_){return q0?q0._inactive?F_(R_):(W0=L0.parser.defined.includes(normalizeIdentifier(L0.sliceSerialize({start:q0.end,end:L0.now()}))),s.enter("labelEnd"),s.enter("labelMarker"),s.consume(R_),s.exit("labelMarker"),s.exit("labelEnd"),K0):F0(R_)}function K0(R_){return R_===40?s.attempt(resourceConstruct,I_,W0?I_:F_)(R_):R_===91?s.attempt(referenceFullConstruct,I_,W0?D_:F_)(R_):W0?I_(R_):F_(R_)}function D_(R_){return s.attempt(referenceCollapsedConstruct,I_,F_)(R_)}function I_(R_){return o(R_)}function F_(R_){return q0._balanced=!0,F0(R_)}}function tokenizeResource(s,o,F0){return L0;function L0(F_){return s.enter("resource"),s.enter("resourceMarker"),s.consume(F_),s.exit("resourceMarker"),B0}function B0(F_){return markdownLineEndingOrSpace(F_)?factoryWhitespace(s,q0)(F_):q0(F_)}function q0(F_){return F_===41?I_(F_):factoryDestination(s,W0,X0,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(F_)}function W0(F_){return markdownLineEndingOrSpace(F_)?factoryWhitespace(s,K0)(F_):I_(F_)}function X0(F_){return F0(F_)}function K0(F_){return F_===34||F_===39||F_===40?factoryTitle(s,D_,F0,"resourceTitle","resourceTitleMarker","resourceTitleString")(F_):I_(F_)}function D_(F_){return markdownLineEndingOrSpace(F_)?factoryWhitespace(s,I_)(F_):I_(F_)}function I_(F_){return F_===41?(s.enter("resourceMarker"),s.consume(F_),s.exit("resourceMarker"),s.exit("resource"),o):F0(F_)}}function tokenizeReferenceFull(s,o,F0){const L0=this;return B0;function B0(X0){return factoryLabel.call(L0,s,q0,W0,"reference","referenceMarker","referenceString")(X0)}function q0(X0){return L0.parser.defined.includes(normalizeIdentifier(L0.sliceSerialize(L0.events[L0.events.length-1][1]).slice(1,-1)))?o(X0):F0(X0)}function W0(X0){return F0(X0)}}function tokenizeReferenceCollapsed(s,o,F0){return L0;function L0(q0){return s.enter("reference"),s.enter("referenceMarker"),s.consume(q0),s.exit("referenceMarker"),B0}function B0(q0){return q0===93?(s.enter("referenceMarker"),s.consume(q0),s.exit("referenceMarker"),s.exit("reference"),o):F0(q0)}}const labelStartImage={name:"labelStartImage",resolveAll:labelEnd.resolveAll,tokenize:tokenizeLabelStartImage};function tokenizeLabelStartImage(s,o,F0){const L0=this;return B0;function B0(X0){return s.enter("labelImage"),s.enter("labelImageMarker"),s.consume(X0),s.exit("labelImageMarker"),q0}function q0(X0){return X0===91?(s.enter("labelMarker"),s.consume(X0),s.exit("labelMarker"),s.exit("labelImage"),W0):F0(X0)}function W0(X0){return X0===94&&"_hiddenFootnoteSupport"in L0.parser.constructs?F0(X0):o(X0)}}const labelStartLink={name:"labelStartLink",resolveAll:labelEnd.resolveAll,tokenize:tokenizeLabelStartLink};function tokenizeLabelStartLink(s,o,F0){const L0=this;return B0;function B0(W0){return s.enter("labelLink"),s.enter("labelMarker"),s.consume(W0),s.exit("labelMarker"),s.exit("labelLink"),q0}function q0(W0){return W0===94&&"_hiddenFootnoteSupport"in L0.parser.constructs?F0(W0):o(W0)}}const lineEnding={name:"lineEnding",tokenize:tokenizeLineEnding};function tokenizeLineEnding(s,o){return F0;function F0(L0){return s.enter("lineEnding"),s.consume(L0),s.exit("lineEnding"),factorySpace(s,o,"linePrefix")}}const thematicBreak={name:"thematicBreak",tokenize:tokenizeThematicBreak};function tokenizeThematicBreak(s,o,F0){let L0=0,B0;return q0;function q0(D_){return s.enter("thematicBreak"),W0(D_)}function W0(D_){return B0=D_,X0(D_)}function X0(D_){return D_===B0?(s.enter("thematicBreakSequence"),K0(D_)):L0>=3&&(D_===null||markdownLineEnding(D_))?(s.exit("thematicBreak"),o(D_)):F0(D_)}function K0(D_){return D_===B0?(s.consume(D_),L0++,K0):(s.exit("thematicBreakSequence"),markdownSpace(D_)?factorySpace(s,X0,"whitespace")(D_):X0(D_))}}const list$1={continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd,name:"list",tokenize:tokenizeListStart},listItemPrefixWhitespaceConstruct={partial:!0,tokenize:tokenizeListItemPrefixWhitespace},indentConstruct={partial:!0,tokenize:tokenizeIndent};function tokenizeListStart(s,o,F0){const L0=this,B0=L0.events[L0.events.length-1];let q0=B0&&B0[1].type==="linePrefix"?B0[2].sliceSerialize(B0[1],!0).length:0,W0=0;return X0;function X0(z_){const H_=L0.containerState.type||(z_===42||z_===43||z_===45?"listUnordered":"listOrdered");if(H_==="listUnordered"?!L0.containerState.marker||z_===L0.containerState.marker:asciiDigit(z_)){if(L0.containerState.type||(L0.containerState.type=H_,s.enter(H_,{_container:!0})),H_==="listUnordered")return s.enter("listItemPrefix"),z_===42||z_===45?s.check(thematicBreak,F0,D_)(z_):D_(z_);if(!L0.interrupt||z_===49)return s.enter("listItemPrefix"),s.enter("listItemValue"),K0(z_)}return F0(z_)}function K0(z_){return asciiDigit(z_)&&++W0<10?(s.consume(z_),K0):(!L0.interrupt||W0<2)&&(L0.containerState.marker?z_===L0.containerState.marker:z_===41||z_===46)?(s.exit("listItemValue"),D_(z_)):F0(z_)}function D_(z_){return s.enter("listItemMarker"),s.consume(z_),s.exit("listItemMarker"),L0.containerState.marker=L0.containerState.marker||z_,s.check(blankLine,L0.interrupt?F0:I_,s.attempt(listItemPrefixWhitespaceConstruct,R_,F_))}function I_(z_){return L0.containerState.initialBlankLine=!0,q0++,R_(z_)}function F_(z_){return markdownSpace(z_)?(s.enter("listItemPrefixWhitespace"),s.consume(z_),s.exit("listItemPrefixWhitespace"),R_):F0(z_)}function R_(z_){return L0.containerState.size=q0+L0.sliceSerialize(s.exit("listItemPrefix"),!0).length,o(z_)}}function tokenizeListContinuation(s,o,F0){const L0=this;return L0.containerState._closeFlow=void 0,s.check(blankLine,B0,q0);function B0(X0){return L0.containerState.furtherBlankLines=L0.containerState.furtherBlankLines||L0.containerState.initialBlankLine,factorySpace(s,o,"listItemIndent",L0.containerState.size+1)(X0)}function q0(X0){return L0.containerState.furtherBlankLines||!markdownSpace(X0)?(L0.containerState.furtherBlankLines=void 0,L0.containerState.initialBlankLine=void 0,W0(X0)):(L0.containerState.furtherBlankLines=void 0,L0.containerState.initialBlankLine=void 0,s.attempt(indentConstruct,o,W0)(X0))}function W0(X0){return L0.containerState._closeFlow=!0,L0.interrupt=void 0,factorySpace(s,s.attempt(list$1,o,F0),"linePrefix",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(X0)}}function tokenizeIndent(s,o,F0){const L0=this;return factorySpace(s,B0,"listItemIndent",L0.containerState.size+1);function B0(q0){const W0=L0.events[L0.events.length-1];return W0&&W0[1].type==="listItemIndent"&&W0[2].sliceSerialize(W0[1],!0).length===L0.containerState.size?o(q0):F0(q0)}}function tokenizeListEnd(s){s.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(s,o,F0){const L0=this;return factorySpace(s,B0,"listItemPrefixWhitespace",L0.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function B0(q0){const W0=L0.events[L0.events.length-1];return!markdownSpace(q0)&&W0&&W0[1].type==="listItemPrefixWhitespace"?o(q0):F0(q0)}}const setextUnderline={name:"setextUnderline",resolveTo:resolveToSetextUnderline,tokenize:tokenizeSetextUnderline};function resolveToSetextUnderline(s,o){let F0=s.length,L0,B0,q0;for(;F0--;)if(s[F0][0]==="enter"){if(s[F0][1].type==="content"){L0=F0;break}s[F0][1].type==="paragraph"&&(B0=F0)}else s[F0][1].type==="content"&&s.splice(F0,1),!q0&&s[F0][1].type==="definition"&&(q0=F0);const W0={type:"setextHeading",start:{...s[L0][1].start},end:{...s[s.length-1][1].end}};return s[B0][1].type="setextHeadingText",q0?(s.splice(B0,0,["enter",W0,o]),s.splice(q0+1,0,["exit",s[L0][1],o]),s[L0][1].end={...s[q0][1].end}):s[L0][1]=W0,s.push(["exit",W0,o]),s}function tokenizeSetextUnderline(s,o,F0){const L0=this;let B0;return q0;function q0(D_){let I_=L0.events.length,F_;for(;I_--;)if(L0.events[I_][1].type!=="lineEnding"&&L0.events[I_][1].type!=="linePrefix"&&L0.events[I_][1].type!=="content"){F_=L0.events[I_][1].type==="paragraph";break}return!L0.parser.lazy[L0.now().line]&&(L0.interrupt||F_)?(s.enter("setextHeadingLine"),B0=D_,W0(D_)):F0(D_)}function W0(D_){return s.enter("setextHeadingLineSequence"),X0(D_)}function X0(D_){return D_===B0?(s.consume(D_),X0):(s.exit("setextHeadingLineSequence"),markdownSpace(D_)?factorySpace(s,K0,"lineSuffix")(D_):K0(D_))}function K0(D_){return D_===null||markdownLineEnding(D_)?(s.exit("setextHeadingLine"),o(D_)):F0(D_)}}const flow$1={tokenize:initializeFlow};function initializeFlow(s){const o=this,F0=s.attempt(blankLine,L0,s.attempt(this.parser.constructs.flowInitial,B0,factorySpace(s,s.attempt(this.parser.constructs.flow,B0,s.attempt(content,B0)),"linePrefix")));return F0;function L0(q0){if(q0===null){s.consume(q0);return}return s.enter("lineEndingBlank"),s.consume(q0),s.exit("lineEndingBlank"),o.currentConstruct=void 0,F0}function B0(q0){if(q0===null){s.consume(q0);return}return s.enter("lineEnding"),s.consume(q0),s.exit("lineEnding"),o.currentConstruct=void 0,F0}}const resolver={resolveAll:createResolver()},string$1=initializeFactory("string"),text$1=initializeFactory("text");function initializeFactory(s){return{resolveAll:createResolver(s==="text"?resolveAllLineSuffixes:void 0),tokenize:o};function o(F0){const L0=this,B0=this.parser.constructs[s],q0=F0.attempt(B0,W0,X0);return W0;function W0(I_){return D_(I_)?q0(I_):X0(I_)}function X0(I_){if(I_===null){F0.consume(I_);return}return F0.enter("data"),F0.consume(I_),K0}function K0(I_){return D_(I_)?(F0.exit("data"),q0(I_)):(F0.consume(I_),K0)}function D_(I_){if(I_===null)return!0;const F_=B0[I_];let R_=-1;if(F_)for(;++R_<F_.length;){const z_=F_[R_];if(!z_.previous||z_.previous.call(L0,L0.previous))return!0}return!1}}}function createResolver(s){return o;function o(F0,L0){let B0=-1,q0;for(;++B0<=F0.length;)q0===void 0?F0[B0]&&F0[B0][1].type==="data"&&(q0=B0,B0++):(!F0[B0]||F0[B0][1].type!=="data")&&(B0!==q0+2&&(F0[q0][1].end=F0[B0-1][1].end,F0.splice(q0+2,B0-q0-2),B0=q0+2),q0=void 0);return s?s(F0,L0):F0}}function resolveAllLineSuffixes(s,o){let F0=0;for(;++F0<=s.length;)if((F0===s.length||s[F0][1].type==="lineEnding")&&s[F0-1][1].type==="data"){const L0=s[F0-1][1],B0=o.sliceStream(L0);let q0=B0.length,W0=-1,X0=0,K0;for(;q0--;){const D_=B0[q0];if(typeof D_=="string"){for(W0=D_.length;D_.charCodeAt(W0-1)===32;)X0++,W0--;if(W0)break;W0=-1}else if(D_===-2)K0=!0,X0++;else if(D_!==-1){q0++;break}}if(o._contentTypeTextTrailing&&F0===s.length&&(X0=0),X0){const D_={type:F0===s.length||K0||X0<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:q0?W0:L0.start._bufferIndex+W0,_index:L0.start._index+q0,line:L0.end.line,column:L0.end.column-X0,offset:L0.end.offset-X0},end:{...L0.end}};L0.end={...D_.start},L0.start.offset===L0.end.offset?Object.assign(L0,D_):(s.splice(F0,0,["enter",D_,o],["exit",D_,o]),F0+=2)}F0++}return s}const document$1={42:list$1,43:list$1,45:list$1,48:list$1,49:list$1,50:list$1,51:list$1,52:list$1,53:list$1,54:list$1,55:list$1,56:list$1,57:list$1,62:blockQuote},contentInitial={91:definition},flowInitial={[-2]:codeIndented,[-1]:codeIndented,32:codeIndented},flow={35:headingAtx,42:thematicBreak,45:[setextUnderline,thematicBreak],60:htmlFlow,61:setextUnderline,95:thematicBreak,96:codeFenced,126:codeFenced},string={38:characterReference,92:characterEscape},text={[-5]:lineEnding,[-4]:lineEnding,[-3]:lineEnding,33:labelStartImage,38:characterReference,42:attention,60:[autolink,htmlText],91:labelStartLink,92:[hardBreakEscape,characterEscape],93:labelEnd,95:attention,96:codeText},insideSpan={null:[attention,resolver]},attentionMarkers={null:[42,95]},disable={null:[]},defaultConstructs=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers,contentInitial,disable,document:document$1,flow,flowInitial,insideSpan,string,text},Symbol.toStringTag,{value:"Module"}));function createTokenizer(s,o,F0){let L0={_bufferIndex:-1,_index:0,line:F0&&F0.line||1,column:F0&&F0.column||1,offset:F0&&F0.offset||0};const B0={},q0=[];let W0=[],X0=[];const K0={attempt:Fx(_x),check:Fx(Qv),consume:S1,enter:iv,exit:Yv,interrupt:Fx(Qv,{interrupt:!0})},D_={code:null,containerState:{},defineSkip:Oy,events:[],now:H_,parser:s,previous:null,sliceSerialize:R_,sliceStream:z_,write:F_};let I_=o.tokenize.call(D_,K0);return o.resolveAll&&q0.push(o),D_;function F_(iT){return W0=push(W0,iT),qv(),W0[W0.length-1]!==null?[]:(jx(o,0),D_.events=resolveAll(q0,D_.events,D_),D_.events)}function R_(iT,$7){return serializeChunks(z_(iT),$7)}function z_(iT){return sliceChunks(W0,iT)}function H_(){const{_bufferIndex:iT,_index:$7,line:F7,column:aE,offset:gS}=L0;return{_bufferIndex:iT,_index:$7,line:F7,column:aE,offset:gS}}function Oy(iT){B0[iT.line]=iT.column,g7()}function qv(){let iT;for(;L0._index<W0.length;){const $7=W0[L0._index];if(typeof $7=="string")for(iT=L0._index,L0._bufferIndex<0&&(L0._bufferIndex=0);L0._index===iT&&L0._bufferIndex<$7.length;)Lv($7.charCodeAt(L0._bufferIndex));else Lv($7)}}function Lv(iT){I_=I_(iT)}function S1(iT){markdownLineEnding(iT)?(L0.line++,L0.column=1,L0.offset+=iT===-3?2:1,g7()):iT!==-1&&(L0.column++,L0.offset++),L0._bufferIndex<0?L0._index++:(L0._bufferIndex++,L0._bufferIndex===W0[L0._index].length&&(L0._bufferIndex=-1,L0._index++)),D_.previous=iT}function iv(iT,$7){const F7=$7||{};return F7.type=iT,F7.start=H_(),D_.events.push(["enter",F7,D_]),X0.push(F7),F7}function Yv(iT){const $7=X0.pop();return $7.end=H_(),D_.events.push(["exit",$7,D_]),$7}function _x(iT,$7){jx(iT,$7.from)}function Qv(iT,$7){$7.restore()}function Fx(iT,$7){return F7;function F7(aE,gS,eS){let lT,UT,pT,D7;return Array.isArray(aE)?A7(aE):"tokenize"in aE?A7([aE]):WT(aE);function WT(xT){return mS;function mS(bE){const R7=bE!==null&&xT[bE],W3=bE!==null&&xT.null,bT=[...Array.isArray(R7)?R7:R7?[R7]:[],...Array.isArray(W3)?W3:W3?[W3]:[]];return A7(bT)(bE)}}function A7(xT){return lT=xT,UT=0,xT.length===0?eS:U7(xT[UT])}function U7(xT){return mS;function mS(bE){return D7=K7(),pT=xT,xT.partial||(D_.currentConstruct=xT),xT.name&&D_.parser.constructs.disable.null.includes(xT.name)?wE():xT.tokenize.call($7?Object.assign(Object.create(D_),$7):D_,K0,OS,wE)(bE)}}function OS(xT){return iT(pT,D7),gS}function wE(xT){return D7.restore(),++UT<lT.length?U7(lT[UT]):eS}}}function jx(iT,$7){iT.resolveAll&&!q0.includes(iT)&&q0.push(iT),iT.resolve&&splice(D_.events,$7,D_.events.length-$7,iT.resolve(D_.events.slice($7),D_)),iT.resolveTo&&(D_.events=iT.resolveTo(D_.events,D_))}function K7(){const iT=H_(),$7=D_.previous,F7=D_.currentConstruct,aE=D_.events.length,gS=Array.from(X0);return{from:aE,restore:eS};function eS(){L0=iT,D_.previous=$7,D_.currentConstruct=F7,D_.events.length=aE,X0=gS,g7()}}function g7(){L0.line in B0&&L0.column<2&&(L0.column=B0[L0.line],L0.offset+=B0[L0.line]-1)}}function sliceChunks(s,o){const F0=o.start._index,L0=o.start._bufferIndex,B0=o.end._index,q0=o.end._bufferIndex;let W0;if(F0===B0)W0=[s[F0].slice(L0,q0)];else{if(W0=s.slice(F0,B0),L0>-1){const X0=W0[0];typeof X0=="string"?W0[0]=X0.slice(L0):W0.shift()}q0>0&&W0.push(s[B0].slice(0,q0))}return W0}function serializeChunks(s,o){let F0=-1;const L0=[];let B0;for(;++F0<s.length;){const q0=s[F0];let W0;if(typeof q0=="string")W0=q0;else switch(q0){case-5:{W0="\r";break}case-4:{W0=`
4947
4947
  `;break}case-3:{W0=`\r
4948
4948
  `;break}case-2:{W0=o?" ":" ";break}case-1:{if(!o&&B0)continue;W0=" ";break}default:W0=String.fromCharCode(q0)}B0=q0===-2,L0.push(W0)}return L0.join("")}function parse(s){const L0={constructs:combineExtensions([defaultConstructs,...{}.extensions||[]]),content:B0(content$1),defined:[],document:B0(document$2),flow:B0(flow$1),lazy:{},string:B0(string$1),text:B0(text$1)};return L0;function B0(q0){return W0;function W0(X0){return createTokenizer(L0,q0,X0)}}}function postprocess(s){for(;!subtokenize(s););return s}const search=/[\0\t\n\r]/g;function preprocess(){let s=1,o="",F0=!0,L0;return B0;function B0(q0,W0,X0){const K0=[];let D_,I_,F_,R_,z_;for(q0=o+(typeof q0=="string"?q0.toString():new TextDecoder(W0||void 0).decode(q0)),F_=0,o="",F0&&(q0.charCodeAt(0)===65279&&F_++,F0=void 0);F_<q0.length;){if(search.lastIndex=F_,D_=search.exec(q0),R_=D_&&D_.index!==void 0?D_.index:q0.length,z_=q0.charCodeAt(R_),!D_){o=q0.slice(F_);break}if(z_===10&&F_===R_&&L0)K0.push(-3),L0=void 0;else switch(L0&&(K0.push(-5),L0=void 0),F_<R_&&(K0.push(q0.slice(F_,R_)),s+=R_-F_),z_){case 0:{K0.push(65533),s++;break}case 9:{for(I_=Math.ceil(s/4)*4,K0.push(-2);s++<I_;)K0.push(-1);break}case 10:{K0.push(-4),s=1;break}default:L0=!0,s=1}F_=R_+1}return X0&&(L0&&K0.push(-5),o&&K0.push(o),K0.push(null)),K0}}const characterEscapeOrReference=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeString(s){return s.replace(characterEscapeOrReference,decode)}function decode(s,o,F0){if(o)return o;if(F0.charCodeAt(0)===35){const B0=F0.charCodeAt(1),q0=B0===120||B0===88;return decodeNumericCharacterReference(F0.slice(q0?2:1),q0?16:10)}return decodeNamedCharacterReference(F0)||s}function stringifyPosition(s){return!s||typeof s!="object"?"":"position"in s||"type"in s?position(s.position):"start"in s||"end"in s?position(s):"line"in s||"column"in s?point$2(s):""}function point$2(s){return index(s&&s.line)+":"+index(s&&s.column)}function position(s){return point$2(s&&s.start)+"-"+point$2(s&&s.end)}function index(s){return s&&typeof s=="number"?s:1}const own={}.hasOwnProperty;function fromMarkdown(s,o,F0){return compiler()(postprocess(parse().document().write(preprocess()(s,o,!0))))}function compiler(s){const o={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:q0(VT),autolinkProtocol:K7,autolinkEmail:K7,atxHeading:q0(rS),blockQuote:q0(W3),characterEscape:K7,characterReference:K7,codeFenced:q0(bT),codeFencedFenceInfo:W0,codeFencedFenceMeta:W0,codeIndented:q0(bT,W0),codeText:q0(Z7,W0),codeTextData:K7,data:K7,codeFlowValue:K7,definition:q0(JS),definitionDestinationString:W0,definitionLabelString:W0,definitionTitleString:W0,emphasis:q0(XE),hardBreakEscape:q0(OT),hardBreakTrailing:q0(OT),htmlFlow:q0(T7,W0),htmlFlowData:K7,htmlText:q0(T7,W0),htmlTextData:K7,image:q0(E7),label:W0,link:q0(VT),listItem:q0(_T),listItemValue:R_,listOrdered:q0(kS,F_),listUnordered:q0(kS),paragraph:q0(LS),reference:U7,referenceString:W0,resourceDestinationString:W0,resourceTitleString:W0,setextHeading:q0(rS),strong:q0(hE),thematicBreak:q0(BD)},exit:{atxHeading:K0(),atxHeadingSequence:_x,autolink:K0(),autolinkEmail:R7,autolinkProtocol:bE,blockQuote:K0(),characterEscapeValue:g7,characterReferenceMarkerHexadecimal:wE,characterReferenceMarkerNumeric:wE,characterReferenceValue:xT,characterReference:mS,codeFenced:K0(qv),codeFencedFence:Oy,codeFencedFenceInfo:z_,codeFencedFenceMeta:H_,codeFlowValue:g7,codeIndented:K0(Lv),codeText:K0(gS),codeTextData:g7,data:g7,definition:K0(),definitionDestinationString:Yv,definitionLabelString:S1,definitionTitleString:iv,emphasis:K0(),hardBreakEscape:K0($7),hardBreakTrailing:K0($7),htmlFlow:K0(F7),htmlFlowData:g7,htmlText:K0(aE),htmlTextData:g7,image:K0(lT),label:pT,labelText:UT,lineEnding:iT,link:K0(eS),listItem:K0(),listOrdered:K0(),listUnordered:K0(),paragraph:K0(),referenceString:OS,resourceDestinationString:D7,resourceTitleString:WT,resource:A7,setextHeading:K0(jx),setextHeadingLineSequence:Fx,setextHeadingText:Qv,strong:K0(),thematicBreak:K0()}};configure(o,{}.mdastExtensions||[]);const F0={};return L0;function L0(wT){let dT={type:"root",children:[]};const RT={stack:[dT],tokenStack:[],config:o,enter:X0,exit:D_,buffer:W0,resume:I_,data:F0},KS=[];let sE=-1;for(;++sE<wT.length;)if(wT[sE][1].type==="listOrdered"||wT[sE][1].type==="listUnordered")if(wT[sE][0]==="enter")KS.push(sE);else{const B3=KS.pop();sE=B0(wT,B3,sE)}for(sE=-1;++sE<wT.length;){const B3=o[wT[sE][0]];own.call(B3,wT[sE][1].type)&&B3[wT[sE][1].type].call(Object.assign({sliceSerialize:wT[sE][2].sliceSerialize},RT),wT[sE][1])}if(RT.tokenStack.length>0){const B3=RT.tokenStack[RT.tokenStack.length-1];(B3[1]||defaultOnError).call(RT,void 0,B3[0])}for(dT.position={start:point$1(wT.length>0?wT[0][1].start:{line:1,column:1,offset:0}),end:point$1(wT.length>0?wT[wT.length-2][1].end:{line:1,column:1,offset:0})},sE=-1;++sE<o.transforms.length;)dT=o.transforms[sE](dT)||dT;return dT}function B0(wT,dT,RT){let KS=dT-1,sE=-1,B3=!1,yC,uE,_C,d3;for(;++KS<=RT;){const nA=wT[KS];switch(nA[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{nA[0]==="enter"?sE++:sE--,d3=void 0;break}case"lineEndingBlank":{nA[0]==="enter"&&(yC&&!d3&&!sE&&!_C&&(_C=KS),d3=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:d3=void 0}if(!sE&&nA[0]==="enter"&&nA[1].type==="listItemPrefix"||sE===-1&&nA[0]==="exit"&&(nA[1].type==="listUnordered"||nA[1].type==="listOrdered")){if(yC){let DE=KS;for(uE=void 0;DE--;){const iS=wT[DE];if(iS[1].type==="lineEnding"||iS[1].type==="lineEndingBlank"){if(iS[0]==="exit")continue;uE&&(wT[uE][1].type="lineEndingBlank",B3=!0),iS[1].type="lineEnding",uE=DE}else if(!(iS[1].type==="linePrefix"||iS[1].type==="blockQuotePrefix"||iS[1].type==="blockQuotePrefixWhitespace"||iS[1].type==="blockQuoteMarker"||iS[1].type==="listItemIndent"))break}_C&&(!uE||_C<uE)&&(yC._spread=!0),yC.end=Object.assign({},uE?wT[uE][1].start:nA[1].end),wT.splice(uE||KS,0,["exit",yC,nA[2]]),KS++,RT++}if(nA[1].type==="listItemPrefix"){const DE={type:"listItem",_spread:!1,start:Object.assign({},nA[1].start),end:void 0};yC=DE,wT.splice(KS,0,["enter",DE,nA[2]]),KS++,RT++,_C=void 0,d3=!0}}}return wT[dT][1]._spread=B3,RT}function q0(wT,dT){return RT;function RT(KS){X0.call(this,wT(KS),KS),dT&&dT.call(this,KS)}}function W0(){this.stack.push({type:"fragment",children:[]})}function X0(wT,dT,RT){this.stack[this.stack.length-1].children.push(wT),this.stack.push(wT),this.tokenStack.push([dT,RT||void 0]),wT.position={start:point$1(dT.start),end:void 0}}function K0(wT){return dT;function dT(RT){wT&&wT.call(this,RT),D_.call(this,RT)}}function D_(wT,dT){const RT=this.stack.pop(),KS=this.tokenStack.pop();if(KS)KS[0].type!==wT.type&&(dT?dT.call(this,wT,KS[0]):(KS[1]||defaultOnError).call(this,wT,KS[0]));else throw new Error("Cannot close `"+wT.type+"` ("+stringifyPosition({start:wT.start,end:wT.end})+"): it’s not open");RT.position.end=point$1(wT.end)}function I_(){return toString$2(this.stack.pop())}function F_(){this.data.expectingFirstListItemValue=!0}function R_(wT){if(this.data.expectingFirstListItemValue){const dT=this.stack[this.stack.length-2];dT.start=Number.parseInt(this.sliceSerialize(wT),10),this.data.expectingFirstListItemValue=void 0}}function z_(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.lang=wT}function H_(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.meta=wT}function Oy(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function qv(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.value=wT.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function Lv(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.value=wT.replace(/(\r?\n|\r)$/g,"")}function S1(wT){const dT=this.resume(),RT=this.stack[this.stack.length-1];RT.label=dT,RT.identifier=normalizeIdentifier(this.sliceSerialize(wT)).toLowerCase()}function iv(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.title=wT}function Yv(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.url=wT}function _x(wT){const dT=this.stack[this.stack.length-1];if(!dT.depth){const RT=this.sliceSerialize(wT).length;dT.depth=RT}}function Qv(){this.data.setextHeadingSlurpLineEnding=!0}function Fx(wT){const dT=this.stack[this.stack.length-1];dT.depth=this.sliceSerialize(wT).codePointAt(0)===61?1:2}function jx(){this.data.setextHeadingSlurpLineEnding=void 0}function K7(wT){const RT=this.stack[this.stack.length-1].children;let KS=RT[RT.length-1];(!KS||KS.type!=="text")&&(KS=yS(),KS.position={start:point$1(wT.start),end:void 0},RT.push(KS)),this.stack.push(KS)}function g7(wT){const dT=this.stack.pop();dT.value+=this.sliceSerialize(wT),dT.position.end=point$1(wT.end)}function iT(wT){const dT=this.stack[this.stack.length-1];if(this.data.atHardBreak){const RT=dT.children[dT.children.length-1];RT.position.end=point$1(wT.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&o.canContainEols.includes(dT.type)&&(K7.call(this,wT),g7.call(this,wT))}function $7(){this.data.atHardBreak=!0}function F7(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.value=wT}function aE(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.value=wT}function gS(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.value=wT}function eS(){const wT=this.stack[this.stack.length-1];if(this.data.inReference){const dT=this.data.referenceType||"shortcut";wT.type+="Reference",wT.referenceType=dT,delete wT.url,delete wT.title}else delete wT.identifier,delete wT.label;this.data.referenceType=void 0}function lT(){const wT=this.stack[this.stack.length-1];if(this.data.inReference){const dT=this.data.referenceType||"shortcut";wT.type+="Reference",wT.referenceType=dT,delete wT.url,delete wT.title}else delete wT.identifier,delete wT.label;this.data.referenceType=void 0}function UT(wT){const dT=this.sliceSerialize(wT),RT=this.stack[this.stack.length-2];RT.label=decodeString(dT),RT.identifier=normalizeIdentifier(dT).toLowerCase()}function pT(){const wT=this.stack[this.stack.length-1],dT=this.resume(),RT=this.stack[this.stack.length-1];if(this.data.inReference=!0,RT.type==="link"){const KS=wT.children;RT.children=KS}else RT.alt=dT}function D7(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.url=wT}function WT(){const wT=this.resume(),dT=this.stack[this.stack.length-1];dT.title=wT}function A7(){this.data.inReference=void 0}function U7(){this.data.referenceType="collapsed"}function OS(wT){const dT=this.resume(),RT=this.stack[this.stack.length-1];RT.label=dT,RT.identifier=normalizeIdentifier(this.sliceSerialize(wT)).toLowerCase(),this.data.referenceType="full"}function wE(wT){this.data.characterReferenceType=wT.type}function xT(wT){const dT=this.sliceSerialize(wT),RT=this.data.characterReferenceType;let KS;RT?(KS=decodeNumericCharacterReference(dT,RT==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):KS=decodeNamedCharacterReference(dT);const sE=this.stack[this.stack.length-1];sE.value+=KS}function mS(wT){const dT=this.stack.pop();dT.position.end=point$1(wT.end)}function bE(wT){g7.call(this,wT);const dT=this.stack[this.stack.length-1];dT.url=this.sliceSerialize(wT)}function R7(wT){g7.call(this,wT);const dT=this.stack[this.stack.length-1];dT.url="mailto:"+this.sliceSerialize(wT)}function W3(){return{type:"blockquote",children:[]}}function bT(){return{type:"code",lang:null,meta:null,value:""}}function Z7(){return{type:"inlineCode",value:""}}function JS(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function XE(){return{type:"emphasis",children:[]}}function rS(){return{type:"heading",depth:0,children:[]}}function OT(){return{type:"break"}}function T7(){return{type:"html",value:""}}function E7(){return{type:"image",title:null,url:"",alt:null}}function VT(){return{type:"link",title:null,url:"",children:[]}}function kS(wT){return{type:"list",ordered:wT.type==="listOrdered",start:null,spread:wT._spread,children:[]}}function _T(wT){return{type:"listItem",spread:wT._spread,checked:null,children:[]}}function LS(){return{type:"paragraph",children:[]}}function hE(){return{type:"strong",children:[]}}function yS(){return{type:"text",value:""}}function BD(){return{type:"thematicBreak"}}}function point$1(s){return{line:s.line,column:s.column,offset:s.offset}}function configure(s,o){let F0=-1;for(;++F0<o.length;){const L0=o[F0];Array.isArray(L0)?configure(s,L0):extension(s,L0)}}function extension(s,o){let F0;for(F0 in o)if(own.call(o,F0))switch(F0){case"canContainEols":{const L0=o[F0];L0&&s[F0].push(...L0);break}case"transforms":{const L0=o[F0];L0&&s[F0].push(...L0);break}case"enter":case"exit":{const L0=o[F0];L0&&Object.assign(s[F0],L0);break}}}function defaultOnError(s,o){throw s?new Error("Cannot close `"+s.type+"` ("+stringifyPosition({start:s.start,end:s.end})+"): a different token (`"+o.type+"`, "+stringifyPosition({start:o.start,end:o.end})+") is open"):new Error("Cannot close document, a token (`"+o.type+"`, "+stringifyPosition({start:o.start,end:o.end})+") is still open")}const TABLE="2@^5!~#sdE!_TABLE",parserSynonyms=s=>{switch(s){case"js":case"javascript":case"jsx":return["babel","babel-flow","vue"];case"ts":case"typescript":case"tsx":return["typescript","babel-ts","angular"];case"json":case"css":return["css"];case"less":return["less"];case"scss":return["scss"];case"html":return["html"];case"yaml":return["yaml"];default:return["babel"]}};function descriptionEndLine({tag:s,isEndTag:o}){return[DESCRIPTION,EXAMPLE,TODO].includes(s)&&!o?`
4949
4949
  `:""}async function formatDescription(s,o,F0,L0){if(!o)return o;const{printWidth:B0}=F0,{tagStringLength:q0=0,beginningSpace:W0}=L0,X0=o;o=o.replace(/^(\d+)[-][\s|]+/g,"$1. "),o=o.replace(/\n+(\s*\d+)[-][\s]+/g,`
@@ -5072,10 +5072,10 @@ Expecting one of '${L0.join("', '")}'`);const B0=`${o}Help`;return this.on(B0,q0
5072
5072
  `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function q0(D_){const I_=D_[0]==="u",F_=D_[1]==="{";return I_&&!F_&&D_.length===5||D_[0]==="x"&&D_.length===3?String.fromCharCode(parseInt(D_.slice(1),16)):I_&&F_?String.fromCodePoint(parseInt(D_.slice(2,-1),16)):B0.get(D_)||D_}function W0(D_,I_){const F_=[],R_=I_.trim().split(/\s*,\s*/g);let z_;for(const H_ of R_){const Oy=Number(H_);if(!Number.isNaN(Oy))F_.push(Oy);else if(z_=H_.match(F0))F_.push(z_[2].replace(L0,(qv,Lv,S1)=>Lv?q0(Lv):S1));else throw new Error(`Invalid Chalk template style argument: ${H_} (in style '${D_}')`)}return F_}function X0(D_){o.lastIndex=0;const I_=[];let F_;for(;(F_=o.exec(D_))!==null;){const R_=F_[1];if(F_[2]){const z_=W0(R_,F_[2]);I_.push([R_].concat(z_))}else I_.push([R_])}return I_}function K0(D_,I_){const F_={};for(const z_ of I_)for(const H_ of z_.styles)F_[H_[0]]=z_.inverse?null:H_.slice(1);let R_=D_;for(const[z_,H_]of Object.entries(F_))if(Array.isArray(H_)){if(!(z_ in R_))throw new Error(`Unknown Chalk style: ${z_}`);R_=H_.length>0?R_[z_](...H_):R_[z_]}return R_}return templates=(D_,I_)=>{const F_=[],R_=[];let z_=[];if(I_.replace(s,(H_,Oy,qv,Lv,S1,iv)=>{if(Oy)z_.push(q0(Oy));else if(Lv){const Yv=z_.join("");z_=[],R_.push(F_.length===0?Yv:K0(D_,F_)(Yv)),F_.push({inverse:qv,styles:X0(Lv)})}else if(S1){if(F_.length===0)throw new Error("Found extraneous } in Chalk template literal");R_.push(K0(D_,F_)(z_.join(""))),z_=[],F_.pop()}else z_.push(iv)}),R_.push(z_.join("")),F_.length>0){const H_=`Chalk template literal is missing ${F_.length} closing bracket${F_.length===1?"":"s"} (\`}\`)`;throw new Error(H_)}return R_.join("")},templates}const ansiStyles=ansiStylesExports,{stdout:stdoutColor,stderr:stderrColor}=browser$2,{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=util,{isArray:isArray$7}=Array,levelMapping=["ansi","ansi","ansi256","ansi16m"],styles=Object.create(null),applyOptions=(s,o={})=>{if(o.level&&!(Number.isInteger(o.level)&&o.level>=0&&o.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const F0=stdoutColor?stdoutColor.level:0;s.level=o.level===void 0?F0:o.level};class ChalkClass{constructor(o){return chalkFactory(o)}}const chalkFactory=s=>{const o={};return applyOptions(o,s),o.template=(...F0)=>chalkTag(o.template,...F0),Object.setPrototypeOf(o,Chalk.prototype),Object.setPrototypeOf(o.template,o),o.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},o.template.Instance=ChalkClass,o.template};function Chalk(s){return chalkFactory(s)}for(const[s,o]of Object.entries(ansiStyles))styles[s]={get(){const F0=createBuilder(this,createStyler(o.open,o.close,this._styler),this._isEmpty);return Object.defineProperty(this,s,{value:F0}),F0}};styles.visible={get(){const s=createBuilder(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:s}),s}};const usedModels=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const s of usedModels)styles[s]={get(){const{level:o}=this;return function(...F0){const L0=createStyler(ansiStyles.color[levelMapping[o]][s](...F0),ansiStyles.color.close,this._styler);return createBuilder(this,L0,this._isEmpty)}}};for(const s of usedModels){const o="bg"+s[0].toUpperCase()+s.slice(1);styles[o]={get(){const{level:F0}=this;return function(...L0){const B0=createStyler(ansiStyles.bgColor[levelMapping[F0]][s](...L0),ansiStyles.bgColor.close,this._styler);return createBuilder(this,B0,this._isEmpty)}}}}const proto=Object.defineProperties(()=>{},{...styles,level:{enumerable:!0,get(){return this._generator.level},set(s){this._generator.level=s}}}),createStyler=(s,o,F0)=>{let L0,B0;return F0===void 0?(L0=s,B0=o):(L0=F0.openAll+s,B0=o+F0.closeAll),{open:s,close:o,openAll:L0,closeAll:B0,parent:F0}},createBuilder=(s,o,F0)=>{const L0=(...B0)=>isArray$7(B0[0])&&isArray$7(B0[0].raw)?applyStyle(L0,chalkTag(L0,...B0)):applyStyle(L0,B0.length===1?""+B0[0]:B0.join(" "));return Object.setPrototypeOf(L0,proto),L0._generator=s,L0._styler=o,L0._isEmpty=F0,L0},applyStyle=(s,o)=>{if(s.level<=0||!o)return s._isEmpty?"":o;let F0=s._styler;if(F0===void 0)return o;const{openAll:L0,closeAll:B0}=F0;if(o.indexOf("\x1B")!==-1)for(;F0!==void 0;)o=stringReplaceAll(o,F0.close,F0.open),F0=F0.parent;const q0=o.indexOf(`
5073
5073
  `);return q0!==-1&&(o=stringEncaseCRLFWithFirstIndex(o,B0,L0,q0)),L0+o+B0};let template;const chalkTag=(s,...o)=>{const[F0]=o;if(!isArray$7(F0)||!isArray$7(F0.raw))return o.join(" ");const L0=o.slice(1),B0=[F0.raw[0]];for(let q0=1;q0<F0.length;q0++)B0.push(String(L0[q0-1]).replace(/[{}\\]/g,"\\$&"),String(F0.raw[q0]));return template===void 0&&(template=requireTemplates()),template(s,B0.join(""))};Object.defineProperties(Chalk.prototype,styles);const chalk$1=Chalk();chalk$1.supportsColor=stdoutColor;chalk$1.stderr=Chalk({level:stderrColor?stderrColor.level:0});chalk$1.stderr.supportsColor=stderrColor;var source=chalk$1,figures$2={exports:{}},matchOperatorsRe=/[|\\{}()[\]^$+*?.]/g,escapeStringRegexp$1=function(s){if(typeof s!="string")throw new TypeError("Expected a string");return s.replace(matchOperatorsRe,"\\$&")};const escapeStringRegexp=escapeStringRegexp$1,{platform}=process,main$1={tick:"✔",cross:"✖",star:"★",square:"▇",squareSmall:"◻",squareSmallFilled:"◼",play:"▶",circle:"◯",circleFilled:"◉",circleDotted:"◌",circleDouble:"◎",circleCircle:"ⓞ",circleCross:"ⓧ",circlePipe:"Ⓘ",circleQuestionMark:"?⃝",bullet:"●",dot:"․",line:"─",ellipsis:"…",pointer:"❯",pointerSmall:"›",info:"ℹ",warning:"⚠",hamburger:"☰",smiley:"㋡",mustache:"෴",heart:"♥",nodejs:"⬢",arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",radioOn:"◉",radioOff:"◯",checkboxOn:"☒",checkboxOff:"☐",checkboxCircleOn:"ⓧ",checkboxCircleOff:"Ⓘ",questionMarkPrefix:"?⃝",oneHalf:"½",oneThird:"⅓",oneQuarter:"¼",oneFifth:"⅕",oneSixth:"⅙",oneSeventh:"⅐",oneEighth:"⅛",oneNinth:"⅑",oneTenth:"⅒",twoThirds:"⅔",twoFifths:"⅖",threeQuarters:"¾",threeFifths:"⅗",threeEighths:"⅜",fourFifths:"⅘",fiveSixths:"⅚",fiveEighths:"⅝",sevenEighths:"⅞"},windows={tick:"√",cross:"×",star:"*",square:"█",squareSmall:"[ ]",squareSmallFilled:"[█]",play:"►",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(○)",circleCross:"(×)",circlePipe:"(│)",circleQuestionMark:"(?)",bullet:"*",dot:".",line:"─",ellipsis:"...",pointer:">",pointerSmall:"»",info:"i",warning:"‼",hamburger:"≡",smiley:"☺",mustache:"┌─┐",heart:main$1.heart,nodejs:"♦",arrowUp:main$1.arrowUp,arrowDown:main$1.arrowDown,arrowLeft:main$1.arrowLeft,arrowRight:main$1.arrowRight,radioOn:"(*)",radioOff:"( )",checkboxOn:"[×]",checkboxOff:"[ ]",checkboxCircleOn:"(×)",checkboxCircleOff:"( )",questionMarkPrefix:"?",oneHalf:"1/2",oneThird:"1/3",oneQuarter:"1/4",oneFifth:"1/5",oneSixth:"1/6",oneSeventh:"1/7",oneEighth:"1/8",oneNinth:"1/9",oneTenth:"1/10",twoThirds:"2/3",twoFifths:"2/5",threeQuarters:"3/4",threeFifths:"3/5",threeEighths:"3/8",fourFifths:"4/5",fiveSixths:"5/6",fiveEighths:"5/8",sevenEighths:"7/8"};platform==="linux"&&(main$1.questionMarkPrefix="?");const figures$1=platform==="win32"?windows:main$1,fn$1=s=>{if(figures$1===main$1)return s;for(const[o,F0]of Object.entries(main$1))F0!==figures$1[o]&&(s=s.replace(new RegExp(escapeStringRegexp(F0),"g"),figures$1[o]));return s};figures$2.exports=Object.assign(fn$1,figures$1);figures$2.exports.main=main$1;figures$2.exports.windows=windows;var figuresExports=figures$2.exports;const chalk=source,figures=figuresExports;class Separator{constructor(o){this.type="separator",this.line=chalk.dim(o||new Array(15).join(figures.line))}toString(){return this.line}}Separator.exclude=function(s){return s.type!=="separator"};var separator=Separator,through$1={exports:{}};(function(s,o){var F0=require$$2$2;s.exports=L0,L0.through=L0;function L0(B0,q0,W0){B0=B0||function(H_){this.queue(H_)},q0=q0||function(){this.queue(null)};var X0=!1,K0=!1,D_=[],I_=!1,F_=new F0;F_.readable=F_.writable=!0,F_.paused=!1,F_.autoDestroy=!(W0&&W0.autoDestroy===!1),F_.write=function(H_){return B0.call(this,H_),!F_.paused};function R_(){for(;D_.length&&!F_.paused;){var H_=D_.shift();if(H_===null)return F_.emit("end");F_.emit("data",H_)}}F_.queue=F_.push=function(H_){return I_||(H_===null&&(I_=!0),D_.push(H_),R_()),F_},F_.on("end",function(){F_.readable=!1,!F_.writable&&F_.autoDestroy&&process.nextTick(function(){F_.destroy()})});function z_(){F_.writable=!1,q0.call(F_),!F_.readable&&F_.autoDestroy&&F_.destroy()}return F_.end=function(H_){if(!X0)return X0=!0,arguments.length&&F_.write(H_),z_(),F_},F_.destroy=function(){if(!K0)return K0=!0,X0=!0,D_.length=0,F_.writable=F_.readable=!1,F_.emit("close"),F_},F_.pause=function(){if(!F_.paused)return F_.paused=!0,F_},F_.resume=function(){return F_.paused&&(F_.paused=!1,F_.emit("resume")),R_(),F_.paused||F_.emit("drain"),F_},F_}})(through$1);var throughExports=through$1.exports,Stream=require$$2$2,mute=MuteStream$1;function MuteStream$1(s){Stream.apply(this),s=s||{},this.writable=this.readable=!0,this.muted=!1,this.on("pipe",this._onpipe),this.replace=s.replace,this._prompt=s.prompt||null,this._hadControl=!1}MuteStream$1.prototype=Object.create(Stream.prototype);Object.defineProperty(MuteStream$1.prototype,"constructor",{value:MuteStream$1,enumerable:!1});MuteStream$1.prototype.mute=function(){this.muted=!0};MuteStream$1.prototype.unmute=function(){this.muted=!1};Object.defineProperty(MuteStream$1.prototype,"_onpipe",{value:onPipe,enumerable:!1,writable:!0,configurable:!0});function onPipe(s){this._src=s}Object.defineProperty(MuteStream$1.prototype,"isTTY",{get:getIsTTY,set:setIsTTY,enumerable:!0,configurable:!0});function getIsTTY(){return this._dest?this._dest.isTTY:this._src?this._src.isTTY:!1}function setIsTTY(s){Object.defineProperty(this,"isTTY",{value:s,enumerable:!0,writable:!0,configurable:!0})}Object.defineProperty(MuteStream$1.prototype,"rows",{get:function(){return this._dest?this._dest.rows:this._src?this._src.rows:void 0},enumerable:!0,configurable:!0});Object.defineProperty(MuteStream$1.prototype,"columns",{get:function(){return this._dest?this._dest.columns:this._src?this._src.columns:void 0},enumerable:!0,configurable:!0});MuteStream$1.prototype.pipe=function(s,o){return this._dest=s,Stream.prototype.pipe.call(this,s,o)};MuteStream$1.prototype.pause=function(){if(this._src)return this._src.pause()};MuteStream$1.prototype.resume=function(){if(this._src)return this._src.resume()};MuteStream$1.prototype.write=function(s){if(this.muted){if(!this.replace)return!0;if(s.match(/^\u001b/))return s.indexOf(this._prompt)===0&&(s=s.substr(this._prompt.length),s=s.replace(/./g,this.replace),s=this._prompt+s),this._hadControl=!0,this.emit("data",s);this._prompt&&this._hadControl&&s.indexOf(this._prompt)===0&&(this._hadControl=!1,this.emit("data",this._prompt),s=s.substr(this._prompt.length)),s=s.toString().replace(/./g,this.replace)}this.emit("data",s)};MuteStream$1.prototype.end=function(s){this.muted&&(s&&this.replace?s=s.toString().replace(/./g,this.replace):s=null),s&&this.emit("data",s),this.emit("end")};function proxy(s){return function(){var o=this._dest,F0=this._src;o&&o[s]&&o[s].apply(o,arguments),F0&&F0[s]&&F0[s].apply(F0,arguments)}}MuteStream$1.prototype.destroy=proxy("destroy");MuteStream$1.prototype.destroySoon=proxy("destroySoon");MuteStream$1.prototype.close=proxy("close");const MuteStream=mute,readline$1=require$$2$2;class UI{constructor(o){this.rl||(this.rl=readline$1.createInterface(setupReadlineOptions(o))),this.rl.resume(),this.onForceClose=this.onForceClose.bind(this),process.on("exit",this.onForceClose),this.rl.on("SIGINT",this.onForceClose)}onForceClose(){this.close(),process.kill(process.pid,"SIGINT"),console.log("")}close(){this.rl.removeListener("SIGINT",this.onForceClose),process.removeListener("exit",this.onForceClose),this.rl.output.unmute(),this.activePrompt&&typeof this.activePrompt.close=="function"&&this.activePrompt.close(),this.rl.output.end(),this.rl.pause(),this.rl.close()}}function setupReadlineOptions(s={}){s.skipTTYChecks=s.skipTTYChecks===void 0?!0:s.skipTTYChecks;const o=s.input||process.stdin;if(!s.skipTTYChecks&&!o.isTTY){const B0=new Error("Prompts can not be meaningfully rendered in non-TTY environments");throw B0.isTtyError=!0,B0}const F0=new MuteStream;return F0.pipe(s.output||process.stdout),{terminal:!0,...s,input:o,output:F0}}var baseUI=UI,readline={},ansiEscapes$1={exports:{}};(function(s){var o={};const F0=s.exports;s.exports.default=F0;const L0="\x1B[",B0="\x1B]",q0="\x07",W0=";",X0=o.TERM_PROGRAM==="Apple_Terminal";F0.cursorTo=(K0,D_)=>{if(typeof K0!="number")throw new TypeError("The `x` argument is required");return typeof D_!="number"?L0+(K0+1)+"G":L0+(D_+1)+";"+(K0+1)+"H"},F0.cursorMove=(K0,D_)=>{if(typeof K0!="number")throw new TypeError("The `x` argument is required");let I_="";return K0<0?I_+=L0+-K0+"D":K0>0&&(I_+=L0+K0+"C"),D_<0?I_+=L0+-D_+"A":D_>0&&(I_+=L0+D_+"B"),I_},F0.cursorUp=(K0=1)=>L0+K0+"A",F0.cursorDown=(K0=1)=>L0+K0+"B",F0.cursorForward=(K0=1)=>L0+K0+"C",F0.cursorBackward=(K0=1)=>L0+K0+"D",F0.cursorLeft=L0+"G",F0.cursorSavePosition=X0?"\x1B7":L0+"s",F0.cursorRestorePosition=X0?"\x1B8":L0+"u",F0.cursorGetPosition=L0+"6n",F0.cursorNextLine=L0+"E",F0.cursorPrevLine=L0+"F",F0.cursorHide=L0+"?25l",F0.cursorShow=L0+"?25h",F0.eraseLines=K0=>{let D_="";for(let I_=0;I_<K0;I_++)D_+=F0.eraseLine+(I_<K0-1?F0.cursorUp():"");return K0&&(D_+=F0.cursorLeft),D_},F0.eraseEndLine=L0+"K",F0.eraseStartLine=L0+"1K",F0.eraseLine=L0+"2K",F0.eraseDown=L0+"J",F0.eraseUp=L0+"1J",F0.eraseScreen=L0+"2J",F0.scrollUp=L0+"S",F0.scrollDown=L0+"T",F0.clearScreen="\x1Bc",F0.clearTerminal=process.platform==="win32"?`${F0.eraseScreen}${L0}0f`:`${F0.eraseScreen}${L0}3J${L0}H`,F0.beep=q0,F0.link=(K0,D_)=>[B0,"8",W0,W0,D_,q0,K0,B0,"8",W0,W0,q0].join(""),F0.image=(K0,D_={})=>{let I_=`${B0}1337;File=inline=1`;return D_.width&&(I_+=`;width=${D_.width}`),D_.height&&(I_+=`;height=${D_.height}`),D_.preserveAspectRatio===!1&&(I_+=";preserveAspectRatio=0"),I_+":"+K0.toString("base64")+q0},F0.iTerm={setCwd:(K0=process.cwd())=>`${B0}50;CurrentDir=${K0}${q0}`,annotation:(K0,D_={})=>{let I_=`${B0}1337;`;const F_=typeof D_.x<"u",R_=typeof D_.y<"u";if((F_||R_)&&!(F_&&R_&&typeof D_.length<"u"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return K0=K0.replace(/\|/g,""),I_+=D_.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",D_.length>0?I_+=(F_?[K0,D_.length,D_.x,D_.y]:[D_.length,K0]).join("|"):I_+=K0,I_+q0}}})(ansiEscapes$1);var ansiEscapesExports=ansiEscapes$1.exports;const ansiEscapes=ansiEscapesExports;readline.left=function(s,o){s.output.write(ansiEscapes.cursorBackward(o))};readline.right=function(s,o){s.output.write(ansiEscapes.cursorForward(o))};readline.up=function(s,o){s.output.write(ansiEscapes.cursorUp(o))};readline.down=function(s,o){s.output.write(ansiEscapes.cursorDown(o))};readline.clearLine=function(s,o){s.output.write(ansiEscapes.eraseLines(o))};const through=throughExports,Base$1=baseUI,rlUtils=readline;class BottomBar extends Base$1{constructor(o={}){super(o),this.log=through(this.writeLog.bind(this)),this.bottomBar=o.bottomBar||"",this.render()}render(){return this.write(this.bottomBar),this}clean(){return rlUtils.clearLine(this.rl,this.bottomBar.split(`
5074
5074
  `).length),this}updateBottomBar(o){return rlUtils.clearLine(this.rl,1),this.rl.output.unmute(),this.clean(),this.bottomBar=o,this.render(),this.rl.output.mute(),this}writeLog(o){return this.rl.output.unmute(),this.clean(),this.rl.output.write(this.enforceLF(o.toString())),this.render(),this.rl.output.mute(),this}enforceLF(o){return o.match(/[\r\n]$/)?o:o+`
5075
- `}write(o){const F0=o.split(/\n/);this.height=F0.length,this.rl.setPrompt(F0[F0.length-1]),this.rl.output.rows===0&&this.rl.output.columns===0&&rlUtils.left(this.rl,o.length+this.rl.line.length),this.rl.output.write(o)}}var bottomBar=BottomBar,freeGlobal$1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$2=freeGlobal||freeSelf||Function("return this")(),_root=root$2,root$1=_root,Symbol$4=root$1.Symbol,_Symbol=Symbol$4,Symbol$3=_Symbol,objectProto$7=Object.prototype,hasOwnProperty$6=objectProto$7.hasOwnProperty,nativeObjectToString$1=objectProto$7.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag$1(s){var o=hasOwnProperty$6.call(s,symToStringTag$1),F0=s[symToStringTag$1];try{s[symToStringTag$1]=void 0;var L0=!0}catch{}var B0=nativeObjectToString$1.call(s);return L0&&(o?s[symToStringTag$1]=F0:delete s[symToStringTag$1]),B0}var _getRawTag=getRawTag$1,objectProto$6=Object.prototype,nativeObjectToString=objectProto$6.toString;function objectToString$1(s){return nativeObjectToString.call(s)}var _objectToString=objectToString$1,Symbol$2=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag$2(s){return s==null?s===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(s)?getRawTag(s):objectToString(s)}var _baseGetTag=baseGetTag$2;function overArg$1(s,o){return function(F0){return s(o(F0))}}var _overArg=overArg$1,overArg=_overArg,getPrototype$1=overArg(Object.getPrototypeOf,Object),_getPrototype=getPrototype$1;function isObjectLike$2(s){return s!=null&&typeof s=="object"}var isObjectLike_1=isObjectLike$2,baseGetTag$1=_baseGetTag,getPrototype=_getPrototype,isObjectLike$1=isObjectLike_1,objectTag="[object Object]",funcProto$1=Function.prototype,objectProto$5=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$5=objectProto$5.hasOwnProperty,objectCtorString=funcToString$1.call(Object);function isPlainObject(s){if(!isObjectLike$1(s)||baseGetTag$1(s)!=objectTag)return!1;var o=getPrototype(s);if(o===null)return!0;var F0=hasOwnProperty$5.call(o,"constructor")&&o.constructor;return typeof F0=="function"&&F0 instanceof F0&&funcToString$1.call(F0)==objectCtorString}var isPlainObject_1=isPlainObject,isArray$6=Array.isArray,isArray_1=isArray$6,baseGetTag=_baseGetTag,isObjectLike=isObjectLike_1,symbolTag="[object Symbol]";function isSymbol$3(s){return typeof s=="symbol"||isObjectLike(s)&&baseGetTag(s)==symbolTag}var isSymbol_1=isSymbol$3,isArray$5=isArray_1,isSymbol$2=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$1(s,o){if(isArray$5(s))return!1;var F0=typeof s;return F0=="number"||F0=="symbol"||F0=="boolean"||s==null||isSymbol$2(s)?!0:reIsPlainProp.test(s)||!reIsDeepProp.test(s)||o!=null&&s in Object(o)}var _isKey=isKey$1;function isObject$2(s){var o=typeof s;return s!=null&&(o=="object"||o=="function")}var isObject_1=isObject$2,isFunction_1$q,hasRequiredIsFunction;function requireIsFunction(){if(hasRequiredIsFunction)return isFunction_1$q;hasRequiredIsFunction=1;var s=_baseGetTag,o=isObject_1,F0="[object AsyncFunction]",L0="[object Function]",B0="[object GeneratorFunction]",q0="[object Proxy]";function W0(X0){if(!o(X0))return!1;var K0=s(X0);return K0==L0||K0==B0||K0==F0||K0==q0}return isFunction_1$q=W0,isFunction_1$q}var root=_root,coreJsData$1=root["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var s=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}();function isMasked$1(s){return!!maskSrcKey&&maskSrcKey in s}var _isMasked=isMasked$1,_toSource,hasRequired_toSource;function require_toSource(){if(hasRequired_toSource)return _toSource;hasRequired_toSource=1;var s=Function.prototype,o=s.toString;function F0(L0){if(L0!=null){try{return o.call(L0)}catch{}try{return L0+""}catch{}}return""}return _toSource=F0,_toSource}var isFunction$2=requireIsFunction(),isMasked=_isMasked,isObject$1=isObject_1,toSource=require_toSource(),reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$4).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(s){if(!isObject$1(s)||isMasked(s))return!1;var o=isFunction$2(s)?reIsNative:reIsHostCtor;return o.test(toSource(s))}var _baseIsNative=baseIsNative$1;function getValue$1(s,o){return s==null?void 0:s[o]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$2(s,o){var F0=getValue(s,o);return baseIsNative(F0)?F0:void 0}var _getNative=getNative$2,getNative$1=_getNative,nativeCreate$4=getNative$1(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(s){var o=this.has(s)&&delete this.__data__[s];return this.size-=o?1:0,o}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__",objectProto$3=Object.prototype,hasOwnProperty$3=objectProto$3.hasOwnProperty;function hashGet$1(s){var o=this.__data__;if(nativeCreate$2){var F0=o[s];return F0===HASH_UNDEFINED$1?void 0:F0}return hasOwnProperty$3.call(o,s)?o[s]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$2=Object.prototype,hasOwnProperty$2=objectProto$2.hasOwnProperty;function hashHas$1(s){var o=this.__data__;return nativeCreate$1?o[s]!==void 0:hasOwnProperty$2.call(o,s)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED="__lodash_hash_undefined__";function hashSet$1(s,o){var F0=this.__data__;return this.size+=this.has(s)?0:1,F0[s]=nativeCreate&&o===void 0?HASH_UNDEFINED:o,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(s){var o=-1,F0=s==null?0:s.length;for(this.clear();++o<F0;){var L0=s[o];this.set(L0[0],L0[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1,_listCacheClear,hasRequired_listCacheClear;function require_listCacheClear(){if(hasRequired_listCacheClear)return _listCacheClear;hasRequired_listCacheClear=1;function s(){this.__data__=[],this.size=0}return _listCacheClear=s,_listCacheClear}function eq$1(s,o){return s===o||s!==s&&o!==o}var eq_1=eq$1,_assocIndexOf,hasRequired_assocIndexOf;function require_assocIndexOf(){if(hasRequired_assocIndexOf)return _assocIndexOf;hasRequired_assocIndexOf=1;var s=eq_1;function o(F0,L0){for(var B0=F0.length;B0--;)if(s(F0[B0][0],L0))return B0;return-1}return _assocIndexOf=o,_assocIndexOf}var _listCacheDelete,hasRequired_listCacheDelete;function require_listCacheDelete(){if(hasRequired_listCacheDelete)return _listCacheDelete;hasRequired_listCacheDelete=1;var s=require_assocIndexOf(),o=Array.prototype,F0=o.splice;function L0(B0){var q0=this.__data__,W0=s(q0,B0);if(W0<0)return!1;var X0=q0.length-1;return W0==X0?q0.pop():F0.call(q0,W0,1),--this.size,!0}return _listCacheDelete=L0,_listCacheDelete}var _listCacheGet,hasRequired_listCacheGet;function require_listCacheGet(){if(hasRequired_listCacheGet)return _listCacheGet;hasRequired_listCacheGet=1;var s=require_assocIndexOf();function o(F0){var L0=this.__data__,B0=s(L0,F0);return B0<0?void 0:L0[B0][1]}return _listCacheGet=o,_listCacheGet}var _listCacheHas,hasRequired_listCacheHas;function require_listCacheHas(){if(hasRequired_listCacheHas)return _listCacheHas;hasRequired_listCacheHas=1;var s=require_assocIndexOf();function o(F0){return s(this.__data__,F0)>-1}return _listCacheHas=o,_listCacheHas}var _listCacheSet,hasRequired_listCacheSet;function require_listCacheSet(){if(hasRequired_listCacheSet)return _listCacheSet;hasRequired_listCacheSet=1;var s=require_assocIndexOf();function o(F0,L0){var B0=this.__data__,q0=s(B0,F0);return q0<0?(++this.size,B0.push([F0,L0])):B0[q0][1]=L0,this}return _listCacheSet=o,_listCacheSet}var _ListCache,hasRequired_ListCache;function require_ListCache(){if(hasRequired_ListCache)return _ListCache;hasRequired_ListCache=1;var s=require_listCacheClear(),o=require_listCacheDelete(),F0=require_listCacheGet(),L0=require_listCacheHas(),B0=require_listCacheSet();function q0(W0){var X0=-1,K0=W0==null?0:W0.length;for(this.clear();++X0<K0;){var D_=W0[X0];this.set(D_[0],D_[1])}}return q0.prototype.clear=s,q0.prototype.delete=o,q0.prototype.get=F0,q0.prototype.has=L0,q0.prototype.set=B0,_ListCache=q0,_ListCache}var _Map,hasRequired_Map;function require_Map(){if(hasRequired_Map)return _Map;hasRequired_Map=1;var s=_getNative,o=_root,F0=s(o,"Map");return _Map=F0,_Map}var Hash=_Hash,ListCache=require_ListCache(),Map$1=require_Map();function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$1||ListCache),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(s){var o=typeof s;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?s!=="__proto__":s===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(s,o){var F0=s.__data__;return isKeyable(o)?F0[typeof o=="string"?"string":"hash"]:F0.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(s){var o=getMapData$3(this,s).delete(s);return this.size-=o?1:0,o}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(s){return getMapData$2(this,s).get(s)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(s){return getMapData$1(this,s).has(s)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(s,o){var F0=getMapData(this,s),L0=F0.size;return F0.set(s,o),this.size+=F0.size==L0?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;function MapCache$1(s){var o=-1,F0=s==null?0:s.length;for(this.clear();++o<F0;){var L0=s[o];this.set(L0[0],L0[1])}}MapCache$1.prototype.clear=mapCacheClear;MapCache$1.prototype.delete=mapCacheDelete;MapCache$1.prototype.get=mapCacheGet;MapCache$1.prototype.has=mapCacheHas;MapCache$1.prototype.set=mapCacheSet;var _MapCache=MapCache$1,MapCache=_MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize$1(s,o){if(typeof s!="function"||o!=null&&typeof o!="function")throw new TypeError(FUNC_ERROR_TEXT);var F0=function(){var L0=arguments,B0=o?o.apply(this,L0):L0[0],q0=F0.cache;if(q0.has(B0))return q0.get(B0);var W0=s.apply(this,L0);return F0.cache=q0.set(B0,W0)||q0,W0};return F0.cache=new(memoize$1.Cache||MapCache),F0}memoize$1.Cache=MapCache;var memoize_1=memoize$1,memoize=memoize_1,MAX_MEMOIZE_SIZE=500;function memoizeCapped$1(s){var o=memoize(s,function(L0){return F0.size===MAX_MEMOIZE_SIZE&&F0.clear(),L0}),F0=o.cache;return o}var _memoizeCapped=memoizeCapped$1,memoizeCapped=_memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(rePropName,function(F0,L0,B0,q0){o.push(B0?q0.replace(reEscapeChar,"$1"):L0||F0)}),o}),_stringToPath=stringToPath$1,_arrayMap,hasRequired_arrayMap;function require_arrayMap(){if(hasRequired_arrayMap)return _arrayMap;hasRequired_arrayMap=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length,q0=Array(B0);++L0<B0;)q0[L0]=F0(o[L0],L0,o);return q0}return _arrayMap=s,_arrayMap}var Symbol$1=_Symbol,arrayMap=require_arrayMap(),isArray$4=isArray_1,isSymbol$1=isSymbol_1,symbolProto=Symbol$1?Symbol$1.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString$1(s){if(typeof s=="string")return s;if(isArray$4(s))return arrayMap(s,baseToString$1)+"";if(isSymbol$1(s))return symbolToString?symbolToString.call(s):"";var o=s+"";return o=="0"&&1/s==-1/0?"-0":o}var _baseToString=baseToString$1,baseToString=_baseToString;function toString$1(s){return s==null?"":baseToString(s)}var toString_1=toString$1,isArray$3=isArray_1,isKey=_isKey,stringToPath=_stringToPath,toString=toString_1;function castPath$2(s,o){return isArray$3(s)?s:isKey(s,o)?[s]:stringToPath(toString(s))}var _castPath=castPath$2,isSymbol=isSymbol_1;function toKey$2(s){if(typeof s=="string"||isSymbol(s))return s;var o=s+"";return o=="0"&&1/s==-1/0?"-0":o}var _toKey=toKey$2,castPath$1=_castPath,toKey$1=_toKey;function baseGet$1(s,o){o=castPath$1(o,s);for(var F0=0,L0=o.length;s!=null&&F0<L0;)s=s[toKey$1(o[F0++])];return F0&&F0==L0?s:void 0}var _baseGet=baseGet$1,baseGet=_baseGet;function get(s,o,F0){var L0=s==null?void 0:baseGet(s,o);return L0===void 0?F0:L0}var get_1=get,getNative=_getNative,defineProperty$1=function(){try{var s=getNative(Object,"defineProperty");return s({},"",{}),s}catch{}}(),_defineProperty=defineProperty$1,defineProperty=_defineProperty;function baseAssignValue$1(s,o,F0){o=="__proto__"&&defineProperty?defineProperty(s,o,{configurable:!0,enumerable:!0,value:F0,writable:!0}):s[o]=F0}var _baseAssignValue=baseAssignValue$1,baseAssignValue=_baseAssignValue,eq=eq_1,objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function assignValue$1(s,o,F0){var L0=s[o];(!(hasOwnProperty$1.call(s,o)&&eq(L0,F0))||F0===void 0&&!(o in s))&&baseAssignValue(s,o,F0)}var _assignValue=assignValue$1,MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$1(s,o){var F0=typeof s;return o=o??MAX_SAFE_INTEGER,!!o&&(F0=="number"||F0!="symbol"&&reIsUint.test(s))&&s>-1&&s%1==0&&s<o}var _isIndex=isIndex$1,assignValue=_assignValue,castPath=_castPath,isIndex=_isIndex,isObject=isObject_1,toKey=_toKey;function baseSet$1(s,o,F0,L0){if(!isObject(s))return s;o=castPath(o,s);for(var B0=-1,q0=o.length,W0=q0-1,X0=s;X0!=null&&++B0<q0;){var K0=toKey(o[B0]),D_=F0;if(K0==="__proto__"||K0==="constructor"||K0==="prototype")return s;if(B0!=W0){var I_=X0[K0];D_=L0?L0(I_,K0,X0):void 0,D_===void 0&&(D_=isObject(I_)?I_:isIndex(o[B0+1])?[]:{})}assignValue(X0,K0,D_),X0=X0[K0]}return s}var _baseSet=baseSet$1,baseSet=_baseSet;function set(s,o,F0){return s==null?s:baseSet(s,o,F0)}var set_1=set,cjs={},Observable$1={},Subscriber={},isFunction$1={};Object.defineProperty(isFunction$1,"__esModule",{value:!0});isFunction$1.isFunction=void 0;function isFunction(s){return typeof s=="function"}isFunction$1.isFunction=isFunction;var Subscription$1={},UnsubscriptionError={},createErrorClass$1={};Object.defineProperty(createErrorClass$1,"__esModule",{value:!0});createErrorClass$1.createErrorClass=void 0;function createErrorClass(s){var o=function(L0){Error.call(L0),L0.stack=new Error().stack},F0=s(o);return F0.prototype=Object.create(Error.prototype),F0.prototype.constructor=F0,F0}createErrorClass$1.createErrorClass=createErrorClass;Object.defineProperty(UnsubscriptionError,"__esModule",{value:!0});UnsubscriptionError.UnsubscriptionError=void 0;var createErrorClass_1$5=createErrorClass$1;UnsubscriptionError.UnsubscriptionError=createErrorClass_1$5.createErrorClass(function(s){return function(F0){s(this),this.message=F0?F0.length+` errors occurred during unsubscription:
5075
+ `}write(o){const F0=o.split(/\n/);this.height=F0.length,this.rl.setPrompt(F0[F0.length-1]),this.rl.output.rows===0&&this.rl.output.columns===0&&rlUtils.left(this.rl,o.length+this.rl.line.length),this.rl.output.write(o)}}var bottomBar=BottomBar,freeGlobal$1=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$2=freeGlobal||freeSelf||Function("return this")(),_root=root$2,root$1=_root,Symbol$4=root$1.Symbol,_Symbol=Symbol$4,Symbol$3=_Symbol,objectProto$5=Object.prototype,hasOwnProperty$4=objectProto$5.hasOwnProperty,nativeObjectToString$1=objectProto$5.toString,symToStringTag$1=Symbol$3?Symbol$3.toStringTag:void 0;function getRawTag$1(s){var o=hasOwnProperty$4.call(s,symToStringTag$1),F0=s[symToStringTag$1];try{s[symToStringTag$1]=void 0;var L0=!0}catch{}var B0=nativeObjectToString$1.call(s);return L0&&(o?s[symToStringTag$1]=F0:delete s[symToStringTag$1]),B0}var _getRawTag=getRawTag$1,objectProto$4=Object.prototype,nativeObjectToString=objectProto$4.toString;function objectToString$1(s){return nativeObjectToString.call(s)}var _objectToString=objectToString$1,Symbol$2=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag$2(s){return s==null?s===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(s)?getRawTag(s):objectToString(s)}var _baseGetTag=baseGetTag$2;function overArg$1(s,o){return function(F0){return s(o(F0))}}var _overArg=overArg$1,overArg=_overArg,getPrototype$1=overArg(Object.getPrototypeOf,Object),_getPrototype=getPrototype$1;function isObjectLike$2(s){return s!=null&&typeof s=="object"}var isObjectLike_1=isObjectLike$2,baseGetTag$1=_baseGetTag,getPrototype=_getPrototype,isObjectLike$1=isObjectLike_1,objectTag="[object Object]",funcProto$1=Function.prototype,objectProto$3=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$3=objectProto$3.hasOwnProperty,objectCtorString=funcToString$1.call(Object);function isPlainObject(s){if(!isObjectLike$1(s)||baseGetTag$1(s)!=objectTag)return!1;var o=getPrototype(s);if(o===null)return!0;var F0=hasOwnProperty$3.call(o,"constructor")&&o.constructor;return typeof F0=="function"&&F0 instanceof F0&&funcToString$1.call(F0)==objectCtorString}var isPlainObject_1=isPlainObject,isArray$6=Array.isArray,isArray_1=isArray$6,baseGetTag=_baseGetTag,isObjectLike=isObjectLike_1,symbolTag="[object Symbol]";function isSymbol$3(s){return typeof s=="symbol"||isObjectLike(s)&&baseGetTag(s)==symbolTag}var isSymbol_1=isSymbol$3,isArray$5=isArray_1,isSymbol$2=isSymbol_1,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey$1(s,o){if(isArray$5(s))return!1;var F0=typeof s;return F0=="number"||F0=="symbol"||F0=="boolean"||s==null||isSymbol$2(s)?!0:reIsPlainProp.test(s)||!reIsDeepProp.test(s)||o!=null&&s in Object(o)}var _isKey=isKey$1;function isObject$2(s){var o=typeof s;return s!=null&&(o=="object"||o=="function")}var isObject_1=isObject$2,isFunction_1$q,hasRequiredIsFunction;function requireIsFunction(){if(hasRequiredIsFunction)return isFunction_1$q;hasRequiredIsFunction=1;var s=_baseGetTag,o=isObject_1,F0="[object AsyncFunction]",L0="[object Function]",B0="[object GeneratorFunction]",q0="[object Proxy]";function W0(X0){if(!o(X0))return!1;var K0=s(X0);return K0==L0||K0==B0||K0==F0||K0==q0}return isFunction_1$q=W0,isFunction_1$q}var root=_root,coreJsData$1=root["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var s=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}();function isMasked$1(s){return!!maskSrcKey&&maskSrcKey in s}var _isMasked=isMasked$1,_toSource,hasRequired_toSource;function require_toSource(){if(hasRequired_toSource)return _toSource;hasRequired_toSource=1;var s=Function.prototype,o=s.toString;function F0(L0){if(L0!=null){try{return o.call(L0)}catch{}try{return L0+""}catch{}}return""}return _toSource=F0,_toSource}var isFunction$2=requireIsFunction(),isMasked=_isMasked,isObject$1=isObject_1,toSource=require_toSource(),reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto$2=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$2=objectProto$2.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty$2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(s){if(!isObject$1(s)||isMasked(s))return!1;var o=isFunction$2(s)?reIsNative:reIsHostCtor;return o.test(toSource(s))}var _baseIsNative=baseIsNative$1;function getValue$1(s,o){return s==null?void 0:s[o]}var _getValue=getValue$1,baseIsNative=_baseIsNative,getValue=_getValue;function getNative$1(s,o){var F0=getValue(s,o);return baseIsNative(F0)?F0:void 0}var _getNative=getNative$1,_nativeCreate,hasRequired_nativeCreate;function require_nativeCreate(){if(hasRequired_nativeCreate)return _nativeCreate;hasRequired_nativeCreate=1;var s=_getNative,o=s(Object,"create");return _nativeCreate=o,_nativeCreate}var _hashClear,hasRequired_hashClear;function require_hashClear(){if(hasRequired_hashClear)return _hashClear;hasRequired_hashClear=1;var s=require_nativeCreate();function o(){this.__data__=s?s(null):{},this.size=0}return _hashClear=o,_hashClear}var _hashDelete,hasRequired_hashDelete;function require_hashDelete(){if(hasRequired_hashDelete)return _hashDelete;hasRequired_hashDelete=1;function s(o){var F0=this.has(o)&&delete this.__data__[o];return this.size-=F0?1:0,F0}return _hashDelete=s,_hashDelete}var _hashGet,hasRequired_hashGet;function require_hashGet(){if(hasRequired_hashGet)return _hashGet;hasRequired_hashGet=1;var s=require_nativeCreate(),o="__lodash_hash_undefined__",F0=Object.prototype,L0=F0.hasOwnProperty;function B0(q0){var W0=this.__data__;if(s){var X0=W0[q0];return X0===o?void 0:X0}return L0.call(W0,q0)?W0[q0]:void 0}return _hashGet=B0,_hashGet}var _hashHas,hasRequired_hashHas;function require_hashHas(){if(hasRequired_hashHas)return _hashHas;hasRequired_hashHas=1;var s=require_nativeCreate(),o=Object.prototype,F0=o.hasOwnProperty;function L0(B0){var q0=this.__data__;return s?q0[B0]!==void 0:F0.call(q0,B0)}return _hashHas=L0,_hashHas}var _hashSet,hasRequired_hashSet;function require_hashSet(){if(hasRequired_hashSet)return _hashSet;hasRequired_hashSet=1;var s=require_nativeCreate(),o="__lodash_hash_undefined__";function F0(L0,B0){var q0=this.__data__;return this.size+=this.has(L0)?0:1,q0[L0]=s&&B0===void 0?o:B0,this}return _hashSet=F0,_hashSet}var _Hash,hasRequired_Hash;function require_Hash(){if(hasRequired_Hash)return _Hash;hasRequired_Hash=1;var s=require_hashClear(),o=require_hashDelete(),F0=require_hashGet(),L0=require_hashHas(),B0=require_hashSet();function q0(W0){var X0=-1,K0=W0==null?0:W0.length;for(this.clear();++X0<K0;){var D_=W0[X0];this.set(D_[0],D_[1])}}return q0.prototype.clear=s,q0.prototype.delete=o,q0.prototype.get=F0,q0.prototype.has=L0,q0.prototype.set=B0,_Hash=q0,_Hash}var _listCacheClear,hasRequired_listCacheClear;function require_listCacheClear(){if(hasRequired_listCacheClear)return _listCacheClear;hasRequired_listCacheClear=1;function s(){this.__data__=[],this.size=0}return _listCacheClear=s,_listCacheClear}var eq_1,hasRequiredEq;function requireEq(){if(hasRequiredEq)return eq_1;hasRequiredEq=1;function s(o,F0){return o===F0||o!==o&&F0!==F0}return eq_1=s,eq_1}var _assocIndexOf,hasRequired_assocIndexOf;function require_assocIndexOf(){if(hasRequired_assocIndexOf)return _assocIndexOf;hasRequired_assocIndexOf=1;var s=requireEq();function o(F0,L0){for(var B0=F0.length;B0--;)if(s(F0[B0][0],L0))return B0;return-1}return _assocIndexOf=o,_assocIndexOf}var _listCacheDelete,hasRequired_listCacheDelete;function require_listCacheDelete(){if(hasRequired_listCacheDelete)return _listCacheDelete;hasRequired_listCacheDelete=1;var s=require_assocIndexOf(),o=Array.prototype,F0=o.splice;function L0(B0){var q0=this.__data__,W0=s(q0,B0);if(W0<0)return!1;var X0=q0.length-1;return W0==X0?q0.pop():F0.call(q0,W0,1),--this.size,!0}return _listCacheDelete=L0,_listCacheDelete}var _listCacheGet,hasRequired_listCacheGet;function require_listCacheGet(){if(hasRequired_listCacheGet)return _listCacheGet;hasRequired_listCacheGet=1;var s=require_assocIndexOf();function o(F0){var L0=this.__data__,B0=s(L0,F0);return B0<0?void 0:L0[B0][1]}return _listCacheGet=o,_listCacheGet}var _listCacheHas,hasRequired_listCacheHas;function require_listCacheHas(){if(hasRequired_listCacheHas)return _listCacheHas;hasRequired_listCacheHas=1;var s=require_assocIndexOf();function o(F0){return s(this.__data__,F0)>-1}return _listCacheHas=o,_listCacheHas}var _listCacheSet,hasRequired_listCacheSet;function require_listCacheSet(){if(hasRequired_listCacheSet)return _listCacheSet;hasRequired_listCacheSet=1;var s=require_assocIndexOf();function o(F0,L0){var B0=this.__data__,q0=s(B0,F0);return q0<0?(++this.size,B0.push([F0,L0])):B0[q0][1]=L0,this}return _listCacheSet=o,_listCacheSet}var _ListCache,hasRequired_ListCache;function require_ListCache(){if(hasRequired_ListCache)return _ListCache;hasRequired_ListCache=1;var s=require_listCacheClear(),o=require_listCacheDelete(),F0=require_listCacheGet(),L0=require_listCacheHas(),B0=require_listCacheSet();function q0(W0){var X0=-1,K0=W0==null?0:W0.length;for(this.clear();++X0<K0;){var D_=W0[X0];this.set(D_[0],D_[1])}}return q0.prototype.clear=s,q0.prototype.delete=o,q0.prototype.get=F0,q0.prototype.has=L0,q0.prototype.set=B0,_ListCache=q0,_ListCache}var _Map,hasRequired_Map;function require_Map(){if(hasRequired_Map)return _Map;hasRequired_Map=1;var s=_getNative,o=_root,F0=s(o,"Map");return _Map=F0,_Map}var _mapCacheClear,hasRequired_mapCacheClear;function require_mapCacheClear(){if(hasRequired_mapCacheClear)return _mapCacheClear;hasRequired_mapCacheClear=1;var s=require_Hash(),o=require_ListCache(),F0=require_Map();function L0(){this.size=0,this.__data__={hash:new s,map:new(F0||o),string:new s}}return _mapCacheClear=L0,_mapCacheClear}var _isKeyable,hasRequired_isKeyable;function require_isKeyable(){if(hasRequired_isKeyable)return _isKeyable;hasRequired_isKeyable=1;function s(o){var F0=typeof o;return F0=="string"||F0=="number"||F0=="symbol"||F0=="boolean"?o!=="__proto__":o===null}return _isKeyable=s,_isKeyable}var _getMapData,hasRequired_getMapData;function require_getMapData(){if(hasRequired_getMapData)return _getMapData;hasRequired_getMapData=1;var s=require_isKeyable();function o(F0,L0){var B0=F0.__data__;return s(L0)?B0[typeof L0=="string"?"string":"hash"]:B0.map}return _getMapData=o,_getMapData}var _mapCacheDelete,hasRequired_mapCacheDelete;function require_mapCacheDelete(){if(hasRequired_mapCacheDelete)return _mapCacheDelete;hasRequired_mapCacheDelete=1;var s=require_getMapData();function o(F0){var L0=s(this,F0).delete(F0);return this.size-=L0?1:0,L0}return _mapCacheDelete=o,_mapCacheDelete}var _mapCacheGet,hasRequired_mapCacheGet;function require_mapCacheGet(){if(hasRequired_mapCacheGet)return _mapCacheGet;hasRequired_mapCacheGet=1;var s=require_getMapData();function o(F0){return s(this,F0).get(F0)}return _mapCacheGet=o,_mapCacheGet}var _mapCacheHas,hasRequired_mapCacheHas;function require_mapCacheHas(){if(hasRequired_mapCacheHas)return _mapCacheHas;hasRequired_mapCacheHas=1;var s=require_getMapData();function o(F0){return s(this,F0).has(F0)}return _mapCacheHas=o,_mapCacheHas}var _mapCacheSet,hasRequired_mapCacheSet;function require_mapCacheSet(){if(hasRequired_mapCacheSet)return _mapCacheSet;hasRequired_mapCacheSet=1;var s=require_getMapData();function o(F0,L0){var B0=s(this,F0),q0=B0.size;return B0.set(F0,L0),this.size+=B0.size==q0?0:1,this}return _mapCacheSet=o,_mapCacheSet}var _MapCache,hasRequired_MapCache;function require_MapCache(){if(hasRequired_MapCache)return _MapCache;hasRequired_MapCache=1;var s=require_mapCacheClear(),o=require_mapCacheDelete(),F0=require_mapCacheGet(),L0=require_mapCacheHas(),B0=require_mapCacheSet();function q0(W0){var X0=-1,K0=W0==null?0:W0.length;for(this.clear();++X0<K0;){var D_=W0[X0];this.set(D_[0],D_[1])}}return q0.prototype.clear=s,q0.prototype.delete=o,q0.prototype.get=F0,q0.prototype.has=L0,q0.prototype.set=B0,_MapCache=q0,_MapCache}var MapCache=require_MapCache(),FUNC_ERROR_TEXT="Expected a function";function memoize$1(s,o){if(typeof s!="function"||o!=null&&typeof o!="function")throw new TypeError(FUNC_ERROR_TEXT);var F0=function(){var L0=arguments,B0=o?o.apply(this,L0):L0[0],q0=F0.cache;if(q0.has(B0))return q0.get(B0);var W0=s.apply(this,L0);return F0.cache=q0.set(B0,W0)||q0,W0};return F0.cache=new(memoize$1.Cache||MapCache),F0}memoize$1.Cache=MapCache;var memoize_1=memoize$1,memoize=memoize_1,MAX_MEMOIZE_SIZE=500;function memoizeCapped$1(s){var o=memoize(s,function(L0){return F0.size===MAX_MEMOIZE_SIZE&&F0.clear(),L0}),F0=o.cache;return o}var _memoizeCapped=memoizeCapped$1,memoizeCapped=_memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath$1=memoizeCapped(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(rePropName,function(F0,L0,B0,q0){o.push(B0?q0.replace(reEscapeChar,"$1"):L0||F0)}),o}),_stringToPath=stringToPath$1,_arrayMap,hasRequired_arrayMap;function require_arrayMap(){if(hasRequired_arrayMap)return _arrayMap;hasRequired_arrayMap=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length,q0=Array(B0);++L0<B0;)q0[L0]=F0(o[L0],L0,o);return q0}return _arrayMap=s,_arrayMap}var Symbol$1=_Symbol,arrayMap=require_arrayMap(),isArray$4=isArray_1,isSymbol$1=isSymbol_1,symbolProto=Symbol$1?Symbol$1.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString$1(s){if(typeof s=="string")return s;if(isArray$4(s))return arrayMap(s,baseToString$1)+"";if(isSymbol$1(s))return symbolToString?symbolToString.call(s):"";var o=s+"";return o=="0"&&1/s==-1/0?"-0":o}var _baseToString=baseToString$1,baseToString=_baseToString;function toString$1(s){return s==null?"":baseToString(s)}var toString_1=toString$1,isArray$3=isArray_1,isKey=_isKey,stringToPath=_stringToPath,toString=toString_1;function castPath$2(s,o){return isArray$3(s)?s:isKey(s,o)?[s]:stringToPath(toString(s))}var _castPath=castPath$2,isSymbol=isSymbol_1;function toKey$2(s){if(typeof s=="string"||isSymbol(s))return s;var o=s+"";return o=="0"&&1/s==-1/0?"-0":o}var _toKey=toKey$2,castPath$1=_castPath,toKey$1=_toKey;function baseGet$1(s,o){o=castPath$1(o,s);for(var F0=0,L0=o.length;s!=null&&F0<L0;)s=s[toKey$1(o[F0++])];return F0&&F0==L0?s:void 0}var _baseGet=baseGet$1,baseGet=_baseGet;function get(s,o,F0){var L0=s==null?void 0:baseGet(s,o);return L0===void 0?F0:L0}var get_1=get,getNative=_getNative,defineProperty$1=function(){try{var s=getNative(Object,"defineProperty");return s({},"",{}),s}catch{}}(),_defineProperty=defineProperty$1,defineProperty=_defineProperty;function baseAssignValue$1(s,o,F0){o=="__proto__"&&defineProperty?defineProperty(s,o,{configurable:!0,enumerable:!0,value:F0,writable:!0}):s[o]=F0}var _baseAssignValue=baseAssignValue$1,baseAssignValue=_baseAssignValue,eq=requireEq(),objectProto$1=Object.prototype,hasOwnProperty$1=objectProto$1.hasOwnProperty;function assignValue$1(s,o,F0){var L0=s[o];(!(hasOwnProperty$1.call(s,o)&&eq(L0,F0))||F0===void 0&&!(o in s))&&baseAssignValue(s,o,F0)}var _assignValue=assignValue$1,MAX_SAFE_INTEGER=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex$1(s,o){var F0=typeof s;return o=o??MAX_SAFE_INTEGER,!!o&&(F0=="number"||F0!="symbol"&&reIsUint.test(s))&&s>-1&&s%1==0&&s<o}var _isIndex=isIndex$1,assignValue=_assignValue,castPath=_castPath,isIndex=_isIndex,isObject=isObject_1,toKey=_toKey;function baseSet$1(s,o,F0,L0){if(!isObject(s))return s;o=castPath(o,s);for(var B0=-1,q0=o.length,W0=q0-1,X0=s;X0!=null&&++B0<q0;){var K0=toKey(o[B0]),D_=F0;if(K0==="__proto__"||K0==="constructor"||K0==="prototype")return s;if(B0!=W0){var I_=X0[K0];D_=L0?L0(I_,K0,X0):void 0,D_===void 0&&(D_=isObject(I_)?I_:isIndex(o[B0+1])?[]:{})}assignValue(X0,K0,D_),X0=X0[K0]}return s}var _baseSet=baseSet$1,baseSet=_baseSet;function set(s,o,F0){return s==null?s:baseSet(s,o,F0)}var set_1=set,cjs={},Observable$1={},Subscriber={},isFunction$1={};Object.defineProperty(isFunction$1,"__esModule",{value:!0});isFunction$1.isFunction=void 0;function isFunction(s){return typeof s=="function"}isFunction$1.isFunction=isFunction;var Subscription$1={},UnsubscriptionError={},createErrorClass$1={};Object.defineProperty(createErrorClass$1,"__esModule",{value:!0});createErrorClass$1.createErrorClass=void 0;function createErrorClass(s){var o=function(L0){Error.call(L0),L0.stack=new Error().stack},F0=s(o);return F0.prototype=Object.create(Error.prototype),F0.prototype.constructor=F0,F0}createErrorClass$1.createErrorClass=createErrorClass;Object.defineProperty(UnsubscriptionError,"__esModule",{value:!0});UnsubscriptionError.UnsubscriptionError=void 0;var createErrorClass_1$5=createErrorClass$1;UnsubscriptionError.UnsubscriptionError=createErrorClass_1$5.createErrorClass(function(s){return function(F0){s(this),this.message=F0?F0.length+` errors occurred during unsubscription:
5076
5076
  `+F0.map(function(L0,B0){return B0+1+") "+L0.toString()}).join(`
5077
5077
  `):"",this.name="UnsubscriptionError",this.errors=F0}});var arrRemove$1={};Object.defineProperty(arrRemove$1,"__esModule",{value:!0});arrRemove$1.arrRemove=void 0;function arrRemove(s,o){if(s){var F0=s.indexOf(o);0<=F0&&s.splice(F0,1)}}arrRemove$1.arrRemove=arrRemove;var __values$8=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},__read$i=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$i=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(Subscription$1,"__esModule",{value:!0});Subscription$1.isSubscription=Subscription$1.EMPTY_SUBSCRIPTION=Subscription$1.Subscription=void 0;var isFunction_1$p=isFunction$1,UnsubscriptionError_1=UnsubscriptionError,arrRemove_1$7=arrRemove$1,Subscription=function(){function s(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}return s.prototype.unsubscribe=function(){var o,F0,L0,B0,q0;if(!this.closed){this.closed=!0;var W0=this._parentage;if(W0)if(this._parentage=null,Array.isArray(W0))try{for(var X0=__values$8(W0),K0=X0.next();!K0.done;K0=X0.next()){var D_=K0.value;D_.remove(this)}}catch(Oy){o={error:Oy}}finally{try{K0&&!K0.done&&(F0=X0.return)&&F0.call(X0)}finally{if(o)throw o.error}}else W0.remove(this);var I_=this.initialTeardown;if(isFunction_1$p.isFunction(I_))try{I_()}catch(Oy){q0=Oy instanceof UnsubscriptionError_1.UnsubscriptionError?Oy.errors:[Oy]}var F_=this._finalizers;if(F_){this._finalizers=null;try{for(var R_=__values$8(F_),z_=R_.next();!z_.done;z_=R_.next()){var H_=z_.value;try{execFinalizer(H_)}catch(Oy){q0=q0??[],Oy instanceof UnsubscriptionError_1.UnsubscriptionError?q0=__spreadArray$i(__spreadArray$i([],__read$i(q0)),__read$i(Oy.errors)):q0.push(Oy)}}}catch(Oy){L0={error:Oy}}finally{try{z_&&!z_.done&&(B0=R_.return)&&B0.call(R_)}finally{if(L0)throw L0.error}}}if(q0)throw new UnsubscriptionError_1.UnsubscriptionError(q0)}},s.prototype.add=function(o){var F0;if(o&&o!==this)if(this.closed)execFinalizer(o);else{if(o instanceof s){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=(F0=this._finalizers)!==null&&F0!==void 0?F0:[]).push(o)}},s.prototype._hasParent=function(o){var F0=this._parentage;return F0===o||Array.isArray(F0)&&F0.includes(o)},s.prototype._addParent=function(o){var F0=this._parentage;this._parentage=Array.isArray(F0)?(F0.push(o),F0):F0?[F0,o]:o},s.prototype._removeParent=function(o){var F0=this._parentage;F0===o?this._parentage=null:Array.isArray(F0)&&arrRemove_1$7.arrRemove(F0,o)},s.prototype.remove=function(o){var F0=this._finalizers;F0&&arrRemove_1$7.arrRemove(F0,o),o instanceof s&&o._removeParent(this)},s.EMPTY=function(){var o=new s;return o.closed=!0,o}(),s}();Subscription$1.Subscription=Subscription;Subscription$1.EMPTY_SUBSCRIPTION=Subscription.EMPTY;function isSubscription(s){return s instanceof Subscription||s&&"closed"in s&&isFunction_1$p.isFunction(s.remove)&&isFunction_1$p.isFunction(s.add)&&isFunction_1$p.isFunction(s.unsubscribe)}Subscription$1.isSubscription=isSubscription;function execFinalizer(s){isFunction_1$p.isFunction(s)?s():s.unsubscribe()}var config={};Object.defineProperty(config,"__esModule",{value:!0});config.config=void 0;config.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var reportUnhandledError$1={},timeoutProvider={};(function(s){var o=commonjsGlobal&&commonjsGlobal.__read||function(L0,B0){var q0=typeof Symbol=="function"&&L0[Symbol.iterator];if(!q0)return L0;var W0=q0.call(L0),X0,K0=[],D_;try{for(;(B0===void 0||B0-- >0)&&!(X0=W0.next()).done;)K0.push(X0.value)}catch(I_){D_={error:I_}}finally{try{X0&&!X0.done&&(q0=W0.return)&&q0.call(W0)}finally{if(D_)throw D_.error}}return K0},F0=commonjsGlobal&&commonjsGlobal.__spreadArray||function(L0,B0){for(var q0=0,W0=B0.length,X0=L0.length;q0<W0;q0++,X0++)L0[X0]=B0[q0];return L0};Object.defineProperty(s,"__esModule",{value:!0}),s.timeoutProvider=void 0,s.timeoutProvider={setTimeout:function(L0,B0){for(var q0=[],W0=2;W0<arguments.length;W0++)q0[W0-2]=arguments[W0];var X0=s.timeoutProvider.delegate;return X0!=null&&X0.setTimeout?X0.setTimeout.apply(X0,F0([L0,B0],o(q0))):setTimeout.apply(void 0,F0([L0,B0],o(q0)))},clearTimeout:function(L0){var B0=s.timeoutProvider.delegate;return((B0==null?void 0:B0.clearTimeout)||clearTimeout)(L0)},delegate:void 0}})(timeoutProvider);Object.defineProperty(reportUnhandledError$1,"__esModule",{value:!0});reportUnhandledError$1.reportUnhandledError=void 0;var config_1$2=config,timeoutProvider_1=timeoutProvider;function reportUnhandledError(s){timeoutProvider_1.timeoutProvider.setTimeout(function(){var o=config_1$2.config.onUnhandledError;if(o)o(s);else throw s})}reportUnhandledError$1.reportUnhandledError=reportUnhandledError;var noop$1={};Object.defineProperty(noop$1,"__esModule",{value:!0});noop$1.noop=void 0;function noop(){}noop$1.noop=noop;var NotificationFactories={};Object.defineProperty(NotificationFactories,"__esModule",{value:!0});NotificationFactories.createNotification=NotificationFactories.nextNotification=NotificationFactories.errorNotification=NotificationFactories.COMPLETE_NOTIFICATION=void 0;NotificationFactories.COMPLETE_NOTIFICATION=function(){return createNotification("C",void 0,void 0)}();function errorNotification(s){return createNotification("E",void 0,s)}NotificationFactories.errorNotification=errorNotification;function nextNotification(s){return createNotification("N",s,void 0)}NotificationFactories.nextNotification=nextNotification;function createNotification(s,o,F0){return{kind:s,value:o,error:F0}}NotificationFactories.createNotification=createNotification;var errorContext$1={};Object.defineProperty(errorContext$1,"__esModule",{value:!0});errorContext$1.captureError=errorContext$1.errorContext=void 0;var config_1$1=config,context=null;function errorContext(s){if(config_1$1.config.useDeprecatedSynchronousErrorHandling){var o=!context;if(o&&(context={errorThrown:!1,error:null}),s(),o){var F0=context,L0=F0.errorThrown,B0=F0.error;if(context=null,L0)throw B0}}else s()}errorContext$1.errorContext=errorContext;function captureError(s){config_1$1.config.useDeprecatedSynchronousErrorHandling&&context&&(context.errorThrown=!0,context.error=s)}errorContext$1.captureError=captureError;(function(s){var o=commonjsGlobal&&commonjsGlobal.__extends||function(){var S1=function(iv,Yv){return S1=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_x,Qv){_x.__proto__=Qv}||function(_x,Qv){for(var Fx in Qv)Object.prototype.hasOwnProperty.call(Qv,Fx)&&(_x[Fx]=Qv[Fx])},S1(iv,Yv)};return function(iv,Yv){if(typeof Yv!="function"&&Yv!==null)throw new TypeError("Class extends value "+String(Yv)+" is not a constructor or null");S1(iv,Yv);function _x(){this.constructor=iv}iv.prototype=Yv===null?Object.create(Yv):(_x.prototype=Yv.prototype,new _x)}}();Object.defineProperty(s,"__esModule",{value:!0}),s.EMPTY_OBSERVER=s.SafeSubscriber=s.Subscriber=void 0;var F0=isFunction$1,L0=Subscription$1,B0=config,q0=reportUnhandledError$1,W0=noop$1,X0=NotificationFactories,K0=timeoutProvider,D_=errorContext$1,I_=function(S1){o(iv,S1);function iv(Yv){var _x=S1.call(this)||this;return _x.isStopped=!1,Yv?(_x.destination=Yv,L0.isSubscription(Yv)&&Yv.add(_x)):_x.destination=s.EMPTY_OBSERVER,_x}return iv.create=function(Yv,_x,Qv){return new H_(Yv,_x,Qv)},iv.prototype.next=function(Yv){this.isStopped?Lv(X0.nextNotification(Yv),this):this._next(Yv)},iv.prototype.error=function(Yv){this.isStopped?Lv(X0.errorNotification(Yv),this):(this.isStopped=!0,this._error(Yv))},iv.prototype.complete=function(){this.isStopped?Lv(X0.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},iv.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,S1.prototype.unsubscribe.call(this),this.destination=null)},iv.prototype._next=function(Yv){this.destination.next(Yv)},iv.prototype._error=function(Yv){try{this.destination.error(Yv)}finally{this.unsubscribe()}},iv.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},iv}(L0.Subscription);s.Subscriber=I_;var F_=Function.prototype.bind;function R_(S1,iv){return F_.call(S1,iv)}var z_=function(){function S1(iv){this.partialObserver=iv}return S1.prototype.next=function(iv){var Yv=this.partialObserver;if(Yv.next)try{Yv.next(iv)}catch(_x){Oy(_x)}},S1.prototype.error=function(iv){var Yv=this.partialObserver;if(Yv.error)try{Yv.error(iv)}catch(_x){Oy(_x)}else Oy(iv)},S1.prototype.complete=function(){var iv=this.partialObserver;if(iv.complete)try{iv.complete()}catch(Yv){Oy(Yv)}},S1}(),H_=function(S1){o(iv,S1);function iv(Yv,_x,Qv){var Fx=S1.call(this)||this,jx;if(F0.isFunction(Yv)||!Yv)jx={next:Yv??void 0,error:_x??void 0,complete:Qv??void 0};else{var K7;Fx&&B0.config.useDeprecatedNextContext?(K7=Object.create(Yv),K7.unsubscribe=function(){return Fx.unsubscribe()},jx={next:Yv.next&&R_(Yv.next,K7),error:Yv.error&&R_(Yv.error,K7),complete:Yv.complete&&R_(Yv.complete,K7)}):jx=Yv}return Fx.destination=new z_(jx),Fx}return iv}(I_);s.SafeSubscriber=H_;function Oy(S1){B0.config.useDeprecatedSynchronousErrorHandling?D_.captureError(S1):q0.reportUnhandledError(S1)}function qv(S1){throw S1}function Lv(S1,iv){var Yv=B0.config.onStoppedNotification;Yv&&K0.timeoutProvider.setTimeout(function(){return Yv(S1,iv)})}s.EMPTY_OBSERVER={closed:!0,next:W0.noop,error:qv,complete:W0.noop}})(Subscriber);var observable={};Object.defineProperty(observable,"__esModule",{value:!0});observable.observable=void 0;observable.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();var pipe$2={},identity$1={};Object.defineProperty(identity$1,"__esModule",{value:!0});identity$1.identity=void 0;function identity(s){return s}identity$1.identity=identity;Object.defineProperty(pipe$2,"__esModule",{value:!0});pipe$2.pipeFromArray=pipe$2.pipe=void 0;var identity_1$f=identity$1;function pipe$1(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return pipeFromArray(s)}pipe$2.pipe=pipe$1;function pipeFromArray(s){return s.length===0?identity_1$f.identity:s.length===1?s[0]:function(F0){return s.reduce(function(L0,B0){return B0(L0)},F0)}}pipe$2.pipeFromArray=pipeFromArray;Object.defineProperty(Observable$1,"__esModule",{value:!0});Observable$1.Observable=void 0;var Subscriber_1$3=Subscriber,Subscription_1$8=Subscription$1,observable_1$2=observable,pipe_1$2=pipe$2,config_1=config,isFunction_1$o=isFunction$1,errorContext_1$1=errorContext$1,Observable=function(){function s(o){o&&(this._subscribe=o)}return s.prototype.lift=function(o){var F0=new s;return F0.source=this,F0.operator=o,F0},s.prototype.subscribe=function(o,F0,L0){var B0=this,q0=isSubscriber(o)?o:new Subscriber_1$3.SafeSubscriber(o,F0,L0);return errorContext_1$1.errorContext(function(){var W0=B0,X0=W0.operator,K0=W0.source;q0.add(X0?X0.call(q0,K0):K0?B0._subscribe(q0):B0._trySubscribe(q0))}),q0},s.prototype._trySubscribe=function(o){try{return this._subscribe(o)}catch(F0){o.error(F0)}},s.prototype.forEach=function(o,F0){var L0=this;return F0=getPromiseCtor(F0),new F0(function(B0,q0){var W0=new Subscriber_1$3.SafeSubscriber({next:function(X0){try{o(X0)}catch(K0){q0(K0),W0.unsubscribe()}},error:q0,complete:B0});L0.subscribe(W0)})},s.prototype._subscribe=function(o){var F0;return(F0=this.source)===null||F0===void 0?void 0:F0.subscribe(o)},s.prototype[observable_1$2.observable]=function(){return this},s.prototype.pipe=function(){for(var o=[],F0=0;F0<arguments.length;F0++)o[F0]=arguments[F0];return pipe_1$2.pipeFromArray(o)(this)},s.prototype.toPromise=function(o){var F0=this;return o=getPromiseCtor(o),new o(function(L0,B0){var q0;F0.subscribe(function(W0){return q0=W0},function(W0){return B0(W0)},function(){return L0(q0)})})},s.create=function(o){return new s(o)},s}();Observable$1.Observable=Observable;function getPromiseCtor(s){var o;return(o=s??config_1.config.Promise)!==null&&o!==void 0?o:Promise}function isObserver(s){return s&&isFunction_1$o.isFunction(s.next)&&isFunction_1$o.isFunction(s.error)&&isFunction_1$o.isFunction(s.complete)}function isSubscriber(s){return s&&s instanceof Subscriber_1$3.Subscriber||isObserver(s)&&Subscription_1$8.isSubscription(s)}var ConnectableObservable$1={},refCount$1={},lift={};Object.defineProperty(lift,"__esModule",{value:!0});lift.operate=lift.hasLift=void 0;var isFunction_1$n=isFunction$1;function hasLift(s){return isFunction_1$n.isFunction(s==null?void 0:s.lift)}lift.hasLift=hasLift;function operate(s){return function(o){if(hasLift(o))return o.lift(function(F0){try{return s(F0,this)}catch(L0){this.error(L0)}});throw new TypeError("Unable to lift unknown Observable type")}}lift.operate=operate;var OperatorSubscriber$1={},__extends$f=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(OperatorSubscriber$1,"__esModule",{value:!0});OperatorSubscriber$1.OperatorSubscriber=OperatorSubscriber$1.createOperatorSubscriber=void 0;var Subscriber_1$2=Subscriber;function createOperatorSubscriber(s,o,F0,L0,B0){return new OperatorSubscriber(s,o,F0,L0,B0)}OperatorSubscriber$1.createOperatorSubscriber=createOperatorSubscriber;var OperatorSubscriber=function(s){__extends$f(o,s);function o(F0,L0,B0,q0,W0,X0){var K0=s.call(this,F0)||this;return K0.onFinalize=W0,K0.shouldUnsubscribe=X0,K0._next=L0?function(D_){try{L0(D_)}catch(I_){F0.error(I_)}}:s.prototype._next,K0._error=q0?function(D_){try{q0(D_)}catch(I_){F0.error(I_)}finally{this.unsubscribe()}}:s.prototype._error,K0._complete=B0?function(){try{B0()}catch(D_){F0.error(D_)}finally{this.unsubscribe()}}:s.prototype._complete,K0}return o.prototype.unsubscribe=function(){var F0;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var L0=this.closed;s.prototype.unsubscribe.call(this),!L0&&((F0=this.onFinalize)===null||F0===void 0||F0.call(this))}},o}(Subscriber_1$2.Subscriber);OperatorSubscriber$1.OperatorSubscriber=OperatorSubscriber;Object.defineProperty(refCount$1,"__esModule",{value:!0});refCount$1.refCount=void 0;var lift_1$14=lift,OperatorSubscriber_1$V=OperatorSubscriber$1;function refCount(){return lift_1$14.operate(function(s,o){var F0=null;s._refCount++;var L0=OperatorSubscriber_1$V.createOperatorSubscriber(o,void 0,void 0,void 0,function(){if(!s||s._refCount<=0||0<--s._refCount){F0=null;return}var B0=s._connection,q0=F0;F0=null,B0&&(!q0||B0===q0)&&B0.unsubscribe(),o.unsubscribe()});s.subscribe(L0),L0.closed||(F0=s.connect())})}refCount$1.refCount=refCount;var __extends$e=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(ConnectableObservable$1,"__esModule",{value:!0});ConnectableObservable$1.ConnectableObservable=void 0;var Observable_1$n=Observable$1,Subscription_1$7=Subscription$1,refCount_1=refCount$1,OperatorSubscriber_1$U=OperatorSubscriber$1,lift_1$13=lift,ConnectableObservable=function(s){__extends$e(o,s);function o(F0,L0){var B0=s.call(this)||this;return B0.source=F0,B0.subjectFactory=L0,B0._subject=null,B0._refCount=0,B0._connection=null,lift_1$13.hasLift(F0)&&(B0.lift=F0.lift),B0}return o.prototype._subscribe=function(F0){return this.getSubject().subscribe(F0)},o.prototype.getSubject=function(){var F0=this._subject;return(!F0||F0.isStopped)&&(this._subject=this.subjectFactory()),this._subject},o.prototype._teardown=function(){this._refCount=0;var F0=this._connection;this._subject=this._connection=null,F0==null||F0.unsubscribe()},o.prototype.connect=function(){var F0=this,L0=this._connection;if(!L0){L0=this._connection=new Subscription_1$7.Subscription;var B0=this.getSubject();L0.add(this.source.subscribe(OperatorSubscriber_1$U.createOperatorSubscriber(B0,void 0,function(){F0._teardown(),B0.complete()},function(q0){F0._teardown(),B0.error(q0)},function(){return F0._teardown()}))),L0.closed&&(this._connection=null,L0=Subscription_1$7.Subscription.EMPTY)}return L0},o.prototype.refCount=function(){return refCount_1.refCount()(this)},o}(Observable_1$n.Observable);ConnectableObservable$1.ConnectableObservable=ConnectableObservable;var animationFrames$1={},performanceTimestampProvider={};(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.performanceTimestampProvider=void 0,s.performanceTimestampProvider={now:function(){return(s.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}})(performanceTimestampProvider);var animationFrameProvider={};(function(s){var o=commonjsGlobal&&commonjsGlobal.__read||function(B0,q0){var W0=typeof Symbol=="function"&&B0[Symbol.iterator];if(!W0)return B0;var X0=W0.call(B0),K0,D_=[],I_;try{for(;(q0===void 0||q0-- >0)&&!(K0=X0.next()).done;)D_.push(K0.value)}catch(F_){I_={error:F_}}finally{try{K0&&!K0.done&&(W0=X0.return)&&W0.call(X0)}finally{if(I_)throw I_.error}}return D_},F0=commonjsGlobal&&commonjsGlobal.__spreadArray||function(B0,q0){for(var W0=0,X0=q0.length,K0=B0.length;W0<X0;W0++,K0++)B0[K0]=q0[W0];return B0};Object.defineProperty(s,"__esModule",{value:!0}),s.animationFrameProvider=void 0;var L0=Subscription$1;s.animationFrameProvider={schedule:function(B0){var q0=requestAnimationFrame,W0=cancelAnimationFrame,X0=s.animationFrameProvider.delegate;X0&&(q0=X0.requestAnimationFrame,W0=X0.cancelAnimationFrame);var K0=q0(function(D_){W0=void 0,B0(D_)});return new L0.Subscription(function(){return W0==null?void 0:W0(K0)})},requestAnimationFrame:function(){for(var B0=[],q0=0;q0<arguments.length;q0++)B0[q0]=arguments[q0];var W0=s.animationFrameProvider.delegate;return((W0==null?void 0:W0.requestAnimationFrame)||requestAnimationFrame).apply(void 0,F0([],o(B0)))},cancelAnimationFrame:function(){for(var B0=[],q0=0;q0<arguments.length;q0++)B0[q0]=arguments[q0];var W0=s.animationFrameProvider.delegate;return((W0==null?void 0:W0.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,F0([],o(B0)))},delegate:void 0}})(animationFrameProvider);Object.defineProperty(animationFrames$1,"__esModule",{value:!0});animationFrames$1.animationFrames=void 0;var Observable_1$m=Observable$1,performanceTimestampProvider_1=performanceTimestampProvider,animationFrameProvider_1$1=animationFrameProvider;function animationFrames(s){return s?animationFramesFactory(s):DEFAULT_ANIMATION_FRAMES}animationFrames$1.animationFrames=animationFrames;function animationFramesFactory(s){return new Observable_1$m.Observable(function(o){var F0=s||performanceTimestampProvider_1.performanceTimestampProvider,L0=F0.now(),B0=0,q0=function(){o.closed||(B0=animationFrameProvider_1$1.animationFrameProvider.requestAnimationFrame(function(W0){B0=0;var X0=F0.now();o.next({timestamp:s?X0:W0,elapsed:X0-L0}),q0()}))};return q0(),function(){B0&&animationFrameProvider_1$1.animationFrameProvider.cancelAnimationFrame(B0)}})}var DEFAULT_ANIMATION_FRAMES=animationFramesFactory(),Subject$1={},ObjectUnsubscribedError={};Object.defineProperty(ObjectUnsubscribedError,"__esModule",{value:!0});ObjectUnsubscribedError.ObjectUnsubscribedError=void 0;var createErrorClass_1$4=createErrorClass$1;ObjectUnsubscribedError.ObjectUnsubscribedError=createErrorClass_1$4.createErrorClass(function(s){return function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var __extends$d=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}(),__values$7=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Subject$1,"__esModule",{value:!0});Subject$1.AnonymousSubject=Subject$1.Subject=void 0;var Observable_1$l=Observable$1,Subscription_1$6=Subscription$1,ObjectUnsubscribedError_1=ObjectUnsubscribedError,arrRemove_1$6=arrRemove$1,errorContext_1=errorContext$1,Subject=function(s){__extends$d(o,s);function o(){var F0=s.call(this)||this;return F0.closed=!1,F0.currentObservers=null,F0.observers=[],F0.isStopped=!1,F0.hasError=!1,F0.thrownError=null,F0}return o.prototype.lift=function(F0){var L0=new AnonymousSubject(this,this);return L0.operator=F0,L0},o.prototype._throwIfClosed=function(){if(this.closed)throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError},o.prototype.next=function(F0){var L0=this;errorContext_1.errorContext(function(){var B0,q0;if(L0._throwIfClosed(),!L0.isStopped){L0.currentObservers||(L0.currentObservers=Array.from(L0.observers));try{for(var W0=__values$7(L0.currentObservers),X0=W0.next();!X0.done;X0=W0.next()){var K0=X0.value;K0.next(F0)}}catch(D_){B0={error:D_}}finally{try{X0&&!X0.done&&(q0=W0.return)&&q0.call(W0)}finally{if(B0)throw B0.error}}}})},o.prototype.error=function(F0){var L0=this;errorContext_1.errorContext(function(){if(L0._throwIfClosed(),!L0.isStopped){L0.hasError=L0.isStopped=!0,L0.thrownError=F0;for(var B0=L0.observers;B0.length;)B0.shift().error(F0)}})},o.prototype.complete=function(){var F0=this;errorContext_1.errorContext(function(){if(F0._throwIfClosed(),!F0.isStopped){F0.isStopped=!0;for(var L0=F0.observers;L0.length;)L0.shift().complete()}})},o.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(o.prototype,"observed",{get:function(){var F0;return((F0=this.observers)===null||F0===void 0?void 0:F0.length)>0},enumerable:!1,configurable:!0}),o.prototype._trySubscribe=function(F0){return this._throwIfClosed(),s.prototype._trySubscribe.call(this,F0)},o.prototype._subscribe=function(F0){return this._throwIfClosed(),this._checkFinalizedStatuses(F0),this._innerSubscribe(F0)},o.prototype._innerSubscribe=function(F0){var L0=this,B0=this,q0=B0.hasError,W0=B0.isStopped,X0=B0.observers;return q0||W0?Subscription_1$6.EMPTY_SUBSCRIPTION:(this.currentObservers=null,X0.push(F0),new Subscription_1$6.Subscription(function(){L0.currentObservers=null,arrRemove_1$6.arrRemove(X0,F0)}))},o.prototype._checkFinalizedStatuses=function(F0){var L0=this,B0=L0.hasError,q0=L0.thrownError,W0=L0.isStopped;B0?F0.error(q0):W0&&F0.complete()},o.prototype.asObservable=function(){var F0=new Observable_1$l.Observable;return F0.source=this,F0},o.create=function(F0,L0){return new AnonymousSubject(F0,L0)},o}(Observable_1$l.Observable);Subject$1.Subject=Subject;var AnonymousSubject=function(s){__extends$d(o,s);function o(F0,L0){var B0=s.call(this)||this;return B0.destination=F0,B0.source=L0,B0}return o.prototype.next=function(F0){var L0,B0;(B0=(L0=this.destination)===null||L0===void 0?void 0:L0.next)===null||B0===void 0||B0.call(L0,F0)},o.prototype.error=function(F0){var L0,B0;(B0=(L0=this.destination)===null||L0===void 0?void 0:L0.error)===null||B0===void 0||B0.call(L0,F0)},o.prototype.complete=function(){var F0,L0;(L0=(F0=this.destination)===null||F0===void 0?void 0:F0.complete)===null||L0===void 0||L0.call(F0)},o.prototype._subscribe=function(F0){var L0,B0;return(B0=(L0=this.source)===null||L0===void 0?void 0:L0.subscribe(F0))!==null&&B0!==void 0?B0:Subscription_1$6.EMPTY_SUBSCRIPTION},o}(Subject);Subject$1.AnonymousSubject=AnonymousSubject;var BehaviorSubject$1={},__extends$c=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(BehaviorSubject$1,"__esModule",{value:!0});BehaviorSubject$1.BehaviorSubject=void 0;var Subject_1$e=Subject$1,BehaviorSubject=function(s){__extends$c(o,s);function o(F0){var L0=s.call(this)||this;return L0._value=F0,L0}return Object.defineProperty(o.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),o.prototype._subscribe=function(F0){var L0=s.prototype._subscribe.call(this,F0);return!L0.closed&&F0.next(this._value),L0},o.prototype.getValue=function(){var F0=this,L0=F0.hasError,B0=F0.thrownError,q0=F0._value;if(L0)throw B0;return this._throwIfClosed(),q0},o.prototype.next=function(F0){s.prototype.next.call(this,this._value=F0)},o}(Subject_1$e.Subject);BehaviorSubject$1.BehaviorSubject=BehaviorSubject;var ReplaySubject$1={},dateTimestampProvider={};(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.dateTimestampProvider=void 0,s.dateTimestampProvider={now:function(){return(s.dateTimestampProvider.delegate||Date).now()},delegate:void 0}})(dateTimestampProvider);var __extends$b=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(ReplaySubject$1,"__esModule",{value:!0});ReplaySubject$1.ReplaySubject=void 0;var Subject_1$d=Subject$1,dateTimestampProvider_1$2=dateTimestampProvider,ReplaySubject=function(s){__extends$b(o,s);function o(F0,L0,B0){F0===void 0&&(F0=1/0),L0===void 0&&(L0=1/0),B0===void 0&&(B0=dateTimestampProvider_1$2.dateTimestampProvider);var q0=s.call(this)||this;return q0._bufferSize=F0,q0._windowTime=L0,q0._timestampProvider=B0,q0._buffer=[],q0._infiniteTimeWindow=!0,q0._infiniteTimeWindow=L0===1/0,q0._bufferSize=Math.max(1,F0),q0._windowTime=Math.max(1,L0),q0}return o.prototype.next=function(F0){var L0=this,B0=L0.isStopped,q0=L0._buffer,W0=L0._infiniteTimeWindow,X0=L0._timestampProvider,K0=L0._windowTime;B0||(q0.push(F0),!W0&&q0.push(X0.now()+K0)),this._trimBuffer(),s.prototype.next.call(this,F0)},o.prototype._subscribe=function(F0){this._throwIfClosed(),this._trimBuffer();for(var L0=this._innerSubscribe(F0),B0=this,q0=B0._infiniteTimeWindow,W0=B0._buffer,X0=W0.slice(),K0=0;K0<X0.length&&!F0.closed;K0+=q0?1:2)F0.next(X0[K0]);return this._checkFinalizedStatuses(F0),L0},o.prototype._trimBuffer=function(){var F0=this,L0=F0._bufferSize,B0=F0._timestampProvider,q0=F0._buffer,W0=F0._infiniteTimeWindow,X0=(W0?1:2)*L0;if(L0<1/0&&X0<q0.length&&q0.splice(0,q0.length-X0),!W0){for(var K0=B0.now(),D_=0,I_=1;I_<q0.length&&q0[I_]<=K0;I_+=2)D_=I_;D_&&q0.splice(0,D_+1)}},o}(Subject_1$d.Subject);ReplaySubject$1.ReplaySubject=ReplaySubject;var AsyncSubject$1={},__extends$a=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AsyncSubject$1,"__esModule",{value:!0});AsyncSubject$1.AsyncSubject=void 0;var Subject_1$c=Subject$1,AsyncSubject=function(s){__extends$a(o,s);function o(){var F0=s!==null&&s.apply(this,arguments)||this;return F0._value=null,F0._hasValue=!1,F0._isComplete=!1,F0}return o.prototype._checkFinalizedStatuses=function(F0){var L0=this,B0=L0.hasError,q0=L0._hasValue,W0=L0._value,X0=L0.thrownError,K0=L0.isStopped,D_=L0._isComplete;B0?F0.error(X0):(K0||D_)&&(q0&&F0.next(W0),F0.complete())},o.prototype.next=function(F0){this.isStopped||(this._value=F0,this._hasValue=!0)},o.prototype.complete=function(){var F0=this,L0=F0._hasValue,B0=F0._value,q0=F0._isComplete;q0||(this._isComplete=!0,L0&&s.prototype.next.call(this,B0),s.prototype.complete.call(this))},o}(Subject_1$c.Subject);AsyncSubject$1.AsyncSubject=AsyncSubject;var asap={},AsapAction$1={},AsyncAction$1={},Action$1={},__extends$9=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(Action$1,"__esModule",{value:!0});Action$1.Action=void 0;var Subscription_1$5=Subscription$1,Action=function(s){__extends$9(o,s);function o(F0,L0){return s.call(this)||this}return o.prototype.schedule=function(F0,L0){return this},o}(Subscription_1$5.Subscription);Action$1.Action=Action;var intervalProvider={};(function(s){var o=commonjsGlobal&&commonjsGlobal.__read||function(L0,B0){var q0=typeof Symbol=="function"&&L0[Symbol.iterator];if(!q0)return L0;var W0=q0.call(L0),X0,K0=[],D_;try{for(;(B0===void 0||B0-- >0)&&!(X0=W0.next()).done;)K0.push(X0.value)}catch(I_){D_={error:I_}}finally{try{X0&&!X0.done&&(q0=W0.return)&&q0.call(W0)}finally{if(D_)throw D_.error}}return K0},F0=commonjsGlobal&&commonjsGlobal.__spreadArray||function(L0,B0){for(var q0=0,W0=B0.length,X0=L0.length;q0<W0;q0++,X0++)L0[X0]=B0[q0];return L0};Object.defineProperty(s,"__esModule",{value:!0}),s.intervalProvider=void 0,s.intervalProvider={setInterval:function(L0,B0){for(var q0=[],W0=2;W0<arguments.length;W0++)q0[W0-2]=arguments[W0];var X0=s.intervalProvider.delegate;return X0!=null&&X0.setInterval?X0.setInterval.apply(X0,F0([L0,B0],o(q0))):setInterval.apply(void 0,F0([L0,B0],o(q0)))},clearInterval:function(L0){var B0=s.intervalProvider.delegate;return((B0==null?void 0:B0.clearInterval)||clearInterval)(L0)},delegate:void 0}})(intervalProvider);var __extends$8=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AsyncAction$1,"__esModule",{value:!0});AsyncAction$1.AsyncAction=void 0;var Action_1=Action$1,intervalProvider_1=intervalProvider,arrRemove_1$5=arrRemove$1,AsyncAction=function(s){__extends$8(o,s);function o(F0,L0){var B0=s.call(this,F0,L0)||this;return B0.scheduler=F0,B0.work=L0,B0.pending=!1,B0}return o.prototype.schedule=function(F0,L0){var B0;if(L0===void 0&&(L0=0),this.closed)return this;this.state=F0;var q0=this.id,W0=this.scheduler;return q0!=null&&(this.id=this.recycleAsyncId(W0,q0,L0)),this.pending=!0,this.delay=L0,this.id=(B0=this.id)!==null&&B0!==void 0?B0:this.requestAsyncId(W0,this.id,L0),this},o.prototype.requestAsyncId=function(F0,L0,B0){return B0===void 0&&(B0=0),intervalProvider_1.intervalProvider.setInterval(F0.flush.bind(F0,this),B0)},o.prototype.recycleAsyncId=function(F0,L0,B0){if(B0===void 0&&(B0=0),B0!=null&&this.delay===B0&&this.pending===!1)return L0;L0!=null&&intervalProvider_1.intervalProvider.clearInterval(L0)},o.prototype.execute=function(F0,L0){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var B0=this._execute(F0,L0);if(B0)return B0;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},o.prototype._execute=function(F0,L0){var B0=!1,q0;try{this.work(F0)}catch(W0){B0=!0,q0=W0||new Error("Scheduled action threw falsy error")}if(B0)return this.unsubscribe(),q0},o.prototype.unsubscribe=function(){if(!this.closed){var F0=this,L0=F0.id,B0=F0.scheduler,q0=B0.actions;this.work=this.state=this.scheduler=null,this.pending=!1,arrRemove_1$5.arrRemove(q0,this),L0!=null&&(this.id=this.recycleAsyncId(B0,L0,null)),this.delay=null,s.prototype.unsubscribe.call(this)}},o}(Action_1.Action);AsyncAction$1.AsyncAction=AsyncAction;var immediateProvider={},Immediate={};Object.defineProperty(Immediate,"__esModule",{value:!0});Immediate.TestTools=Immediate.Immediate=void 0;var nextHandle=1,resolved,activeHandles={};function findAndClearHandle(s){return s in activeHandles?(delete activeHandles[s],!0):!1}Immediate.Immediate={setImmediate:function(s){var o=nextHandle++;return activeHandles[o]=!0,resolved||(resolved=Promise.resolve()),resolved.then(function(){return findAndClearHandle(o)&&s()}),o},clearImmediate:function(s){findAndClearHandle(s)}};Immediate.TestTools={pending:function(){return Object.keys(activeHandles).length}};(function(s){var o=commonjsGlobal&&commonjsGlobal.__read||function(W0,X0){var K0=typeof Symbol=="function"&&W0[Symbol.iterator];if(!K0)return W0;var D_=K0.call(W0),I_,F_=[],R_;try{for(;(X0===void 0||X0-- >0)&&!(I_=D_.next()).done;)F_.push(I_.value)}catch(z_){R_={error:z_}}finally{try{I_&&!I_.done&&(K0=D_.return)&&K0.call(D_)}finally{if(R_)throw R_.error}}return F_},F0=commonjsGlobal&&commonjsGlobal.__spreadArray||function(W0,X0){for(var K0=0,D_=X0.length,I_=W0.length;K0<D_;K0++,I_++)W0[I_]=X0[K0];return W0};Object.defineProperty(s,"__esModule",{value:!0}),s.immediateProvider=void 0;var L0=Immediate,B0=L0.Immediate.setImmediate,q0=L0.Immediate.clearImmediate;s.immediateProvider={setImmediate:function(){for(var W0=[],X0=0;X0<arguments.length;X0++)W0[X0]=arguments[X0];var K0=s.immediateProvider.delegate;return((K0==null?void 0:K0.setImmediate)||B0).apply(void 0,F0([],o(W0)))},clearImmediate:function(W0){var X0=s.immediateProvider.delegate;return((X0==null?void 0:X0.clearImmediate)||q0)(W0)},delegate:void 0}})(immediateProvider);var __extends$7=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AsapAction$1,"__esModule",{value:!0});AsapAction$1.AsapAction=void 0;var AsyncAction_1$3=AsyncAction$1,immediateProvider_1=immediateProvider,AsapAction=function(s){__extends$7(o,s);function o(F0,L0){var B0=s.call(this,F0,L0)||this;return B0.scheduler=F0,B0.work=L0,B0}return o.prototype.requestAsyncId=function(F0,L0,B0){return B0===void 0&&(B0=0),B0!==null&&B0>0?s.prototype.requestAsyncId.call(this,F0,L0,B0):(F0.actions.push(this),F0._scheduled||(F0._scheduled=immediateProvider_1.immediateProvider.setImmediate(F0.flush.bind(F0,void 0))))},o.prototype.recycleAsyncId=function(F0,L0,B0){var q0;if(B0===void 0&&(B0=0),B0!=null?B0>0:this.delay>0)return s.prototype.recycleAsyncId.call(this,F0,L0,B0);var W0=F0.actions;L0!=null&&((q0=W0[W0.length-1])===null||q0===void 0?void 0:q0.id)!==L0&&(immediateProvider_1.immediateProvider.clearImmediate(L0),F0._scheduled===L0&&(F0._scheduled=void 0))},o}(AsyncAction_1$3.AsyncAction);AsapAction$1.AsapAction=AsapAction;var AsapScheduler$1={},AsyncScheduler$1={},Scheduler$1={};Object.defineProperty(Scheduler$1,"__esModule",{value:!0});Scheduler$1.Scheduler=void 0;var dateTimestampProvider_1$1=dateTimestampProvider,Scheduler=function(){function s(o,F0){F0===void 0&&(F0=s.now),this.schedulerActionCtor=o,this.now=F0}return s.prototype.schedule=function(o,F0,L0){return F0===void 0&&(F0=0),new this.schedulerActionCtor(this,o).schedule(L0,F0)},s.now=dateTimestampProvider_1$1.dateTimestampProvider.now,s}();Scheduler$1.Scheduler=Scheduler;var __extends$6=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AsyncScheduler$1,"__esModule",{value:!0});AsyncScheduler$1.AsyncScheduler=void 0;var Scheduler_1=Scheduler$1,AsyncScheduler=function(s){__extends$6(o,s);function o(F0,L0){L0===void 0&&(L0=Scheduler_1.Scheduler.now);var B0=s.call(this,F0,L0)||this;return B0.actions=[],B0._active=!1,B0}return o.prototype.flush=function(F0){var L0=this.actions;if(this._active){L0.push(F0);return}var B0;this._active=!0;do if(B0=F0.execute(F0.state,F0.delay))break;while(F0=L0.shift());if(this._active=!1,B0){for(;F0=L0.shift();)F0.unsubscribe();throw B0}},o}(Scheduler_1.Scheduler);AsyncScheduler$1.AsyncScheduler=AsyncScheduler;var __extends$5=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AsapScheduler$1,"__esModule",{value:!0});AsapScheduler$1.AsapScheduler=void 0;var AsyncScheduler_1$3=AsyncScheduler$1,AsapScheduler=function(s){__extends$5(o,s);function o(){return s!==null&&s.apply(this,arguments)||this}return o.prototype.flush=function(F0){this._active=!0;var L0=this._scheduled;this._scheduled=void 0;var B0=this.actions,q0;F0=F0||B0.shift();do if(q0=F0.execute(F0.state,F0.delay))break;while((F0=B0[0])&&F0.id===L0&&B0.shift());if(this._active=!1,q0){for(;(F0=B0[0])&&F0.id===L0&&B0.shift();)F0.unsubscribe();throw q0}},o}(AsyncScheduler_1$3.AsyncScheduler);AsapScheduler$1.AsapScheduler=AsapScheduler;(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.asap=s.asapScheduler=void 0;var o=AsapAction$1,F0=AsapScheduler$1;s.asapScheduler=new F0.AsapScheduler(o.AsapAction),s.asap=s.asapScheduler})(asap);var async={};(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.async=s.asyncScheduler=void 0;var o=AsyncAction$1,F0=AsyncScheduler$1;s.asyncScheduler=new F0.AsyncScheduler(o.AsyncAction),s.async=s.asyncScheduler})(async);var queue={},QueueAction$1={},__extends$4=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(QueueAction$1,"__esModule",{value:!0});QueueAction$1.QueueAction=void 0;var AsyncAction_1$2=AsyncAction$1,QueueAction=function(s){__extends$4(o,s);function o(F0,L0){var B0=s.call(this,F0,L0)||this;return B0.scheduler=F0,B0.work=L0,B0}return o.prototype.schedule=function(F0,L0){return L0===void 0&&(L0=0),L0>0?s.prototype.schedule.call(this,F0,L0):(this.delay=L0,this.state=F0,this.scheduler.flush(this),this)},o.prototype.execute=function(F0,L0){return L0>0||this.closed?s.prototype.execute.call(this,F0,L0):this._execute(F0,L0)},o.prototype.requestAsyncId=function(F0,L0,B0){return B0===void 0&&(B0=0),B0!=null&&B0>0||B0==null&&this.delay>0?s.prototype.requestAsyncId.call(this,F0,L0,B0):(F0.flush(this),0)},o}(AsyncAction_1$2.AsyncAction);QueueAction$1.QueueAction=QueueAction;var QueueScheduler$1={},__extends$3=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(QueueScheduler$1,"__esModule",{value:!0});QueueScheduler$1.QueueScheduler=void 0;var AsyncScheduler_1$2=AsyncScheduler$1,QueueScheduler=function(s){__extends$3(o,s);function o(){return s!==null&&s.apply(this,arguments)||this}return o}(AsyncScheduler_1$2.AsyncScheduler);QueueScheduler$1.QueueScheduler=QueueScheduler;(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.queue=s.queueScheduler=void 0;var o=QueueAction$1,F0=QueueScheduler$1;s.queueScheduler=new F0.QueueScheduler(o.QueueAction),s.queue=s.queueScheduler})(queue);var animationFrame={},AnimationFrameAction$1={},__extends$2=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AnimationFrameAction$1,"__esModule",{value:!0});AnimationFrameAction$1.AnimationFrameAction=void 0;var AsyncAction_1$1=AsyncAction$1,animationFrameProvider_1=animationFrameProvider,AnimationFrameAction=function(s){__extends$2(o,s);function o(F0,L0){var B0=s.call(this,F0,L0)||this;return B0.scheduler=F0,B0.work=L0,B0}return o.prototype.requestAsyncId=function(F0,L0,B0){return B0===void 0&&(B0=0),B0!==null&&B0>0?s.prototype.requestAsyncId.call(this,F0,L0,B0):(F0.actions.push(this),F0._scheduled||(F0._scheduled=animationFrameProvider_1.animationFrameProvider.requestAnimationFrame(function(){return F0.flush(void 0)})))},o.prototype.recycleAsyncId=function(F0,L0,B0){var q0;if(B0===void 0&&(B0=0),B0!=null?B0>0:this.delay>0)return s.prototype.recycleAsyncId.call(this,F0,L0,B0);var W0=F0.actions;L0!=null&&L0===F0._scheduled&&((q0=W0[W0.length-1])===null||q0===void 0?void 0:q0.id)!==L0&&(animationFrameProvider_1.animationFrameProvider.cancelAnimationFrame(L0),F0._scheduled=void 0)},o}(AsyncAction_1$1.AsyncAction);AnimationFrameAction$1.AnimationFrameAction=AnimationFrameAction;var AnimationFrameScheduler$1={},__extends$1=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(AnimationFrameScheduler$1,"__esModule",{value:!0});AnimationFrameScheduler$1.AnimationFrameScheduler=void 0;var AsyncScheduler_1$1=AsyncScheduler$1,AnimationFrameScheduler=function(s){__extends$1(o,s);function o(){return s!==null&&s.apply(this,arguments)||this}return o.prototype.flush=function(F0){this._active=!0;var L0;F0?L0=F0.id:(L0=this._scheduled,this._scheduled=void 0);var B0=this.actions,q0;F0=F0||B0.shift();do if(q0=F0.execute(F0.state,F0.delay))break;while((F0=B0[0])&&F0.id===L0&&B0.shift());if(this._active=!1,q0){for(;(F0=B0[0])&&F0.id===L0&&B0.shift();)F0.unsubscribe();throw q0}},o}(AsyncScheduler_1$1.AsyncScheduler);AnimationFrameScheduler$1.AnimationFrameScheduler=AnimationFrameScheduler;(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.animationFrame=s.animationFrameScheduler=void 0;var o=AnimationFrameAction$1,F0=AnimationFrameScheduler$1;s.animationFrameScheduler=new F0.AnimationFrameScheduler(o.AnimationFrameAction),s.animationFrame=s.animationFrameScheduler})(animationFrame);var VirtualTimeScheduler$1={},__extends=commonjsGlobal&&commonjsGlobal.__extends||function(){var s=function(o,F0){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L0,B0){L0.__proto__=B0}||function(L0,B0){for(var q0 in B0)Object.prototype.hasOwnProperty.call(B0,q0)&&(L0[q0]=B0[q0])},s(o,F0)};return function(o,F0){if(typeof F0!="function"&&F0!==null)throw new TypeError("Class extends value "+String(F0)+" is not a constructor or null");s(o,F0);function L0(){this.constructor=o}o.prototype=F0===null?Object.create(F0):(L0.prototype=F0.prototype,new L0)}}();Object.defineProperty(VirtualTimeScheduler$1,"__esModule",{value:!0});VirtualTimeScheduler$1.VirtualAction=VirtualTimeScheduler$1.VirtualTimeScheduler=void 0;var AsyncAction_1=AsyncAction$1,Subscription_1$4=Subscription$1,AsyncScheduler_1=AsyncScheduler$1,VirtualTimeScheduler=function(s){__extends(o,s);function o(F0,L0){F0===void 0&&(F0=VirtualAction),L0===void 0&&(L0=1/0);var B0=s.call(this,F0,function(){return B0.frame})||this;return B0.maxFrames=L0,B0.frame=0,B0.index=-1,B0}return o.prototype.flush=function(){for(var F0=this,L0=F0.actions,B0=F0.maxFrames,q0,W0;(W0=L0[0])&&W0.delay<=B0&&(L0.shift(),this.frame=W0.delay,!(q0=W0.execute(W0.state,W0.delay))););if(q0){for(;W0=L0.shift();)W0.unsubscribe();throw q0}},o.frameTimeFactor=10,o}(AsyncScheduler_1.AsyncScheduler);VirtualTimeScheduler$1.VirtualTimeScheduler=VirtualTimeScheduler;var VirtualAction=function(s){__extends(o,s);function o(F0,L0,B0){B0===void 0&&(B0=F0.index+=1);var q0=s.call(this,F0,L0)||this;return q0.scheduler=F0,q0.work=L0,q0.index=B0,q0.active=!0,q0.index=F0.index=B0,q0}return o.prototype.schedule=function(F0,L0){if(L0===void 0&&(L0=0),Number.isFinite(L0)){if(!this.id)return s.prototype.schedule.call(this,F0,L0);this.active=!1;var B0=new o(this.scheduler,this.work);return this.add(B0),B0.schedule(F0,L0)}else return Subscription_1$4.Subscription.EMPTY},o.prototype.requestAsyncId=function(F0,L0,B0){B0===void 0&&(B0=0),this.delay=F0.frame+B0;var q0=F0.actions;return q0.push(this),q0.sort(o.sortActions),1},o.prototype.recycleAsyncId=function(F0,L0,B0){},o.prototype._execute=function(F0,L0){if(this.active===!0)return s.prototype._execute.call(this,F0,L0)},o.sortActions=function(F0,L0){return F0.delay===L0.delay?F0.index===L0.index?0:F0.index>L0.index?1:-1:F0.delay>L0.delay?1:-1},o}(AsyncAction_1.AsyncAction);VirtualTimeScheduler$1.VirtualAction=VirtualAction;var Notification={},empty$1={};(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.empty=s.EMPTY=void 0;var o=Observable$1;s.EMPTY=new o.Observable(function(B0){return B0.complete()});function F0(B0){return B0?L0(B0):s.EMPTY}s.empty=F0;function L0(B0){return new o.Observable(function(q0){return B0.schedule(function(){return q0.complete()})})}})(empty$1);var of$3={},args={},isScheduler$1={};Object.defineProperty(isScheduler$1,"__esModule",{value:!0});isScheduler$1.isScheduler=void 0;var isFunction_1$m=isFunction$1;function isScheduler(s){return s&&isFunction_1$m.isFunction(s.schedule)}isScheduler$1.isScheduler=isScheduler;Object.defineProperty(args,"__esModule",{value:!0});args.popNumber=args.popScheduler=args.popResultSelector=void 0;var isFunction_1$l=isFunction$1,isScheduler_1$3=isScheduler$1;function last$2(s){return s[s.length-1]}function popResultSelector(s){return isFunction_1$l.isFunction(last$2(s))?s.pop():void 0}args.popResultSelector=popResultSelector;function popScheduler(s){return isScheduler_1$3.isScheduler(last$2(s))?s.pop():void 0}args.popScheduler=popScheduler;function popNumber(s,o){return typeof last$2(s)=="number"?s.pop():o}args.popNumber=popNumber;var from$3={},scheduled$1={},scheduleObservable$1={},innerFrom$1={},isArrayLike={};Object.defineProperty(isArrayLike,"__esModule",{value:!0});isArrayLike.isArrayLike=void 0;isArrayLike.isArrayLike=function(s){return s&&typeof s.length=="number"&&typeof s!="function"};var isPromise$2={};Object.defineProperty(isPromise$2,"__esModule",{value:!0});isPromise$2.isPromise=void 0;var isFunction_1$k=isFunction$1;function isPromise$1(s){return isFunction_1$k.isFunction(s==null?void 0:s.then)}isPromise$2.isPromise=isPromise$1;var isInteropObservable$1={};Object.defineProperty(isInteropObservable$1,"__esModule",{value:!0});isInteropObservable$1.isInteropObservable=void 0;var observable_1$1=observable,isFunction_1$j=isFunction$1;function isInteropObservable(s){return isFunction_1$j.isFunction(s[observable_1$1.observable])}isInteropObservable$1.isInteropObservable=isInteropObservable;var isAsyncIterable$1={};Object.defineProperty(isAsyncIterable$1,"__esModule",{value:!0});isAsyncIterable$1.isAsyncIterable=void 0;var isFunction_1$i=isFunction$1;function isAsyncIterable(s){return Symbol.asyncIterator&&isFunction_1$i.isFunction(s==null?void 0:s[Symbol.asyncIterator])}isAsyncIterable$1.isAsyncIterable=isAsyncIterable;var throwUnobservableError={};Object.defineProperty(throwUnobservableError,"__esModule",{value:!0});throwUnobservableError.createInvalidObservableTypeError=void 0;function createInvalidObservableTypeError(s){return new TypeError("You provided "+(s!==null&&typeof s=="object"?"an invalid object":"'"+s+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}throwUnobservableError.createInvalidObservableTypeError=createInvalidObservableTypeError;var isIterable$1={},iterator={};Object.defineProperty(iterator,"__esModule",{value:!0});iterator.iterator=iterator.getSymbolIterator=void 0;function getSymbolIterator(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}iterator.getSymbolIterator=getSymbolIterator;iterator.iterator=getSymbolIterator();Object.defineProperty(isIterable$1,"__esModule",{value:!0});isIterable$1.isIterable=void 0;var iterator_1$1=iterator,isFunction_1$h=isFunction$1;function isIterable(s){return isFunction_1$h.isFunction(s==null?void 0:s[iterator_1$1.iterator])}isIterable$1.isIterable=isIterable;var isReadableStreamLike$1={},__generator$2=commonjsGlobal&&commonjsGlobal.__generator||function(s,o){var F0={label:0,sent:function(){if(q0[0]&1)throw q0[1];return q0[1]},trys:[],ops:[]},L0,B0,q0,W0;return W0={next:X0(0),throw:X0(1),return:X0(2)},typeof Symbol=="function"&&(W0[Symbol.iterator]=function(){return this}),W0;function X0(D_){return function(I_){return K0([D_,I_])}}function K0(D_){if(L0)throw new TypeError("Generator is already executing.");for(;F0;)try{if(L0=1,B0&&(q0=D_[0]&2?B0.return:D_[0]?B0.throw||((q0=B0.return)&&q0.call(B0),0):B0.next)&&!(q0=q0.call(B0,D_[1])).done)return q0;switch(B0=0,q0&&(D_=[D_[0]&2,q0.value]),D_[0]){case 0:case 1:q0=D_;break;case 4:return F0.label++,{value:D_[1],done:!1};case 5:F0.label++,B0=D_[1],D_=[0];continue;case 7:D_=F0.ops.pop(),F0.trys.pop();continue;default:if(q0=F0.trys,!(q0=q0.length>0&&q0[q0.length-1])&&(D_[0]===6||D_[0]===2)){F0=0;continue}if(D_[0]===3&&(!q0||D_[1]>q0[0]&&D_[1]<q0[3])){F0.label=D_[1];break}if(D_[0]===6&&F0.label<q0[1]){F0.label=q0[1],q0=D_;break}if(q0&&F0.label<q0[2]){F0.label=q0[2],F0.ops.push(D_);break}q0[2]&&F0.ops.pop(),F0.trys.pop();continue}D_=o.call(s,F0)}catch(I_){D_=[6,I_],B0=0}finally{L0=q0=0}if(D_[0]&5)throw D_[1];return{value:D_[0]?D_[1]:void 0,done:!0}}},__await=commonjsGlobal&&commonjsGlobal.__await||function(s){return this instanceof __await?(this.v=s,this):new __await(s)},__asyncGenerator=commonjsGlobal&&commonjsGlobal.__asyncGenerator||function(s,o,F0){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var L0=F0.apply(s,o||[]),B0,q0=[];return B0={},W0("next"),W0("throw"),W0("return"),B0[Symbol.asyncIterator]=function(){return this},B0;function W0(R_){L0[R_]&&(B0[R_]=function(z_){return new Promise(function(H_,Oy){q0.push([R_,z_,H_,Oy])>1||X0(R_,z_)})})}function X0(R_,z_){try{K0(L0[R_](z_))}catch(H_){F_(q0[0][3],H_)}}function K0(R_){R_.value instanceof __await?Promise.resolve(R_.value.v).then(D_,I_):F_(q0[0][2],R_)}function D_(R_){X0("next",R_)}function I_(R_){X0("throw",R_)}function F_(R_,z_){R_(z_),q0.shift(),q0.length&&X0(q0[0][0],q0[0][1])}};Object.defineProperty(isReadableStreamLike$1,"__esModule",{value:!0});isReadableStreamLike$1.isReadableStreamLike=isReadableStreamLike$1.readableStreamLikeToAsyncGenerator=void 0;var isFunction_1$g=isFunction$1;function readableStreamLikeToAsyncGenerator(s){return __asyncGenerator(this,arguments,function(){var F0,L0,B0,q0;return __generator$2(this,function(W0){switch(W0.label){case 0:F0=s.getReader(),W0.label=1;case 1:W0.trys.push([1,,9,10]),W0.label=2;case 2:return[4,__await(F0.read())];case 3:return L0=W0.sent(),B0=L0.value,q0=L0.done,q0?[4,__await(void 0)]:[3,5];case 4:return[2,W0.sent()];case 5:return[4,__await(B0)];case 6:return[4,W0.sent()];case 7:return W0.sent(),[3,2];case 8:return[3,10];case 9:return F0.releaseLock(),[7];case 10:return[2]}})})}isReadableStreamLike$1.readableStreamLikeToAsyncGenerator=readableStreamLikeToAsyncGenerator;function isReadableStreamLike(s){return isFunction_1$g.isFunction(s==null?void 0:s.getReader)}isReadableStreamLike$1.isReadableStreamLike=isReadableStreamLike;var __awaiter=commonjsGlobal&&commonjsGlobal.__awaiter||function(s,o,F0,L0){function B0(q0){return q0 instanceof F0?q0:new F0(function(W0){W0(q0)})}return new(F0||(F0=Promise))(function(q0,W0){function X0(I_){try{D_(L0.next(I_))}catch(F_){W0(F_)}}function K0(I_){try{D_(L0.throw(I_))}catch(F_){W0(F_)}}function D_(I_){I_.done?q0(I_.value):B0(I_.value).then(X0,K0)}D_((L0=L0.apply(s,o||[])).next())})},__generator$1=commonjsGlobal&&commonjsGlobal.__generator||function(s,o){var F0={label:0,sent:function(){if(q0[0]&1)throw q0[1];return q0[1]},trys:[],ops:[]},L0,B0,q0,W0;return W0={next:X0(0),throw:X0(1),return:X0(2)},typeof Symbol=="function"&&(W0[Symbol.iterator]=function(){return this}),W0;function X0(D_){return function(I_){return K0([D_,I_])}}function K0(D_){if(L0)throw new TypeError("Generator is already executing.");for(;F0;)try{if(L0=1,B0&&(q0=D_[0]&2?B0.return:D_[0]?B0.throw||((q0=B0.return)&&q0.call(B0),0):B0.next)&&!(q0=q0.call(B0,D_[1])).done)return q0;switch(B0=0,q0&&(D_=[D_[0]&2,q0.value]),D_[0]){case 0:case 1:q0=D_;break;case 4:return F0.label++,{value:D_[1],done:!1};case 5:F0.label++,B0=D_[1],D_=[0];continue;case 7:D_=F0.ops.pop(),F0.trys.pop();continue;default:if(q0=F0.trys,!(q0=q0.length>0&&q0[q0.length-1])&&(D_[0]===6||D_[0]===2)){F0=0;continue}if(D_[0]===3&&(!q0||D_[1]>q0[0]&&D_[1]<q0[3])){F0.label=D_[1];break}if(D_[0]===6&&F0.label<q0[1]){F0.label=q0[1],q0=D_;break}if(q0&&F0.label<q0[2]){F0.label=q0[2],F0.ops.push(D_);break}q0[2]&&F0.ops.pop(),F0.trys.pop();continue}D_=o.call(s,F0)}catch(I_){D_=[6,I_],B0=0}finally{L0=q0=0}if(D_[0]&5)throw D_[1];return{value:D_[0]?D_[1]:void 0,done:!0}}},__asyncValues=commonjsGlobal&&commonjsGlobal.__asyncValues||function(s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=s[Symbol.asyncIterator],F0;return o?o.call(s):(s=typeof __values$6=="function"?__values$6(s):s[Symbol.iterator](),F0={},L0("next"),L0("throw"),L0("return"),F0[Symbol.asyncIterator]=function(){return this},F0);function L0(q0){F0[q0]=s[q0]&&function(W0){return new Promise(function(X0,K0){W0=s[q0](W0),B0(X0,K0,W0.done,W0.value)})}}function B0(q0,W0,X0,K0){Promise.resolve(K0).then(function(D_){q0({value:D_,done:X0})},W0)}},__values$6=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(innerFrom$1,"__esModule",{value:!0});innerFrom$1.fromReadableStreamLike=innerFrom$1.fromAsyncIterable=innerFrom$1.fromIterable=innerFrom$1.fromPromise=innerFrom$1.fromArrayLike=innerFrom$1.fromInteropObservable=innerFrom$1.innerFrom=void 0;var isArrayLike_1$3=isArrayLike,isPromise_1$1=isPromise$2,Observable_1$k=Observable$1,isInteropObservable_1$1=isInteropObservable$1,isAsyncIterable_1$1=isAsyncIterable$1,throwUnobservableError_1$1=throwUnobservableError,isIterable_1$1=isIterable$1,isReadableStreamLike_1$2=isReadableStreamLike$1,isFunction_1$f=isFunction$1,reportUnhandledError_1=reportUnhandledError$1,observable_1=observable;function innerFrom(s){if(s instanceof Observable_1$k.Observable)return s;if(s!=null){if(isInteropObservable_1$1.isInteropObservable(s))return fromInteropObservable(s);if(isArrayLike_1$3.isArrayLike(s))return fromArrayLike(s);if(isPromise_1$1.isPromise(s))return fromPromise(s);if(isAsyncIterable_1$1.isAsyncIterable(s))return fromAsyncIterable(s);if(isIterable_1$1.isIterable(s))return fromIterable(s);if(isReadableStreamLike_1$2.isReadableStreamLike(s))return fromReadableStreamLike(s)}throw throwUnobservableError_1$1.createInvalidObservableTypeError(s)}innerFrom$1.innerFrom=innerFrom;function fromInteropObservable(s){return new Observable_1$k.Observable(function(o){var F0=s[observable_1.observable]();if(isFunction_1$f.isFunction(F0.subscribe))return F0.subscribe(o);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}innerFrom$1.fromInteropObservable=fromInteropObservable;function fromArrayLike(s){return new Observable_1$k.Observable(function(o){for(var F0=0;F0<s.length&&!o.closed;F0++)o.next(s[F0]);o.complete()})}innerFrom$1.fromArrayLike=fromArrayLike;function fromPromise(s){return new Observable_1$k.Observable(function(o){s.then(function(F0){o.closed||(o.next(F0),o.complete())},function(F0){return o.error(F0)}).then(null,reportUnhandledError_1.reportUnhandledError)})}innerFrom$1.fromPromise=fromPromise;function fromIterable(s){return new Observable_1$k.Observable(function(o){var F0,L0;try{for(var B0=__values$6(s),q0=B0.next();!q0.done;q0=B0.next()){var W0=q0.value;if(o.next(W0),o.closed)return}}catch(X0){F0={error:X0}}finally{try{q0&&!q0.done&&(L0=B0.return)&&L0.call(B0)}finally{if(F0)throw F0.error}}o.complete()})}innerFrom$1.fromIterable=fromIterable;function fromAsyncIterable(s){return new Observable_1$k.Observable(function(o){process$1(s,o).catch(function(F0){return o.error(F0)})})}innerFrom$1.fromAsyncIterable=fromAsyncIterable;function fromReadableStreamLike(s){return fromAsyncIterable(isReadableStreamLike_1$2.readableStreamLikeToAsyncGenerator(s))}innerFrom$1.fromReadableStreamLike=fromReadableStreamLike;function process$1(s,o){var F0,L0,B0,q0;return __awaiter(this,void 0,void 0,function(){var W0,X0;return __generator$1(this,function(K0){switch(K0.label){case 0:K0.trys.push([0,5,6,11]),F0=__asyncValues(s),K0.label=1;case 1:return[4,F0.next()];case 2:if(L0=K0.sent(),!!L0.done)return[3,4];if(W0=L0.value,o.next(W0),o.closed)return[2];K0.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return X0=K0.sent(),B0={error:X0},[3,11];case 6:return K0.trys.push([6,,9,10]),L0&&!L0.done&&(q0=F0.return)?[4,q0.call(F0)]:[3,8];case 7:K0.sent(),K0.label=8;case 8:return[3,10];case 9:if(B0)throw B0.error;return[7];case 10:return[7];case 11:return o.complete(),[2]}})})}var observeOn$1={},executeSchedule$1={};Object.defineProperty(executeSchedule$1,"__esModule",{value:!0});executeSchedule$1.executeSchedule=void 0;function executeSchedule(s,o,F0,L0,B0){L0===void 0&&(L0=0),B0===void 0&&(B0=!1);var q0=o.schedule(function(){F0(),B0?s.add(this.schedule(null,L0)):this.unsubscribe()},L0);if(s.add(q0),!B0)return q0}executeSchedule$1.executeSchedule=executeSchedule;Object.defineProperty(observeOn$1,"__esModule",{value:!0});observeOn$1.observeOn=void 0;var executeSchedule_1$6=executeSchedule$1,lift_1$12=lift,OperatorSubscriber_1$T=OperatorSubscriber$1;function observeOn(s,o){return o===void 0&&(o=0),lift_1$12.operate(function(F0,L0){F0.subscribe(OperatorSubscriber_1$T.createOperatorSubscriber(L0,function(B0){return executeSchedule_1$6.executeSchedule(L0,s,function(){return L0.next(B0)},o)},function(){return executeSchedule_1$6.executeSchedule(L0,s,function(){return L0.complete()},o)},function(B0){return executeSchedule_1$6.executeSchedule(L0,s,function(){return L0.error(B0)},o)}))})}observeOn$1.observeOn=observeOn;var subscribeOn$1={};Object.defineProperty(subscribeOn$1,"__esModule",{value:!0});subscribeOn$1.subscribeOn=void 0;var lift_1$11=lift;function subscribeOn(s,o){return o===void 0&&(o=0),lift_1$11.operate(function(F0,L0){L0.add(s.schedule(function(){return F0.subscribe(L0)},o))})}subscribeOn$1.subscribeOn=subscribeOn;Object.defineProperty(scheduleObservable$1,"__esModule",{value:!0});scheduleObservable$1.scheduleObservable=void 0;var innerFrom_1$D=innerFrom$1,observeOn_1$2=observeOn$1,subscribeOn_1$2=subscribeOn$1;function scheduleObservable(s,o){return innerFrom_1$D.innerFrom(s).pipe(subscribeOn_1$2.subscribeOn(o),observeOn_1$2.observeOn(o))}scheduleObservable$1.scheduleObservable=scheduleObservable;var schedulePromise$1={};Object.defineProperty(schedulePromise$1,"__esModule",{value:!0});schedulePromise$1.schedulePromise=void 0;var innerFrom_1$C=innerFrom$1,observeOn_1$1=observeOn$1,subscribeOn_1$1=subscribeOn$1;function schedulePromise(s,o){return innerFrom_1$C.innerFrom(s).pipe(subscribeOn_1$1.subscribeOn(o),observeOn_1$1.observeOn(o))}schedulePromise$1.schedulePromise=schedulePromise;var scheduleArray$1={};Object.defineProperty(scheduleArray$1,"__esModule",{value:!0});scheduleArray$1.scheduleArray=void 0;var Observable_1$j=Observable$1;function scheduleArray(s,o){return new Observable_1$j.Observable(function(F0){var L0=0;return o.schedule(function(){L0===s.length?F0.complete():(F0.next(s[L0++]),F0.closed||this.schedule())})})}scheduleArray$1.scheduleArray=scheduleArray;var scheduleIterable$1={};Object.defineProperty(scheduleIterable$1,"__esModule",{value:!0});scheduleIterable$1.scheduleIterable=void 0;var Observable_1$i=Observable$1,iterator_1=iterator,isFunction_1$e=isFunction$1,executeSchedule_1$5=executeSchedule$1;function scheduleIterable(s,o){return new Observable_1$i.Observable(function(F0){var L0;return executeSchedule_1$5.executeSchedule(F0,o,function(){L0=s[iterator_1.iterator](),executeSchedule_1$5.executeSchedule(F0,o,function(){var B0,q0,W0;try{B0=L0.next(),q0=B0.value,W0=B0.done}catch(X0){F0.error(X0);return}W0?F0.complete():F0.next(q0)},0,!0)}),function(){return isFunction_1$e.isFunction(L0==null?void 0:L0.return)&&L0.return()}})}scheduleIterable$1.scheduleIterable=scheduleIterable;var scheduleAsyncIterable$1={};Object.defineProperty(scheduleAsyncIterable$1,"__esModule",{value:!0});scheduleAsyncIterable$1.scheduleAsyncIterable=void 0;var Observable_1$h=Observable$1,executeSchedule_1$4=executeSchedule$1;function scheduleAsyncIterable(s,o){if(!s)throw new Error("Iterable cannot be null");return new Observable_1$h.Observable(function(F0){executeSchedule_1$4.executeSchedule(F0,o,function(){var L0=s[Symbol.asyncIterator]();executeSchedule_1$4.executeSchedule(F0,o,function(){L0.next().then(function(B0){B0.done?F0.complete():F0.next(B0.value)})},0,!0)})})}scheduleAsyncIterable$1.scheduleAsyncIterable=scheduleAsyncIterable;var scheduleReadableStreamLike$1={};Object.defineProperty(scheduleReadableStreamLike$1,"__esModule",{value:!0});scheduleReadableStreamLike$1.scheduleReadableStreamLike=void 0;var scheduleAsyncIterable_1$1=scheduleAsyncIterable$1,isReadableStreamLike_1$1=isReadableStreamLike$1;function scheduleReadableStreamLike(s,o){return scheduleAsyncIterable_1$1.scheduleAsyncIterable(isReadableStreamLike_1$1.readableStreamLikeToAsyncGenerator(s),o)}scheduleReadableStreamLike$1.scheduleReadableStreamLike=scheduleReadableStreamLike;Object.defineProperty(scheduled$1,"__esModule",{value:!0});scheduled$1.scheduled=void 0;var scheduleObservable_1=scheduleObservable$1,schedulePromise_1=schedulePromise$1,scheduleArray_1=scheduleArray$1,scheduleIterable_1$1=scheduleIterable$1,scheduleAsyncIterable_1=scheduleAsyncIterable$1,isInteropObservable_1=isInteropObservable$1,isPromise_1=isPromise$2,isArrayLike_1$2=isArrayLike,isIterable_1=isIterable$1,isAsyncIterable_1=isAsyncIterable$1,throwUnobservableError_1=throwUnobservableError,isReadableStreamLike_1=isReadableStreamLike$1,scheduleReadableStreamLike_1=scheduleReadableStreamLike$1;function scheduled(s,o){if(s!=null){if(isInteropObservable_1.isInteropObservable(s))return scheduleObservable_1.scheduleObservable(s,o);if(isArrayLike_1$2.isArrayLike(s))return scheduleArray_1.scheduleArray(s,o);if(isPromise_1.isPromise(s))return schedulePromise_1.schedulePromise(s,o);if(isAsyncIterable_1.isAsyncIterable(s))return scheduleAsyncIterable_1.scheduleAsyncIterable(s,o);if(isIterable_1.isIterable(s))return scheduleIterable_1$1.scheduleIterable(s,o);if(isReadableStreamLike_1.isReadableStreamLike(s))return scheduleReadableStreamLike_1.scheduleReadableStreamLike(s,o)}throw throwUnobservableError_1.createInvalidObservableTypeError(s)}scheduled$1.scheduled=scheduled;Object.defineProperty(from$3,"__esModule",{value:!0});from$3.from=void 0;var scheduled_1=scheduled$1,innerFrom_1$B=innerFrom$1;function from$2(s,o){return o?scheduled_1.scheduled(s,o):innerFrom_1$B.innerFrom(s)}from$3.from=from$2;Object.defineProperty(of$3,"__esModule",{value:!0});of$3.of=void 0;var args_1$c=args,from_1$6=from$3;function of$2(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$c.popScheduler(s);return from_1$6.from(s,F0)}of$3.of=of$2;var throwError$1={};Object.defineProperty(throwError$1,"__esModule",{value:!0});throwError$1.throwError=void 0;var Observable_1$g=Observable$1,isFunction_1$d=isFunction$1;function throwError(s,o){var F0=isFunction_1$d.isFunction(s)?s:function(){return s},L0=function(B0){return B0.error(F0())};return new Observable_1$g.Observable(o?function(B0){return o.schedule(L0,0,B0)}:L0)}throwError$1.throwError=throwError;(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.observeNotification=s.Notification=s.NotificationKind=void 0;var o=empty$1,F0=of$3,L0=throwError$1,B0=isFunction$1;(function(X0){X0.NEXT="N",X0.ERROR="E",X0.COMPLETE="C"})(s.NotificationKind||(s.NotificationKind={}));var q0=function(){function X0(K0,D_,I_){this.kind=K0,this.value=D_,this.error=I_,this.hasValue=K0==="N"}return X0.prototype.observe=function(K0){return W0(this,K0)},X0.prototype.do=function(K0,D_,I_){var F_=this,R_=F_.kind,z_=F_.value,H_=F_.error;return R_==="N"?K0==null?void 0:K0(z_):R_==="E"?D_==null?void 0:D_(H_):I_==null?void 0:I_()},X0.prototype.accept=function(K0,D_,I_){var F_;return B0.isFunction((F_=K0)===null||F_===void 0?void 0:F_.next)?this.observe(K0):this.do(K0,D_,I_)},X0.prototype.toObservable=function(){var K0=this,D_=K0.kind,I_=K0.value,F_=K0.error,R_=D_==="N"?F0.of(I_):D_==="E"?L0.throwError(function(){return F_}):D_==="C"?o.EMPTY:0;if(!R_)throw new TypeError("Unexpected notification kind "+D_);return R_},X0.createNext=function(K0){return new X0("N",K0)},X0.createError=function(K0){return new X0("E",void 0,K0)},X0.createComplete=function(){return X0.completeNotification},X0.completeNotification=new X0("C"),X0}();s.Notification=q0;function W0(X0,K0){var D_,I_,F_,R_=X0,z_=R_.kind,H_=R_.value,Oy=R_.error;if(typeof z_!="string")throw new TypeError('Invalid notification, missing "kind"');z_==="N"?(D_=K0.next)===null||D_===void 0||D_.call(K0,H_):z_==="E"?(I_=K0.error)===null||I_===void 0||I_.call(K0,Oy):(F_=K0.complete)===null||F_===void 0||F_.call(K0)}s.observeNotification=W0})(Notification);var isObservable$1={};Object.defineProperty(isObservable$1,"__esModule",{value:!0});isObservable$1.isObservable=void 0;var Observable_1$f=Observable$1,isFunction_1$c=isFunction$1;function isObservable(s){return!!s&&(s instanceof Observable_1$f.Observable||isFunction_1$c.isFunction(s.lift)&&isFunction_1$c.isFunction(s.subscribe))}isObservable$1.isObservable=isObservable;var lastValueFrom$1={},EmptyError={};Object.defineProperty(EmptyError,"__esModule",{value:!0});EmptyError.EmptyError=void 0;var createErrorClass_1$3=createErrorClass$1;EmptyError.EmptyError=createErrorClass_1$3.createErrorClass(function(s){return function(){s(this),this.name="EmptyError",this.message="no elements in sequence"}});Object.defineProperty(lastValueFrom$1,"__esModule",{value:!0});lastValueFrom$1.lastValueFrom=void 0;var EmptyError_1$5=EmptyError;function lastValueFrom(s,o){var F0=typeof o=="object";return new Promise(function(L0,B0){var q0=!1,W0;s.subscribe({next:function(X0){W0=X0,q0=!0},error:B0,complete:function(){q0?L0(W0):F0?L0(o.defaultValue):B0(new EmptyError_1$5.EmptyError)}})})}lastValueFrom$1.lastValueFrom=lastValueFrom;var firstValueFrom$1={};Object.defineProperty(firstValueFrom$1,"__esModule",{value:!0});firstValueFrom$1.firstValueFrom=void 0;var EmptyError_1$4=EmptyError,Subscriber_1$1=Subscriber;function firstValueFrom(s,o){var F0=typeof o=="object";return new Promise(function(L0,B0){var q0=new Subscriber_1$1.SafeSubscriber({next:function(W0){L0(W0),q0.unsubscribe()},error:B0,complete:function(){F0?L0(o.defaultValue):B0(new EmptyError_1$4.EmptyError)}});s.subscribe(q0)})}firstValueFrom$1.firstValueFrom=firstValueFrom;var ArgumentOutOfRangeError={};Object.defineProperty(ArgumentOutOfRangeError,"__esModule",{value:!0});ArgumentOutOfRangeError.ArgumentOutOfRangeError=void 0;var createErrorClass_1$2=createErrorClass$1;ArgumentOutOfRangeError.ArgumentOutOfRangeError=createErrorClass_1$2.createErrorClass(function(s){return function(){s(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}});var NotFoundError={};Object.defineProperty(NotFoundError,"__esModule",{value:!0});NotFoundError.NotFoundError=void 0;var createErrorClass_1$1=createErrorClass$1;NotFoundError.NotFoundError=createErrorClass_1$1.createErrorClass(function(s){return function(F0){s(this),this.name="NotFoundError",this.message=F0}});var SequenceError={};Object.defineProperty(SequenceError,"__esModule",{value:!0});SequenceError.SequenceError=void 0;var createErrorClass_1=createErrorClass$1;SequenceError.SequenceError=createErrorClass_1.createErrorClass(function(s){return function(F0){s(this),this.name="SequenceError",this.message=F0}});var timeout={},isDate={};Object.defineProperty(isDate,"__esModule",{value:!0});isDate.isValidDate=void 0;function isValidDate(s){return s instanceof Date&&!isNaN(s)}isDate.isValidDate=isValidDate;(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.timeout=s.TimeoutError=void 0;var o=async,F0=isDate,L0=lift,B0=innerFrom$1,q0=createErrorClass$1,W0=OperatorSubscriber$1,X0=executeSchedule$1;s.TimeoutError=q0.createErrorClass(function(I_){return function(R_){R_===void 0&&(R_=null),I_(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=R_}});function K0(I_,F_){var R_=F0.isValidDate(I_)?{first:I_}:typeof I_=="number"?{each:I_}:I_,z_=R_.first,H_=R_.each,Oy=R_.with,qv=Oy===void 0?D_:Oy,Lv=R_.scheduler,S1=Lv===void 0?F_??o.asyncScheduler:Lv,iv=R_.meta,Yv=iv===void 0?null:iv;if(z_==null&&H_==null)throw new TypeError("No timeout provided.");return L0.operate(function(_x,Qv){var Fx,jx,K7=null,g7=0,iT=function($7){jx=X0.executeSchedule(Qv,S1,function(){try{Fx.unsubscribe(),B0.innerFrom(qv({meta:Yv,lastValue:K7,seen:g7})).subscribe(Qv)}catch(F7){Qv.error(F7)}},$7)};Fx=_x.subscribe(W0.createOperatorSubscriber(Qv,function($7){jx==null||jx.unsubscribe(),g7++,Qv.next(K7=$7),H_>0&&iT(H_)},void 0,void 0,function(){jx!=null&&jx.closed||jx==null||jx.unsubscribe(),K7=null})),!g7&&iT(z_!=null?typeof z_=="number"?z_:+z_-S1.now():H_)})}s.timeout=K0;function D_(I_){throw new s.TimeoutError(I_)}})(timeout);var bindCallback$1={},bindCallbackInternals$1={},mapOneOrManyArgs$1={},map$1={};Object.defineProperty(map$1,"__esModule",{value:!0});map$1.map=void 0;var lift_1$10=lift,OperatorSubscriber_1$S=OperatorSubscriber$1;function map(s,o){return lift_1$10.operate(function(F0,L0){var B0=0;F0.subscribe(OperatorSubscriber_1$S.createOperatorSubscriber(L0,function(q0){L0.next(s.call(o,q0,B0++))}))})}map$1.map=map;var __read$h=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$h=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(mapOneOrManyArgs$1,"__esModule",{value:!0});mapOneOrManyArgs$1.mapOneOrManyArgs=void 0;var map_1$6=map$1,isArray$2=Array.isArray;function callOrApply(s,o){return isArray$2(o)?s.apply(void 0,__spreadArray$h([],__read$h(o))):s(o)}function mapOneOrManyArgs(s){return map_1$6.map(function(o){return callOrApply(s,o)})}mapOneOrManyArgs$1.mapOneOrManyArgs=mapOneOrManyArgs;var __read$g=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$g=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(bindCallbackInternals$1,"__esModule",{value:!0});bindCallbackInternals$1.bindCallbackInternals=void 0;var isScheduler_1$2=isScheduler$1,Observable_1$e=Observable$1,subscribeOn_1=subscribeOn$1,mapOneOrManyArgs_1$6=mapOneOrManyArgs$1,observeOn_1=observeOn$1,AsyncSubject_1$1=AsyncSubject$1;function bindCallbackInternals(s,o,F0,L0){if(F0)if(isScheduler_1$2.isScheduler(F0))L0=F0;else return function(){for(var B0=[],q0=0;q0<arguments.length;q0++)B0[q0]=arguments[q0];return bindCallbackInternals(s,o,L0).apply(this,B0).pipe(mapOneOrManyArgs_1$6.mapOneOrManyArgs(F0))};return L0?function(){for(var B0=[],q0=0;q0<arguments.length;q0++)B0[q0]=arguments[q0];return bindCallbackInternals(s,o).apply(this,B0).pipe(subscribeOn_1.subscribeOn(L0),observeOn_1.observeOn(L0))}:function(){for(var B0=this,q0=[],W0=0;W0<arguments.length;W0++)q0[W0]=arguments[W0];var X0=new AsyncSubject_1$1.AsyncSubject,K0=!0;return new Observable_1$e.Observable(function(D_){var I_=X0.subscribe(D_);if(K0){K0=!1;var F_=!1,R_=!1;o.apply(B0,__spreadArray$g(__spreadArray$g([],__read$g(q0)),[function(){for(var z_=[],H_=0;H_<arguments.length;H_++)z_[H_]=arguments[H_];if(s){var Oy=z_.shift();if(Oy!=null){X0.error(Oy);return}}X0.next(1<z_.length?z_:z_[0]),R_=!0,F_&&X0.complete()}])),R_&&X0.complete(),F_=!0}return I_})}}bindCallbackInternals$1.bindCallbackInternals=bindCallbackInternals;Object.defineProperty(bindCallback$1,"__esModule",{value:!0});bindCallback$1.bindCallback=void 0;var bindCallbackInternals_1$1=bindCallbackInternals$1;function bindCallback(s,o,F0){return bindCallbackInternals_1$1.bindCallbackInternals(!1,s,o,F0)}bindCallback$1.bindCallback=bindCallback;var bindNodeCallback$1={};Object.defineProperty(bindNodeCallback$1,"__esModule",{value:!0});bindNodeCallback$1.bindNodeCallback=void 0;var bindCallbackInternals_1=bindCallbackInternals$1;function bindNodeCallback(s,o,F0){return bindCallbackInternals_1.bindCallbackInternals(!0,s,o,F0)}bindNodeCallback$1.bindNodeCallback=bindNodeCallback;var combineLatest$3={},argsArgArrayOrObject$1={};Object.defineProperty(argsArgArrayOrObject$1,"__esModule",{value:!0});argsArgArrayOrObject$1.argsArgArrayOrObject=void 0;var isArray$1=Array.isArray,getPrototypeOf=Object.getPrototypeOf,objectProto=Object.prototype,getKeys=Object.keys;function argsArgArrayOrObject(s){if(s.length===1){var o=s[0];if(isArray$1(o))return{args:o,keys:null};if(isPOJO(o)){var F0=getKeys(o);return{args:F0.map(function(L0){return o[L0]}),keys:F0}}}return{args:s,keys:null}}argsArgArrayOrObject$1.argsArgArrayOrObject=argsArgArrayOrObject;function isPOJO(s){return s&&typeof s=="object"&&getPrototypeOf(s)===objectProto}var createObject$1={};Object.defineProperty(createObject$1,"__esModule",{value:!0});createObject$1.createObject=void 0;function createObject(s,o){return s.reduce(function(F0,L0,B0){return F0[L0]=o[B0],F0},{})}createObject$1.createObject=createObject;Object.defineProperty(combineLatest$3,"__esModule",{value:!0});combineLatest$3.combineLatestInit=combineLatest$3.combineLatest=void 0;var Observable_1$d=Observable$1,argsArgArrayOrObject_1$1=argsArgArrayOrObject$1,from_1$5=from$3,identity_1$e=identity$1,mapOneOrManyArgs_1$5=mapOneOrManyArgs$1,args_1$b=args,createObject_1$1=createObject$1,OperatorSubscriber_1$R=OperatorSubscriber$1,executeSchedule_1$3=executeSchedule$1;function combineLatest$2(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$b.popScheduler(s),L0=args_1$b.popResultSelector(s),B0=argsArgArrayOrObject_1$1.argsArgArrayOrObject(s),q0=B0.args,W0=B0.keys;if(q0.length===0)return from_1$5.from([],F0);var X0=new Observable_1$d.Observable(combineLatestInit(q0,F0,W0?function(K0){return createObject_1$1.createObject(W0,K0)}:identity_1$e.identity));return L0?X0.pipe(mapOneOrManyArgs_1$5.mapOneOrManyArgs(L0)):X0}combineLatest$3.combineLatest=combineLatest$2;function combineLatestInit(s,o,F0){return F0===void 0&&(F0=identity_1$e.identity),function(L0){maybeSchedule(o,function(){for(var B0=s.length,q0=new Array(B0),W0=B0,X0=B0,K0=function(I_){maybeSchedule(o,function(){var F_=from_1$5.from(s[I_],o),R_=!1;F_.subscribe(OperatorSubscriber_1$R.createOperatorSubscriber(L0,function(z_){q0[I_]=z_,R_||(R_=!0,X0--),X0||L0.next(F0(q0.slice()))},function(){--W0||L0.complete()}))},L0)},D_=0;D_<B0;D_++)K0(D_)},L0)}}combineLatest$3.combineLatestInit=combineLatestInit;function maybeSchedule(s,o,F0){s?executeSchedule_1$3.executeSchedule(F0,s,o):o()}var concat$3={},concatAll$1={},mergeAll$1={},mergeMap$1={},mergeInternals$1={};Object.defineProperty(mergeInternals$1,"__esModule",{value:!0});mergeInternals$1.mergeInternals=void 0;var innerFrom_1$A=innerFrom$1,executeSchedule_1$2=executeSchedule$1,OperatorSubscriber_1$Q=OperatorSubscriber$1;function mergeInternals(s,o,F0,L0,B0,q0,W0,X0){var K0=[],D_=0,I_=0,F_=!1,R_=function(){F_&&!K0.length&&!D_&&o.complete()},z_=function(Oy){return D_<L0?H_(Oy):K0.push(Oy)},H_=function(Oy){q0&&o.next(Oy),D_++;var qv=!1;innerFrom_1$A.innerFrom(F0(Oy,I_++)).subscribe(OperatorSubscriber_1$Q.createOperatorSubscriber(o,function(Lv){B0==null||B0(Lv),q0?z_(Lv):o.next(Lv)},function(){qv=!0},void 0,function(){if(qv)try{D_--;for(var Lv=function(){var S1=K0.shift();W0?executeSchedule_1$2.executeSchedule(o,W0,function(){return H_(S1)}):H_(S1)};K0.length&&D_<L0;)Lv();R_()}catch(S1){o.error(S1)}}))};return s.subscribe(OperatorSubscriber_1$Q.createOperatorSubscriber(o,z_,function(){F_=!0,R_()})),function(){X0==null||X0()}}mergeInternals$1.mergeInternals=mergeInternals;Object.defineProperty(mergeMap$1,"__esModule",{value:!0});mergeMap$1.mergeMap=void 0;var map_1$5=map$1,innerFrom_1$z=innerFrom$1,lift_1$$=lift,mergeInternals_1$2=mergeInternals$1,isFunction_1$b=isFunction$1;function mergeMap(s,o,F0){return F0===void 0&&(F0=1/0),isFunction_1$b.isFunction(o)?mergeMap(function(L0,B0){return map_1$5.map(function(q0,W0){return o(L0,q0,B0,W0)})(innerFrom_1$z.innerFrom(s(L0,B0)))},F0):(typeof o=="number"&&(F0=o),lift_1$$.operate(function(L0,B0){return mergeInternals_1$2.mergeInternals(L0,B0,s,F0)}))}mergeMap$1.mergeMap=mergeMap;Object.defineProperty(mergeAll$1,"__esModule",{value:!0});mergeAll$1.mergeAll=void 0;var mergeMap_1$6=mergeMap$1,identity_1$d=identity$1;function mergeAll(s){return s===void 0&&(s=1/0),mergeMap_1$6.mergeMap(identity_1$d.identity,s)}mergeAll$1.mergeAll=mergeAll;Object.defineProperty(concatAll$1,"__esModule",{value:!0});concatAll$1.concatAll=void 0;var mergeAll_1$2=mergeAll$1;function concatAll(){return mergeAll_1$2.mergeAll(1)}concatAll$1.concatAll=concatAll;Object.defineProperty(concat$3,"__esModule",{value:!0});concat$3.concat=void 0;var concatAll_1$1=concatAll$1,args_1$a=args,from_1$4=from$3;function concat$2(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return concatAll_1$1.concatAll()(from_1$4.from(s,args_1$a.popScheduler(s)))}concat$3.concat=concat$2;var connectable$1={},defer$2={};Object.defineProperty(defer$2,"__esModule",{value:!0});defer$2.defer=void 0;var Observable_1$c=Observable$1,innerFrom_1$y=innerFrom$1;function defer$1(s){return new Observable_1$c.Observable(function(o){innerFrom_1$y.innerFrom(s()).subscribe(o)})}defer$2.defer=defer$1;Object.defineProperty(connectable$1,"__esModule",{value:!0});connectable$1.connectable=void 0;var Subject_1$b=Subject$1,Observable_1$b=Observable$1,defer_1$2=defer$2,DEFAULT_CONFIG$1={connector:function(){return new Subject_1$b.Subject},resetOnDisconnect:!0};function connectable(s,o){o===void 0&&(o=DEFAULT_CONFIG$1);var F0=null,L0=o.connector,B0=o.resetOnDisconnect,q0=B0===void 0?!0:B0,W0=L0(),X0=new Observable_1$b.Observable(function(K0){return W0.subscribe(K0)});return X0.connect=function(){return(!F0||F0.closed)&&(F0=defer_1$2.defer(function(){return s}).subscribe(W0),q0&&F0.add(function(){return W0=L0()})),F0},X0}connectable$1.connectable=connectable;var forkJoin$1={};Object.defineProperty(forkJoin$1,"__esModule",{value:!0});forkJoin$1.forkJoin=void 0;var Observable_1$a=Observable$1,argsArgArrayOrObject_1=argsArgArrayOrObject$1,innerFrom_1$x=innerFrom$1,args_1$9=args,OperatorSubscriber_1$P=OperatorSubscriber$1,mapOneOrManyArgs_1$4=mapOneOrManyArgs$1,createObject_1=createObject$1;function forkJoin(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$9.popResultSelector(s),L0=argsArgArrayOrObject_1.argsArgArrayOrObject(s),B0=L0.args,q0=L0.keys,W0=new Observable_1$a.Observable(function(X0){var K0=B0.length;if(!K0){X0.complete();return}for(var D_=new Array(K0),I_=K0,F_=K0,R_=function(H_){var Oy=!1;innerFrom_1$x.innerFrom(B0[H_]).subscribe(OperatorSubscriber_1$P.createOperatorSubscriber(X0,function(qv){Oy||(Oy=!0,F_--),D_[H_]=qv},function(){return I_--},void 0,function(){(!I_||!Oy)&&(F_||X0.next(q0?createObject_1.createObject(q0,D_):D_),X0.complete())}))},z_=0;z_<K0;z_++)R_(z_)});return F0?W0.pipe(mapOneOrManyArgs_1$4.mapOneOrManyArgs(F0)):W0}forkJoin$1.forkJoin=forkJoin;var fromEvent$1={},__read$f=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0};Object.defineProperty(fromEvent$1,"__esModule",{value:!0});fromEvent$1.fromEvent=void 0;var innerFrom_1$w=innerFrom$1,Observable_1$9=Observable$1,mergeMap_1$5=mergeMap$1,isArrayLike_1$1=isArrayLike,isFunction_1$a=isFunction$1,mapOneOrManyArgs_1$3=mapOneOrManyArgs$1,nodeEventEmitterMethods=["addListener","removeListener"],eventTargetMethods=["addEventListener","removeEventListener"],jqueryMethods=["on","off"];function fromEvent(s,o,F0,L0){if(isFunction_1$a.isFunction(F0)&&(L0=F0,F0=void 0),L0)return fromEvent(s,o,F0).pipe(mapOneOrManyArgs_1$3.mapOneOrManyArgs(L0));var B0=__read$f(isEventTarget(s)?eventTargetMethods.map(function(X0){return function(K0){return s[X0](o,K0,F0)}}):isNodeStyleEventEmitter(s)?nodeEventEmitterMethods.map(toCommonHandlerRegistry(s,o)):isJQueryStyleEventEmitter(s)?jqueryMethods.map(toCommonHandlerRegistry(s,o)):[],2),q0=B0[0],W0=B0[1];if(!q0&&isArrayLike_1$1.isArrayLike(s))return mergeMap_1$5.mergeMap(function(X0){return fromEvent(X0,o,F0)})(innerFrom_1$w.innerFrom(s));if(!q0)throw new TypeError("Invalid event target");return new Observable_1$9.Observable(function(X0){var K0=function(){for(var D_=[],I_=0;I_<arguments.length;I_++)D_[I_]=arguments[I_];return X0.next(1<D_.length?D_:D_[0])};return q0(K0),function(){return W0(K0)}})}fromEvent$1.fromEvent=fromEvent;function toCommonHandlerRegistry(s,o){return function(F0){return function(L0){return s[F0](o,L0)}}}function isNodeStyleEventEmitter(s){return isFunction_1$a.isFunction(s.addListener)&&isFunction_1$a.isFunction(s.removeListener)}function isJQueryStyleEventEmitter(s){return isFunction_1$a.isFunction(s.on)&&isFunction_1$a.isFunction(s.off)}function isEventTarget(s){return isFunction_1$a.isFunction(s.addEventListener)&&isFunction_1$a.isFunction(s.removeEventListener)}var fromEventPattern$1={};Object.defineProperty(fromEventPattern$1,"__esModule",{value:!0});fromEventPattern$1.fromEventPattern=void 0;var Observable_1$8=Observable$1,isFunction_1$9=isFunction$1,mapOneOrManyArgs_1$2=mapOneOrManyArgs$1;function fromEventPattern(s,o,F0){return F0?fromEventPattern(s,o).pipe(mapOneOrManyArgs_1$2.mapOneOrManyArgs(F0)):new Observable_1$8.Observable(function(L0){var B0=function(){for(var W0=[],X0=0;X0<arguments.length;X0++)W0[X0]=arguments[X0];return L0.next(W0.length===1?W0[0]:W0)},q0=s(B0);return isFunction_1$9.isFunction(o)?function(){return o(B0,q0)}:void 0})}fromEventPattern$1.fromEventPattern=fromEventPattern;var generate$1={},__generator=commonjsGlobal&&commonjsGlobal.__generator||function(s,o){var F0={label:0,sent:function(){if(q0[0]&1)throw q0[1];return q0[1]},trys:[],ops:[]},L0,B0,q0,W0;return W0={next:X0(0),throw:X0(1),return:X0(2)},typeof Symbol=="function"&&(W0[Symbol.iterator]=function(){return this}),W0;function X0(D_){return function(I_){return K0([D_,I_])}}function K0(D_){if(L0)throw new TypeError("Generator is already executing.");for(;F0;)try{if(L0=1,B0&&(q0=D_[0]&2?B0.return:D_[0]?B0.throw||((q0=B0.return)&&q0.call(B0),0):B0.next)&&!(q0=q0.call(B0,D_[1])).done)return q0;switch(B0=0,q0&&(D_=[D_[0]&2,q0.value]),D_[0]){case 0:case 1:q0=D_;break;case 4:return F0.label++,{value:D_[1],done:!1};case 5:F0.label++,B0=D_[1],D_=[0];continue;case 7:D_=F0.ops.pop(),F0.trys.pop();continue;default:if(q0=F0.trys,!(q0=q0.length>0&&q0[q0.length-1])&&(D_[0]===6||D_[0]===2)){F0=0;continue}if(D_[0]===3&&(!q0||D_[1]>q0[0]&&D_[1]<q0[3])){F0.label=D_[1];break}if(D_[0]===6&&F0.label<q0[1]){F0.label=q0[1],q0=D_;break}if(q0&&F0.label<q0[2]){F0.label=q0[2],F0.ops.push(D_);break}q0[2]&&F0.ops.pop(),F0.trys.pop();continue}D_=o.call(s,F0)}catch(I_){D_=[6,I_],B0=0}finally{L0=q0=0}if(D_[0]&5)throw D_[1];return{value:D_[0]?D_[1]:void 0,done:!0}}};Object.defineProperty(generate$1,"__esModule",{value:!0});generate$1.generate=void 0;var identity_1$c=identity$1,isScheduler_1$1=isScheduler$1,defer_1$1=defer$2,scheduleIterable_1=scheduleIterable$1;function generate(s,o,F0,L0,B0){var q0,W0,X0,K0;arguments.length===1?(q0=s,K0=q0.initialState,o=q0.condition,F0=q0.iterate,W0=q0.resultSelector,X0=W0===void 0?identity_1$c.identity:W0,B0=q0.scheduler):(K0=s,!L0||isScheduler_1$1.isScheduler(L0)?(X0=identity_1$c.identity,B0=L0):X0=L0);function D_(){var I_;return __generator(this,function(F_){switch(F_.label){case 0:I_=K0,F_.label=1;case 1:return!o||o(I_)?[4,X0(I_)]:[3,4];case 2:F_.sent(),F_.label=3;case 3:return I_=F0(I_),[3,1];case 4:return[2]}})}return defer_1$1.defer(B0?function(){return scheduleIterable_1.scheduleIterable(D_(),B0)}:D_)}generate$1.generate=generate;var iif$1={};Object.defineProperty(iif$1,"__esModule",{value:!0});iif$1.iif=void 0;var defer_1=defer$2;function iif(s,o,F0){return defer_1.defer(function(){return s()?o:F0})}iif$1.iif=iif;var interval$1={},timer$1={};Object.defineProperty(timer$1,"__esModule",{value:!0});timer$1.timer=void 0;var Observable_1$7=Observable$1,async_1$a=async,isScheduler_1=isScheduler$1,isDate_1$1=isDate;function timer(s,o,F0){s===void 0&&(s=0),F0===void 0&&(F0=async_1$a.async);var L0=-1;return o!=null&&(isScheduler_1.isScheduler(o)?F0=o:L0=o),new Observable_1$7.Observable(function(B0){var q0=isDate_1$1.isValidDate(s)?+s-F0.now():s;q0<0&&(q0=0);var W0=0;return F0.schedule(function(){B0.closed||(B0.next(W0++),0<=L0?this.schedule(void 0,L0):B0.complete())},q0)})}timer$1.timer=timer;Object.defineProperty(interval$1,"__esModule",{value:!0});interval$1.interval=void 0;var async_1$9=async,timer_1$5=timer$1;function interval(s,o){return s===void 0&&(s=0),o===void 0&&(o=async_1$9.asyncScheduler),s<0&&(s=0),timer_1$5.timer(s,s,o)}interval$1.interval=interval;var merge$3={};Object.defineProperty(merge$3,"__esModule",{value:!0});merge$3.merge=void 0;var mergeAll_1$1=mergeAll$1,innerFrom_1$v=innerFrom$1,empty_1$6=empty$1,args_1$8=args,from_1$3=from$3;function merge$2(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$8.popScheduler(s),L0=args_1$8.popNumber(s,1/0),B0=s;return B0.length?B0.length===1?innerFrom_1$v.innerFrom(B0[0]):mergeAll_1$1.mergeAll(L0)(from_1$3.from(B0,F0)):empty_1$6.EMPTY}merge$3.merge=merge$2;var never={};(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.never=s.NEVER=void 0;var o=Observable$1,F0=noop$1;s.NEVER=new o.Observable(F0.noop);function L0(){return s.NEVER}s.never=L0})(never);var onErrorResumeNext$1={},argsOrArgArray$1={};Object.defineProperty(argsOrArgArray$1,"__esModule",{value:!0});argsOrArgArray$1.argsOrArgArray=void 0;var isArray=Array.isArray;function argsOrArgArray(s){return s.length===1&&isArray(s[0])?s[0]:s}argsOrArgArray$1.argsOrArgArray=argsOrArgArray;Object.defineProperty(onErrorResumeNext$1,"__esModule",{value:!0});onErrorResumeNext$1.onErrorResumeNext=void 0;var Observable_1$6=Observable$1,argsOrArgArray_1$5=argsOrArgArray$1,OperatorSubscriber_1$O=OperatorSubscriber$1,noop_1$c=noop$1,innerFrom_1$u=innerFrom$1;function onErrorResumeNext(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=argsOrArgArray_1$5.argsOrArgArray(s);return new Observable_1$6.Observable(function(L0){var B0=0,q0=function(){if(B0<F0.length){var W0=void 0;try{W0=innerFrom_1$u.innerFrom(F0[B0++])}catch{q0();return}var X0=new OperatorSubscriber_1$O.OperatorSubscriber(L0,void 0,noop_1$c.noop,noop_1$c.noop);W0.subscribe(X0),X0.add(q0)}else L0.complete()};q0()})}onErrorResumeNext$1.onErrorResumeNext=onErrorResumeNext;var pairs$1={};Object.defineProperty(pairs$1,"__esModule",{value:!0});pairs$1.pairs=void 0;var from_1$2=from$3;function pairs(s,o){return from_1$2.from(Object.entries(s),o)}pairs$1.pairs=pairs;var partition$3={},not$1={};Object.defineProperty(not$1,"__esModule",{value:!0});not$1.not=void 0;function not(s,o){return function(F0,L0){return!s.call(o,F0,L0)}}not$1.not=not;var filter$2={};Object.defineProperty(filter$2,"__esModule",{value:!0});filter$2.filter=void 0;var lift_1$_=lift,OperatorSubscriber_1$N=OperatorSubscriber$1;function filter$1(s,o){return lift_1$_.operate(function(F0,L0){var B0=0;F0.subscribe(OperatorSubscriber_1$N.createOperatorSubscriber(L0,function(q0){return s.call(o,q0,B0++)&&L0.next(q0)}))})}filter$2.filter=filter$1;Object.defineProperty(partition$3,"__esModule",{value:!0});partition$3.partition=void 0;var not_1$1=not$1,filter_1$6=filter$2,innerFrom_1$t=innerFrom$1;function partition$2(s,o,F0){return[filter_1$6.filter(o,F0)(innerFrom_1$t.innerFrom(s)),filter_1$6.filter(not_1$1.not(o,F0))(innerFrom_1$t.innerFrom(s))]}partition$3.partition=partition$2;var race$3={};Object.defineProperty(race$3,"__esModule",{value:!0});race$3.raceInit=race$3.race=void 0;var Observable_1$5=Observable$1,innerFrom_1$s=innerFrom$1,argsOrArgArray_1$4=argsOrArgArray$1,OperatorSubscriber_1$M=OperatorSubscriber$1;function race$2(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return s=argsOrArgArray_1$4.argsOrArgArray(s),s.length===1?innerFrom_1$s.innerFrom(s[0]):new Observable_1$5.Observable(raceInit(s))}race$3.race=race$2;function raceInit(s){return function(o){for(var F0=[],L0=function(q0){F0.push(innerFrom_1$s.innerFrom(s[q0]).subscribe(OperatorSubscriber_1$M.createOperatorSubscriber(o,function(W0){if(F0){for(var X0=0;X0<F0.length;X0++)X0!==q0&&F0[X0].unsubscribe();F0=null}o.next(W0)})))},B0=0;F0&&!o.closed&&B0<s.length;B0++)L0(B0)}}race$3.raceInit=raceInit;var range$1={};Object.defineProperty(range$1,"__esModule",{value:!0});range$1.range=void 0;var Observable_1$4=Observable$1,empty_1$5=empty$1;function range(s,o,F0){if(o==null&&(o=s,s=0),o<=0)return empty_1$5.EMPTY;var L0=o+s;return new Observable_1$4.Observable(F0?function(B0){var q0=s;return F0.schedule(function(){q0<L0?(B0.next(q0++),this.schedule()):B0.complete()})}:function(B0){for(var q0=s;q0<L0&&!B0.closed;)B0.next(q0++);B0.complete()})}range$1.range=range;var using$1={};Object.defineProperty(using$1,"__esModule",{value:!0});using$1.using=void 0;var Observable_1$3=Observable$1,innerFrom_1$r=innerFrom$1,empty_1$4=empty$1;function using(s,o){return new Observable_1$3.Observable(function(F0){var L0=s(),B0=o(L0),q0=B0?innerFrom_1$r.innerFrom(B0):empty_1$4.EMPTY;return q0.subscribe(F0),function(){L0&&L0.unsubscribe()}})}using$1.using=using;var zip$3={},__read$e=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$f=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(zip$3,"__esModule",{value:!0});zip$3.zip=void 0;var Observable_1$2=Observable$1,innerFrom_1$q=innerFrom$1,argsOrArgArray_1$3=argsOrArgArray$1,empty_1$3=empty$1,OperatorSubscriber_1$L=OperatorSubscriber$1,args_1$7=args;function zip$2(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$7.popResultSelector(s),L0=argsOrArgArray_1$3.argsOrArgArray(s);return L0.length?new Observable_1$2.Observable(function(B0){var q0=L0.map(function(){return[]}),W0=L0.map(function(){return!1});B0.add(function(){q0=W0=null});for(var X0=function(D_){innerFrom_1$q.innerFrom(L0[D_]).subscribe(OperatorSubscriber_1$L.createOperatorSubscriber(B0,function(I_){if(q0[D_].push(I_),q0.every(function(R_){return R_.length})){var F_=q0.map(function(R_){return R_.shift()});B0.next(F0?F0.apply(void 0,__spreadArray$f([],__read$e(F_))):F_),q0.some(function(R_,z_){return!R_.length&&W0[z_]})&&B0.complete()}},function(){W0[D_]=!0,!q0[D_].length&&B0.complete()}))},K0=0;!B0.closed&&K0<L0.length;K0++)X0(K0);return function(){q0=W0=null}}):empty_1$3.EMPTY}zip$3.zip=zip$2;var types={};Object.defineProperty(types,"__esModule",{value:!0});var audit$1={};Object.defineProperty(audit$1,"__esModule",{value:!0});audit$1.audit=void 0;var lift_1$Z=lift,innerFrom_1$p=innerFrom$1,OperatorSubscriber_1$K=OperatorSubscriber$1;function audit(s){return lift_1$Z.operate(function(o,F0){var L0=!1,B0=null,q0=null,W0=!1,X0=function(){if(q0==null||q0.unsubscribe(),q0=null,L0){L0=!1;var D_=B0;B0=null,F0.next(D_)}W0&&F0.complete()},K0=function(){q0=null,W0&&F0.complete()};o.subscribe(OperatorSubscriber_1$K.createOperatorSubscriber(F0,function(D_){L0=!0,B0=D_,q0||innerFrom_1$p.innerFrom(s(D_)).subscribe(q0=OperatorSubscriber_1$K.createOperatorSubscriber(F0,X0,K0))},function(){W0=!0,(!L0||!q0||q0.closed)&&F0.complete()}))})}audit$1.audit=audit;var auditTime$1={};Object.defineProperty(auditTime$1,"__esModule",{value:!0});auditTime$1.auditTime=void 0;var async_1$8=async,audit_1=audit$1,timer_1$4=timer$1;function auditTime(s,o){return o===void 0&&(o=async_1$8.asyncScheduler),audit_1.audit(function(){return timer_1$4.timer(s,o)})}auditTime$1.auditTime=auditTime;var buffer$2={};Object.defineProperty(buffer$2,"__esModule",{value:!0});buffer$2.buffer=void 0;var lift_1$Y=lift,noop_1$b=noop$1,OperatorSubscriber_1$J=OperatorSubscriber$1,innerFrom_1$o=innerFrom$1;function buffer$1(s){return lift_1$Y.operate(function(o,F0){var L0=[];return o.subscribe(OperatorSubscriber_1$J.createOperatorSubscriber(F0,function(B0){return L0.push(B0)},function(){F0.next(L0),F0.complete()})),innerFrom_1$o.innerFrom(s).subscribe(OperatorSubscriber_1$J.createOperatorSubscriber(F0,function(){var B0=L0;L0=[],F0.next(B0)},noop_1$b.noop)),function(){L0=null}})}buffer$2.buffer=buffer$1;var bufferCount$1={},__values$5=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(bufferCount$1,"__esModule",{value:!0});bufferCount$1.bufferCount=void 0;var lift_1$X=lift,OperatorSubscriber_1$I=OperatorSubscriber$1,arrRemove_1$4=arrRemove$1;function bufferCount(s,o){return o===void 0&&(o=null),o=o??s,lift_1$X.operate(function(F0,L0){var B0=[],q0=0;F0.subscribe(OperatorSubscriber_1$I.createOperatorSubscriber(L0,function(W0){var X0,K0,D_,I_,F_=null;q0++%o===0&&B0.push([]);try{for(var R_=__values$5(B0),z_=R_.next();!z_.done;z_=R_.next()){var H_=z_.value;H_.push(W0),s<=H_.length&&(F_=F_??[],F_.push(H_))}}catch(Lv){X0={error:Lv}}finally{try{z_&&!z_.done&&(K0=R_.return)&&K0.call(R_)}finally{if(X0)throw X0.error}}if(F_)try{for(var Oy=__values$5(F_),qv=Oy.next();!qv.done;qv=Oy.next()){var H_=qv.value;arrRemove_1$4.arrRemove(B0,H_),L0.next(H_)}}catch(Lv){D_={error:Lv}}finally{try{qv&&!qv.done&&(I_=Oy.return)&&I_.call(Oy)}finally{if(D_)throw D_.error}}},function(){var W0,X0;try{for(var K0=__values$5(B0),D_=K0.next();!D_.done;D_=K0.next()){var I_=D_.value;L0.next(I_)}}catch(F_){W0={error:F_}}finally{try{D_&&!D_.done&&(X0=K0.return)&&X0.call(K0)}finally{if(W0)throw W0.error}}L0.complete()},void 0,function(){B0=null}))})}bufferCount$1.bufferCount=bufferCount;var bufferTime$1={},__values$4=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(bufferTime$1,"__esModule",{value:!0});bufferTime$1.bufferTime=void 0;var Subscription_1$3=Subscription$1,lift_1$W=lift,OperatorSubscriber_1$H=OperatorSubscriber$1,arrRemove_1$3=arrRemove$1,async_1$7=async,args_1$6=args,executeSchedule_1$1=executeSchedule$1;function bufferTime(s){for(var o,F0,L0=[],B0=1;B0<arguments.length;B0++)L0[B0-1]=arguments[B0];var q0=(o=args_1$6.popScheduler(L0))!==null&&o!==void 0?o:async_1$7.asyncScheduler,W0=(F0=L0[0])!==null&&F0!==void 0?F0:null,X0=L0[1]||1/0;return lift_1$W.operate(function(K0,D_){var I_=[],F_=!1,R_=function(Oy){var qv=Oy.buffer,Lv=Oy.subs;Lv.unsubscribe(),arrRemove_1$3.arrRemove(I_,Oy),D_.next(qv),F_&&z_()},z_=function(){if(I_){var Oy=new Subscription_1$3.Subscription;D_.add(Oy);var qv=[],Lv={buffer:qv,subs:Oy};I_.push(Lv),executeSchedule_1$1.executeSchedule(Oy,q0,function(){return R_(Lv)},s)}};W0!==null&&W0>=0?executeSchedule_1$1.executeSchedule(D_,q0,z_,W0,!0):F_=!0,z_();var H_=OperatorSubscriber_1$H.createOperatorSubscriber(D_,function(Oy){var qv,Lv,S1=I_.slice();try{for(var iv=__values$4(S1),Yv=iv.next();!Yv.done;Yv=iv.next()){var _x=Yv.value,Qv=_x.buffer;Qv.push(Oy),X0<=Qv.length&&R_(_x)}}catch(Fx){qv={error:Fx}}finally{try{Yv&&!Yv.done&&(Lv=iv.return)&&Lv.call(iv)}finally{if(qv)throw qv.error}}},function(){for(;I_!=null&&I_.length;)D_.next(I_.shift().buffer);H_==null||H_.unsubscribe(),D_.complete(),D_.unsubscribe()},void 0,function(){return I_=null});K0.subscribe(H_)})}bufferTime$1.bufferTime=bufferTime;var bufferToggle$1={},__values$3=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(bufferToggle$1,"__esModule",{value:!0});bufferToggle$1.bufferToggle=void 0;var Subscription_1$2=Subscription$1,lift_1$V=lift,innerFrom_1$n=innerFrom$1,OperatorSubscriber_1$G=OperatorSubscriber$1,noop_1$a=noop$1,arrRemove_1$2=arrRemove$1;function bufferToggle(s,o){return lift_1$V.operate(function(F0,L0){var B0=[];innerFrom_1$n.innerFrom(s).subscribe(OperatorSubscriber_1$G.createOperatorSubscriber(L0,function(q0){var W0=[];B0.push(W0);var X0=new Subscription_1$2.Subscription,K0=function(){arrRemove_1$2.arrRemove(B0,W0),L0.next(W0),X0.unsubscribe()};X0.add(innerFrom_1$n.innerFrom(o(q0)).subscribe(OperatorSubscriber_1$G.createOperatorSubscriber(L0,K0,noop_1$a.noop)))},noop_1$a.noop)),F0.subscribe(OperatorSubscriber_1$G.createOperatorSubscriber(L0,function(q0){var W0,X0;try{for(var K0=__values$3(B0),D_=K0.next();!D_.done;D_=K0.next()){var I_=D_.value;I_.push(q0)}}catch(F_){W0={error:F_}}finally{try{D_&&!D_.done&&(X0=K0.return)&&X0.call(K0)}finally{if(W0)throw W0.error}}},function(){for(;B0.length>0;)L0.next(B0.shift());L0.complete()}))})}bufferToggle$1.bufferToggle=bufferToggle;var bufferWhen$1={};Object.defineProperty(bufferWhen$1,"__esModule",{value:!0});bufferWhen$1.bufferWhen=void 0;var lift_1$U=lift,noop_1$9=noop$1,OperatorSubscriber_1$F=OperatorSubscriber$1,innerFrom_1$m=innerFrom$1;function bufferWhen(s){return lift_1$U.operate(function(o,F0){var L0=null,B0=null,q0=function(){B0==null||B0.unsubscribe();var W0=L0;L0=[],W0&&F0.next(W0),innerFrom_1$m.innerFrom(s()).subscribe(B0=OperatorSubscriber_1$F.createOperatorSubscriber(F0,q0,noop_1$9.noop))};q0(),o.subscribe(OperatorSubscriber_1$F.createOperatorSubscriber(F0,function(W0){return L0==null?void 0:L0.push(W0)},function(){L0&&F0.next(L0),F0.complete()},void 0,function(){return L0=B0=null}))})}bufferWhen$1.bufferWhen=bufferWhen;var catchError$1={};Object.defineProperty(catchError$1,"__esModule",{value:!0});catchError$1.catchError=void 0;var innerFrom_1$l=innerFrom$1,OperatorSubscriber_1$E=OperatorSubscriber$1,lift_1$T=lift;function catchError(s){return lift_1$T.operate(function(o,F0){var L0=null,B0=!1,q0;L0=o.subscribe(OperatorSubscriber_1$E.createOperatorSubscriber(F0,void 0,void 0,function(W0){q0=innerFrom_1$l.innerFrom(s(W0,catchError(s)(o))),L0?(L0.unsubscribe(),L0=null,q0.subscribe(F0)):B0=!0})),B0&&(L0.unsubscribe(),L0=null,q0.subscribe(F0))})}catchError$1.catchError=catchError;var combineAll={},combineLatestAll$1={},joinAllInternals$1={},toArray$1={},reduce$2={},scanInternals$1={};Object.defineProperty(scanInternals$1,"__esModule",{value:!0});scanInternals$1.scanInternals=void 0;var OperatorSubscriber_1$D=OperatorSubscriber$1;function scanInternals(s,o,F0,L0,B0){return function(q0,W0){var X0=F0,K0=o,D_=0;q0.subscribe(OperatorSubscriber_1$D.createOperatorSubscriber(W0,function(I_){var F_=D_++;K0=X0?s(K0,I_,F_):(X0=!0,I_),L0&&W0.next(K0)},B0&&function(){X0&&W0.next(K0),W0.complete()}))}}scanInternals$1.scanInternals=scanInternals;Object.defineProperty(reduce$2,"__esModule",{value:!0});reduce$2.reduce=void 0;var scanInternals_1$1=scanInternals$1,lift_1$S=lift;function reduce$1(s,o){return lift_1$S.operate(scanInternals_1$1.scanInternals(s,o,arguments.length>=2,!1,!0))}reduce$2.reduce=reduce$1;Object.defineProperty(toArray$1,"__esModule",{value:!0});toArray$1.toArray=void 0;var reduce_1$3=reduce$2,lift_1$R=lift,arrReducer=function(s,o){return s.push(o),s};function toArray(){return lift_1$R.operate(function(s,o){reduce_1$3.reduce(arrReducer,[])(s).subscribe(o)})}toArray$1.toArray=toArray;Object.defineProperty(joinAllInternals$1,"__esModule",{value:!0});joinAllInternals$1.joinAllInternals=void 0;var identity_1$b=identity$1,mapOneOrManyArgs_1$1=mapOneOrManyArgs$1,pipe_1$1=pipe$2,mergeMap_1$4=mergeMap$1,toArray_1=toArray$1;function joinAllInternals(s,o){return pipe_1$1.pipe(toArray_1.toArray(),mergeMap_1$4.mergeMap(function(F0){return s(F0)}),o?mapOneOrManyArgs_1$1.mapOneOrManyArgs(o):identity_1$b.identity)}joinAllInternals$1.joinAllInternals=joinAllInternals;Object.defineProperty(combineLatestAll$1,"__esModule",{value:!0});combineLatestAll$1.combineLatestAll=void 0;var combineLatest_1$2=combineLatest$3,joinAllInternals_1$1=joinAllInternals$1;function combineLatestAll(s){return joinAllInternals_1$1.joinAllInternals(combineLatest_1$2.combineLatest,s)}combineLatestAll$1.combineLatestAll=combineLatestAll;Object.defineProperty(combineAll,"__esModule",{value:!0});combineAll.combineAll=void 0;var combineLatestAll_1=combineLatestAll$1;combineAll.combineAll=combineLatestAll_1.combineLatestAll;var combineLatestWith$1={},combineLatest$1={},__read$d=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$e=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(combineLatest$1,"__esModule",{value:!0});combineLatest$1.combineLatest=void 0;var combineLatest_1$1=combineLatest$3,lift_1$Q=lift,argsOrArgArray_1$2=argsOrArgArray$1,mapOneOrManyArgs_1=mapOneOrManyArgs$1,pipe_1=pipe$2,args_1$5=args;function combineLatest(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$5.popResultSelector(s);return F0?pipe_1.pipe(combineLatest.apply(void 0,__spreadArray$e([],__read$d(s))),mapOneOrManyArgs_1.mapOneOrManyArgs(F0)):lift_1$Q.operate(function(L0,B0){combineLatest_1$1.combineLatestInit(__spreadArray$e([L0],__read$d(argsOrArgArray_1$2.argsOrArgArray(s))))(B0)})}combineLatest$1.combineLatest=combineLatest;var __read$c=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$d=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(combineLatestWith$1,"__esModule",{value:!0});combineLatestWith$1.combineLatestWith=void 0;var combineLatest_1=combineLatest$1;function combineLatestWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return combineLatest_1.combineLatest.apply(void 0,__spreadArray$d([],__read$c(s)))}combineLatestWith$1.combineLatestWith=combineLatestWith;var concatMap$2={};Object.defineProperty(concatMap$2,"__esModule",{value:!0});concatMap$2.concatMap=void 0;var mergeMap_1$3=mergeMap$1,isFunction_1$8=isFunction$1;function concatMap$1(s,o){return isFunction_1$8.isFunction(o)?mergeMap_1$3.mergeMap(s,o,1):mergeMap_1$3.mergeMap(s,1)}concatMap$2.concatMap=concatMap$1;var concatMapTo$1={};Object.defineProperty(concatMapTo$1,"__esModule",{value:!0});concatMapTo$1.concatMapTo=void 0;var concatMap_1=concatMap$2,isFunction_1$7=isFunction$1;function concatMapTo(s,o){return isFunction_1$7.isFunction(o)?concatMap_1.concatMap(function(){return s},o):concatMap_1.concatMap(function(){return s})}concatMapTo$1.concatMapTo=concatMapTo;var concatWith$1={},concat$1={},__read$b=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$c=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(concat$1,"__esModule",{value:!0});concat$1.concat=void 0;var lift_1$P=lift,concatAll_1=concatAll$1,args_1$4=args,from_1$1=from$3;function concat(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$4.popScheduler(s);return lift_1$P.operate(function(L0,B0){concatAll_1.concatAll()(from_1$1.from(__spreadArray$c([L0],__read$b(s)),F0)).subscribe(B0)})}concat$1.concat=concat;var __read$a=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$b=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(concatWith$1,"__esModule",{value:!0});concatWith$1.concatWith=void 0;var concat_1$3=concat$1;function concatWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return concat_1$3.concat.apply(void 0,__spreadArray$b([],__read$a(s)))}concatWith$1.concatWith=concatWith;var connect$1={},fromSubscribable$1={};Object.defineProperty(fromSubscribable$1,"__esModule",{value:!0});fromSubscribable$1.fromSubscribable=void 0;var Observable_1$1=Observable$1;function fromSubscribable(s){return new Observable_1$1.Observable(function(o){return s.subscribe(o)})}fromSubscribable$1.fromSubscribable=fromSubscribable;Object.defineProperty(connect$1,"__esModule",{value:!0});connect$1.connect=void 0;var Subject_1$a=Subject$1,innerFrom_1$k=innerFrom$1,lift_1$O=lift,fromSubscribable_1=fromSubscribable$1,DEFAULT_CONFIG={connector:function(){return new Subject_1$a.Subject}};function connect(s,o){o===void 0&&(o=DEFAULT_CONFIG);var F0=o.connector;return lift_1$O.operate(function(L0,B0){var q0=F0();innerFrom_1$k.innerFrom(s(fromSubscribable_1.fromSubscribable(q0))).subscribe(B0),B0.add(L0.subscribe(q0))})}connect$1.connect=connect;var count$1={};Object.defineProperty(count$1,"__esModule",{value:!0});count$1.count=void 0;var reduce_1$2=reduce$2;function count(s){return reduce_1$2.reduce(function(o,F0,L0){return!s||s(F0,L0)?o+1:o},0)}count$1.count=count;var debounce$1={};Object.defineProperty(debounce$1,"__esModule",{value:!0});debounce$1.debounce=void 0;var lift_1$N=lift,noop_1$8=noop$1,OperatorSubscriber_1$C=OperatorSubscriber$1,innerFrom_1$j=innerFrom$1;function debounce(s){return lift_1$N.operate(function(o,F0){var L0=!1,B0=null,q0=null,W0=function(){if(q0==null||q0.unsubscribe(),q0=null,L0){L0=!1;var X0=B0;B0=null,F0.next(X0)}};o.subscribe(OperatorSubscriber_1$C.createOperatorSubscriber(F0,function(X0){q0==null||q0.unsubscribe(),L0=!0,B0=X0,q0=OperatorSubscriber_1$C.createOperatorSubscriber(F0,W0,noop_1$8.noop),innerFrom_1$j.innerFrom(s(X0)).subscribe(q0)},function(){W0(),F0.complete()},void 0,function(){B0=q0=null}))})}debounce$1.debounce=debounce;var debounceTime$1={};Object.defineProperty(debounceTime$1,"__esModule",{value:!0});debounceTime$1.debounceTime=void 0;var async_1$6=async,lift_1$M=lift,OperatorSubscriber_1$B=OperatorSubscriber$1;function debounceTime(s,o){return o===void 0&&(o=async_1$6.asyncScheduler),lift_1$M.operate(function(F0,L0){var B0=null,q0=null,W0=null,X0=function(){if(B0){B0.unsubscribe(),B0=null;var D_=q0;q0=null,L0.next(D_)}};function K0(){var D_=W0+s,I_=o.now();if(I_<D_){B0=this.schedule(void 0,D_-I_),L0.add(B0);return}X0()}F0.subscribe(OperatorSubscriber_1$B.createOperatorSubscriber(L0,function(D_){q0=D_,W0=o.now(),B0||(B0=o.schedule(K0,s),L0.add(B0))},function(){X0(),L0.complete()},void 0,function(){q0=B0=null}))})}debounceTime$1.debounceTime=debounceTime;var defaultIfEmpty$1={};Object.defineProperty(defaultIfEmpty$1,"__esModule",{value:!0});defaultIfEmpty$1.defaultIfEmpty=void 0;var lift_1$L=lift,OperatorSubscriber_1$A=OperatorSubscriber$1;function defaultIfEmpty(s){return lift_1$L.operate(function(o,F0){var L0=!1;o.subscribe(OperatorSubscriber_1$A.createOperatorSubscriber(F0,function(B0){L0=!0,F0.next(B0)},function(){L0||F0.next(s),F0.complete()}))})}defaultIfEmpty$1.defaultIfEmpty=defaultIfEmpty;var delay$1={},delayWhen$1={},take$1={};Object.defineProperty(take$1,"__esModule",{value:!0});take$1.take=void 0;var empty_1$2=empty$1,lift_1$K=lift,OperatorSubscriber_1$z=OperatorSubscriber$1;function take(s){return s<=0?function(){return empty_1$2.EMPTY}:lift_1$K.operate(function(o,F0){var L0=0;o.subscribe(OperatorSubscriber_1$z.createOperatorSubscriber(F0,function(B0){++L0<=s&&(F0.next(B0),s<=L0&&F0.complete())}))})}take$1.take=take;var ignoreElements$1={};Object.defineProperty(ignoreElements$1,"__esModule",{value:!0});ignoreElements$1.ignoreElements=void 0;var lift_1$J=lift,OperatorSubscriber_1$y=OperatorSubscriber$1,noop_1$7=noop$1;function ignoreElements(){return lift_1$J.operate(function(s,o){s.subscribe(OperatorSubscriber_1$y.createOperatorSubscriber(o,noop_1$7.noop))})}ignoreElements$1.ignoreElements=ignoreElements;var mapTo$1={};Object.defineProperty(mapTo$1,"__esModule",{value:!0});mapTo$1.mapTo=void 0;var map_1$4=map$1;function mapTo(s){return map_1$4.map(function(){return s})}mapTo$1.mapTo=mapTo;Object.defineProperty(delayWhen$1,"__esModule",{value:!0});delayWhen$1.delayWhen=void 0;var concat_1$2=concat$3,take_1$2=take$1,ignoreElements_1=ignoreElements$1,mapTo_1=mapTo$1,mergeMap_1$2=mergeMap$1,innerFrom_1$i=innerFrom$1;function delayWhen(s,o){return o?function(F0){return concat_1$2.concat(o.pipe(take_1$2.take(1),ignoreElements_1.ignoreElements()),F0.pipe(delayWhen(s)))}:mergeMap_1$2.mergeMap(function(F0,L0){return innerFrom_1$i.innerFrom(s(F0,L0)).pipe(take_1$2.take(1),mapTo_1.mapTo(F0))})}delayWhen$1.delayWhen=delayWhen;Object.defineProperty(delay$1,"__esModule",{value:!0});delay$1.delay=void 0;var async_1$5=async,delayWhen_1=delayWhen$1,timer_1$3=timer$1;function delay(s,o){o===void 0&&(o=async_1$5.asyncScheduler);var F0=timer_1$3.timer(s,o);return delayWhen_1.delayWhen(function(){return F0})}delay$1.delay=delay;var dematerialize$1={};Object.defineProperty(dematerialize$1,"__esModule",{value:!0});dematerialize$1.dematerialize=void 0;var Notification_1$1=Notification,lift_1$I=lift,OperatorSubscriber_1$x=OperatorSubscriber$1;function dematerialize(){return lift_1$I.operate(function(s,o){s.subscribe(OperatorSubscriber_1$x.createOperatorSubscriber(o,function(F0){return Notification_1$1.observeNotification(F0,o)}))})}dematerialize$1.dematerialize=dematerialize;var distinct$1={};Object.defineProperty(distinct$1,"__esModule",{value:!0});distinct$1.distinct=void 0;var lift_1$H=lift,OperatorSubscriber_1$w=OperatorSubscriber$1,noop_1$6=noop$1,innerFrom_1$h=innerFrom$1;function distinct(s,o){return lift_1$H.operate(function(F0,L0){var B0=new Set;F0.subscribe(OperatorSubscriber_1$w.createOperatorSubscriber(L0,function(q0){var W0=s?s(q0):q0;B0.has(W0)||(B0.add(W0),L0.next(q0))})),o&&innerFrom_1$h.innerFrom(o).subscribe(OperatorSubscriber_1$w.createOperatorSubscriber(L0,function(){return B0.clear()},noop_1$6.noop))})}distinct$1.distinct=distinct;var distinctUntilChanged$1={};Object.defineProperty(distinctUntilChanged$1,"__esModule",{value:!0});distinctUntilChanged$1.distinctUntilChanged=void 0;var identity_1$a=identity$1,lift_1$G=lift,OperatorSubscriber_1$v=OperatorSubscriber$1;function distinctUntilChanged(s,o){return o===void 0&&(o=identity_1$a.identity),s=s??defaultCompare,lift_1$G.operate(function(F0,L0){var B0,q0=!0;F0.subscribe(OperatorSubscriber_1$v.createOperatorSubscriber(L0,function(W0){var X0=o(W0);(q0||!s(B0,X0))&&(q0=!1,B0=X0,L0.next(W0))}))})}distinctUntilChanged$1.distinctUntilChanged=distinctUntilChanged;function defaultCompare(s,o){return s===o}var distinctUntilKeyChanged$1={};Object.defineProperty(distinctUntilKeyChanged$1,"__esModule",{value:!0});distinctUntilKeyChanged$1.distinctUntilKeyChanged=void 0;var distinctUntilChanged_1=distinctUntilChanged$1;function distinctUntilKeyChanged(s,o){return distinctUntilChanged_1.distinctUntilChanged(function(F0,L0){return o?o(F0[s],L0[s]):F0[s]===L0[s]})}distinctUntilKeyChanged$1.distinctUntilKeyChanged=distinctUntilKeyChanged;var elementAt$1={},throwIfEmpty$1={};Object.defineProperty(throwIfEmpty$1,"__esModule",{value:!0});throwIfEmpty$1.throwIfEmpty=void 0;var EmptyError_1$3=EmptyError,lift_1$F=lift,OperatorSubscriber_1$u=OperatorSubscriber$1;function throwIfEmpty(s){return s===void 0&&(s=defaultErrorFactory),lift_1$F.operate(function(o,F0){var L0=!1;o.subscribe(OperatorSubscriber_1$u.createOperatorSubscriber(F0,function(B0){L0=!0,F0.next(B0)},function(){return L0?F0.complete():F0.error(s())}))})}throwIfEmpty$1.throwIfEmpty=throwIfEmpty;function defaultErrorFactory(){return new EmptyError_1$3.EmptyError}Object.defineProperty(elementAt$1,"__esModule",{value:!0});elementAt$1.elementAt=void 0;var ArgumentOutOfRangeError_1=ArgumentOutOfRangeError,filter_1$5=filter$2,throwIfEmpty_1$2=throwIfEmpty$1,defaultIfEmpty_1$2=defaultIfEmpty$1,take_1$1=take$1;function elementAt(s,o){if(s<0)throw new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError;var F0=arguments.length>=2;return function(L0){return L0.pipe(filter_1$5.filter(function(B0,q0){return q0===s}),take_1$1.take(1),F0?defaultIfEmpty_1$2.defaultIfEmpty(o):throwIfEmpty_1$2.throwIfEmpty(function(){return new ArgumentOutOfRangeError_1.ArgumentOutOfRangeError}))}}elementAt$1.elementAt=elementAt;var endWith$1={},__read$9=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$a=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(endWith$1,"__esModule",{value:!0});endWith$1.endWith=void 0;var concat_1$1=concat$3,of_1=of$3;function endWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return function(F0){return concat_1$1.concat(F0,of_1.of.apply(void 0,__spreadArray$a([],__read$9(s))))}}endWith$1.endWith=endWith;var every$1={};Object.defineProperty(every$1,"__esModule",{value:!0});every$1.every=void 0;var lift_1$E=lift,OperatorSubscriber_1$t=OperatorSubscriber$1;function every(s,o){return lift_1$E.operate(function(F0,L0){var B0=0;F0.subscribe(OperatorSubscriber_1$t.createOperatorSubscriber(L0,function(q0){s.call(o,q0,B0++,F0)||(L0.next(!1),L0.complete())},function(){L0.next(!0),L0.complete()}))})}every$1.every=every;var exhaust={},exhaustAll$1={},exhaustMap$1={};Object.defineProperty(exhaustMap$1,"__esModule",{value:!0});exhaustMap$1.exhaustMap=void 0;var map_1$3=map$1,innerFrom_1$g=innerFrom$1,lift_1$D=lift,OperatorSubscriber_1$s=OperatorSubscriber$1;function exhaustMap(s,o){return o?function(F0){return F0.pipe(exhaustMap(function(L0,B0){return innerFrom_1$g.innerFrom(s(L0,B0)).pipe(map_1$3.map(function(q0,W0){return o(L0,q0,B0,W0)}))}))}:lift_1$D.operate(function(F0,L0){var B0=0,q0=null,W0=!1;F0.subscribe(OperatorSubscriber_1$s.createOperatorSubscriber(L0,function(X0){q0||(q0=OperatorSubscriber_1$s.createOperatorSubscriber(L0,void 0,function(){q0=null,W0&&L0.complete()}),innerFrom_1$g.innerFrom(s(X0,B0++)).subscribe(q0))},function(){W0=!0,!q0&&L0.complete()}))})}exhaustMap$1.exhaustMap=exhaustMap;Object.defineProperty(exhaustAll$1,"__esModule",{value:!0});exhaustAll$1.exhaustAll=void 0;var exhaustMap_1=exhaustMap$1,identity_1$9=identity$1;function exhaustAll(){return exhaustMap_1.exhaustMap(identity_1$9.identity)}exhaustAll$1.exhaustAll=exhaustAll;Object.defineProperty(exhaust,"__esModule",{value:!0});exhaust.exhaust=void 0;var exhaustAll_1=exhaustAll$1;exhaust.exhaust=exhaustAll_1.exhaustAll;var expand$2={};Object.defineProperty(expand$2,"__esModule",{value:!0});expand$2.expand=void 0;var lift_1$C=lift,mergeInternals_1$1=mergeInternals$1;function expand$1(s,o,F0){return o===void 0&&(o=1/0),o=(o||0)<1?1/0:o,lift_1$C.operate(function(L0,B0){return mergeInternals_1$1.mergeInternals(L0,B0,s,o,void 0,!0,F0)})}expand$2.expand=expand$1;var finalize$1={};Object.defineProperty(finalize$1,"__esModule",{value:!0});finalize$1.finalize=void 0;var lift_1$B=lift;function finalize(s){return lift_1$B.operate(function(o,F0){try{o.subscribe(F0)}finally{F0.add(s)}})}finalize$1.finalize=finalize;var find$1={};Object.defineProperty(find$1,"__esModule",{value:!0});find$1.createFind=find$1.find=void 0;var lift_1$A=lift,OperatorSubscriber_1$r=OperatorSubscriber$1;function find(s,o){return lift_1$A.operate(createFind(s,o,"value"))}find$1.find=find;function createFind(s,o,F0){var L0=F0==="index";return function(B0,q0){var W0=0;B0.subscribe(OperatorSubscriber_1$r.createOperatorSubscriber(q0,function(X0){var K0=W0++;s.call(o,X0,K0,B0)&&(q0.next(L0?K0:X0),q0.complete())},function(){q0.next(L0?-1:void 0),q0.complete()}))}}find$1.createFind=createFind;var findIndex$1={};Object.defineProperty(findIndex$1,"__esModule",{value:!0});findIndex$1.findIndex=void 0;var lift_1$z=lift,find_1=find$1;function findIndex(s,o){return lift_1$z.operate(find_1.createFind(s,o,"index"))}findIndex$1.findIndex=findIndex;var first$1={};Object.defineProperty(first$1,"__esModule",{value:!0});first$1.first=void 0;var EmptyError_1$2=EmptyError,filter_1$4=filter$2,take_1=take$1,defaultIfEmpty_1$1=defaultIfEmpty$1,throwIfEmpty_1$1=throwIfEmpty$1,identity_1$8=identity$1;function first(s,o){var F0=arguments.length>=2;return function(L0){return L0.pipe(s?filter_1$4.filter(function(B0,q0){return s(B0,q0,L0)}):identity_1$8.identity,take_1.take(1),F0?defaultIfEmpty_1$1.defaultIfEmpty(o):throwIfEmpty_1$1.throwIfEmpty(function(){return new EmptyError_1$2.EmptyError}))}}first$1.first=first;var groupBy$1={};Object.defineProperty(groupBy$1,"__esModule",{value:!0});groupBy$1.groupBy=void 0;var Observable_1=Observable$1,innerFrom_1$f=innerFrom$1,Subject_1$9=Subject$1,lift_1$y=lift,OperatorSubscriber_1$q=OperatorSubscriber$1;function groupBy(s,o,F0,L0){return lift_1$y.operate(function(B0,q0){var W0;!o||typeof o=="function"?W0=o:(F0=o.duration,W0=o.element,L0=o.connector);var X0=new Map,K0=function(H_){X0.forEach(H_),H_(q0)},D_=function(H_){return K0(function(Oy){return Oy.error(H_)})},I_=0,F_=!1,R_=new OperatorSubscriber_1$q.OperatorSubscriber(q0,function(H_){try{var Oy=s(H_),qv=X0.get(Oy);if(!qv){X0.set(Oy,qv=L0?L0():new Subject_1$9.Subject);var Lv=z_(Oy,qv);if(q0.next(Lv),F0){var S1=OperatorSubscriber_1$q.createOperatorSubscriber(qv,function(){qv.complete(),S1==null||S1.unsubscribe()},void 0,void 0,function(){return X0.delete(Oy)});R_.add(innerFrom_1$f.innerFrom(F0(Lv)).subscribe(S1))}}qv.next(W0?W0(H_):H_)}catch(iv){D_(iv)}},function(){return K0(function(H_){return H_.complete()})},D_,function(){return X0.clear()},function(){return F_=!0,I_===0});B0.subscribe(R_);function z_(H_,Oy){var qv=new Observable_1.Observable(function(Lv){I_++;var S1=Oy.subscribe(Lv);return function(){S1.unsubscribe(),--I_===0&&F_&&R_.unsubscribe()}});return qv.key=H_,qv}})}groupBy$1.groupBy=groupBy;var isEmpty$1={};Object.defineProperty(isEmpty$1,"__esModule",{value:!0});isEmpty$1.isEmpty=void 0;var lift_1$x=lift,OperatorSubscriber_1$p=OperatorSubscriber$1;function isEmpty(){return lift_1$x.operate(function(s,o){s.subscribe(OperatorSubscriber_1$p.createOperatorSubscriber(o,function(){o.next(!1),o.complete()},function(){o.next(!0),o.complete()}))})}isEmpty$1.isEmpty=isEmpty;var last$1={},takeLast$1={},__values$2=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(takeLast$1,"__esModule",{value:!0});takeLast$1.takeLast=void 0;var empty_1$1=empty$1,lift_1$w=lift,OperatorSubscriber_1$o=OperatorSubscriber$1;function takeLast(s){return s<=0?function(){return empty_1$1.EMPTY}:lift_1$w.operate(function(o,F0){var L0=[];o.subscribe(OperatorSubscriber_1$o.createOperatorSubscriber(F0,function(B0){L0.push(B0),s<L0.length&&L0.shift()},function(){var B0,q0;try{for(var W0=__values$2(L0),X0=W0.next();!X0.done;X0=W0.next()){var K0=X0.value;F0.next(K0)}}catch(D_){B0={error:D_}}finally{try{X0&&!X0.done&&(q0=W0.return)&&q0.call(W0)}finally{if(B0)throw B0.error}}F0.complete()},void 0,function(){L0=null}))})}takeLast$1.takeLast=takeLast;Object.defineProperty(last$1,"__esModule",{value:!0});last$1.last=void 0;var EmptyError_1$1=EmptyError,filter_1$3=filter$2,takeLast_1=takeLast$1,throwIfEmpty_1=throwIfEmpty$1,defaultIfEmpty_1=defaultIfEmpty$1,identity_1$7=identity$1;function last(s,o){var F0=arguments.length>=2;return function(L0){return L0.pipe(s?filter_1$3.filter(function(B0,q0){return s(B0,q0,L0)}):identity_1$7.identity,takeLast_1.takeLast(1),F0?defaultIfEmpty_1.defaultIfEmpty(o):throwIfEmpty_1.throwIfEmpty(function(){return new EmptyError_1$1.EmptyError}))}}last$1.last=last;var materialize$1={};Object.defineProperty(materialize$1,"__esModule",{value:!0});materialize$1.materialize=void 0;var Notification_1=Notification,lift_1$v=lift,OperatorSubscriber_1$n=OperatorSubscriber$1;function materialize(){return lift_1$v.operate(function(s,o){s.subscribe(OperatorSubscriber_1$n.createOperatorSubscriber(o,function(F0){o.next(Notification_1.Notification.createNext(F0))},function(){o.next(Notification_1.Notification.createComplete()),o.complete()},function(F0){o.next(Notification_1.Notification.createError(F0)),o.complete()}))})}materialize$1.materialize=materialize;var max$1={};Object.defineProperty(max$1,"__esModule",{value:!0});max$1.max=void 0;var reduce_1$1=reduce$2,isFunction_1$6=isFunction$1;function max(s){return reduce_1$1.reduce(isFunction_1$6.isFunction(s)?function(o,F0){return s(o,F0)>0?o:F0}:function(o,F0){return o>F0?o:F0})}max$1.max=max;var flatMap={};Object.defineProperty(flatMap,"__esModule",{value:!0});flatMap.flatMap=void 0;var mergeMap_1$1=mergeMap$1;flatMap.flatMap=mergeMap_1$1.mergeMap;var mergeMapTo$1={};Object.defineProperty(mergeMapTo$1,"__esModule",{value:!0});mergeMapTo$1.mergeMapTo=void 0;var mergeMap_1=mergeMap$1,isFunction_1$5=isFunction$1;function mergeMapTo(s,o,F0){return F0===void 0&&(F0=1/0),isFunction_1$5.isFunction(o)?mergeMap_1.mergeMap(function(){return s},o,F0):(typeof o=="number"&&(F0=o),mergeMap_1.mergeMap(function(){return s},F0))}mergeMapTo$1.mergeMapTo=mergeMapTo;var mergeScan$1={};Object.defineProperty(mergeScan$1,"__esModule",{value:!0});mergeScan$1.mergeScan=void 0;var lift_1$u=lift,mergeInternals_1=mergeInternals$1;function mergeScan(s,o,F0){return F0===void 0&&(F0=1/0),lift_1$u.operate(function(L0,B0){var q0=o;return mergeInternals_1.mergeInternals(L0,B0,function(W0,X0){return s(q0,W0,X0)},F0,function(W0){q0=W0},!1,void 0,function(){return q0=null})})}mergeScan$1.mergeScan=mergeScan;var mergeWith$1={},merge$1={},__read$8=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$9=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(merge$1,"__esModule",{value:!0});merge$1.merge=void 0;var lift_1$t=lift,mergeAll_1=mergeAll$1,args_1$3=args,from_1=from$3;function merge(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$3.popScheduler(s),L0=args_1$3.popNumber(s,1/0);return lift_1$t.operate(function(B0,q0){mergeAll_1.mergeAll(L0)(from_1.from(__spreadArray$9([B0],__read$8(s)),F0)).subscribe(q0)})}merge$1.merge=merge;var __read$7=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$8=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(mergeWith$1,"__esModule",{value:!0});mergeWith$1.mergeWith=void 0;var merge_1=merge$1;function mergeWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return merge_1.merge.apply(void 0,__spreadArray$8([],__read$7(s)))}mergeWith$1.mergeWith=mergeWith;var min$1={};Object.defineProperty(min$1,"__esModule",{value:!0});min$1.min=void 0;var reduce_1=reduce$2,isFunction_1$4=isFunction$1;function min(s){return reduce_1.reduce(isFunction_1$4.isFunction(s)?function(o,F0){return s(o,F0)<0?o:F0}:function(o,F0){return o<F0?o:F0})}min$1.min=min;var multicast$1={};Object.defineProperty(multicast$1,"__esModule",{value:!0});multicast$1.multicast=void 0;var ConnectableObservable_1$2=ConnectableObservable$1,isFunction_1$3=isFunction$1,connect_1$1=connect$1;function multicast(s,o){var F0=isFunction_1$3.isFunction(s)?s:function(){return s};return isFunction_1$3.isFunction(o)?connect_1$1.connect(o,{connector:F0}):function(L0){return new ConnectableObservable_1$2.ConnectableObservable(L0,F0)}}multicast$1.multicast=multicast;var onErrorResumeNextWith$1={},__read$6=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$7=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(onErrorResumeNextWith$1,"__esModule",{value:!0});onErrorResumeNextWith$1.onErrorResumeNext=onErrorResumeNextWith$1.onErrorResumeNextWith=void 0;var argsOrArgArray_1$1=argsOrArgArray$1,onErrorResumeNext_1=onErrorResumeNext$1;function onErrorResumeNextWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=argsOrArgArray_1$1.argsOrArgArray(s);return function(L0){return onErrorResumeNext_1.onErrorResumeNext.apply(void 0,__spreadArray$7([L0],__read$6(F0)))}}onErrorResumeNextWith$1.onErrorResumeNextWith=onErrorResumeNextWith;onErrorResumeNextWith$1.onErrorResumeNext=onErrorResumeNextWith;var pairwise$1={};Object.defineProperty(pairwise$1,"__esModule",{value:!0});pairwise$1.pairwise=void 0;var lift_1$s=lift,OperatorSubscriber_1$m=OperatorSubscriber$1;function pairwise(){return lift_1$s.operate(function(s,o){var F0,L0=!1;s.subscribe(OperatorSubscriber_1$m.createOperatorSubscriber(o,function(B0){var q0=F0;F0=B0,L0&&o.next([q0,B0]),L0=!0}))})}pairwise$1.pairwise=pairwise;var pluck$1={};Object.defineProperty(pluck$1,"__esModule",{value:!0});pluck$1.pluck=void 0;var map_1$2=map$1;function pluck(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=s.length;if(F0===0)throw new Error("list of properties cannot be empty.");return map_1$2.map(function(L0){for(var B0=L0,q0=0;q0<F0;q0++){var W0=B0==null?void 0:B0[s[q0]];if(typeof W0<"u")B0=W0;else return}return B0})}pluck$1.pluck=pluck;var publish$2={};Object.defineProperty(publish$2,"__esModule",{value:!0});publish$2.publish=void 0;var Subject_1$8=Subject$1,multicast_1$1=multicast$1,connect_1=connect$1;function publish$1(s){return s?function(o){return connect_1.connect(s)(o)}:function(o){return multicast_1$1.multicast(new Subject_1$8.Subject)(o)}}publish$2.publish=publish$1;var publishBehavior$1={};Object.defineProperty(publishBehavior$1,"__esModule",{value:!0});publishBehavior$1.publishBehavior=void 0;var BehaviorSubject_1=BehaviorSubject$1,ConnectableObservable_1$1=ConnectableObservable$1;function publishBehavior(s){return function(o){var F0=new BehaviorSubject_1.BehaviorSubject(s);return new ConnectableObservable_1$1.ConnectableObservable(o,function(){return F0})}}publishBehavior$1.publishBehavior=publishBehavior;var publishLast$1={};Object.defineProperty(publishLast$1,"__esModule",{value:!0});publishLast$1.publishLast=void 0;var AsyncSubject_1=AsyncSubject$1,ConnectableObservable_1=ConnectableObservable$1;function publishLast(){return function(s){var o=new AsyncSubject_1.AsyncSubject;return new ConnectableObservable_1.ConnectableObservable(s,function(){return o})}}publishLast$1.publishLast=publishLast;var publishReplay$1={};Object.defineProperty(publishReplay$1,"__esModule",{value:!0});publishReplay$1.publishReplay=void 0;var ReplaySubject_1$1=ReplaySubject$1,multicast_1=multicast$1,isFunction_1$2=isFunction$1;function publishReplay(s,o,F0,L0){F0&&!isFunction_1$2.isFunction(F0)&&(L0=F0);var B0=isFunction_1$2.isFunction(F0)?F0:void 0;return function(q0){return multicast_1.multicast(new ReplaySubject_1$1.ReplaySubject(s,o,L0),B0)(q0)}}publishReplay$1.publishReplay=publishReplay;var raceWith$1={},__read$5=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$6=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(raceWith$1,"__esModule",{value:!0});raceWith$1.raceWith=void 0;var race_1=race$3,lift_1$r=lift,identity_1$6=identity$1;function raceWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return s.length?lift_1$r.operate(function(F0,L0){race_1.raceInit(__spreadArray$6([F0],__read$5(s)))(L0)}):identity_1$6.identity}raceWith$1.raceWith=raceWith;var repeat$1={};Object.defineProperty(repeat$1,"__esModule",{value:!0});repeat$1.repeat=void 0;var empty_1=empty$1,lift_1$q=lift,OperatorSubscriber_1$l=OperatorSubscriber$1,innerFrom_1$e=innerFrom$1,timer_1$2=timer$1;function repeat(s){var o,F0=1/0,L0;return s!=null&&(typeof s=="object"?(o=s.count,F0=o===void 0?1/0:o,L0=s.delay):F0=s),F0<=0?function(){return empty_1.EMPTY}:lift_1$q.operate(function(B0,q0){var W0=0,X0,K0=function(){if(X0==null||X0.unsubscribe(),X0=null,L0!=null){var I_=typeof L0=="number"?timer_1$2.timer(L0):innerFrom_1$e.innerFrom(L0(W0)),F_=OperatorSubscriber_1$l.createOperatorSubscriber(q0,function(){F_.unsubscribe(),D_()});I_.subscribe(F_)}else D_()},D_=function(){var I_=!1;X0=B0.subscribe(OperatorSubscriber_1$l.createOperatorSubscriber(q0,void 0,function(){++W0<F0?X0?K0():I_=!0:q0.complete()})),I_&&K0()};D_()})}repeat$1.repeat=repeat;var repeatWhen$1={};Object.defineProperty(repeatWhen$1,"__esModule",{value:!0});repeatWhen$1.repeatWhen=void 0;var innerFrom_1$d=innerFrom$1,Subject_1$7=Subject$1,lift_1$p=lift,OperatorSubscriber_1$k=OperatorSubscriber$1;function repeatWhen(s){return lift_1$p.operate(function(o,F0){var L0,B0=!1,q0,W0=!1,X0=!1,K0=function(){return X0&&W0&&(F0.complete(),!0)},D_=function(){return q0||(q0=new Subject_1$7.Subject,innerFrom_1$d.innerFrom(s(q0)).subscribe(OperatorSubscriber_1$k.createOperatorSubscriber(F0,function(){L0?I_():B0=!0},function(){W0=!0,K0()}))),q0},I_=function(){X0=!1,L0=o.subscribe(OperatorSubscriber_1$k.createOperatorSubscriber(F0,void 0,function(){X0=!0,!K0()&&D_().next()})),B0&&(L0.unsubscribe(),L0=null,B0=!1,I_())};I_()})}repeatWhen$1.repeatWhen=repeatWhen;var retry$1={};Object.defineProperty(retry$1,"__esModule",{value:!0});retry$1.retry=void 0;var lift_1$o=lift,OperatorSubscriber_1$j=OperatorSubscriber$1,identity_1$5=identity$1,timer_1$1=timer$1,innerFrom_1$c=innerFrom$1;function retry(s){s===void 0&&(s=1/0);var o;s&&typeof s=="object"?o=s:o={count:s};var F0=o.count,L0=F0===void 0?1/0:F0,B0=o.delay,q0=o.resetOnSuccess,W0=q0===void 0?!1:q0;return L0<=0?identity_1$5.identity:lift_1$o.operate(function(X0,K0){var D_=0,I_,F_=function(){var R_=!1;I_=X0.subscribe(OperatorSubscriber_1$j.createOperatorSubscriber(K0,function(z_){W0&&(D_=0),K0.next(z_)},void 0,function(z_){if(D_++<L0){var H_=function(){I_?(I_.unsubscribe(),I_=null,F_()):R_=!0};if(B0!=null){var Oy=typeof B0=="number"?timer_1$1.timer(B0):innerFrom_1$c.innerFrom(B0(z_,D_)),qv=OperatorSubscriber_1$j.createOperatorSubscriber(K0,function(){qv.unsubscribe(),H_()},function(){K0.complete()});Oy.subscribe(qv)}else H_()}else K0.error(z_)})),R_&&(I_.unsubscribe(),I_=null,F_())};F_()})}retry$1.retry=retry;var retryWhen$1={};Object.defineProperty(retryWhen$1,"__esModule",{value:!0});retryWhen$1.retryWhen=void 0;var innerFrom_1$b=innerFrom$1,Subject_1$6=Subject$1,lift_1$n=lift,OperatorSubscriber_1$i=OperatorSubscriber$1;function retryWhen(s){return lift_1$n.operate(function(o,F0){var L0,B0=!1,q0,W0=function(){L0=o.subscribe(OperatorSubscriber_1$i.createOperatorSubscriber(F0,void 0,void 0,function(X0){q0||(q0=new Subject_1$6.Subject,innerFrom_1$b.innerFrom(s(q0)).subscribe(OperatorSubscriber_1$i.createOperatorSubscriber(F0,function(){return L0?W0():B0=!0}))),q0&&q0.next(X0)})),B0&&(L0.unsubscribe(),L0=null,B0=!1,W0())};W0()})}retryWhen$1.retryWhen=retryWhen;var sample$2={};Object.defineProperty(sample$2,"__esModule",{value:!0});sample$2.sample=void 0;var innerFrom_1$a=innerFrom$1,lift_1$m=lift,noop_1$5=noop$1,OperatorSubscriber_1$h=OperatorSubscriber$1;function sample$1(s){return lift_1$m.operate(function(o,F0){var L0=!1,B0=null;o.subscribe(OperatorSubscriber_1$h.createOperatorSubscriber(F0,function(q0){L0=!0,B0=q0})),innerFrom_1$a.innerFrom(s).subscribe(OperatorSubscriber_1$h.createOperatorSubscriber(F0,function(){if(L0){L0=!1;var q0=B0;B0=null,F0.next(q0)}},noop_1$5.noop))})}sample$2.sample=sample$1;var sampleTime$1={};Object.defineProperty(sampleTime$1,"__esModule",{value:!0});sampleTime$1.sampleTime=void 0;var async_1$4=async,sample_1=sample$2,interval_1=interval$1;function sampleTime(s,o){return o===void 0&&(o=async_1$4.asyncScheduler),sample_1.sample(interval_1.interval(s,o))}sampleTime$1.sampleTime=sampleTime;var scan$1={};Object.defineProperty(scan$1,"__esModule",{value:!0});scan$1.scan=void 0;var lift_1$l=lift,scanInternals_1=scanInternals$1;function scan(s,o){return lift_1$l.operate(scanInternals_1.scanInternals(s,o,arguments.length>=2,!0))}scan$1.scan=scan;var sequenceEqual$1={};Object.defineProperty(sequenceEqual$1,"__esModule",{value:!0});sequenceEqual$1.sequenceEqual=void 0;var lift_1$k=lift,OperatorSubscriber_1$g=OperatorSubscriber$1,innerFrom_1$9=innerFrom$1;function sequenceEqual(s,o){return o===void 0&&(o=function(F0,L0){return F0===L0}),lift_1$k.operate(function(F0,L0){var B0=createState(),q0=createState(),W0=function(K0){L0.next(K0),L0.complete()},X0=function(K0,D_){var I_=OperatorSubscriber_1$g.createOperatorSubscriber(L0,function(F_){var R_=D_.buffer,z_=D_.complete;R_.length===0?z_?W0(!1):K0.buffer.push(F_):!o(F_,R_.shift())&&W0(!1)},function(){K0.complete=!0;var F_=D_.complete,R_=D_.buffer;F_&&W0(R_.length===0),I_==null||I_.unsubscribe()});return I_};F0.subscribe(X0(B0,q0)),innerFrom_1$9.innerFrom(s).subscribe(X0(q0,B0))})}sequenceEqual$1.sequenceEqual=sequenceEqual;function createState(){return{buffer:[],complete:!1}}var share$1={},__read$4=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$5=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(share$1,"__esModule",{value:!0});share$1.share=void 0;var innerFrom_1$8=innerFrom$1,Subject_1$5=Subject$1,Subscriber_1=Subscriber,lift_1$j=lift;function share(s){s===void 0&&(s={});var o=s.connector,F0=o===void 0?function(){return new Subject_1$5.Subject}:o,L0=s.resetOnError,B0=L0===void 0?!0:L0,q0=s.resetOnComplete,W0=q0===void 0?!0:q0,X0=s.resetOnRefCountZero,K0=X0===void 0?!0:X0;return function(D_){var I_,F_,R_,z_=0,H_=!1,Oy=!1,qv=function(){F_==null||F_.unsubscribe(),F_=void 0},Lv=function(){qv(),I_=R_=void 0,H_=Oy=!1},S1=function(){var iv=I_;Lv(),iv==null||iv.unsubscribe()};return lift_1$j.operate(function(iv,Yv){z_++,!Oy&&!H_&&qv();var _x=R_=R_??F0();Yv.add(function(){z_--,z_===0&&!Oy&&!H_&&(F_=handleReset(S1,K0))}),_x.subscribe(Yv),!I_&&z_>0&&(I_=new Subscriber_1.SafeSubscriber({next:function(Qv){return _x.next(Qv)},error:function(Qv){Oy=!0,qv(),F_=handleReset(Lv,B0,Qv),_x.error(Qv)},complete:function(){H_=!0,qv(),F_=handleReset(Lv,W0),_x.complete()}}),innerFrom_1$8.innerFrom(iv).subscribe(I_))})(D_)}}share$1.share=share;function handleReset(s,o){for(var F0=[],L0=2;L0<arguments.length;L0++)F0[L0-2]=arguments[L0];if(o===!0){s();return}if(o!==!1){var B0=new Subscriber_1.SafeSubscriber({next:function(){B0.unsubscribe(),s()}});return innerFrom_1$8.innerFrom(o.apply(void 0,__spreadArray$5([],__read$4(F0)))).subscribe(B0)}}var shareReplay$1={};Object.defineProperty(shareReplay$1,"__esModule",{value:!0});shareReplay$1.shareReplay=void 0;var ReplaySubject_1=ReplaySubject$1,share_1=share$1;function shareReplay(s,o,F0){var L0,B0,q0,W0,X0=!1;return s&&typeof s=="object"?(L0=s.bufferSize,W0=L0===void 0?1/0:L0,B0=s.windowTime,o=B0===void 0?1/0:B0,q0=s.refCount,X0=q0===void 0?!1:q0,F0=s.scheduler):W0=s??1/0,share_1.share({connector:function(){return new ReplaySubject_1.ReplaySubject(W0,o,F0)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:X0})}shareReplay$1.shareReplay=shareReplay;var single$1={};Object.defineProperty(single$1,"__esModule",{value:!0});single$1.single=void 0;var EmptyError_1=EmptyError,SequenceError_1=SequenceError,NotFoundError_1=NotFoundError,lift_1$i=lift,OperatorSubscriber_1$f=OperatorSubscriber$1;function single(s){return lift_1$i.operate(function(o,F0){var L0=!1,B0,q0=!1,W0=0;o.subscribe(OperatorSubscriber_1$f.createOperatorSubscriber(F0,function(X0){q0=!0,(!s||s(X0,W0++,o))&&(L0&&F0.error(new SequenceError_1.SequenceError("Too many matching values")),L0=!0,B0=X0)},function(){L0?(F0.next(B0),F0.complete()):F0.error(q0?new NotFoundError_1.NotFoundError("No matching values"):new EmptyError_1.EmptyError)}))})}single$1.single=single;var skip$1={};Object.defineProperty(skip$1,"__esModule",{value:!0});skip$1.skip=void 0;var filter_1$2=filter$2;function skip(s){return filter_1$2.filter(function(o,F0){return s<=F0})}skip$1.skip=skip;var skipLast$1={};Object.defineProperty(skipLast$1,"__esModule",{value:!0});skipLast$1.skipLast=void 0;var identity_1$4=identity$1,lift_1$h=lift,OperatorSubscriber_1$e=OperatorSubscriber$1;function skipLast(s){return s<=0?identity_1$4.identity:lift_1$h.operate(function(o,F0){var L0=new Array(s),B0=0;return o.subscribe(OperatorSubscriber_1$e.createOperatorSubscriber(F0,function(q0){var W0=B0++;if(W0<s)L0[W0]=q0;else{var X0=W0%s,K0=L0[X0];L0[X0]=q0,F0.next(K0)}})),function(){L0=null}})}skipLast$1.skipLast=skipLast;var skipUntil$1={};Object.defineProperty(skipUntil$1,"__esModule",{value:!0});skipUntil$1.skipUntil=void 0;var lift_1$g=lift,OperatorSubscriber_1$d=OperatorSubscriber$1,innerFrom_1$7=innerFrom$1,noop_1$4=noop$1;function skipUntil(s){return lift_1$g.operate(function(o,F0){var L0=!1,B0=OperatorSubscriber_1$d.createOperatorSubscriber(F0,function(){B0==null||B0.unsubscribe(),L0=!0},noop_1$4.noop);innerFrom_1$7.innerFrom(s).subscribe(B0),o.subscribe(OperatorSubscriber_1$d.createOperatorSubscriber(F0,function(q0){return L0&&F0.next(q0)}))})}skipUntil$1.skipUntil=skipUntil;var skipWhile$1={};Object.defineProperty(skipWhile$1,"__esModule",{value:!0});skipWhile$1.skipWhile=void 0;var lift_1$f=lift,OperatorSubscriber_1$c=OperatorSubscriber$1;function skipWhile(s){return lift_1$f.operate(function(o,F0){var L0=!1,B0=0;o.subscribe(OperatorSubscriber_1$c.createOperatorSubscriber(F0,function(q0){return(L0||(L0=!s(q0,B0++)))&&F0.next(q0)}))})}skipWhile$1.skipWhile=skipWhile;var startWith$1={};Object.defineProperty(startWith$1,"__esModule",{value:!0});startWith$1.startWith=void 0;var concat_1=concat$3,args_1$2=args,lift_1$e=lift;function startWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1$2.popScheduler(s);return lift_1$e.operate(function(L0,B0){(F0?concat_1.concat(s,L0,F0):concat_1.concat(s,L0)).subscribe(B0)})}startWith$1.startWith=startWith;var switchAll$1={},switchMap$1={};Object.defineProperty(switchMap$1,"__esModule",{value:!0});switchMap$1.switchMap=void 0;var innerFrom_1$6=innerFrom$1,lift_1$d=lift,OperatorSubscriber_1$b=OperatorSubscriber$1;function switchMap(s,o){return lift_1$d.operate(function(F0,L0){var B0=null,q0=0,W0=!1,X0=function(){return W0&&!B0&&L0.complete()};F0.subscribe(OperatorSubscriber_1$b.createOperatorSubscriber(L0,function(K0){B0==null||B0.unsubscribe();var D_=0,I_=q0++;innerFrom_1$6.innerFrom(s(K0,I_)).subscribe(B0=OperatorSubscriber_1$b.createOperatorSubscriber(L0,function(F_){return L0.next(o?o(K0,F_,I_,D_++):F_)},function(){B0=null,X0()}))},function(){W0=!0,X0()}))})}switchMap$1.switchMap=switchMap;Object.defineProperty(switchAll$1,"__esModule",{value:!0});switchAll$1.switchAll=void 0;var switchMap_1$2=switchMap$1,identity_1$3=identity$1;function switchAll(){return switchMap_1$2.switchMap(identity_1$3.identity)}switchAll$1.switchAll=switchAll;var switchMapTo$1={};Object.defineProperty(switchMapTo$1,"__esModule",{value:!0});switchMapTo$1.switchMapTo=void 0;var switchMap_1$1=switchMap$1,isFunction_1$1=isFunction$1;function switchMapTo(s,o){return isFunction_1$1.isFunction(o)?switchMap_1$1.switchMap(function(){return s},o):switchMap_1$1.switchMap(function(){return s})}switchMapTo$1.switchMapTo=switchMapTo;var switchScan$1={};Object.defineProperty(switchScan$1,"__esModule",{value:!0});switchScan$1.switchScan=void 0;var switchMap_1=switchMap$1,lift_1$c=lift;function switchScan(s,o){return lift_1$c.operate(function(F0,L0){var B0=o;return switchMap_1.switchMap(function(q0,W0){return s(B0,q0,W0)},function(q0,W0){return B0=W0,W0})(F0).subscribe(L0),function(){B0=null}})}switchScan$1.switchScan=switchScan;var takeUntil$1={};Object.defineProperty(takeUntil$1,"__esModule",{value:!0});takeUntil$1.takeUntil=void 0;var lift_1$b=lift,OperatorSubscriber_1$a=OperatorSubscriber$1,innerFrom_1$5=innerFrom$1,noop_1$3=noop$1;function takeUntil(s){return lift_1$b.operate(function(o,F0){innerFrom_1$5.innerFrom(s).subscribe(OperatorSubscriber_1$a.createOperatorSubscriber(F0,function(){return F0.complete()},noop_1$3.noop)),!F0.closed&&o.subscribe(F0)})}takeUntil$1.takeUntil=takeUntil;var takeWhile$1={};Object.defineProperty(takeWhile$1,"__esModule",{value:!0});takeWhile$1.takeWhile=void 0;var lift_1$a=lift,OperatorSubscriber_1$9=OperatorSubscriber$1;function takeWhile(s,o){return o===void 0&&(o=!1),lift_1$a.operate(function(F0,L0){var B0=0;F0.subscribe(OperatorSubscriber_1$9.createOperatorSubscriber(L0,function(q0){var W0=s(q0,B0++);(W0||o)&&L0.next(q0),!W0&&L0.complete()}))})}takeWhile$1.takeWhile=takeWhile;var tap$1={};Object.defineProperty(tap$1,"__esModule",{value:!0});tap$1.tap=void 0;var isFunction_1=isFunction$1,lift_1$9=lift,OperatorSubscriber_1$8=OperatorSubscriber$1,identity_1$2=identity$1;function tap(s,o,F0){var L0=isFunction_1.isFunction(s)||o||F0?{next:s,error:o,complete:F0}:s;return L0?lift_1$9.operate(function(B0,q0){var W0;(W0=L0.subscribe)===null||W0===void 0||W0.call(L0);var X0=!0;B0.subscribe(OperatorSubscriber_1$8.createOperatorSubscriber(q0,function(K0){var D_;(D_=L0.next)===null||D_===void 0||D_.call(L0,K0),q0.next(K0)},function(){var K0;X0=!1,(K0=L0.complete)===null||K0===void 0||K0.call(L0),q0.complete()},function(K0){var D_;X0=!1,(D_=L0.error)===null||D_===void 0||D_.call(L0,K0),q0.error(K0)},function(){var K0,D_;X0&&((K0=L0.unsubscribe)===null||K0===void 0||K0.call(L0)),(D_=L0.finalize)===null||D_===void 0||D_.call(L0)}))}):identity_1$2.identity}tap$1.tap=tap;var throttle$1={};Object.defineProperty(throttle$1,"__esModule",{value:!0});throttle$1.throttle=void 0;var lift_1$8=lift,OperatorSubscriber_1$7=OperatorSubscriber$1,innerFrom_1$4=innerFrom$1;function throttle(s,o){return lift_1$8.operate(function(F0,L0){var B0=o??{},q0=B0.leading,W0=q0===void 0?!0:q0,X0=B0.trailing,K0=X0===void 0?!1:X0,D_=!1,I_=null,F_=null,R_=!1,z_=function(){F_==null||F_.unsubscribe(),F_=null,K0&&(qv(),R_&&L0.complete())},H_=function(){F_=null,R_&&L0.complete()},Oy=function(Lv){return F_=innerFrom_1$4.innerFrom(s(Lv)).subscribe(OperatorSubscriber_1$7.createOperatorSubscriber(L0,z_,H_))},qv=function(){if(D_){D_=!1;var Lv=I_;I_=null,L0.next(Lv),!R_&&Oy(Lv)}};F0.subscribe(OperatorSubscriber_1$7.createOperatorSubscriber(L0,function(Lv){D_=!0,I_=Lv,!(F_&&!F_.closed)&&(W0?qv():Oy(Lv))},function(){R_=!0,!(K0&&D_&&F_&&!F_.closed)&&L0.complete()}))})}throttle$1.throttle=throttle;var throttleTime$1={};Object.defineProperty(throttleTime$1,"__esModule",{value:!0});throttleTime$1.throttleTime=void 0;var async_1$3=async,throttle_1=throttle$1,timer_1=timer$1;function throttleTime(s,o,F0){o===void 0&&(o=async_1$3.asyncScheduler);var L0=timer_1.timer(s,o);return throttle_1.throttle(function(){return L0},F0)}throttleTime$1.throttleTime=throttleTime;var timeInterval$1={};Object.defineProperty(timeInterval$1,"__esModule",{value:!0});timeInterval$1.TimeInterval=timeInterval$1.timeInterval=void 0;var async_1$2=async,lift_1$7=lift,OperatorSubscriber_1$6=OperatorSubscriber$1;function timeInterval(s){return s===void 0&&(s=async_1$2.asyncScheduler),lift_1$7.operate(function(o,F0){var L0=s.now();o.subscribe(OperatorSubscriber_1$6.createOperatorSubscriber(F0,function(B0){var q0=s.now(),W0=q0-L0;L0=q0,F0.next(new TimeInterval(B0,W0))}))})}timeInterval$1.timeInterval=timeInterval;var TimeInterval=function(){function s(o,F0){this.value=o,this.interval=F0}return s}();timeInterval$1.TimeInterval=TimeInterval;var timeoutWith$1={};Object.defineProperty(timeoutWith$1,"__esModule",{value:!0});timeoutWith$1.timeoutWith=void 0;var async_1$1=async,isDate_1=isDate,timeout_1=timeout;function timeoutWith(s,o,F0){var L0,B0,q0;if(F0=F0??async_1$1.async,isDate_1.isValidDate(s)?L0=s:typeof s=="number"&&(B0=s),o)q0=function(){return o};else throw new TypeError("No observable provided to switch to");if(L0==null&&B0==null)throw new TypeError("No timeout provided.");return timeout_1.timeout({first:L0,each:B0,scheduler:F0,with:q0})}timeoutWith$1.timeoutWith=timeoutWith;var timestamp$1={};Object.defineProperty(timestamp$1,"__esModule",{value:!0});timestamp$1.timestamp=void 0;var dateTimestampProvider_1=dateTimestampProvider,map_1$1=map$1;function timestamp(s){return s===void 0&&(s=dateTimestampProvider_1.dateTimestampProvider),map_1$1.map(function(o){return{value:o,timestamp:s.now()}})}timestamp$1.timestamp=timestamp;var window$2={};Object.defineProperty(window$2,"__esModule",{value:!0});window$2.window=void 0;var Subject_1$4=Subject$1,lift_1$6=lift,OperatorSubscriber_1$5=OperatorSubscriber$1,noop_1$2=noop$1,innerFrom_1$3=innerFrom$1;function window$1(s){return lift_1$6.operate(function(o,F0){var L0=new Subject_1$4.Subject;F0.next(L0.asObservable());var B0=function(q0){L0.error(q0),F0.error(q0)};return o.subscribe(OperatorSubscriber_1$5.createOperatorSubscriber(F0,function(q0){return L0==null?void 0:L0.next(q0)},function(){L0.complete(),F0.complete()},B0)),innerFrom_1$3.innerFrom(s).subscribe(OperatorSubscriber_1$5.createOperatorSubscriber(F0,function(){L0.complete(),F0.next(L0=new Subject_1$4.Subject)},noop_1$2.noop,B0)),function(){L0==null||L0.unsubscribe(),L0=null}})}window$2.window=window$1;var windowCount$1={},__values$1=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(windowCount$1,"__esModule",{value:!0});windowCount$1.windowCount=void 0;var Subject_1$3=Subject$1,lift_1$5=lift,OperatorSubscriber_1$4=OperatorSubscriber$1;function windowCount(s,o){o===void 0&&(o=0);var F0=o>0?o:s;return lift_1$5.operate(function(L0,B0){var q0=[new Subject_1$3.Subject],W0=0;B0.next(q0[0].asObservable()),L0.subscribe(OperatorSubscriber_1$4.createOperatorSubscriber(B0,function(X0){var K0,D_;try{for(var I_=__values$1(q0),F_=I_.next();!F_.done;F_=I_.next()){var R_=F_.value;R_.next(X0)}}catch(Oy){K0={error:Oy}}finally{try{F_&&!F_.done&&(D_=I_.return)&&D_.call(I_)}finally{if(K0)throw K0.error}}var z_=W0-s+1;if(z_>=0&&z_%F0===0&&q0.shift().complete(),++W0%F0===0){var H_=new Subject_1$3.Subject;q0.push(H_),B0.next(H_.asObservable())}},function(){for(;q0.length>0;)q0.shift().complete();B0.complete()},function(X0){for(;q0.length>0;)q0.shift().error(X0);B0.error(X0)},function(){q0=null}))})}windowCount$1.windowCount=windowCount;var windowTime$1={};Object.defineProperty(windowTime$1,"__esModule",{value:!0});windowTime$1.windowTime=void 0;var Subject_1$2=Subject$1,async_1=async,Subscription_1$1=Subscription$1,lift_1$4=lift,OperatorSubscriber_1$3=OperatorSubscriber$1,arrRemove_1$1=arrRemove$1,args_1$1=args,executeSchedule_1=executeSchedule$1;function windowTime(s){for(var o,F0,L0=[],B0=1;B0<arguments.length;B0++)L0[B0-1]=arguments[B0];var q0=(o=args_1$1.popScheduler(L0))!==null&&o!==void 0?o:async_1.asyncScheduler,W0=(F0=L0[0])!==null&&F0!==void 0?F0:null,X0=L0[1]||1/0;return lift_1$4.operate(function(K0,D_){var I_=[],F_=!1,R_=function(qv){var Lv=qv.window,S1=qv.subs;Lv.complete(),S1.unsubscribe(),arrRemove_1$1.arrRemove(I_,qv),F_&&z_()},z_=function(){if(I_){var qv=new Subscription_1$1.Subscription;D_.add(qv);var Lv=new Subject_1$2.Subject,S1={window:Lv,subs:qv,seen:0};I_.push(S1),D_.next(Lv.asObservable()),executeSchedule_1.executeSchedule(qv,q0,function(){return R_(S1)},s)}};W0!==null&&W0>=0?executeSchedule_1.executeSchedule(D_,q0,z_,W0,!0):F_=!0,z_();var H_=function(qv){return I_.slice().forEach(qv)},Oy=function(qv){H_(function(Lv){var S1=Lv.window;return qv(S1)}),qv(D_),D_.unsubscribe()};return K0.subscribe(OperatorSubscriber_1$3.createOperatorSubscriber(D_,function(qv){H_(function(Lv){Lv.window.next(qv),X0<=++Lv.seen&&R_(Lv)})},function(){return Oy(function(qv){return qv.complete()})},function(qv){return Oy(function(Lv){return Lv.error(qv)})})),function(){I_=null}})}windowTime$1.windowTime=windowTime;var windowToggle$1={},__values=commonjsGlobal&&commonjsGlobal.__values||function(s){var o=typeof Symbol=="function"&&Symbol.iterator,F0=o&&s[o],L0=0;if(F0)return F0.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&L0>=s.length&&(s=void 0),{value:s&&s[L0++],done:!s}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(windowToggle$1,"__esModule",{value:!0});windowToggle$1.windowToggle=void 0;var Subject_1$1=Subject$1,Subscription_1=Subscription$1,lift_1$3=lift,innerFrom_1$2=innerFrom$1,OperatorSubscriber_1$2=OperatorSubscriber$1,noop_1$1=noop$1,arrRemove_1=arrRemove$1;function windowToggle(s,o){return lift_1$3.operate(function(F0,L0){var B0=[],q0=function(W0){for(;0<B0.length;)B0.shift().error(W0);L0.error(W0)};innerFrom_1$2.innerFrom(s).subscribe(OperatorSubscriber_1$2.createOperatorSubscriber(L0,function(W0){var X0=new Subject_1$1.Subject;B0.push(X0);var K0=new Subscription_1.Subscription,D_=function(){arrRemove_1.arrRemove(B0,X0),X0.complete(),K0.unsubscribe()},I_;try{I_=innerFrom_1$2.innerFrom(o(W0))}catch(F_){q0(F_);return}L0.next(X0.asObservable()),K0.add(I_.subscribe(OperatorSubscriber_1$2.createOperatorSubscriber(L0,D_,noop_1$1.noop,q0)))},noop_1$1.noop)),F0.subscribe(OperatorSubscriber_1$2.createOperatorSubscriber(L0,function(W0){var X0,K0,D_=B0.slice();try{for(var I_=__values(D_),F_=I_.next();!F_.done;F_=I_.next()){var R_=F_.value;R_.next(W0)}}catch(z_){X0={error:z_}}finally{try{F_&&!F_.done&&(K0=I_.return)&&K0.call(I_)}finally{if(X0)throw X0.error}}},function(){for(;0<B0.length;)B0.shift().complete();L0.complete()},q0,function(){for(;0<B0.length;)B0.shift().unsubscribe()}))})}windowToggle$1.windowToggle=windowToggle;var windowWhen$1={};Object.defineProperty(windowWhen$1,"__esModule",{value:!0});windowWhen$1.windowWhen=void 0;var Subject_1=Subject$1,lift_1$2=lift,OperatorSubscriber_1$1=OperatorSubscriber$1,innerFrom_1$1=innerFrom$1;function windowWhen(s){return lift_1$2.operate(function(o,F0){var L0,B0,q0=function(X0){L0.error(X0),F0.error(X0)},W0=function(){B0==null||B0.unsubscribe(),L0==null||L0.complete(),L0=new Subject_1.Subject,F0.next(L0.asObservable());var X0;try{X0=innerFrom_1$1.innerFrom(s())}catch(K0){q0(K0);return}X0.subscribe(B0=OperatorSubscriber_1$1.createOperatorSubscriber(F0,W0,W0,q0))};W0(),o.subscribe(OperatorSubscriber_1$1.createOperatorSubscriber(F0,function(X0){return L0.next(X0)},function(){L0.complete(),F0.complete()},q0,function(){B0==null||B0.unsubscribe(),L0=null}))})}windowWhen$1.windowWhen=windowWhen;var withLatestFrom$1={},__read$3=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$4=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(withLatestFrom$1,"__esModule",{value:!0});withLatestFrom$1.withLatestFrom=void 0;var lift_1$1=lift,OperatorSubscriber_1=OperatorSubscriber$1,innerFrom_1=innerFrom$1,identity_1$1=identity$1,noop_1=noop$1,args_1=args;function withLatestFrom(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];var F0=args_1.popResultSelector(s);return lift_1$1.operate(function(L0,B0){for(var q0=s.length,W0=new Array(q0),X0=s.map(function(){return!1}),K0=!1,D_=function(F_){innerFrom_1.innerFrom(s[F_]).subscribe(OperatorSubscriber_1.createOperatorSubscriber(B0,function(R_){W0[F_]=R_,!K0&&!X0[F_]&&(X0[F_]=!0,(K0=X0.every(identity_1$1.identity))&&(X0=null))},noop_1.noop))},I_=0;I_<q0;I_++)D_(I_);L0.subscribe(OperatorSubscriber_1.createOperatorSubscriber(B0,function(F_){if(K0){var R_=__spreadArray$4([F_],__read$3(W0));B0.next(F0?F0.apply(void 0,__spreadArray$4([],__read$3(R_))):R_)}}))})}withLatestFrom$1.withLatestFrom=withLatestFrom;var zipAll$1={};Object.defineProperty(zipAll$1,"__esModule",{value:!0});zipAll$1.zipAll=void 0;var zip_1$2=zip$3,joinAllInternals_1=joinAllInternals$1;function zipAll(s){return joinAllInternals_1.joinAllInternals(zip_1$2.zip,s)}zipAll$1.zipAll=zipAll;var zipWith$1={},zip$1={},__read$2=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$3=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(zip$1,"__esModule",{value:!0});zip$1.zip=void 0;var zip_1$1=zip$3,lift_1=lift;function zip(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return lift_1.operate(function(F0,L0){zip_1$1.zip.apply(void 0,__spreadArray$3([F0],__read$2(s))).subscribe(L0)})}zip$1.zip=zip;var __read$1=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$2=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(zipWith$1,"__esModule",{value:!0});zipWith$1.zipWith=void 0;var zip_1=zip$1;function zipWith(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return zip_1.zip.apply(void 0,__spreadArray$2([],__read$1(s)))}zipWith$1.zipWith=zipWith;(function(s){var o=commonjsGlobal&&commonjsGlobal.__createBinding||(Object.create?function(zU,VR,Rz,JU){JU===void 0&&(JU=Rz),Object.defineProperty(zU,JU,{enumerable:!0,get:function(){return VR[Rz]}})}:function(zU,VR,Rz,JU){JU===void 0&&(JU=Rz),zU[JU]=VR[Rz]}),F0=commonjsGlobal&&commonjsGlobal.__exportStar||function(zU,VR){for(var Rz in zU)Rz!=="default"&&!Object.prototype.hasOwnProperty.call(VR,Rz)&&o(VR,zU,Rz)};Object.defineProperty(s,"__esModule",{value:!0}),s.interval=s.iif=s.generate=s.fromEventPattern=s.fromEvent=s.from=s.forkJoin=s.empty=s.defer=s.connectable=s.concat=s.combineLatest=s.bindNodeCallback=s.bindCallback=s.UnsubscriptionError=s.TimeoutError=s.SequenceError=s.ObjectUnsubscribedError=s.NotFoundError=s.EmptyError=s.ArgumentOutOfRangeError=s.firstValueFrom=s.lastValueFrom=s.isObservable=s.identity=s.noop=s.pipe=s.NotificationKind=s.Notification=s.Subscriber=s.Subscription=s.Scheduler=s.VirtualAction=s.VirtualTimeScheduler=s.animationFrameScheduler=s.animationFrame=s.queueScheduler=s.queue=s.asyncScheduler=s.async=s.asapScheduler=s.asap=s.AsyncSubject=s.ReplaySubject=s.BehaviorSubject=s.Subject=s.animationFrames=s.observable=s.ConnectableObservable=s.Observable=void 0,s.filter=s.expand=s.exhaustMap=s.exhaustAll=s.exhaust=s.every=s.endWith=s.elementAt=s.distinctUntilKeyChanged=s.distinctUntilChanged=s.distinct=s.dematerialize=s.delayWhen=s.delay=s.defaultIfEmpty=s.debounceTime=s.debounce=s.count=s.connect=s.concatWith=s.concatMapTo=s.concatMap=s.concatAll=s.combineLatestWith=s.combineLatestAll=s.combineAll=s.catchError=s.bufferWhen=s.bufferToggle=s.bufferTime=s.bufferCount=s.buffer=s.auditTime=s.audit=s.config=s.NEVER=s.EMPTY=s.scheduled=s.zip=s.using=s.timer=s.throwError=s.range=s.race=s.partition=s.pairs=s.onErrorResumeNext=s.of=s.never=s.merge=void 0,s.switchMap=s.switchAll=s.subscribeOn=s.startWith=s.skipWhile=s.skipUntil=s.skipLast=s.skip=s.single=s.shareReplay=s.share=s.sequenceEqual=s.scan=s.sampleTime=s.sample=s.refCount=s.retryWhen=s.retry=s.repeatWhen=s.repeat=s.reduce=s.raceWith=s.publishReplay=s.publishLast=s.publishBehavior=s.publish=s.pluck=s.pairwise=s.onErrorResumeNextWith=s.observeOn=s.multicast=s.min=s.mergeWith=s.mergeScan=s.mergeMapTo=s.mergeMap=s.flatMap=s.mergeAll=s.max=s.materialize=s.mapTo=s.map=s.last=s.isEmpty=s.ignoreElements=s.groupBy=s.first=s.findIndex=s.find=s.finalize=void 0,s.zipWith=s.zipAll=s.withLatestFrom=s.windowWhen=s.windowToggle=s.windowTime=s.windowCount=s.window=s.toArray=s.timestamp=s.timeoutWith=s.timeout=s.timeInterval=s.throwIfEmpty=s.throttleTime=s.throttle=s.tap=s.takeWhile=s.takeUntil=s.takeLast=s.take=s.switchScan=s.switchMapTo=void 0;var L0=Observable$1;Object.defineProperty(s,"Observable",{enumerable:!0,get:function(){return L0.Observable}});var B0=ConnectableObservable$1;Object.defineProperty(s,"ConnectableObservable",{enumerable:!0,get:function(){return B0.ConnectableObservable}});var q0=observable;Object.defineProperty(s,"observable",{enumerable:!0,get:function(){return q0.observable}});var W0=animationFrames$1;Object.defineProperty(s,"animationFrames",{enumerable:!0,get:function(){return W0.animationFrames}});var X0=Subject$1;Object.defineProperty(s,"Subject",{enumerable:!0,get:function(){return X0.Subject}});var K0=BehaviorSubject$1;Object.defineProperty(s,"BehaviorSubject",{enumerable:!0,get:function(){return K0.BehaviorSubject}});var D_=ReplaySubject$1;Object.defineProperty(s,"ReplaySubject",{enumerable:!0,get:function(){return D_.ReplaySubject}});var I_=AsyncSubject$1;Object.defineProperty(s,"AsyncSubject",{enumerable:!0,get:function(){return I_.AsyncSubject}});var F_=asap;Object.defineProperty(s,"asap",{enumerable:!0,get:function(){return F_.asap}}),Object.defineProperty(s,"asapScheduler",{enumerable:!0,get:function(){return F_.asapScheduler}});var R_=async;Object.defineProperty(s,"async",{enumerable:!0,get:function(){return R_.async}}),Object.defineProperty(s,"asyncScheduler",{enumerable:!0,get:function(){return R_.asyncScheduler}});var z_=queue;Object.defineProperty(s,"queue",{enumerable:!0,get:function(){return z_.queue}}),Object.defineProperty(s,"queueScheduler",{enumerable:!0,get:function(){return z_.queueScheduler}});var H_=animationFrame;Object.defineProperty(s,"animationFrame",{enumerable:!0,get:function(){return H_.animationFrame}}),Object.defineProperty(s,"animationFrameScheduler",{enumerable:!0,get:function(){return H_.animationFrameScheduler}});var Oy=VirtualTimeScheduler$1;Object.defineProperty(s,"VirtualTimeScheduler",{enumerable:!0,get:function(){return Oy.VirtualTimeScheduler}}),Object.defineProperty(s,"VirtualAction",{enumerable:!0,get:function(){return Oy.VirtualAction}});var qv=Scheduler$1;Object.defineProperty(s,"Scheduler",{enumerable:!0,get:function(){return qv.Scheduler}});var Lv=Subscription$1;Object.defineProperty(s,"Subscription",{enumerable:!0,get:function(){return Lv.Subscription}});var S1=Subscriber;Object.defineProperty(s,"Subscriber",{enumerable:!0,get:function(){return S1.Subscriber}});var iv=Notification;Object.defineProperty(s,"Notification",{enumerable:!0,get:function(){return iv.Notification}}),Object.defineProperty(s,"NotificationKind",{enumerable:!0,get:function(){return iv.NotificationKind}});var Yv=pipe$2;Object.defineProperty(s,"pipe",{enumerable:!0,get:function(){return Yv.pipe}});var _x=noop$1;Object.defineProperty(s,"noop",{enumerable:!0,get:function(){return _x.noop}});var Qv=identity$1;Object.defineProperty(s,"identity",{enumerable:!0,get:function(){return Qv.identity}});var Fx=isObservable$1;Object.defineProperty(s,"isObservable",{enumerable:!0,get:function(){return Fx.isObservable}});var jx=lastValueFrom$1;Object.defineProperty(s,"lastValueFrom",{enumerable:!0,get:function(){return jx.lastValueFrom}});var K7=firstValueFrom$1;Object.defineProperty(s,"firstValueFrom",{enumerable:!0,get:function(){return K7.firstValueFrom}});var g7=ArgumentOutOfRangeError;Object.defineProperty(s,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return g7.ArgumentOutOfRangeError}});var iT=EmptyError;Object.defineProperty(s,"EmptyError",{enumerable:!0,get:function(){return iT.EmptyError}});var $7=NotFoundError;Object.defineProperty(s,"NotFoundError",{enumerable:!0,get:function(){return $7.NotFoundError}});var F7=ObjectUnsubscribedError;Object.defineProperty(s,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return F7.ObjectUnsubscribedError}});var aE=SequenceError;Object.defineProperty(s,"SequenceError",{enumerable:!0,get:function(){return aE.SequenceError}});var gS=timeout;Object.defineProperty(s,"TimeoutError",{enumerable:!0,get:function(){return gS.TimeoutError}});var eS=UnsubscriptionError;Object.defineProperty(s,"UnsubscriptionError",{enumerable:!0,get:function(){return eS.UnsubscriptionError}});var lT=bindCallback$1;Object.defineProperty(s,"bindCallback",{enumerable:!0,get:function(){return lT.bindCallback}});var UT=bindNodeCallback$1;Object.defineProperty(s,"bindNodeCallback",{enumerable:!0,get:function(){return UT.bindNodeCallback}});var pT=combineLatest$3;Object.defineProperty(s,"combineLatest",{enumerable:!0,get:function(){return pT.combineLatest}});var D7=concat$3;Object.defineProperty(s,"concat",{enumerable:!0,get:function(){return D7.concat}});var WT=connectable$1;Object.defineProperty(s,"connectable",{enumerable:!0,get:function(){return WT.connectable}});var A7=defer$2;Object.defineProperty(s,"defer",{enumerable:!0,get:function(){return A7.defer}});var U7=empty$1;Object.defineProperty(s,"empty",{enumerable:!0,get:function(){return U7.empty}});var OS=forkJoin$1;Object.defineProperty(s,"forkJoin",{enumerable:!0,get:function(){return OS.forkJoin}});var wE=from$3;Object.defineProperty(s,"from",{enumerable:!0,get:function(){return wE.from}});var xT=fromEvent$1;Object.defineProperty(s,"fromEvent",{enumerable:!0,get:function(){return xT.fromEvent}});var mS=fromEventPattern$1;Object.defineProperty(s,"fromEventPattern",{enumerable:!0,get:function(){return mS.fromEventPattern}});var bE=generate$1;Object.defineProperty(s,"generate",{enumerable:!0,get:function(){return bE.generate}});var R7=iif$1;Object.defineProperty(s,"iif",{enumerable:!0,get:function(){return R7.iif}});var W3=interval$1;Object.defineProperty(s,"interval",{enumerable:!0,get:function(){return W3.interval}});var bT=merge$3;Object.defineProperty(s,"merge",{enumerable:!0,get:function(){return bT.merge}});var Z7=never;Object.defineProperty(s,"never",{enumerable:!0,get:function(){return Z7.never}});var JS=of$3;Object.defineProperty(s,"of",{enumerable:!0,get:function(){return JS.of}});var XE=onErrorResumeNext$1;Object.defineProperty(s,"onErrorResumeNext",{enumerable:!0,get:function(){return XE.onErrorResumeNext}});var rS=pairs$1;Object.defineProperty(s,"pairs",{enumerable:!0,get:function(){return rS.pairs}});var OT=partition$3;Object.defineProperty(s,"partition",{enumerable:!0,get:function(){return OT.partition}});var T7=race$3;Object.defineProperty(s,"race",{enumerable:!0,get:function(){return T7.race}});var E7=range$1;Object.defineProperty(s,"range",{enumerable:!0,get:function(){return E7.range}});var VT=throwError$1;Object.defineProperty(s,"throwError",{enumerable:!0,get:function(){return VT.throwError}});var kS=timer$1;Object.defineProperty(s,"timer",{enumerable:!0,get:function(){return kS.timer}});var _T=using$1;Object.defineProperty(s,"using",{enumerable:!0,get:function(){return _T.using}});var LS=zip$3;Object.defineProperty(s,"zip",{enumerable:!0,get:function(){return LS.zip}});var hE=scheduled$1;Object.defineProperty(s,"scheduled",{enumerable:!0,get:function(){return hE.scheduled}});var yS=empty$1;Object.defineProperty(s,"EMPTY",{enumerable:!0,get:function(){return yS.EMPTY}});var BD=never;Object.defineProperty(s,"NEVER",{enumerable:!0,get:function(){return BD.NEVER}}),F0(types,s);var wT=config;Object.defineProperty(s,"config",{enumerable:!0,get:function(){return wT.config}});var dT=audit$1;Object.defineProperty(s,"audit",{enumerable:!0,get:function(){return dT.audit}});var RT=auditTime$1;Object.defineProperty(s,"auditTime",{enumerable:!0,get:function(){return RT.auditTime}});var KS=buffer$2;Object.defineProperty(s,"buffer",{enumerable:!0,get:function(){return KS.buffer}});var sE=bufferCount$1;Object.defineProperty(s,"bufferCount",{enumerable:!0,get:function(){return sE.bufferCount}});var B3=bufferTime$1;Object.defineProperty(s,"bufferTime",{enumerable:!0,get:function(){return B3.bufferTime}});var yC=bufferToggle$1;Object.defineProperty(s,"bufferToggle",{enumerable:!0,get:function(){return yC.bufferToggle}});var uE=bufferWhen$1;Object.defineProperty(s,"bufferWhen",{enumerable:!0,get:function(){return uE.bufferWhen}});var _C=catchError$1;Object.defineProperty(s,"catchError",{enumerable:!0,get:function(){return _C.catchError}});var d3=combineAll;Object.defineProperty(s,"combineAll",{enumerable:!0,get:function(){return d3.combineAll}});var nA=combineLatestAll$1;Object.defineProperty(s,"combineLatestAll",{enumerable:!0,get:function(){return nA.combineLatestAll}});var DE=combineLatestWith$1;Object.defineProperty(s,"combineLatestWith",{enumerable:!0,get:function(){return DE.combineLatestWith}});var iS=concatAll$1;Object.defineProperty(s,"concatAll",{enumerable:!0,get:function(){return iS.concatAll}});var aS=concatMap$2;Object.defineProperty(s,"concatMap",{enumerable:!0,get:function(){return aS.concatMap}});var r3=concatMapTo$1;Object.defineProperty(s,"concatMapTo",{enumerable:!0,get:function(){return r3.concatMapTo}});var AD=concatWith$1;Object.defineProperty(s,"concatWith",{enumerable:!0,get:function(){return AD.concatWith}});var CE=connect$1;Object.defineProperty(s,"connect",{enumerable:!0,get:function(){return CE.connect}});var sS=count$1;Object.defineProperty(s,"count",{enumerable:!0,get:function(){return sS.count}});var S3=debounce$1;Object.defineProperty(s,"debounce",{enumerable:!0,get:function(){return S3.debounce}});var v3=debounceTime$1;Object.defineProperty(s,"debounceTime",{enumerable:!0,get:function(){return v3.debounceTime}});var AC=defaultIfEmpty$1;Object.defineProperty(s,"defaultIfEmpty",{enumerable:!0,get:function(){return AC.defaultIfEmpty}});var hA=delay$1;Object.defineProperty(s,"delay",{enumerable:!0,get:function(){return hA.delay}});var kw=delayWhen$1;Object.defineProperty(s,"delayWhen",{enumerable:!0,get:function(){return kw.delayWhen}});var ND=dematerialize$1;Object.defineProperty(s,"dematerialize",{enumerable:!0,get:function(){return ND.dematerialize}});var X3=distinct$1;Object.defineProperty(s,"distinct",{enumerable:!0,get:function(){return X3.distinct}});var LC=distinctUntilChanged$1;Object.defineProperty(s,"distinctUntilChanged",{enumerable:!0,get:function(){return LC.distinctUntilChanged}});var i3=distinctUntilKeyChanged$1;Object.defineProperty(s,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return i3.distinctUntilKeyChanged}});var b3=elementAt$1;Object.defineProperty(s,"elementAt",{enumerable:!0,get:function(){return b3.elementAt}});var lw=endWith$1;Object.defineProperty(s,"endWith",{enumerable:!0,get:function(){return lw.endWith}});var xC=every$1;Object.defineProperty(s,"every",{enumerable:!0,get:function(){return xC.every}});var sP=exhaust;Object.defineProperty(s,"exhaust",{enumerable:!0,get:function(){return sP.exhaust}});var C$=exhaustAll$1;Object.defineProperty(s,"exhaustAll",{enumerable:!0,get:function(){return C$.exhaustAll}});var lC=exhaustMap$1;Object.defineProperty(s,"exhaustMap",{enumerable:!0,get:function(){return lC.exhaustMap}});var KC=expand$2;Object.defineProperty(s,"expand",{enumerable:!0,get:function(){return KC.expand}});var yT=filter$2;Object.defineProperty(s,"filter",{enumerable:!0,get:function(){return yT.filter}});var bP=finalize$1;Object.defineProperty(s,"finalize",{enumerable:!0,get:function(){return bP.finalize}});var R8=find$1;Object.defineProperty(s,"find",{enumerable:!0,get:function(){return R8.find}});var vD=findIndex$1;Object.defineProperty(s,"findIndex",{enumerable:!0,get:function(){return vD.findIndex}});var Zw=first$1;Object.defineProperty(s,"first",{enumerable:!0,get:function(){return Zw.first}});var s8=groupBy$1;Object.defineProperty(s,"groupBy",{enumerable:!0,get:function(){return s8.groupBy}});var fw=ignoreElements$1;Object.defineProperty(s,"ignoreElements",{enumerable:!0,get:function(){return fw.ignoreElements}});var Dw=isEmpty$1;Object.defineProperty(s,"isEmpty",{enumerable:!0,get:function(){return Dw.isEmpty}});var z$=last$1;Object.defineProperty(s,"last",{enumerable:!0,get:function(){return z$.last}});var sC=map$1;Object.defineProperty(s,"map",{enumerable:!0,get:function(){return sC.map}});var jD=mapTo$1;Object.defineProperty(s,"mapTo",{enumerable:!0,get:function(){return jD.mapTo}});var iw=materialize$1;Object.defineProperty(s,"materialize",{enumerable:!0,get:function(){return iw.materialize}});var SC=max$1;Object.defineProperty(s,"max",{enumerable:!0,get:function(){return SC.max}});var lP=mergeAll$1;Object.defineProperty(s,"mergeAll",{enumerable:!0,get:function(){return lP.mergeAll}});var OD=flatMap;Object.defineProperty(s,"flatMap",{enumerable:!0,get:function(){return OD.flatMap}});var rC=mergeMap$1;Object.defineProperty(s,"mergeMap",{enumerable:!0,get:function(){return rC.mergeMap}});var s3=mergeMapTo$1;Object.defineProperty(s,"mergeMapTo",{enumerable:!0,get:function(){return s3.mergeMapTo}});var $C=mergeScan$1;Object.defineProperty(s,"mergeScan",{enumerable:!0,get:function(){return $C.mergeScan}});var wC=mergeWith$1;Object.defineProperty(s,"mergeWith",{enumerable:!0,get:function(){return wC.mergeWith}});var y3=min$1;Object.defineProperty(s,"min",{enumerable:!0,get:function(){return y3.min}});var o8=multicast$1;Object.defineProperty(s,"multicast",{enumerable:!0,get:function(){return o8.multicast}});var _8=observeOn$1;Object.defineProperty(s,"observeOn",{enumerable:!0,get:function(){return _8.observeOn}});var U8=onErrorResumeNextWith$1;Object.defineProperty(s,"onErrorResumeNextWith",{enumerable:!0,get:function(){return U8.onErrorResumeNextWith}});var MF=pairwise$1;Object.defineProperty(s,"pairwise",{enumerable:!0,get:function(){return MF.pairwise}});var SL=pluck$1;Object.defineProperty(s,"pluck",{enumerable:!0,get:function(){return SL.pluck}});var R9=publish$2;Object.defineProperty(s,"publish",{enumerable:!0,get:function(){return R9.publish}});var d8=publishBehavior$1;Object.defineProperty(s,"publishBehavior",{enumerable:!0,get:function(){return d8.publishBehavior}});var IC=publishLast$1;Object.defineProperty(s,"publishLast",{enumerable:!0,get:function(){return IC.publishLast}});var l3=publishReplay$1;Object.defineProperty(s,"publishReplay",{enumerable:!0,get:function(){return l3.publishReplay}});var EL=raceWith$1;Object.defineProperty(s,"raceWith",{enumerable:!0,get:function(){return EL.raceWith}});var PF=reduce$2;Object.defineProperty(s,"reduce",{enumerable:!0,get:function(){return PF.reduce}});var K9=repeat$1;Object.defineProperty(s,"repeat",{enumerable:!0,get:function(){return K9.repeat}});var xO=repeatWhen$1;Object.defineProperty(s,"repeatWhen",{enumerable:!0,get:function(){return xO.repeatWhen}});var Gq=retry$1;Object.defineProperty(s,"retry",{enumerable:!0,get:function(){return Gq.retry}});var F5=retryWhen$1;Object.defineProperty(s,"retryWhen",{enumerable:!0,get:function(){return F5.retryWhen}});var LV=refCount$1;Object.defineProperty(s,"refCount",{enumerable:!0,get:function(){return LV.refCount}});var CL=sample$2;Object.defineProperty(s,"sample",{enumerable:!0,get:function(){return CL.sample}});var pO=sampleTime$1;Object.defineProperty(s,"sampleTime",{enumerable:!0,get:function(){return pO.sampleTime}});var gC=scan$1;Object.defineProperty(s,"scan",{enumerable:!0,get:function(){return gC.scan}});var $O=sequenceEqual$1;Object.defineProperty(s,"sequenceEqual",{enumerable:!0,get:function(){return $O.sequenceEqual}});var UN=share$1;Object.defineProperty(s,"share",{enumerable:!0,get:function(){return UN.share}});var _B=shareReplay$1;Object.defineProperty(s,"shareReplay",{enumerable:!0,get:function(){return _B.shareReplay}});var ZW=single$1;Object.defineProperty(s,"single",{enumerable:!0,get:function(){return ZW.single}});var i5=skip$1;Object.defineProperty(s,"skip",{enumerable:!0,get:function(){return i5.skip}});var yM=skipLast$1;Object.defineProperty(s,"skipLast",{enumerable:!0,get:function(){return yM.skipLast}});var sR=skipUntil$1;Object.defineProperty(s,"skipUntil",{enumerable:!0,get:function(){return sR.skipUntil}});var JR=skipWhile$1;Object.defineProperty(s,"skipWhile",{enumerable:!0,get:function(){return JR.skipWhile}});var $j=startWith$1;Object.defineProperty(s,"startWith",{enumerable:!0,get:function(){return $j.startWith}});var dO=subscribeOn$1;Object.defineProperty(s,"subscribeOn",{enumerable:!0,get:function(){return dO.subscribeOn}});var kL=switchAll$1;Object.defineProperty(s,"switchAll",{enumerable:!0,get:function(){return kL.switchAll}});var UU=switchMap$1;Object.defineProperty(s,"switchMap",{enumerable:!0,get:function(){return UU.switchMap}});var Hv=switchMapTo$1;Object.defineProperty(s,"switchMapTo",{enumerable:!0,get:function(){return Hv.switchMapTo}});var Qx=switchScan$1;Object.defineProperty(s,"switchScan",{enumerable:!0,get:function(){return Qx.switchScan}});var qT=take$1;Object.defineProperty(s,"take",{enumerable:!0,get:function(){return qT.take}});var BS=takeLast$1;Object.defineProperty(s,"takeLast",{enumerable:!0,get:function(){return BS.takeLast}});var m3=takeUntil$1;Object.defineProperty(s,"takeUntil",{enumerable:!0,get:function(){return m3.takeUntil}});var zD=takeWhile$1;Object.defineProperty(s,"takeWhile",{enumerable:!0,get:function(){return zD.takeWhile}});var uA=tap$1;Object.defineProperty(s,"tap",{enumerable:!0,get:function(){return uA.tap}});var qP=throttle$1;Object.defineProperty(s,"throttle",{enumerable:!0,get:function(){return qP.throttle}});var jP=throttleTime$1;Object.defineProperty(s,"throttleTime",{enumerable:!0,get:function(){return jP.throttleTime}});var pI=throwIfEmpty$1;Object.defineProperty(s,"throwIfEmpty",{enumerable:!0,get:function(){return pI.throwIfEmpty}});var y8=timeInterval$1;Object.defineProperty(s,"timeInterval",{enumerable:!0,get:function(){return y8.timeInterval}});var p9=timeout;Object.defineProperty(s,"timeout",{enumerable:!0,get:function(){return p9.timeout}});var XO=timeoutWith$1;Object.defineProperty(s,"timeoutWith",{enumerable:!0,get:function(){return XO.timeoutWith}});var PJ=timestamp$1;Object.defineProperty(s,"timestamp",{enumerable:!0,get:function(){return PJ.timestamp}});var Lw=toArray$1;Object.defineProperty(s,"toArray",{enumerable:!0,get:function(){return Lw.toArray}});var tq=window$2;Object.defineProperty(s,"window",{enumerable:!0,get:function(){return tq.window}});var WR=windowCount$1;Object.defineProperty(s,"windowCount",{enumerable:!0,get:function(){return WR.windowCount}});var C8=windowTime$1;Object.defineProperty(s,"windowTime",{enumerable:!0,get:function(){return C8.windowTime}});var rq=windowToggle$1;Object.defineProperty(s,"windowToggle",{enumerable:!0,get:function(){return rq.windowToggle}});var J$=windowWhen$1;Object.defineProperty(s,"windowWhen",{enumerable:!0,get:function(){return J$.windowWhen}});var zH=withLatestFrom$1;Object.defineProperty(s,"withLatestFrom",{enumerable:!0,get:function(){return zH.withLatestFrom}});var X9=zipAll$1;Object.defineProperty(s,"zipAll",{enumerable:!0,get:function(){return X9.zipAll}});var eV=zipWith$1;Object.defineProperty(s,"zipWith",{enumerable:!0,get:function(){return eV.zipWith}})})(cjs);var operators={},partition$1={};Object.defineProperty(partition$1,"__esModule",{value:!0});partition$1.partition=void 0;var not_1=not$1,filter_1$1=filter$2;function partition(s,o){return function(F0){return[filter_1$1.filter(s,o)(F0),filter_1$1.filter(not_1.not(s,o))(F0)]}}partition$1.partition=partition;var race$1={},__read=commonjsGlobal&&commonjsGlobal.__read||function(s,o){var F0=typeof Symbol=="function"&&s[Symbol.iterator];if(!F0)return s;var L0=F0.call(s),B0,q0=[],W0;try{for(;(o===void 0||o-- >0)&&!(B0=L0.next()).done;)q0.push(B0.value)}catch(X0){W0={error:X0}}finally{try{B0&&!B0.done&&(F0=L0.return)&&F0.call(L0)}finally{if(W0)throw W0.error}}return q0},__spreadArray$1=commonjsGlobal&&commonjsGlobal.__spreadArray||function(s,o){for(var F0=0,L0=o.length,B0=s.length;F0<L0;F0++,B0++)s[B0]=o[F0];return s};Object.defineProperty(race$1,"__esModule",{value:!0});race$1.race=void 0;var argsOrArgArray_1=argsOrArgArray$1,raceWith_1=raceWith$1;function race(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];return raceWith_1.raceWith.apply(void 0,__spreadArray$1([],__read(argsOrArgArray_1.argsOrArgArray(s))))}race$1.race=race;(function(s){Object.defineProperty(s,"__esModule",{value:!0}),s.mergeAll=s.merge=s.max=s.materialize=s.mapTo=s.map=s.last=s.isEmpty=s.ignoreElements=s.groupBy=s.first=s.findIndex=s.find=s.finalize=s.filter=s.expand=s.exhaustMap=s.exhaustAll=s.exhaust=s.every=s.endWith=s.elementAt=s.distinctUntilKeyChanged=s.distinctUntilChanged=s.distinct=s.dematerialize=s.delayWhen=s.delay=s.defaultIfEmpty=s.debounceTime=s.debounce=s.count=s.connect=s.concatWith=s.concatMapTo=s.concatMap=s.concatAll=s.concat=s.combineLatestWith=s.combineLatest=s.combineLatestAll=s.combineAll=s.catchError=s.bufferWhen=s.bufferToggle=s.bufferTime=s.bufferCount=s.buffer=s.auditTime=s.audit=void 0,s.timeInterval=s.throwIfEmpty=s.throttleTime=s.throttle=s.tap=s.takeWhile=s.takeUntil=s.takeLast=s.take=s.switchScan=s.switchMapTo=s.switchMap=s.switchAll=s.subscribeOn=s.startWith=s.skipWhile=s.skipUntil=s.skipLast=s.skip=s.single=s.shareReplay=s.share=s.sequenceEqual=s.scan=s.sampleTime=s.sample=s.refCount=s.retryWhen=s.retry=s.repeatWhen=s.repeat=s.reduce=s.raceWith=s.race=s.publishReplay=s.publishLast=s.publishBehavior=s.publish=s.pluck=s.partition=s.pairwise=s.onErrorResumeNext=s.observeOn=s.multicast=s.min=s.mergeWith=s.mergeScan=s.mergeMapTo=s.mergeMap=s.flatMap=void 0,s.zipWith=s.zipAll=s.zip=s.withLatestFrom=s.windowWhen=s.windowToggle=s.windowTime=s.windowCount=s.window=s.toArray=s.timestamp=s.timeoutWith=s.timeout=void 0;var o=audit$1;Object.defineProperty(s,"audit",{enumerable:!0,get:function(){return o.audit}});var F0=auditTime$1;Object.defineProperty(s,"auditTime",{enumerable:!0,get:function(){return F0.auditTime}});var L0=buffer$2;Object.defineProperty(s,"buffer",{enumerable:!0,get:function(){return L0.buffer}});var B0=bufferCount$1;Object.defineProperty(s,"bufferCount",{enumerable:!0,get:function(){return B0.bufferCount}});var q0=bufferTime$1;Object.defineProperty(s,"bufferTime",{enumerable:!0,get:function(){return q0.bufferTime}});var W0=bufferToggle$1;Object.defineProperty(s,"bufferToggle",{enumerable:!0,get:function(){return W0.bufferToggle}});var X0=bufferWhen$1;Object.defineProperty(s,"bufferWhen",{enumerable:!0,get:function(){return X0.bufferWhen}});var K0=catchError$1;Object.defineProperty(s,"catchError",{enumerable:!0,get:function(){return K0.catchError}});var D_=combineAll;Object.defineProperty(s,"combineAll",{enumerable:!0,get:function(){return D_.combineAll}});var I_=combineLatestAll$1;Object.defineProperty(s,"combineLatestAll",{enumerable:!0,get:function(){return I_.combineLatestAll}});var F_=combineLatest$1;Object.defineProperty(s,"combineLatest",{enumerable:!0,get:function(){return F_.combineLatest}});var R_=combineLatestWith$1;Object.defineProperty(s,"combineLatestWith",{enumerable:!0,get:function(){return R_.combineLatestWith}});var z_=concat$1;Object.defineProperty(s,"concat",{enumerable:!0,get:function(){return z_.concat}});var H_=concatAll$1;Object.defineProperty(s,"concatAll",{enumerable:!0,get:function(){return H_.concatAll}});var Oy=concatMap$2;Object.defineProperty(s,"concatMap",{enumerable:!0,get:function(){return Oy.concatMap}});var qv=concatMapTo$1;Object.defineProperty(s,"concatMapTo",{enumerable:!0,get:function(){return qv.concatMapTo}});var Lv=concatWith$1;Object.defineProperty(s,"concatWith",{enumerable:!0,get:function(){return Lv.concatWith}});var S1=connect$1;Object.defineProperty(s,"connect",{enumerable:!0,get:function(){return S1.connect}});var iv=count$1;Object.defineProperty(s,"count",{enumerable:!0,get:function(){return iv.count}});var Yv=debounce$1;Object.defineProperty(s,"debounce",{enumerable:!0,get:function(){return Yv.debounce}});var _x=debounceTime$1;Object.defineProperty(s,"debounceTime",{enumerable:!0,get:function(){return _x.debounceTime}});var Qv=defaultIfEmpty$1;Object.defineProperty(s,"defaultIfEmpty",{enumerable:!0,get:function(){return Qv.defaultIfEmpty}});var Fx=delay$1;Object.defineProperty(s,"delay",{enumerable:!0,get:function(){return Fx.delay}});var jx=delayWhen$1;Object.defineProperty(s,"delayWhen",{enumerable:!0,get:function(){return jx.delayWhen}});var K7=dematerialize$1;Object.defineProperty(s,"dematerialize",{enumerable:!0,get:function(){return K7.dematerialize}});var g7=distinct$1;Object.defineProperty(s,"distinct",{enumerable:!0,get:function(){return g7.distinct}});var iT=distinctUntilChanged$1;Object.defineProperty(s,"distinctUntilChanged",{enumerable:!0,get:function(){return iT.distinctUntilChanged}});var $7=distinctUntilKeyChanged$1;Object.defineProperty(s,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return $7.distinctUntilKeyChanged}});var F7=elementAt$1;Object.defineProperty(s,"elementAt",{enumerable:!0,get:function(){return F7.elementAt}});var aE=endWith$1;Object.defineProperty(s,"endWith",{enumerable:!0,get:function(){return aE.endWith}});var gS=every$1;Object.defineProperty(s,"every",{enumerable:!0,get:function(){return gS.every}});var eS=exhaust;Object.defineProperty(s,"exhaust",{enumerable:!0,get:function(){return eS.exhaust}});var lT=exhaustAll$1;Object.defineProperty(s,"exhaustAll",{enumerable:!0,get:function(){return lT.exhaustAll}});var UT=exhaustMap$1;Object.defineProperty(s,"exhaustMap",{enumerable:!0,get:function(){return UT.exhaustMap}});var pT=expand$2;Object.defineProperty(s,"expand",{enumerable:!0,get:function(){return pT.expand}});var D7=filter$2;Object.defineProperty(s,"filter",{enumerable:!0,get:function(){return D7.filter}});var WT=finalize$1;Object.defineProperty(s,"finalize",{enumerable:!0,get:function(){return WT.finalize}});var A7=find$1;Object.defineProperty(s,"find",{enumerable:!0,get:function(){return A7.find}});var U7=findIndex$1;Object.defineProperty(s,"findIndex",{enumerable:!0,get:function(){return U7.findIndex}});var OS=first$1;Object.defineProperty(s,"first",{enumerable:!0,get:function(){return OS.first}});var wE=groupBy$1;Object.defineProperty(s,"groupBy",{enumerable:!0,get:function(){return wE.groupBy}});var xT=ignoreElements$1;Object.defineProperty(s,"ignoreElements",{enumerable:!0,get:function(){return xT.ignoreElements}});var mS=isEmpty$1;Object.defineProperty(s,"isEmpty",{enumerable:!0,get:function(){return mS.isEmpty}});var bE=last$1;Object.defineProperty(s,"last",{enumerable:!0,get:function(){return bE.last}});var R7=map$1;Object.defineProperty(s,"map",{enumerable:!0,get:function(){return R7.map}});var W3=mapTo$1;Object.defineProperty(s,"mapTo",{enumerable:!0,get:function(){return W3.mapTo}});var bT=materialize$1;Object.defineProperty(s,"materialize",{enumerable:!0,get:function(){return bT.materialize}});var Z7=max$1;Object.defineProperty(s,"max",{enumerable:!0,get:function(){return Z7.max}});var JS=merge$1;Object.defineProperty(s,"merge",{enumerable:!0,get:function(){return JS.merge}});var XE=mergeAll$1;Object.defineProperty(s,"mergeAll",{enumerable:!0,get:function(){return XE.mergeAll}});var rS=flatMap;Object.defineProperty(s,"flatMap",{enumerable:!0,get:function(){return rS.flatMap}});var OT=mergeMap$1;Object.defineProperty(s,"mergeMap",{enumerable:!0,get:function(){return OT.mergeMap}});var T7=mergeMapTo$1;Object.defineProperty(s,"mergeMapTo",{enumerable:!0,get:function(){return T7.mergeMapTo}});var E7=mergeScan$1;Object.defineProperty(s,"mergeScan",{enumerable:!0,get:function(){return E7.mergeScan}});var VT=mergeWith$1;Object.defineProperty(s,"mergeWith",{enumerable:!0,get:function(){return VT.mergeWith}});var kS=min$1;Object.defineProperty(s,"min",{enumerable:!0,get:function(){return kS.min}});var _T=multicast$1;Object.defineProperty(s,"multicast",{enumerable:!0,get:function(){return _T.multicast}});var LS=observeOn$1;Object.defineProperty(s,"observeOn",{enumerable:!0,get:function(){return LS.observeOn}});var hE=onErrorResumeNextWith$1;Object.defineProperty(s,"onErrorResumeNext",{enumerable:!0,get:function(){return hE.onErrorResumeNext}});var yS=pairwise$1;Object.defineProperty(s,"pairwise",{enumerable:!0,get:function(){return yS.pairwise}});var BD=partition$1;Object.defineProperty(s,"partition",{enumerable:!0,get:function(){return BD.partition}});var wT=pluck$1;Object.defineProperty(s,"pluck",{enumerable:!0,get:function(){return wT.pluck}});var dT=publish$2;Object.defineProperty(s,"publish",{enumerable:!0,get:function(){return dT.publish}});var RT=publishBehavior$1;Object.defineProperty(s,"publishBehavior",{enumerable:!0,get:function(){return RT.publishBehavior}});var KS=publishLast$1;Object.defineProperty(s,"publishLast",{enumerable:!0,get:function(){return KS.publishLast}});var sE=publishReplay$1;Object.defineProperty(s,"publishReplay",{enumerable:!0,get:function(){return sE.publishReplay}});var B3=race$1;Object.defineProperty(s,"race",{enumerable:!0,get:function(){return B3.race}});var yC=raceWith$1;Object.defineProperty(s,"raceWith",{enumerable:!0,get:function(){return yC.raceWith}});var uE=reduce$2;Object.defineProperty(s,"reduce",{enumerable:!0,get:function(){return uE.reduce}});var _C=repeat$1;Object.defineProperty(s,"repeat",{enumerable:!0,get:function(){return _C.repeat}});var d3=repeatWhen$1;Object.defineProperty(s,"repeatWhen",{enumerable:!0,get:function(){return d3.repeatWhen}});var nA=retry$1;Object.defineProperty(s,"retry",{enumerable:!0,get:function(){return nA.retry}});var DE=retryWhen$1;Object.defineProperty(s,"retryWhen",{enumerable:!0,get:function(){return DE.retryWhen}});var iS=refCount$1;Object.defineProperty(s,"refCount",{enumerable:!0,get:function(){return iS.refCount}});var aS=sample$2;Object.defineProperty(s,"sample",{enumerable:!0,get:function(){return aS.sample}});var r3=sampleTime$1;Object.defineProperty(s,"sampleTime",{enumerable:!0,get:function(){return r3.sampleTime}});var AD=scan$1;Object.defineProperty(s,"scan",{enumerable:!0,get:function(){return AD.scan}});var CE=sequenceEqual$1;Object.defineProperty(s,"sequenceEqual",{enumerable:!0,get:function(){return CE.sequenceEqual}});var sS=share$1;Object.defineProperty(s,"share",{enumerable:!0,get:function(){return sS.share}});var S3=shareReplay$1;Object.defineProperty(s,"shareReplay",{enumerable:!0,get:function(){return S3.shareReplay}});var v3=single$1;Object.defineProperty(s,"single",{enumerable:!0,get:function(){return v3.single}});var AC=skip$1;Object.defineProperty(s,"skip",{enumerable:!0,get:function(){return AC.skip}});var hA=skipLast$1;Object.defineProperty(s,"skipLast",{enumerable:!0,get:function(){return hA.skipLast}});var kw=skipUntil$1;Object.defineProperty(s,"skipUntil",{enumerable:!0,get:function(){return kw.skipUntil}});var ND=skipWhile$1;Object.defineProperty(s,"skipWhile",{enumerable:!0,get:function(){return ND.skipWhile}});var X3=startWith$1;Object.defineProperty(s,"startWith",{enumerable:!0,get:function(){return X3.startWith}});var LC=subscribeOn$1;Object.defineProperty(s,"subscribeOn",{enumerable:!0,get:function(){return LC.subscribeOn}});var i3=switchAll$1;Object.defineProperty(s,"switchAll",{enumerable:!0,get:function(){return i3.switchAll}});var b3=switchMap$1;Object.defineProperty(s,"switchMap",{enumerable:!0,get:function(){return b3.switchMap}});var lw=switchMapTo$1;Object.defineProperty(s,"switchMapTo",{enumerable:!0,get:function(){return lw.switchMapTo}});var xC=switchScan$1;Object.defineProperty(s,"switchScan",{enumerable:!0,get:function(){return xC.switchScan}});var sP=take$1;Object.defineProperty(s,"take",{enumerable:!0,get:function(){return sP.take}});var C$=takeLast$1;Object.defineProperty(s,"takeLast",{enumerable:!0,get:function(){return C$.takeLast}});var lC=takeUntil$1;Object.defineProperty(s,"takeUntil",{enumerable:!0,get:function(){return lC.takeUntil}});var KC=takeWhile$1;Object.defineProperty(s,"takeWhile",{enumerable:!0,get:function(){return KC.takeWhile}});var yT=tap$1;Object.defineProperty(s,"tap",{enumerable:!0,get:function(){return yT.tap}});var bP=throttle$1;Object.defineProperty(s,"throttle",{enumerable:!0,get:function(){return bP.throttle}});var R8=throttleTime$1;Object.defineProperty(s,"throttleTime",{enumerable:!0,get:function(){return R8.throttleTime}});var vD=throwIfEmpty$1;Object.defineProperty(s,"throwIfEmpty",{enumerable:!0,get:function(){return vD.throwIfEmpty}});var Zw=timeInterval$1;Object.defineProperty(s,"timeInterval",{enumerable:!0,get:function(){return Zw.timeInterval}});var s8=timeout;Object.defineProperty(s,"timeout",{enumerable:!0,get:function(){return s8.timeout}});var fw=timeoutWith$1;Object.defineProperty(s,"timeoutWith",{enumerable:!0,get:function(){return fw.timeoutWith}});var Dw=timestamp$1;Object.defineProperty(s,"timestamp",{enumerable:!0,get:function(){return Dw.timestamp}});var z$=toArray$1;Object.defineProperty(s,"toArray",{enumerable:!0,get:function(){return z$.toArray}});var sC=window$2;Object.defineProperty(s,"window",{enumerable:!0,get:function(){return sC.window}});var jD=windowCount$1;Object.defineProperty(s,"windowCount",{enumerable:!0,get:function(){return jD.windowCount}});var iw=windowTime$1;Object.defineProperty(s,"windowTime",{enumerable:!0,get:function(){return iw.windowTime}});var SC=windowToggle$1;Object.defineProperty(s,"windowToggle",{enumerable:!0,get:function(){return SC.windowToggle}});var lP=windowWhen$1;Object.defineProperty(s,"windowWhen",{enumerable:!0,get:function(){return lP.windowWhen}});var OD=withLatestFrom$1;Object.defineProperty(s,"withLatestFrom",{enumerable:!0,get:function(){return OD.withLatestFrom}});var rC=zip$1;Object.defineProperty(s,"zip",{enumerable:!0,get:function(){return rC.zip}});var s3=zipAll$1;Object.defineProperty(s,"zipAll",{enumerable:!0,get:function(){return s3.zipAll}});var $C=zipWith$1;Object.defineProperty(s,"zipWith",{enumerable:!0,get:function(){return $C.zipWith}})})(operators);var runAsync$3={exports:{}};function isPromise(s){return!!s&&(typeof s=="object"||typeof s=="function")&&typeof s.then=="function"}var runAsync$2=runAsync$3.exports=function(s,o){return o=o||function(){},function(){var F0=arguments,L0=new Promise(function(B0,q0){var W0=!1;const X0=function(H_){W0&&console.warn("Run-async promise already resolved."),W0=!0,B0(H_)};var K0=!1;const D_=function(H_){K0&&console.warn("Run-async promise already rejected."),K0=!0,q0(H_)};var I_=!1,F_=!1,R_=!1,z_=s.apply({async:function(){return R_?(console.warn("Run-async async() called outside a valid run-async context, callback will be ignored."),function(){}):(F_&&console.warn(`Run-async wrapped function (async) returned a promise.
5078
- Calls to async() callback can have unexpected results.`),I_=!0,function(H_,Oy){H_?D_(H_):X0(Oy)})}},Array.prototype.slice.call(F0));I_?isPromise(z_)&&console.warn("Run-async wrapped function (sync) returned a promise but async() callback must be executed to resolve."):isPromise(z_)?(F_=!0,z_.then(X0,D_)):X0(z_),R_=!0});return L0.then(o.bind(null,null),o),L0}};runAsync$2.cb=function(s,o){return runAsync$2(function(){var F0=Array.prototype.slice.call(arguments);return F0.length===s.length-1&&F0.push(this.async()),s.apply(this,F0)},o)};var runAsyncExports=runAsync$3.exports,utils$1={};const{from:from$1,of:of$1}=cjs,runAsync$1=runAsyncExports;utils$1.fetchAsyncQuestionProperty=function(s,o,F0){return typeof s[o]!="function"?of$1(s):from$1(runAsync$1(s[o])(F0).then(L0=>(s[o]=L0,s)))};const _={isPlainObject:isPlainObject_1,get:get_1,set:set_1},{defer,empty,from,of}=cjs,{concatMap,filter,publish,reduce}=operators,runAsync=runAsyncExports,utils=utils$1,Base=baseUI;class PromptUI extends Base{constructor(o,F0){super(F0),this.prompts=o}run(o,F0){_.isPlainObject(F0)?this.answers={...F0}:this.answers={},_.isPlainObject(o)&&(o=Object.values(o).every(B0=>_.isPlainObject(B0)&&B0.name===void 0)?Object.entries(o).map(([B0,q0])=>({name:B0,...q0})):[o]);const L0=Array.isArray(o)?from(o):o;return this.process=L0.pipe(concatMap(this.processQuestion.bind(this)),publish()),this.process.connect(),this.process.pipe(reduce((B0,q0)=>(_.set(B0,q0.name,q0.answer),B0),this.answers)).toPromise(Promise).then(this.onCompletion.bind(this),this.onError.bind(this))}onCompletion(){return this.close(),this.answers}onError(o){return this.close(),Promise.reject(o)}processQuestion(o){return o={...o},defer(()=>of(o).pipe(concatMap(this.setDefaultType.bind(this)),concatMap(this.filterIfRunnable.bind(this)),concatMap(()=>utils.fetchAsyncQuestionProperty(o,"message",this.answers)),concatMap(()=>utils.fetchAsyncQuestionProperty(o,"default",this.answers)),concatMap(()=>utils.fetchAsyncQuestionProperty(o,"choices",this.answers)),concatMap(this.fetchAnswer.bind(this))))}fetchAnswer(o){const F0=this.prompts[o.type];return this.activePrompt=new F0(o,this.rl,this.answers),defer(()=>from(this.activePrompt.run().then(L0=>({name:o.name,answer:L0}))))}setDefaultType(o){return this.prompts[o.type]||(o.type="input"),defer(()=>of(o))}filterIfRunnable(o){if(o.askAnswered!==!0&&_.get(this.answers,o.name)!==void 0||o.when===!1)return empty();if(typeof o.when!="function")return of(o);const{answers:F0}=this;return defer(()=>from(runAsync(o.when)(F0).then(L0=>{if(L0)return o})).pipe(filter(L0=>L0!=null)))}}var prompt=PromptUI,cliCursor={},onetime={exports:{}},mimicFn={exports:{}},hasRequiredMimicFn;function requireMimicFn(){if(hasRequiredMimicFn)return mimicFn.exports;hasRequiredMimicFn=1;const s=(o,F0)=>{for(const L0 of Reflect.ownKeys(F0))Object.defineProperty(o,L0,Object.getOwnPropertyDescriptor(F0,L0));return o};return mimicFn.exports=s,mimicFn.exports.default=s,mimicFn.exports}var hasRequiredOnetime;function requireOnetime(){if(hasRequiredOnetime)return onetime.exports;hasRequiredOnetime=1;const s=requireMimicFn(),o=new WeakMap,F0=(L0,B0={})=>{if(typeof L0!="function")throw new TypeError("Expected a function");let q0,W0=0;const X0=L0.displayName||L0.name||"<anonymous>",K0=function(...D_){if(o.set(K0,++W0),W0===1)q0=L0.apply(this,D_),L0=null;else if(B0.throw===!0)throw new Error(`Function \`${X0}\` can only be called once`);return q0};return s(K0,L0),o.set(K0,W0),K0};return onetime.exports=F0,onetime.exports.default=F0,onetime.exports.callCount=L0=>{if(!o.has(L0))throw new Error(`The given function \`${L0.name}\` is not wrapped by the \`onetime\` package`);return o.get(L0)},onetime.exports}var signalExit={exports:{}},signals={exports:{}},hasRequiredSignals;function requireSignals(){return hasRequiredSignals||(hasRequiredSignals=1,function(s){s.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],process.platform!=="win32"&&s.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&s.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}(signals)),signals.exports}var hasRequiredSignalExit;function requireSignalExit(){if(hasRequiredSignalExit)return signalExit.exports;hasRequiredSignalExit=1;var s=commonjsGlobal.process;const o=function(qv){return qv&&typeof qv=="object"&&typeof qv.removeListener=="function"&&typeof qv.emit=="function"&&typeof qv.reallyExit=="function"&&typeof qv.listeners=="function"&&typeof qv.kill=="function"&&typeof qv.pid=="number"&&typeof qv.on=="function"};if(!o(s))signalExit.exports=function(){return function(){}};else{var F0=require$$2$2,L0=requireSignals(),B0=/^win/i.test(s.platform),q0=require$$2$2;typeof q0!="function"&&(q0=q0.EventEmitter);var W0;s.__signal_exit_emitter__?W0=s.__signal_exit_emitter__:(W0=s.__signal_exit_emitter__=new q0,W0.count=0,W0.emitted={}),W0.infinite||(W0.setMaxListeners(1/0),W0.infinite=!0),signalExit.exports=function(qv,Lv){if(!o(commonjsGlobal.process))return function(){};F0.equal(typeof qv,"function","a callback must be provided for exit handler"),I_===!1&&F_();var S1="exit";Lv&&Lv.alwaysLast&&(S1="afterexit");var iv=function(){W0.removeListener(S1,qv),W0.listeners("exit").length===0&&W0.listeners("afterexit").length===0&&X0()};return W0.on(S1,qv),iv};var X0=function(){!I_||!o(commonjsGlobal.process)||(I_=!1,L0.forEach(function(Lv){try{s.removeListener(Lv,D_[Lv])}catch{}}),s.emit=H_,s.reallyExit=R_,W0.count-=1)};signalExit.exports.unload=X0;var K0=function(Lv,S1,iv){W0.emitted[Lv]||(W0.emitted[Lv]=!0,W0.emit(Lv,S1,iv))},D_={};L0.forEach(function(qv){D_[qv]=function(){if(o(commonjsGlobal.process)){var S1=s.listeners(qv);S1.length===W0.count&&(X0(),K0("exit",null,qv),K0("afterexit",null,qv),B0&&qv==="SIGHUP"&&(qv="SIGINT"),s.kill(s.pid,qv))}}}),signalExit.exports.signals=function(){return L0};var I_=!1,F_=function(){I_||!o(commonjsGlobal.process)||(I_=!0,W0.count+=1,L0=L0.filter(function(Lv){try{return s.on(Lv,D_[Lv]),!0}catch{return!1}}),s.emit=Oy,s.reallyExit=z_)};signalExit.exports.load=F_;var R_=s.reallyExit,z_=function(Lv){o(commonjsGlobal.process)&&(s.exitCode=Lv||0,K0("exit",s.exitCode,null),K0("afterexit",s.exitCode,null),R_.call(s,s.exitCode))},H_=s.emit,Oy=function(Lv,S1){if(Lv==="exit"&&o(commonjsGlobal.process)){S1!==void 0&&(s.exitCode=S1);var iv=H_.apply(this,arguments);return K0("exit",s.exitCode,null),K0("afterexit",s.exitCode,null),iv}else return H_.apply(this,arguments)}}return signalExit.exports}var restoreCursor,hasRequiredRestoreCursor;function requireRestoreCursor(){if(hasRequiredRestoreCursor)return restoreCursor;hasRequiredRestoreCursor=1;const s=requireOnetime(),o=requireSignalExit();return restoreCursor=s(()=>{o(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),restoreCursor}var hasRequiredCliCursor;function requireCliCursor(){return hasRequiredCliCursor||(hasRequiredCliCursor=1,function(s){const o=requireRestoreCursor();let F0=!1;s.show=(L0=process.stderr)=>{L0.isTTY&&(F0=!1,L0.write("\x1B[?25h"))},s.hide=(L0=process.stderr)=>{L0.isTTY&&(o(),F0=!0,L0.write("\x1B[?25l"))},s.toggle=(L0,B0)=>{L0!==void 0&&(F0=L0),F0?s.show(B0):s.hide(B0)}}(cliCursor)),cliCursor}var identity_1,hasRequiredIdentity;function requireIdentity(){if(hasRequiredIdentity)return identity_1;hasRequiredIdentity=1;function s(o){return o}return identity_1=s,identity_1}var _apply,hasRequired_apply;function require_apply(){if(hasRequired_apply)return _apply;hasRequired_apply=1;function s(o,F0,L0){switch(L0.length){case 0:return o.call(F0);case 1:return o.call(F0,L0[0]);case 2:return o.call(F0,L0[0],L0[1]);case 3:return o.call(F0,L0[0],L0[1],L0[2])}return o.apply(F0,L0)}return _apply=s,_apply}var _overRest,hasRequired_overRest;function require_overRest(){if(hasRequired_overRest)return _overRest;hasRequired_overRest=1;var s=require_apply(),o=Math.max;function F0(L0,B0,q0){return B0=o(B0===void 0?L0.length-1:B0,0),function(){for(var W0=arguments,X0=-1,K0=o(W0.length-B0,0),D_=Array(K0);++X0<K0;)D_[X0]=W0[B0+X0];X0=-1;for(var I_=Array(B0+1);++X0<B0;)I_[X0]=W0[X0];return I_[B0]=q0(D_),s(L0,this,I_)}}return _overRest=F0,_overRest}var constant_1,hasRequiredConstant;function requireConstant(){if(hasRequiredConstant)return constant_1;hasRequiredConstant=1;function s(o){return function(){return o}}return constant_1=s,constant_1}var _baseSetToString,hasRequired_baseSetToString;function require_baseSetToString(){if(hasRequired_baseSetToString)return _baseSetToString;hasRequired_baseSetToString=1;var s=requireConstant(),o=_defineProperty,F0=requireIdentity(),L0=o?function(B0,q0){return o(B0,"toString",{configurable:!0,enumerable:!1,value:s(q0),writable:!0})}:F0;return _baseSetToString=L0,_baseSetToString}var _shortOut,hasRequired_shortOut;function require_shortOut(){if(hasRequired_shortOut)return _shortOut;hasRequired_shortOut=1;var s=800,o=16,F0=Date.now;function L0(B0){var q0=0,W0=0;return function(){var X0=F0(),K0=o-(X0-W0);if(W0=X0,K0>0){if(++q0>=s)return arguments[0]}else q0=0;return B0.apply(void 0,arguments)}}return _shortOut=L0,_shortOut}var _setToString,hasRequired_setToString;function require_setToString(){if(hasRequired_setToString)return _setToString;hasRequired_setToString=1;var s=require_baseSetToString(),o=require_shortOut(),F0=o(s);return _setToString=F0,_setToString}var _baseRest,hasRequired_baseRest;function require_baseRest(){if(hasRequired_baseRest)return _baseRest;hasRequired_baseRest=1;var s=requireIdentity(),o=require_overRest(),F0=require_setToString();function L0(B0,q0){return F0(o(B0,q0,s),B0+"")}return _baseRest=L0,_baseRest}var isLength_1,hasRequiredIsLength;function requireIsLength(){if(hasRequiredIsLength)return isLength_1;hasRequiredIsLength=1;var s=9007199254740991;function o(F0){return typeof F0=="number"&&F0>-1&&F0%1==0&&F0<=s}return isLength_1=o,isLength_1}var isArrayLike_1,hasRequiredIsArrayLike;function requireIsArrayLike(){if(hasRequiredIsArrayLike)return isArrayLike_1;hasRequiredIsArrayLike=1;var s=requireIsFunction(),o=requireIsLength();function F0(L0){return L0!=null&&o(L0.length)&&!s(L0)}return isArrayLike_1=F0,isArrayLike_1}var _isIterateeCall,hasRequired_isIterateeCall;function require_isIterateeCall(){if(hasRequired_isIterateeCall)return _isIterateeCall;hasRequired_isIterateeCall=1;var s=eq_1,o=requireIsArrayLike(),F0=_isIndex,L0=isObject_1;function B0(q0,W0,X0){if(!L0(X0))return!1;var K0=typeof W0;return(K0=="number"?o(X0)&&F0(W0,X0.length):K0=="string"&&W0 in X0)?s(X0[W0],q0):!1}return _isIterateeCall=B0,_isIterateeCall}var _baseTimes,hasRequired_baseTimes;function require_baseTimes(){if(hasRequired_baseTimes)return _baseTimes;hasRequired_baseTimes=1;function s(o,F0){for(var L0=-1,B0=Array(o);++L0<o;)B0[L0]=F0(L0);return B0}return _baseTimes=s,_baseTimes}var _baseIsArguments,hasRequired_baseIsArguments;function require_baseIsArguments(){if(hasRequired_baseIsArguments)return _baseIsArguments;hasRequired_baseIsArguments=1;var s=_baseGetTag,o=isObjectLike_1,F0="[object Arguments]";function L0(B0){return o(B0)&&s(B0)==F0}return _baseIsArguments=L0,_baseIsArguments}var isArguments_1,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments_1;hasRequiredIsArguments=1;var s=require_baseIsArguments(),o=isObjectLike_1,F0=Object.prototype,L0=F0.hasOwnProperty,B0=F0.propertyIsEnumerable,q0=s(function(){return arguments}())?s:function(W0){return o(W0)&&L0.call(W0,"callee")&&!B0.call(W0,"callee")};return isArguments_1=q0,isArguments_1}var isBuffer={exports:{}},stubFalse_1,hasRequiredStubFalse;function requireStubFalse(){if(hasRequiredStubFalse)return stubFalse_1;hasRequiredStubFalse=1;function s(){return!1}return stubFalse_1=s,stubFalse_1}isBuffer.exports;var hasRequiredIsBuffer;function requireIsBuffer(){return hasRequiredIsBuffer||(hasRequiredIsBuffer=1,function(s,o){var F0=_root,L0=requireStubFalse(),B0=o&&!o.nodeType&&o,q0=B0&&!0&&s&&!s.nodeType&&s,W0=q0&&q0.exports===B0,X0=W0?F0.Buffer:void 0,K0=X0?X0.isBuffer:void 0,D_=K0||L0;s.exports=D_}(isBuffer,isBuffer.exports)),isBuffer.exports}var _baseIsTypedArray,hasRequired_baseIsTypedArray;function require_baseIsTypedArray(){if(hasRequired_baseIsTypedArray)return _baseIsTypedArray;hasRequired_baseIsTypedArray=1;var s=_baseGetTag,o=requireIsLength(),F0=isObjectLike_1,L0="[object Arguments]",B0="[object Array]",q0="[object Boolean]",W0="[object Date]",X0="[object Error]",K0="[object Function]",D_="[object Map]",I_="[object Number]",F_="[object Object]",R_="[object RegExp]",z_="[object Set]",H_="[object String]",Oy="[object WeakMap]",qv="[object ArrayBuffer]",Lv="[object DataView]",S1="[object Float32Array]",iv="[object Float64Array]",Yv="[object Int8Array]",_x="[object Int16Array]",Qv="[object Int32Array]",Fx="[object Uint8Array]",jx="[object Uint8ClampedArray]",K7="[object Uint16Array]",g7="[object Uint32Array]",iT={};iT[S1]=iT[iv]=iT[Yv]=iT[_x]=iT[Qv]=iT[Fx]=iT[jx]=iT[K7]=iT[g7]=!0,iT[L0]=iT[B0]=iT[qv]=iT[q0]=iT[Lv]=iT[W0]=iT[X0]=iT[K0]=iT[D_]=iT[I_]=iT[F_]=iT[R_]=iT[z_]=iT[H_]=iT[Oy]=!1;function $7(F7){return F0(F7)&&o(F7.length)&&!!iT[s(F7)]}return _baseIsTypedArray=$7,_baseIsTypedArray}var _baseUnary,hasRequired_baseUnary;function require_baseUnary(){if(hasRequired_baseUnary)return _baseUnary;hasRequired_baseUnary=1;function s(o){return function(F0){return o(F0)}}return _baseUnary=s,_baseUnary}var _nodeUtil={exports:{}};_nodeUtil.exports;var hasRequired_nodeUtil;function require_nodeUtil(){return hasRequired_nodeUtil||(hasRequired_nodeUtil=1,function(s,o){var F0=_freeGlobal,L0=o&&!o.nodeType&&o,B0=L0&&!0&&s&&!s.nodeType&&s,q0=B0&&B0.exports===L0,W0=q0&&F0.process,X0=function(){try{var K0=B0&&B0.require&&B0.require("util").types;return K0||W0&&W0.binding&&W0.binding("util")}catch{}}();s.exports=X0}(_nodeUtil,_nodeUtil.exports)),_nodeUtil.exports}var isTypedArray_1,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray_1;hasRequiredIsTypedArray=1;var s=require_baseIsTypedArray(),o=require_baseUnary(),F0=require_nodeUtil(),L0=F0&&F0.isTypedArray,B0=L0?o(L0):s;return isTypedArray_1=B0,isTypedArray_1}var _arrayLikeKeys,hasRequired_arrayLikeKeys;function require_arrayLikeKeys(){if(hasRequired_arrayLikeKeys)return _arrayLikeKeys;hasRequired_arrayLikeKeys=1;var s=require_baseTimes(),o=requireIsArguments(),F0=isArray_1,L0=requireIsBuffer(),B0=_isIndex,q0=requireIsTypedArray(),W0=Object.prototype,X0=W0.hasOwnProperty;function K0(D_,I_){var F_=F0(D_),R_=!F_&&o(D_),z_=!F_&&!R_&&L0(D_),H_=!F_&&!R_&&!z_&&q0(D_),Oy=F_||R_||z_||H_,qv=Oy?s(D_.length,String):[],Lv=qv.length;for(var S1 in D_)(I_||X0.call(D_,S1))&&!(Oy&&(S1=="length"||z_&&(S1=="offset"||S1=="parent")||H_&&(S1=="buffer"||S1=="byteLength"||S1=="byteOffset")||B0(S1,Lv)))&&qv.push(S1);return qv}return _arrayLikeKeys=K0,_arrayLikeKeys}var _isPrototype,hasRequired_isPrototype;function require_isPrototype(){if(hasRequired_isPrototype)return _isPrototype;hasRequired_isPrototype=1;var s=Object.prototype;function o(F0){var L0=F0&&F0.constructor,B0=typeof L0=="function"&&L0.prototype||s;return F0===B0}return _isPrototype=o,_isPrototype}var _nativeKeysIn,hasRequired_nativeKeysIn;function require_nativeKeysIn(){if(hasRequired_nativeKeysIn)return _nativeKeysIn;hasRequired_nativeKeysIn=1;function s(o){var F0=[];if(o!=null)for(var L0 in Object(o))F0.push(L0);return F0}return _nativeKeysIn=s,_nativeKeysIn}var _baseKeysIn,hasRequired_baseKeysIn;function require_baseKeysIn(){if(hasRequired_baseKeysIn)return _baseKeysIn;hasRequired_baseKeysIn=1;var s=isObject_1,o=require_isPrototype(),F0=require_nativeKeysIn(),L0=Object.prototype,B0=L0.hasOwnProperty;function q0(W0){if(!s(W0))return F0(W0);var X0=o(W0),K0=[];for(var D_ in W0)D_=="constructor"&&(X0||!B0.call(W0,D_))||K0.push(D_);return K0}return _baseKeysIn=q0,_baseKeysIn}var keysIn_1,hasRequiredKeysIn;function requireKeysIn(){if(hasRequiredKeysIn)return keysIn_1;hasRequiredKeysIn=1;var s=require_arrayLikeKeys(),o=require_baseKeysIn(),F0=requireIsArrayLike();function L0(B0){return F0(B0)?s(B0,!0):o(B0)}return keysIn_1=L0,keysIn_1}var defaults_1,hasRequiredDefaults$1;function requireDefaults$1(){if(hasRequiredDefaults$1)return defaults_1;hasRequiredDefaults$1=1;var s=require_baseRest(),o=eq_1,F0=require_isIterateeCall(),L0=requireKeysIn(),B0=Object.prototype,q0=B0.hasOwnProperty,W0=s(function(X0,K0){X0=Object(X0);var D_=-1,I_=K0.length,F_=I_>2?K0[2]:void 0;for(F_&&F0(K0[0],K0[1],F_)&&(I_=1);++D_<I_;)for(var R_=K0[D_],z_=L0(R_),H_=-1,Oy=z_.length;++H_<Oy;){var qv=z_[H_],Lv=X0[qv];(Lv===void 0||o(Lv,B0[qv])&&!q0.call(X0,qv))&&(X0[qv]=R_[qv])}return X0});return defaults_1=W0,defaults_1}var _stackClear,hasRequired_stackClear;function require_stackClear(){if(hasRequired_stackClear)return _stackClear;hasRequired_stackClear=1;var s=require_ListCache();function o(){this.__data__=new s,this.size=0}return _stackClear=o,_stackClear}var _stackDelete,hasRequired_stackDelete;function require_stackDelete(){if(hasRequired_stackDelete)return _stackDelete;hasRequired_stackDelete=1;function s(o){var F0=this.__data__,L0=F0.delete(o);return this.size=F0.size,L0}return _stackDelete=s,_stackDelete}var _stackGet,hasRequired_stackGet;function require_stackGet(){if(hasRequired_stackGet)return _stackGet;hasRequired_stackGet=1;function s(o){return this.__data__.get(o)}return _stackGet=s,_stackGet}var _stackHas,hasRequired_stackHas;function require_stackHas(){if(hasRequired_stackHas)return _stackHas;hasRequired_stackHas=1;function s(o){return this.__data__.has(o)}return _stackHas=s,_stackHas}var _stackSet,hasRequired_stackSet;function require_stackSet(){if(hasRequired_stackSet)return _stackSet;hasRequired_stackSet=1;var s=require_ListCache(),o=require_Map(),F0=_MapCache,L0=200;function B0(q0,W0){var X0=this.__data__;if(X0 instanceof s){var K0=X0.__data__;if(!o||K0.length<L0-1)return K0.push([q0,W0]),this.size=++X0.size,this;X0=this.__data__=new F0(K0)}return X0.set(q0,W0),this.size=X0.size,this}return _stackSet=B0,_stackSet}var _Stack,hasRequired_Stack;function require_Stack(){if(hasRequired_Stack)return _Stack;hasRequired_Stack=1;var s=require_ListCache(),o=require_stackClear(),F0=require_stackDelete(),L0=require_stackGet(),B0=require_stackHas(),q0=require_stackSet();function W0(X0){var K0=this.__data__=new s(X0);this.size=K0.size}return W0.prototype.clear=o,W0.prototype.delete=F0,W0.prototype.get=L0,W0.prototype.has=B0,W0.prototype.set=q0,_Stack=W0,_Stack}var _arrayEach,hasRequired_arrayEach;function require_arrayEach(){if(hasRequired_arrayEach)return _arrayEach;hasRequired_arrayEach=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length;++L0<B0&&F0(o[L0],L0,o)!==!1;);return o}return _arrayEach=s,_arrayEach}var _copyObject,hasRequired_copyObject;function require_copyObject(){if(hasRequired_copyObject)return _copyObject;hasRequired_copyObject=1;var s=_assignValue,o=_baseAssignValue;function F0(L0,B0,q0,W0){var X0=!q0;q0||(q0={});for(var K0=-1,D_=B0.length;++K0<D_;){var I_=B0[K0],F_=W0?W0(q0[I_],L0[I_],I_,q0,L0):void 0;F_===void 0&&(F_=L0[I_]),X0?o(q0,I_,F_):s(q0,I_,F_)}return q0}return _copyObject=F0,_copyObject}var _nativeKeys,hasRequired_nativeKeys;function require_nativeKeys(){if(hasRequired_nativeKeys)return _nativeKeys;hasRequired_nativeKeys=1;var s=_overArg,o=s(Object.keys,Object);return _nativeKeys=o,_nativeKeys}var _baseKeys,hasRequired_baseKeys;function require_baseKeys(){if(hasRequired_baseKeys)return _baseKeys;hasRequired_baseKeys=1;var s=require_isPrototype(),o=require_nativeKeys(),F0=Object.prototype,L0=F0.hasOwnProperty;function B0(q0){if(!s(q0))return o(q0);var W0=[];for(var X0 in Object(q0))L0.call(q0,X0)&&X0!="constructor"&&W0.push(X0);return W0}return _baseKeys=B0,_baseKeys}var keys_1,hasRequiredKeys;function requireKeys(){if(hasRequiredKeys)return keys_1;hasRequiredKeys=1;var s=require_arrayLikeKeys(),o=require_baseKeys(),F0=requireIsArrayLike();function L0(B0){return F0(B0)?s(B0):o(B0)}return keys_1=L0,keys_1}var _baseAssign,hasRequired_baseAssign;function require_baseAssign(){if(hasRequired_baseAssign)return _baseAssign;hasRequired_baseAssign=1;var s=require_copyObject(),o=requireKeys();function F0(L0,B0){return L0&&s(B0,o(B0),L0)}return _baseAssign=F0,_baseAssign}var _baseAssignIn,hasRequired_baseAssignIn;function require_baseAssignIn(){if(hasRequired_baseAssignIn)return _baseAssignIn;hasRequired_baseAssignIn=1;var s=require_copyObject(),o=requireKeysIn();function F0(L0,B0){return L0&&s(B0,o(B0),L0)}return _baseAssignIn=F0,_baseAssignIn}var _cloneBuffer={exports:{}};_cloneBuffer.exports;var hasRequired_cloneBuffer;function require_cloneBuffer(){return hasRequired_cloneBuffer||(hasRequired_cloneBuffer=1,function(s,o){var F0=_root,L0=o&&!o.nodeType&&o,B0=L0&&!0&&s&&!s.nodeType&&s,q0=B0&&B0.exports===L0,W0=q0?F0.Buffer:void 0,X0=W0?W0.allocUnsafe:void 0;function K0(D_,I_){if(I_)return D_.slice();var F_=D_.length,R_=X0?X0(F_):new D_.constructor(F_);return D_.copy(R_),R_}s.exports=K0}(_cloneBuffer,_cloneBuffer.exports)),_cloneBuffer.exports}var _copyArray,hasRequired_copyArray;function require_copyArray(){if(hasRequired_copyArray)return _copyArray;hasRequired_copyArray=1;function s(o,F0){var L0=-1,B0=o.length;for(F0||(F0=Array(B0));++L0<B0;)F0[L0]=o[L0];return F0}return _copyArray=s,_copyArray}var _arrayFilter,hasRequired_arrayFilter;function require_arrayFilter(){if(hasRequired_arrayFilter)return _arrayFilter;hasRequired_arrayFilter=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length,q0=0,W0=[];++L0<B0;){var X0=o[L0];F0(X0,L0,o)&&(W0[q0++]=X0)}return W0}return _arrayFilter=s,_arrayFilter}var stubArray_1,hasRequiredStubArray;function requireStubArray(){if(hasRequiredStubArray)return stubArray_1;hasRequiredStubArray=1;function s(){return[]}return stubArray_1=s,stubArray_1}var _getSymbols,hasRequired_getSymbols;function require_getSymbols(){if(hasRequired_getSymbols)return _getSymbols;hasRequired_getSymbols=1;var s=require_arrayFilter(),o=requireStubArray(),F0=Object.prototype,L0=F0.propertyIsEnumerable,B0=Object.getOwnPropertySymbols,q0=B0?function(W0){return W0==null?[]:(W0=Object(W0),s(B0(W0),function(X0){return L0.call(W0,X0)}))}:o;return _getSymbols=q0,_getSymbols}var _copySymbols,hasRequired_copySymbols;function require_copySymbols(){if(hasRequired_copySymbols)return _copySymbols;hasRequired_copySymbols=1;var s=require_copyObject(),o=require_getSymbols();function F0(L0,B0){return s(L0,o(L0),B0)}return _copySymbols=F0,_copySymbols}var _arrayPush,hasRequired_arrayPush;function require_arrayPush(){if(hasRequired_arrayPush)return _arrayPush;hasRequired_arrayPush=1;function s(o,F0){for(var L0=-1,B0=F0.length,q0=o.length;++L0<B0;)o[q0+L0]=F0[L0];return o}return _arrayPush=s,_arrayPush}var _getSymbolsIn,hasRequired_getSymbolsIn;function require_getSymbolsIn(){if(hasRequired_getSymbolsIn)return _getSymbolsIn;hasRequired_getSymbolsIn=1;var s=require_arrayPush(),o=_getPrototype,F0=require_getSymbols(),L0=requireStubArray(),B0=Object.getOwnPropertySymbols,q0=B0?function(W0){for(var X0=[];W0;)s(X0,F0(W0)),W0=o(W0);return X0}:L0;return _getSymbolsIn=q0,_getSymbolsIn}var _copySymbolsIn,hasRequired_copySymbolsIn;function require_copySymbolsIn(){if(hasRequired_copySymbolsIn)return _copySymbolsIn;hasRequired_copySymbolsIn=1;var s=require_copyObject(),o=require_getSymbolsIn();function F0(L0,B0){return s(L0,o(L0),B0)}return _copySymbolsIn=F0,_copySymbolsIn}var _baseGetAllKeys,hasRequired_baseGetAllKeys;function require_baseGetAllKeys(){if(hasRequired_baseGetAllKeys)return _baseGetAllKeys;hasRequired_baseGetAllKeys=1;var s=require_arrayPush(),o=isArray_1;function F0(L0,B0,q0){var W0=B0(L0);return o(L0)?W0:s(W0,q0(L0))}return _baseGetAllKeys=F0,_baseGetAllKeys}var _getAllKeys,hasRequired_getAllKeys;function require_getAllKeys(){if(hasRequired_getAllKeys)return _getAllKeys;hasRequired_getAllKeys=1;var s=require_baseGetAllKeys(),o=require_getSymbols(),F0=requireKeys();function L0(B0){return s(B0,F0,o)}return _getAllKeys=L0,_getAllKeys}var _getAllKeysIn,hasRequired_getAllKeysIn;function require_getAllKeysIn(){if(hasRequired_getAllKeysIn)return _getAllKeysIn;hasRequired_getAllKeysIn=1;var s=require_baseGetAllKeys(),o=require_getSymbolsIn(),F0=requireKeysIn();function L0(B0){return s(B0,F0,o)}return _getAllKeysIn=L0,_getAllKeysIn}var _DataView,hasRequired_DataView;function require_DataView(){if(hasRequired_DataView)return _DataView;hasRequired_DataView=1;var s=_getNative,o=_root,F0=s(o,"DataView");return _DataView=F0,_DataView}var _Promise,hasRequired_Promise;function require_Promise(){if(hasRequired_Promise)return _Promise;hasRequired_Promise=1;var s=_getNative,o=_root,F0=s(o,"Promise");return _Promise=F0,_Promise}var _Set,hasRequired_Set;function require_Set(){if(hasRequired_Set)return _Set;hasRequired_Set=1;var s=_getNative,o=_root,F0=s(o,"Set");return _Set=F0,_Set}var _WeakMap,hasRequired_WeakMap;function require_WeakMap(){if(hasRequired_WeakMap)return _WeakMap;hasRequired_WeakMap=1;var s=_getNative,o=_root,F0=s(o,"WeakMap");return _WeakMap=F0,_WeakMap}var _getTag,hasRequired_getTag;function require_getTag(){if(hasRequired_getTag)return _getTag;hasRequired_getTag=1;var s=require_DataView(),o=require_Map(),F0=require_Promise(),L0=require_Set(),B0=require_WeakMap(),q0=_baseGetTag,W0=require_toSource(),X0="[object Map]",K0="[object Object]",D_="[object Promise]",I_="[object Set]",F_="[object WeakMap]",R_="[object DataView]",z_=W0(s),H_=W0(o),Oy=W0(F0),qv=W0(L0),Lv=W0(B0),S1=q0;return(s&&S1(new s(new ArrayBuffer(1)))!=R_||o&&S1(new o)!=X0||F0&&S1(F0.resolve())!=D_||L0&&S1(new L0)!=I_||B0&&S1(new B0)!=F_)&&(S1=function(iv){var Yv=q0(iv),_x=Yv==K0?iv.constructor:void 0,Qv=_x?W0(_x):"";if(Qv)switch(Qv){case z_:return R_;case H_:return X0;case Oy:return D_;case qv:return I_;case Lv:return F_}return Yv}),_getTag=S1,_getTag}var _initCloneArray,hasRequired_initCloneArray;function require_initCloneArray(){if(hasRequired_initCloneArray)return _initCloneArray;hasRequired_initCloneArray=1;var s=Object.prototype,o=s.hasOwnProperty;function F0(L0){var B0=L0.length,q0=new L0.constructor(B0);return B0&&typeof L0[0]=="string"&&o.call(L0,"index")&&(q0.index=L0.index,q0.input=L0.input),q0}return _initCloneArray=F0,_initCloneArray}var _Uint8Array,hasRequired_Uint8Array;function require_Uint8Array(){if(hasRequired_Uint8Array)return _Uint8Array;hasRequired_Uint8Array=1;var s=_root,o=s.Uint8Array;return _Uint8Array=o,_Uint8Array}var _cloneArrayBuffer,hasRequired_cloneArrayBuffer;function require_cloneArrayBuffer(){if(hasRequired_cloneArrayBuffer)return _cloneArrayBuffer;hasRequired_cloneArrayBuffer=1;var s=require_Uint8Array();function o(F0){var L0=new F0.constructor(F0.byteLength);return new s(L0).set(new s(F0)),L0}return _cloneArrayBuffer=o,_cloneArrayBuffer}var _cloneDataView,hasRequired_cloneDataView;function require_cloneDataView(){if(hasRequired_cloneDataView)return _cloneDataView;hasRequired_cloneDataView=1;var s=require_cloneArrayBuffer();function o(F0,L0){var B0=L0?s(F0.buffer):F0.buffer;return new F0.constructor(B0,F0.byteOffset,F0.byteLength)}return _cloneDataView=o,_cloneDataView}var _cloneRegExp,hasRequired_cloneRegExp;function require_cloneRegExp(){if(hasRequired_cloneRegExp)return _cloneRegExp;hasRequired_cloneRegExp=1;var s=/\w*$/;function o(F0){var L0=new F0.constructor(F0.source,s.exec(F0));return L0.lastIndex=F0.lastIndex,L0}return _cloneRegExp=o,_cloneRegExp}var _cloneSymbol,hasRequired_cloneSymbol;function require_cloneSymbol(){if(hasRequired_cloneSymbol)return _cloneSymbol;hasRequired_cloneSymbol=1;var s=_Symbol,o=s?s.prototype:void 0,F0=o?o.valueOf:void 0;function L0(B0){return F0?Object(F0.call(B0)):{}}return _cloneSymbol=L0,_cloneSymbol}var _cloneTypedArray,hasRequired_cloneTypedArray;function require_cloneTypedArray(){if(hasRequired_cloneTypedArray)return _cloneTypedArray;hasRequired_cloneTypedArray=1;var s=require_cloneArrayBuffer();function o(F0,L0){var B0=L0?s(F0.buffer):F0.buffer;return new F0.constructor(B0,F0.byteOffset,F0.length)}return _cloneTypedArray=o,_cloneTypedArray}var _initCloneByTag,hasRequired_initCloneByTag;function require_initCloneByTag(){if(hasRequired_initCloneByTag)return _initCloneByTag;hasRequired_initCloneByTag=1;var s=require_cloneArrayBuffer(),o=require_cloneDataView(),F0=require_cloneRegExp(),L0=require_cloneSymbol(),B0=require_cloneTypedArray(),q0="[object Boolean]",W0="[object Date]",X0="[object Map]",K0="[object Number]",D_="[object RegExp]",I_="[object Set]",F_="[object String]",R_="[object Symbol]",z_="[object ArrayBuffer]",H_="[object DataView]",Oy="[object Float32Array]",qv="[object Float64Array]",Lv="[object Int8Array]",S1="[object Int16Array]",iv="[object Int32Array]",Yv="[object Uint8Array]",_x="[object Uint8ClampedArray]",Qv="[object Uint16Array]",Fx="[object Uint32Array]";function jx(K7,g7,iT){var $7=K7.constructor;switch(g7){case z_:return s(K7);case q0:case W0:return new $7(+K7);case H_:return o(K7,iT);case Oy:case qv:case Lv:case S1:case iv:case Yv:case _x:case Qv:case Fx:return B0(K7,iT);case X0:return new $7;case K0:case F_:return new $7(K7);case D_:return F0(K7);case I_:return new $7;case R_:return L0(K7)}}return _initCloneByTag=jx,_initCloneByTag}var _baseCreate,hasRequired_baseCreate;function require_baseCreate(){if(hasRequired_baseCreate)return _baseCreate;hasRequired_baseCreate=1;var s=isObject_1,o=Object.create,F0=function(){function L0(){}return function(B0){if(!s(B0))return{};if(o)return o(B0);L0.prototype=B0;var q0=new L0;return L0.prototype=void 0,q0}}();return _baseCreate=F0,_baseCreate}var _initCloneObject,hasRequired_initCloneObject;function require_initCloneObject(){if(hasRequired_initCloneObject)return _initCloneObject;hasRequired_initCloneObject=1;var s=require_baseCreate(),o=_getPrototype,F0=require_isPrototype();function L0(B0){return typeof B0.constructor=="function"&&!F0(B0)?s(o(B0)):{}}return _initCloneObject=L0,_initCloneObject}var _baseIsMap,hasRequired_baseIsMap;function require_baseIsMap(){if(hasRequired_baseIsMap)return _baseIsMap;hasRequired_baseIsMap=1;var s=require_getTag(),o=isObjectLike_1,F0="[object Map]";function L0(B0){return o(B0)&&s(B0)==F0}return _baseIsMap=L0,_baseIsMap}var isMap_1,hasRequiredIsMap;function requireIsMap(){if(hasRequiredIsMap)return isMap_1;hasRequiredIsMap=1;var s=require_baseIsMap(),o=require_baseUnary(),F0=require_nodeUtil(),L0=F0&&F0.isMap,B0=L0?o(L0):s;return isMap_1=B0,isMap_1}var _baseIsSet,hasRequired_baseIsSet;function require_baseIsSet(){if(hasRequired_baseIsSet)return _baseIsSet;hasRequired_baseIsSet=1;var s=require_getTag(),o=isObjectLike_1,F0="[object Set]";function L0(B0){return o(B0)&&s(B0)==F0}return _baseIsSet=L0,_baseIsSet}var isSet_1,hasRequiredIsSet;function requireIsSet(){if(hasRequiredIsSet)return isSet_1;hasRequiredIsSet=1;var s=require_baseIsSet(),o=require_baseUnary(),F0=require_nodeUtil(),L0=F0&&F0.isSet,B0=L0?o(L0):s;return isSet_1=B0,isSet_1}var _baseClone,hasRequired_baseClone;function require_baseClone(){if(hasRequired_baseClone)return _baseClone;hasRequired_baseClone=1;var s=require_Stack(),o=require_arrayEach(),F0=_assignValue,L0=require_baseAssign(),B0=require_baseAssignIn(),q0=require_cloneBuffer(),W0=require_copyArray(),X0=require_copySymbols(),K0=require_copySymbolsIn(),D_=require_getAllKeys(),I_=require_getAllKeysIn(),F_=require_getTag(),R_=require_initCloneArray(),z_=require_initCloneByTag(),H_=require_initCloneObject(),Oy=isArray_1,qv=requireIsBuffer(),Lv=requireIsMap(),S1=isObject_1,iv=requireIsSet(),Yv=requireKeys(),_x=requireKeysIn(),Qv=1,Fx=2,jx=4,K7="[object Arguments]",g7="[object Array]",iT="[object Boolean]",$7="[object Date]",F7="[object Error]",aE="[object Function]",gS="[object GeneratorFunction]",eS="[object Map]",lT="[object Number]",UT="[object Object]",pT="[object RegExp]",D7="[object Set]",WT="[object String]",A7="[object Symbol]",U7="[object WeakMap]",OS="[object ArrayBuffer]",wE="[object DataView]",xT="[object Float32Array]",mS="[object Float64Array]",bE="[object Int8Array]",R7="[object Int16Array]",W3="[object Int32Array]",bT="[object Uint8Array]",Z7="[object Uint8ClampedArray]",JS="[object Uint16Array]",XE="[object Uint32Array]",rS={};rS[K7]=rS[g7]=rS[OS]=rS[wE]=rS[iT]=rS[$7]=rS[xT]=rS[mS]=rS[bE]=rS[R7]=rS[W3]=rS[eS]=rS[lT]=rS[UT]=rS[pT]=rS[D7]=rS[WT]=rS[A7]=rS[bT]=rS[Z7]=rS[JS]=rS[XE]=!0,rS[F7]=rS[aE]=rS[U7]=!1;function OT(T7,E7,VT,kS,_T,LS){var hE,yS=E7&Qv,BD=E7&Fx,wT=E7&jx;if(VT&&(hE=_T?VT(T7,kS,_T,LS):VT(T7)),hE!==void 0)return hE;if(!S1(T7))return T7;var dT=Oy(T7);if(dT){if(hE=R_(T7),!yS)return W0(T7,hE)}else{var RT=F_(T7),KS=RT==aE||RT==gS;if(qv(T7))return q0(T7,yS);if(RT==UT||RT==K7||KS&&!_T){if(hE=BD||KS?{}:H_(T7),!yS)return BD?K0(T7,B0(hE,T7)):X0(T7,L0(hE,T7))}else{if(!rS[RT])return _T?T7:{};hE=z_(T7,RT,yS)}}LS||(LS=new s);var sE=LS.get(T7);if(sE)return sE;LS.set(T7,hE),iv(T7)?T7.forEach(function(uE){hE.add(OT(uE,E7,VT,uE,T7,LS))}):Lv(T7)&&T7.forEach(function(uE,_C){hE.set(_C,OT(uE,E7,VT,_C,T7,LS))});var B3=wT?BD?I_:D_:BD?_x:Yv,yC=dT?void 0:B3(T7);return o(yC||T7,function(uE,_C){yC&&(_C=uE,uE=T7[_C]),F0(hE,_C,OT(uE,E7,VT,_C,T7,LS))}),hE}return _baseClone=OT,_baseClone}var clone_1,hasRequiredClone$1;function requireClone$1(){if(hasRequiredClone$1)return clone_1;hasRequiredClone$1=1;var s=require_baseClone(),o=4;function F0(L0){return s(L0,o)}return clone_1=F0,clone_1}var _createBaseFor,hasRequired_createBaseFor;function require_createBaseFor(){if(hasRequired_createBaseFor)return _createBaseFor;hasRequired_createBaseFor=1;function s(o){return function(F0,L0,B0){for(var q0=-1,W0=Object(F0),X0=B0(F0),K0=X0.length;K0--;){var D_=X0[o?K0:++q0];if(L0(W0[D_],D_,W0)===!1)break}return F0}}return _createBaseFor=s,_createBaseFor}var _baseFor,hasRequired_baseFor;function require_baseFor(){if(hasRequired_baseFor)return _baseFor;hasRequired_baseFor=1;var s=require_createBaseFor(),o=s();return _baseFor=o,_baseFor}var _baseForOwn,hasRequired_baseForOwn;function require_baseForOwn(){if(hasRequired_baseForOwn)return _baseForOwn;hasRequired_baseForOwn=1;var s=require_baseFor(),o=requireKeys();function F0(L0,B0){return L0&&s(L0,B0,o)}return _baseForOwn=F0,_baseForOwn}var _createBaseEach,hasRequired_createBaseEach;function require_createBaseEach(){if(hasRequired_createBaseEach)return _createBaseEach;hasRequired_createBaseEach=1;var s=requireIsArrayLike();function o(F0,L0){return function(B0,q0){if(B0==null)return B0;if(!s(B0))return F0(B0,q0);for(var W0=B0.length,X0=L0?W0:-1,K0=Object(B0);(L0?X0--:++X0<W0)&&q0(K0[X0],X0,K0)!==!1;);return B0}}return _createBaseEach=o,_createBaseEach}var _baseEach,hasRequired_baseEach;function require_baseEach(){if(hasRequired_baseEach)return _baseEach;hasRequired_baseEach=1;var s=require_baseForOwn(),o=require_createBaseEach(),F0=o(s);return _baseEach=F0,_baseEach}var _baseFilter,hasRequired_baseFilter;function require_baseFilter(){if(hasRequired_baseFilter)return _baseFilter;hasRequired_baseFilter=1;var s=require_baseEach();function o(F0,L0){var B0=[];return s(F0,function(q0,W0,X0){L0(q0,W0,X0)&&B0.push(q0)}),B0}return _baseFilter=o,_baseFilter}var _setCacheAdd,hasRequired_setCacheAdd;function require_setCacheAdd(){if(hasRequired_setCacheAdd)return _setCacheAdd;hasRequired_setCacheAdd=1;var s="__lodash_hash_undefined__";function o(F0){return this.__data__.set(F0,s),this}return _setCacheAdd=o,_setCacheAdd}var _setCacheHas,hasRequired_setCacheHas;function require_setCacheHas(){if(hasRequired_setCacheHas)return _setCacheHas;hasRequired_setCacheHas=1;function s(o){return this.__data__.has(o)}return _setCacheHas=s,_setCacheHas}var _SetCache,hasRequired_SetCache;function require_SetCache(){if(hasRequired_SetCache)return _SetCache;hasRequired_SetCache=1;var s=_MapCache,o=require_setCacheAdd(),F0=require_setCacheHas();function L0(B0){var q0=-1,W0=B0==null?0:B0.length;for(this.__data__=new s;++q0<W0;)this.add(B0[q0])}return L0.prototype.add=L0.prototype.push=o,L0.prototype.has=F0,_SetCache=L0,_SetCache}var _arraySome,hasRequired_arraySome;function require_arraySome(){if(hasRequired_arraySome)return _arraySome;hasRequired_arraySome=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length;++L0<B0;)if(F0(o[L0],L0,o))return!0;return!1}return _arraySome=s,_arraySome}var _cacheHas,hasRequired_cacheHas;function require_cacheHas(){if(hasRequired_cacheHas)return _cacheHas;hasRequired_cacheHas=1;function s(o,F0){return o.has(F0)}return _cacheHas=s,_cacheHas}var _equalArrays,hasRequired_equalArrays;function require_equalArrays(){if(hasRequired_equalArrays)return _equalArrays;hasRequired_equalArrays=1;var s=require_SetCache(),o=require_arraySome(),F0=require_cacheHas(),L0=1,B0=2;function q0(W0,X0,K0,D_,I_,F_){var R_=K0&L0,z_=W0.length,H_=X0.length;if(z_!=H_&&!(R_&&H_>z_))return!1;var Oy=F_.get(W0),qv=F_.get(X0);if(Oy&&qv)return Oy==X0&&qv==W0;var Lv=-1,S1=!0,iv=K0&B0?new s:void 0;for(F_.set(W0,X0),F_.set(X0,W0);++Lv<z_;){var Yv=W0[Lv],_x=X0[Lv];if(D_)var Qv=R_?D_(_x,Yv,Lv,X0,W0,F_):D_(Yv,_x,Lv,W0,X0,F_);if(Qv!==void 0){if(Qv)continue;S1=!1;break}if(iv){if(!o(X0,function(Fx,jx){if(!F0(iv,jx)&&(Yv===Fx||I_(Yv,Fx,K0,D_,F_)))return iv.push(jx)})){S1=!1;break}}else if(!(Yv===_x||I_(Yv,_x,K0,D_,F_))){S1=!1;break}}return F_.delete(W0),F_.delete(X0),S1}return _equalArrays=q0,_equalArrays}var _mapToArray,hasRequired_mapToArray;function require_mapToArray(){if(hasRequired_mapToArray)return _mapToArray;hasRequired_mapToArray=1;function s(o){var F0=-1,L0=Array(o.size);return o.forEach(function(B0,q0){L0[++F0]=[q0,B0]}),L0}return _mapToArray=s,_mapToArray}var _setToArray,hasRequired_setToArray;function require_setToArray(){if(hasRequired_setToArray)return _setToArray;hasRequired_setToArray=1;function s(o){var F0=-1,L0=Array(o.size);return o.forEach(function(B0){L0[++F0]=B0}),L0}return _setToArray=s,_setToArray}var _equalByTag,hasRequired_equalByTag;function require_equalByTag(){if(hasRequired_equalByTag)return _equalByTag;hasRequired_equalByTag=1;var s=_Symbol,o=require_Uint8Array(),F0=eq_1,L0=require_equalArrays(),B0=require_mapToArray(),q0=require_setToArray(),W0=1,X0=2,K0="[object Boolean]",D_="[object Date]",I_="[object Error]",F_="[object Map]",R_="[object Number]",z_="[object RegExp]",H_="[object Set]",Oy="[object String]",qv="[object Symbol]",Lv="[object ArrayBuffer]",S1="[object DataView]",iv=s?s.prototype:void 0,Yv=iv?iv.valueOf:void 0;function _x(Qv,Fx,jx,K7,g7,iT,$7){switch(jx){case S1:if(Qv.byteLength!=Fx.byteLength||Qv.byteOffset!=Fx.byteOffset)return!1;Qv=Qv.buffer,Fx=Fx.buffer;case Lv:return!(Qv.byteLength!=Fx.byteLength||!iT(new o(Qv),new o(Fx)));case K0:case D_:case R_:return F0(+Qv,+Fx);case I_:return Qv.name==Fx.name&&Qv.message==Fx.message;case z_:case Oy:return Qv==Fx+"";case F_:var F7=B0;case H_:var aE=K7&W0;if(F7||(F7=q0),Qv.size!=Fx.size&&!aE)return!1;var gS=$7.get(Qv);if(gS)return gS==Fx;K7|=X0,$7.set(Qv,Fx);var eS=L0(F7(Qv),F7(Fx),K7,g7,iT,$7);return $7.delete(Qv),eS;case qv:if(Yv)return Yv.call(Qv)==Yv.call(Fx)}return!1}return _equalByTag=_x,_equalByTag}var _equalObjects,hasRequired_equalObjects;function require_equalObjects(){if(hasRequired_equalObjects)return _equalObjects;hasRequired_equalObjects=1;var s=require_getAllKeys(),o=1,F0=Object.prototype,L0=F0.hasOwnProperty;function B0(q0,W0,X0,K0,D_,I_){var F_=X0&o,R_=s(q0),z_=R_.length,H_=s(W0),Oy=H_.length;if(z_!=Oy&&!F_)return!1;for(var qv=z_;qv--;){var Lv=R_[qv];if(!(F_?Lv in W0:L0.call(W0,Lv)))return!1}var S1=I_.get(q0),iv=I_.get(W0);if(S1&&iv)return S1==W0&&iv==q0;var Yv=!0;I_.set(q0,W0),I_.set(W0,q0);for(var _x=F_;++qv<z_;){Lv=R_[qv];var Qv=q0[Lv],Fx=W0[Lv];if(K0)var jx=F_?K0(Fx,Qv,Lv,W0,q0,I_):K0(Qv,Fx,Lv,q0,W0,I_);if(!(jx===void 0?Qv===Fx||D_(Qv,Fx,X0,K0,I_):jx)){Yv=!1;break}_x||(_x=Lv=="constructor")}if(Yv&&!_x){var K7=q0.constructor,g7=W0.constructor;K7!=g7&&"constructor"in q0&&"constructor"in W0&&!(typeof K7=="function"&&K7 instanceof K7&&typeof g7=="function"&&g7 instanceof g7)&&(Yv=!1)}return I_.delete(q0),I_.delete(W0),Yv}return _equalObjects=B0,_equalObjects}var _baseIsEqualDeep,hasRequired_baseIsEqualDeep;function require_baseIsEqualDeep(){if(hasRequired_baseIsEqualDeep)return _baseIsEqualDeep;hasRequired_baseIsEqualDeep=1;var s=require_Stack(),o=require_equalArrays(),F0=require_equalByTag(),L0=require_equalObjects(),B0=require_getTag(),q0=isArray_1,W0=requireIsBuffer(),X0=requireIsTypedArray(),K0=1,D_="[object Arguments]",I_="[object Array]",F_="[object Object]",R_=Object.prototype,z_=R_.hasOwnProperty;function H_(Oy,qv,Lv,S1,iv,Yv){var _x=q0(Oy),Qv=q0(qv),Fx=_x?I_:B0(Oy),jx=Qv?I_:B0(qv);Fx=Fx==D_?F_:Fx,jx=jx==D_?F_:jx;var K7=Fx==F_,g7=jx==F_,iT=Fx==jx;if(iT&&W0(Oy)){if(!W0(qv))return!1;_x=!0,K7=!1}if(iT&&!K7)return Yv||(Yv=new s),_x||X0(Oy)?o(Oy,qv,Lv,S1,iv,Yv):F0(Oy,qv,Fx,Lv,S1,iv,Yv);if(!(Lv&K0)){var $7=K7&&z_.call(Oy,"__wrapped__"),F7=g7&&z_.call(qv,"__wrapped__");if($7||F7){var aE=$7?Oy.value():Oy,gS=F7?qv.value():qv;return Yv||(Yv=new s),iv(aE,gS,Lv,S1,Yv)}}return iT?(Yv||(Yv=new s),L0(Oy,qv,Lv,S1,iv,Yv)):!1}return _baseIsEqualDeep=H_,_baseIsEqualDeep}var _baseIsEqual,hasRequired_baseIsEqual;function require_baseIsEqual(){if(hasRequired_baseIsEqual)return _baseIsEqual;hasRequired_baseIsEqual=1;var s=require_baseIsEqualDeep(),o=isObjectLike_1;function F0(L0,B0,q0,W0,X0){return L0===B0?!0:L0==null||B0==null||!o(L0)&&!o(B0)?L0!==L0&&B0!==B0:s(L0,B0,q0,W0,F0,X0)}return _baseIsEqual=F0,_baseIsEqual}var _baseIsMatch,hasRequired_baseIsMatch;function require_baseIsMatch(){if(hasRequired_baseIsMatch)return _baseIsMatch;hasRequired_baseIsMatch=1;var s=require_Stack(),o=require_baseIsEqual(),F0=1,L0=2;function B0(q0,W0,X0,K0){var D_=X0.length,I_=D_,F_=!K0;if(q0==null)return!I_;for(q0=Object(q0);D_--;){var R_=X0[D_];if(F_&&R_[2]?R_[1]!==q0[R_[0]]:!(R_[0]in q0))return!1}for(;++D_<I_;){R_=X0[D_];var z_=R_[0],H_=q0[z_],Oy=R_[1];if(F_&&R_[2]){if(H_===void 0&&!(z_ in q0))return!1}else{var qv=new s;if(K0)var Lv=K0(H_,Oy,z_,q0,W0,qv);if(!(Lv===void 0?o(Oy,H_,F0|L0,K0,qv):Lv))return!1}}return!0}return _baseIsMatch=B0,_baseIsMatch}var _isStrictComparable,hasRequired_isStrictComparable;function require_isStrictComparable(){if(hasRequired_isStrictComparable)return _isStrictComparable;hasRequired_isStrictComparable=1;var s=isObject_1;function o(F0){return F0===F0&&!s(F0)}return _isStrictComparable=o,_isStrictComparable}var _getMatchData,hasRequired_getMatchData;function require_getMatchData(){if(hasRequired_getMatchData)return _getMatchData;hasRequired_getMatchData=1;var s=require_isStrictComparable(),o=requireKeys();function F0(L0){for(var B0=o(L0),q0=B0.length;q0--;){var W0=B0[q0],X0=L0[W0];B0[q0]=[W0,X0,s(X0)]}return B0}return _getMatchData=F0,_getMatchData}var _matchesStrictComparable,hasRequired_matchesStrictComparable;function require_matchesStrictComparable(){if(hasRequired_matchesStrictComparable)return _matchesStrictComparable;hasRequired_matchesStrictComparable=1;function s(o,F0){return function(L0){return L0==null?!1:L0[o]===F0&&(F0!==void 0||o in Object(L0))}}return _matchesStrictComparable=s,_matchesStrictComparable}var _baseMatches,hasRequired_baseMatches;function require_baseMatches(){if(hasRequired_baseMatches)return _baseMatches;hasRequired_baseMatches=1;var s=require_baseIsMatch(),o=require_getMatchData(),F0=require_matchesStrictComparable();function L0(B0){var q0=o(B0);return q0.length==1&&q0[0][2]?F0(q0[0][0],q0[0][1]):function(W0){return W0===B0||s(W0,B0,q0)}}return _baseMatches=L0,_baseMatches}var _baseHasIn,hasRequired_baseHasIn;function require_baseHasIn(){if(hasRequired_baseHasIn)return _baseHasIn;hasRequired_baseHasIn=1;function s(o,F0){return o!=null&&F0 in Object(o)}return _baseHasIn=s,_baseHasIn}var _hasPath,hasRequired_hasPath;function require_hasPath(){if(hasRequired_hasPath)return _hasPath;hasRequired_hasPath=1;var s=_castPath,o=requireIsArguments(),F0=isArray_1,L0=_isIndex,B0=requireIsLength(),q0=_toKey;function W0(X0,K0,D_){K0=s(K0,X0);for(var I_=-1,F_=K0.length,R_=!1;++I_<F_;){var z_=q0(K0[I_]);if(!(R_=X0!=null&&D_(X0,z_)))break;X0=X0[z_]}return R_||++I_!=F_?R_:(F_=X0==null?0:X0.length,!!F_&&B0(F_)&&L0(z_,F_)&&(F0(X0)||o(X0)))}return _hasPath=W0,_hasPath}var hasIn_1,hasRequiredHasIn;function requireHasIn(){if(hasRequiredHasIn)return hasIn_1;hasRequiredHasIn=1;var s=require_baseHasIn(),o=require_hasPath();function F0(L0,B0){return L0!=null&&o(L0,B0,s)}return hasIn_1=F0,hasIn_1}var _baseMatchesProperty,hasRequired_baseMatchesProperty;function require_baseMatchesProperty(){if(hasRequired_baseMatchesProperty)return _baseMatchesProperty;hasRequired_baseMatchesProperty=1;var s=require_baseIsEqual(),o=get_1,F0=requireHasIn(),L0=_isKey,B0=require_isStrictComparable(),q0=require_matchesStrictComparable(),W0=_toKey,X0=1,K0=2;function D_(I_,F_){return L0(I_)&&B0(F_)?q0(W0(I_),F_):function(R_){var z_=o(R_,I_);return z_===void 0&&z_===F_?F0(R_,I_):s(F_,z_,X0|K0)}}return _baseMatchesProperty=D_,_baseMatchesProperty}var _baseProperty,hasRequired_baseProperty;function require_baseProperty(){if(hasRequired_baseProperty)return _baseProperty;hasRequired_baseProperty=1;function s(o){return function(F0){return F0==null?void 0:F0[o]}}return _baseProperty=s,_baseProperty}var _basePropertyDeep,hasRequired_basePropertyDeep;function require_basePropertyDeep(){if(hasRequired_basePropertyDeep)return _basePropertyDeep;hasRequired_basePropertyDeep=1;var s=_baseGet;function o(F0){return function(L0){return s(L0,F0)}}return _basePropertyDeep=o,_basePropertyDeep}var property_1,hasRequiredProperty;function requireProperty(){if(hasRequiredProperty)return property_1;hasRequiredProperty=1;var s=require_baseProperty(),o=require_basePropertyDeep(),F0=_isKey,L0=_toKey;function B0(q0){return F0(q0)?s(L0(q0)):o(q0)}return property_1=B0,property_1}var _baseIteratee,hasRequired_baseIteratee;function require_baseIteratee(){if(hasRequired_baseIteratee)return _baseIteratee;hasRequired_baseIteratee=1;var s=require_baseMatches(),o=require_baseMatchesProperty(),F0=requireIdentity(),L0=isArray_1,B0=requireProperty();function q0(W0){return typeof W0=="function"?W0:W0==null?F0:typeof W0=="object"?L0(W0)?o(W0[0],W0[1]):s(W0):B0(W0)}return _baseIteratee=q0,_baseIteratee}var filter_1,hasRequiredFilter;function requireFilter(){if(hasRequiredFilter)return filter_1;hasRequiredFilter=1;var s=require_arrayFilter(),o=require_baseFilter(),F0=require_baseIteratee(),L0=isArray_1;function B0(q0,W0){var X0=L0(q0)?s:o;return X0(q0,F0(W0,3))}return filter_1=B0,filter_1}var _baseMap,hasRequired_baseMap;function require_baseMap(){if(hasRequired_baseMap)return _baseMap;hasRequired_baseMap=1;var s=require_baseEach(),o=requireIsArrayLike();function F0(L0,B0){var q0=-1,W0=o(L0)?Array(L0.length):[];return s(L0,function(X0,K0,D_){W0[++q0]=B0(X0,K0,D_)}),W0}return _baseMap=F0,_baseMap}var map_1,hasRequiredMap;function requireMap(){if(hasRequiredMap)return map_1;hasRequiredMap=1;var s=require_arrayMap(),o=require_baseIteratee(),F0=require_baseMap(),L0=isArray_1;function B0(q0,W0){var X0=L0(q0)?s:F0;return X0(q0,o(W0,3))}return map_1=B0,map_1}var choice,hasRequiredChoice;function requireChoice(){return hasRequiredChoice||(hasRequiredChoice=1,choice=class t3t{constructor(o,F0){if(o instanceof t3t||o.type==="separator")return o;typeof o=="string"||typeof o=="number"?(this.name=String(o),this.value=o,this.short=String(o)):Object.assign(this,o,{name:o.name||o.value,value:"value"in o?o.value:o.name,short:o.short||o.name||o.value}),typeof o.disabled=="function"?this.disabled=o.disabled(F0):this.disabled=o.disabled}}),choice}var choices,hasRequiredChoices;function requireChoices(){if(hasRequiredChoices)return choices;hasRequiredChoices=1;const s=require$$2$2,o={filter:requireFilter(),map:requireMap()},F0=separator,L0=requireChoice();return choices=class{constructor(q0,W0){this.choices=q0.map(X0=>X0.type==="separator"?(X0 instanceof F0||(X0=new F0(X0.line)),X0):new L0(X0,W0)),this.realChoices=this.choices.filter(F0.exclude).filter(X0=>!X0.disabled),Object.defineProperty(this,"length",{get(){return this.choices.length},set(X0){this.choices.length=X0}}),Object.defineProperty(this,"realLength",{get(){return this.realChoices.length},set(){throw new Error("Cannot set `realLength` of a Choices collection")}})}getChoice(q0){return s(typeof q0=="number"),this.realChoices[q0]}get(q0){return s(typeof q0=="number"),this.choices[q0]}where(q0){return o.filter(this.realChoices,q0)}pluck(q0){return o.map(this.realChoices,q0)}indexOf(...q0){return this.choices.indexOf(...q0)}forEach(...q0){return this.choices.forEach(...q0)}filter(...q0){return this.choices.filter(...q0)}reduce(...q0){return this.choices.reduce(...q0)}find(q0){return this.choices.find(q0)}push(...q0){const W0=q0.map(X0=>new L0(X0));return this.choices.push(...W0),this.realChoices=this.choices.filter(F0.exclude).filter(X0=>!X0.disabled),this.choices}},choices}var cliWidth={exports:{}},hasRequiredCliWidth;function requireCliWidth(){return hasRequiredCliWidth||(hasRequiredCliWidth=1,function(s,o){var F0={};s.exports=B0;function L0(q0){let W0={defaultWidth:0,output:process.stdout,tty:require$$2$2};return q0?(Object.keys(W0).forEach(function(X0){q0[X0]||(q0[X0]=W0[X0])}),q0):W0}function B0(q0){let W0=L0(q0);if(W0.output.getWindowSize)return W0.output.getWindowSize()[0]||W0.defaultWidth;if(W0.tty.getWindowSize)return W0.tty.getWindowSize()[1]||W0.defaultWidth;if(W0.output.columns)return W0.output.columns;if(F0.CLI_WIDTH){let X0=parseInt(F0.CLI_WIDTH,10);if(!isNaN(X0)&&X0!==0)return X0}return W0.defaultWidth}}(cliWidth)),cliWidth.exports}var stringWidth={exports:{}},ansiRegex,hasRequiredAnsiRegex;function requireAnsiRegex(){return hasRequiredAnsiRegex||(hasRequiredAnsiRegex=1,ansiRegex=({onlyFirst:s=!1}={})=>{const o=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(o,s?void 0:"g")}),ansiRegex}var stripAnsi,hasRequiredStripAnsi;function requireStripAnsi(){if(hasRequiredStripAnsi)return stripAnsi;hasRequiredStripAnsi=1;const s=requireAnsiRegex();return stripAnsi=o=>typeof o=="string"?o.replace(s(),""):o,stripAnsi}var isFullwidthCodePoint={exports:{}},hasRequiredIsFullwidthCodePoint;function requireIsFullwidthCodePoint(){if(hasRequiredIsFullwidthCodePoint)return isFullwidthCodePoint.exports;hasRequiredIsFullwidthCodePoint=1;const s=o=>Number.isNaN(o)?!1:o>=4352&&(o<=4447||o===9001||o===9002||11904<=o&&o<=12871&&o!==12351||12880<=o&&o<=19903||19968<=o&&o<=42182||43360<=o&&o<=43388||44032<=o&&o<=55203||63744<=o&&o<=64255||65040<=o&&o<=65049||65072<=o&&o<=65131||65281<=o&&o<=65376||65504<=o&&o<=65510||110592<=o&&o<=110593||127488<=o&&o<=127569||131072<=o&&o<=262141);return isFullwidthCodePoint.exports=s,isFullwidthCodePoint.exports.default=s,isFullwidthCodePoint.exports}var emojiRegex,hasRequiredEmojiRegex;function requireEmojiRegex(){return hasRequiredEmojiRegex||(hasRequiredEmojiRegex=1,emojiRegex=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}),emojiRegex}var hasRequiredStringWidth;function requireStringWidth(){if(hasRequiredStringWidth)return stringWidth.exports;hasRequiredStringWidth=1;const s=requireStripAnsi(),o=requireIsFullwidthCodePoint(),F0=requireEmojiRegex(),L0=B0=>{if(typeof B0!="string"||B0.length===0||(B0=s(B0),B0.length===0))return 0;B0=B0.replace(F0()," ");let q0=0;for(let W0=0;W0<B0.length;W0++){const X0=B0.codePointAt(W0);X0<=31||X0>=127&&X0<=159||X0>=768&&X0<=879||(X0>65535&&W0++,q0+=o(X0)?2:1)}return q0};return stringWidth.exports=L0,stringWidth.exports.default=L0,stringWidth.exports}var wrapAnsi_1,hasRequiredWrapAnsi;function requireWrapAnsi(){if(hasRequiredWrapAnsi)return wrapAnsi_1;hasRequiredWrapAnsi=1;const s=requireStringWidth(),o=requireStripAnsi(),F0=ansiStylesExports,L0=new Set(["\x1B","›"]),B0=39,q0="\x07",W0="[",X0="]",K0="m",D_=`${X0}8;;`,I_=qv=>`${L0.values().next().value}${W0}${qv}${K0}`,F_=qv=>`${L0.values().next().value}${D_}${qv}${q0}`,R_=qv=>qv.split(" ").map(Lv=>s(Lv)),z_=(qv,Lv,S1)=>{const iv=[...Lv];let Yv=!1,_x=!1,Qv=s(o(qv[qv.length-1]));for(const[Fx,jx]of iv.entries()){const K7=s(jx);if(Qv+K7<=S1?qv[qv.length-1]+=jx:(qv.push(jx),Qv=0),L0.has(jx)&&(Yv=!0,_x=iv.slice(Fx+1).join("").startsWith(D_)),Yv){_x?jx===q0&&(Yv=!1,_x=!1):jx===K0&&(Yv=!1);continue}Qv+=K7,Qv===S1&&Fx<iv.length-1&&(qv.push(""),Qv=0)}!Qv&&qv[qv.length-1].length>0&&qv.length>1&&(qv[qv.length-2]+=qv.pop())},H_=qv=>{const Lv=qv.split(" ");let S1=Lv.length;for(;S1>0&&!(s(Lv[S1-1])>0);)S1--;return S1===Lv.length?qv:Lv.slice(0,S1).join(" ")+Lv.slice(S1).join("")},Oy=(qv,Lv,S1={})=>{if(S1.trim!==!1&&qv.trim()==="")return"";let iv="",Yv,_x;const Qv=R_(qv);let Fx=[""];for(const[K7,g7]of qv.split(" ").entries()){S1.trim!==!1&&(Fx[Fx.length-1]=Fx[Fx.length-1].trimStart());let iT=s(Fx[Fx.length-1]);if(K7!==0&&(iT>=Lv&&(S1.wordWrap===!1||S1.trim===!1)&&(Fx.push(""),iT=0),(iT>0||S1.trim===!1)&&(Fx[Fx.length-1]+=" ",iT++)),S1.hard&&Qv[K7]>Lv){const $7=Lv-iT,F7=1+Math.floor((Qv[K7]-$7-1)/Lv);Math.floor((Qv[K7]-1)/Lv)<F7&&Fx.push(""),z_(Fx,g7,Lv);continue}if(iT+Qv[K7]>Lv&&iT>0&&Qv[K7]>0){if(S1.wordWrap===!1&&iT<Lv){z_(Fx,g7,Lv);continue}Fx.push("")}if(iT+Qv[K7]>Lv&&S1.wordWrap===!1){z_(Fx,g7,Lv);continue}Fx[Fx.length-1]+=g7}S1.trim!==!1&&(Fx=Fx.map(H_));const jx=[...Fx.join(`
5078
+ Calls to async() callback can have unexpected results.`),I_=!0,function(H_,Oy){H_?D_(H_):X0(Oy)})}},Array.prototype.slice.call(F0));I_?isPromise(z_)&&console.warn("Run-async wrapped function (sync) returned a promise but async() callback must be executed to resolve."):isPromise(z_)?(F_=!0,z_.then(X0,D_)):X0(z_),R_=!0});return L0.then(o.bind(null,null),o),L0}};runAsync$2.cb=function(s,o){return runAsync$2(function(){var F0=Array.prototype.slice.call(arguments);return F0.length===s.length-1&&F0.push(this.async()),s.apply(this,F0)},o)};var runAsyncExports=runAsync$3.exports,utils$1={};const{from:from$1,of:of$1}=cjs,runAsync$1=runAsyncExports;utils$1.fetchAsyncQuestionProperty=function(s,o,F0){return typeof s[o]!="function"?of$1(s):from$1(runAsync$1(s[o])(F0).then(L0=>(s[o]=L0,s)))};const _={isPlainObject:isPlainObject_1,get:get_1,set:set_1},{defer,empty,from,of}=cjs,{concatMap,filter,publish,reduce}=operators,runAsync=runAsyncExports,utils=utils$1,Base=baseUI;class PromptUI extends Base{constructor(o,F0){super(F0),this.prompts=o}run(o,F0){_.isPlainObject(F0)?this.answers={...F0}:this.answers={},_.isPlainObject(o)&&(o=Object.values(o).every(B0=>_.isPlainObject(B0)&&B0.name===void 0)?Object.entries(o).map(([B0,q0])=>({name:B0,...q0})):[o]);const L0=Array.isArray(o)?from(o):o;return this.process=L0.pipe(concatMap(this.processQuestion.bind(this)),publish()),this.process.connect(),this.process.pipe(reduce((B0,q0)=>(_.set(B0,q0.name,q0.answer),B0),this.answers)).toPromise(Promise).then(this.onCompletion.bind(this),this.onError.bind(this))}onCompletion(){return this.close(),this.answers}onError(o){return this.close(),Promise.reject(o)}processQuestion(o){return o={...o},defer(()=>of(o).pipe(concatMap(this.setDefaultType.bind(this)),concatMap(this.filterIfRunnable.bind(this)),concatMap(()=>utils.fetchAsyncQuestionProperty(o,"message",this.answers)),concatMap(()=>utils.fetchAsyncQuestionProperty(o,"default",this.answers)),concatMap(()=>utils.fetchAsyncQuestionProperty(o,"choices",this.answers)),concatMap(this.fetchAnswer.bind(this))))}fetchAnswer(o){const F0=this.prompts[o.type];return this.activePrompt=new F0(o,this.rl,this.answers),defer(()=>from(this.activePrompt.run().then(L0=>({name:o.name,answer:L0}))))}setDefaultType(o){return this.prompts[o.type]||(o.type="input"),defer(()=>of(o))}filterIfRunnable(o){if(o.askAnswered!==!0&&_.get(this.answers,o.name)!==void 0||o.when===!1)return empty();if(typeof o.when!="function")return of(o);const{answers:F0}=this;return defer(()=>from(runAsync(o.when)(F0).then(L0=>{if(L0)return o})).pipe(filter(L0=>L0!=null)))}}var prompt=PromptUI,cliCursor={},onetime={exports:{}},mimicFn={exports:{}},hasRequiredMimicFn;function requireMimicFn(){if(hasRequiredMimicFn)return mimicFn.exports;hasRequiredMimicFn=1;const s=(o,F0)=>{for(const L0 of Reflect.ownKeys(F0))Object.defineProperty(o,L0,Object.getOwnPropertyDescriptor(F0,L0));return o};return mimicFn.exports=s,mimicFn.exports.default=s,mimicFn.exports}var hasRequiredOnetime;function requireOnetime(){if(hasRequiredOnetime)return onetime.exports;hasRequiredOnetime=1;const s=requireMimicFn(),o=new WeakMap,F0=(L0,B0={})=>{if(typeof L0!="function")throw new TypeError("Expected a function");let q0,W0=0;const X0=L0.displayName||L0.name||"<anonymous>",K0=function(...D_){if(o.set(K0,++W0),W0===1)q0=L0.apply(this,D_),L0=null;else if(B0.throw===!0)throw new Error(`Function \`${X0}\` can only be called once`);return q0};return s(K0,L0),o.set(K0,W0),K0};return onetime.exports=F0,onetime.exports.default=F0,onetime.exports.callCount=L0=>{if(!o.has(L0))throw new Error(`The given function \`${L0.name}\` is not wrapped by the \`onetime\` package`);return o.get(L0)},onetime.exports}var signalExit={exports:{}},signals={exports:{}},hasRequiredSignals;function requireSignals(){return hasRequiredSignals||(hasRequiredSignals=1,function(s){s.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],process.platform!=="win32"&&s.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),process.platform==="linux"&&s.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}(signals)),signals.exports}var hasRequiredSignalExit;function requireSignalExit(){if(hasRequiredSignalExit)return signalExit.exports;hasRequiredSignalExit=1;var s=commonjsGlobal.process;const o=function(qv){return qv&&typeof qv=="object"&&typeof qv.removeListener=="function"&&typeof qv.emit=="function"&&typeof qv.reallyExit=="function"&&typeof qv.listeners=="function"&&typeof qv.kill=="function"&&typeof qv.pid=="number"&&typeof qv.on=="function"};if(!o(s))signalExit.exports=function(){return function(){}};else{var F0=require$$2$2,L0=requireSignals(),B0=/^win/i.test(s.platform),q0=require$$2$2;typeof q0!="function"&&(q0=q0.EventEmitter);var W0;s.__signal_exit_emitter__?W0=s.__signal_exit_emitter__:(W0=s.__signal_exit_emitter__=new q0,W0.count=0,W0.emitted={}),W0.infinite||(W0.setMaxListeners(1/0),W0.infinite=!0),signalExit.exports=function(qv,Lv){if(!o(commonjsGlobal.process))return function(){};F0.equal(typeof qv,"function","a callback must be provided for exit handler"),I_===!1&&F_();var S1="exit";Lv&&Lv.alwaysLast&&(S1="afterexit");var iv=function(){W0.removeListener(S1,qv),W0.listeners("exit").length===0&&W0.listeners("afterexit").length===0&&X0()};return W0.on(S1,qv),iv};var X0=function(){!I_||!o(commonjsGlobal.process)||(I_=!1,L0.forEach(function(Lv){try{s.removeListener(Lv,D_[Lv])}catch{}}),s.emit=H_,s.reallyExit=R_,W0.count-=1)};signalExit.exports.unload=X0;var K0=function(Lv,S1,iv){W0.emitted[Lv]||(W0.emitted[Lv]=!0,W0.emit(Lv,S1,iv))},D_={};L0.forEach(function(qv){D_[qv]=function(){if(o(commonjsGlobal.process)){var S1=s.listeners(qv);S1.length===W0.count&&(X0(),K0("exit",null,qv),K0("afterexit",null,qv),B0&&qv==="SIGHUP"&&(qv="SIGINT"),s.kill(s.pid,qv))}}}),signalExit.exports.signals=function(){return L0};var I_=!1,F_=function(){I_||!o(commonjsGlobal.process)||(I_=!0,W0.count+=1,L0=L0.filter(function(Lv){try{return s.on(Lv,D_[Lv]),!0}catch{return!1}}),s.emit=Oy,s.reallyExit=z_)};signalExit.exports.load=F_;var R_=s.reallyExit,z_=function(Lv){o(commonjsGlobal.process)&&(s.exitCode=Lv||0,K0("exit",s.exitCode,null),K0("afterexit",s.exitCode,null),R_.call(s,s.exitCode))},H_=s.emit,Oy=function(Lv,S1){if(Lv==="exit"&&o(commonjsGlobal.process)){S1!==void 0&&(s.exitCode=S1);var iv=H_.apply(this,arguments);return K0("exit",s.exitCode,null),K0("afterexit",s.exitCode,null),iv}else return H_.apply(this,arguments)}}return signalExit.exports}var restoreCursor,hasRequiredRestoreCursor;function requireRestoreCursor(){if(hasRequiredRestoreCursor)return restoreCursor;hasRequiredRestoreCursor=1;const s=requireOnetime(),o=requireSignalExit();return restoreCursor=s(()=>{o(()=>{process.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),restoreCursor}var hasRequiredCliCursor;function requireCliCursor(){return hasRequiredCliCursor||(hasRequiredCliCursor=1,function(s){const o=requireRestoreCursor();let F0=!1;s.show=(L0=process.stderr)=>{L0.isTTY&&(F0=!1,L0.write("\x1B[?25h"))},s.hide=(L0=process.stderr)=>{L0.isTTY&&(o(),F0=!0,L0.write("\x1B[?25l"))},s.toggle=(L0,B0)=>{L0!==void 0&&(F0=L0),F0?s.show(B0):s.hide(B0)}}(cliCursor)),cliCursor}var identity_1,hasRequiredIdentity;function requireIdentity(){if(hasRequiredIdentity)return identity_1;hasRequiredIdentity=1;function s(o){return o}return identity_1=s,identity_1}var _apply,hasRequired_apply;function require_apply(){if(hasRequired_apply)return _apply;hasRequired_apply=1;function s(o,F0,L0){switch(L0.length){case 0:return o.call(F0);case 1:return o.call(F0,L0[0]);case 2:return o.call(F0,L0[0],L0[1]);case 3:return o.call(F0,L0[0],L0[1],L0[2])}return o.apply(F0,L0)}return _apply=s,_apply}var _overRest,hasRequired_overRest;function require_overRest(){if(hasRequired_overRest)return _overRest;hasRequired_overRest=1;var s=require_apply(),o=Math.max;function F0(L0,B0,q0){return B0=o(B0===void 0?L0.length-1:B0,0),function(){for(var W0=arguments,X0=-1,K0=o(W0.length-B0,0),D_=Array(K0);++X0<K0;)D_[X0]=W0[B0+X0];X0=-1;for(var I_=Array(B0+1);++X0<B0;)I_[X0]=W0[X0];return I_[B0]=q0(D_),s(L0,this,I_)}}return _overRest=F0,_overRest}var constant_1,hasRequiredConstant;function requireConstant(){if(hasRequiredConstant)return constant_1;hasRequiredConstant=1;function s(o){return function(){return o}}return constant_1=s,constant_1}var _baseSetToString,hasRequired_baseSetToString;function require_baseSetToString(){if(hasRequired_baseSetToString)return _baseSetToString;hasRequired_baseSetToString=1;var s=requireConstant(),o=_defineProperty,F0=requireIdentity(),L0=o?function(B0,q0){return o(B0,"toString",{configurable:!0,enumerable:!1,value:s(q0),writable:!0})}:F0;return _baseSetToString=L0,_baseSetToString}var _shortOut,hasRequired_shortOut;function require_shortOut(){if(hasRequired_shortOut)return _shortOut;hasRequired_shortOut=1;var s=800,o=16,F0=Date.now;function L0(B0){var q0=0,W0=0;return function(){var X0=F0(),K0=o-(X0-W0);if(W0=X0,K0>0){if(++q0>=s)return arguments[0]}else q0=0;return B0.apply(void 0,arguments)}}return _shortOut=L0,_shortOut}var _setToString,hasRequired_setToString;function require_setToString(){if(hasRequired_setToString)return _setToString;hasRequired_setToString=1;var s=require_baseSetToString(),o=require_shortOut(),F0=o(s);return _setToString=F0,_setToString}var _baseRest,hasRequired_baseRest;function require_baseRest(){if(hasRequired_baseRest)return _baseRest;hasRequired_baseRest=1;var s=requireIdentity(),o=require_overRest(),F0=require_setToString();function L0(B0,q0){return F0(o(B0,q0,s),B0+"")}return _baseRest=L0,_baseRest}var isLength_1,hasRequiredIsLength;function requireIsLength(){if(hasRequiredIsLength)return isLength_1;hasRequiredIsLength=1;var s=9007199254740991;function o(F0){return typeof F0=="number"&&F0>-1&&F0%1==0&&F0<=s}return isLength_1=o,isLength_1}var isArrayLike_1,hasRequiredIsArrayLike;function requireIsArrayLike(){if(hasRequiredIsArrayLike)return isArrayLike_1;hasRequiredIsArrayLike=1;var s=requireIsFunction(),o=requireIsLength();function F0(L0){return L0!=null&&o(L0.length)&&!s(L0)}return isArrayLike_1=F0,isArrayLike_1}var _isIterateeCall,hasRequired_isIterateeCall;function require_isIterateeCall(){if(hasRequired_isIterateeCall)return _isIterateeCall;hasRequired_isIterateeCall=1;var s=requireEq(),o=requireIsArrayLike(),F0=_isIndex,L0=isObject_1;function B0(q0,W0,X0){if(!L0(X0))return!1;var K0=typeof W0;return(K0=="number"?o(X0)&&F0(W0,X0.length):K0=="string"&&W0 in X0)?s(X0[W0],q0):!1}return _isIterateeCall=B0,_isIterateeCall}var _baseTimes,hasRequired_baseTimes;function require_baseTimes(){if(hasRequired_baseTimes)return _baseTimes;hasRequired_baseTimes=1;function s(o,F0){for(var L0=-1,B0=Array(o);++L0<o;)B0[L0]=F0(L0);return B0}return _baseTimes=s,_baseTimes}var _baseIsArguments,hasRequired_baseIsArguments;function require_baseIsArguments(){if(hasRequired_baseIsArguments)return _baseIsArguments;hasRequired_baseIsArguments=1;var s=_baseGetTag,o=isObjectLike_1,F0="[object Arguments]";function L0(B0){return o(B0)&&s(B0)==F0}return _baseIsArguments=L0,_baseIsArguments}var isArguments_1,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments_1;hasRequiredIsArguments=1;var s=require_baseIsArguments(),o=isObjectLike_1,F0=Object.prototype,L0=F0.hasOwnProperty,B0=F0.propertyIsEnumerable,q0=s(function(){return arguments}())?s:function(W0){return o(W0)&&L0.call(W0,"callee")&&!B0.call(W0,"callee")};return isArguments_1=q0,isArguments_1}var isBuffer={exports:{}},stubFalse_1,hasRequiredStubFalse;function requireStubFalse(){if(hasRequiredStubFalse)return stubFalse_1;hasRequiredStubFalse=1;function s(){return!1}return stubFalse_1=s,stubFalse_1}isBuffer.exports;var hasRequiredIsBuffer;function requireIsBuffer(){return hasRequiredIsBuffer||(hasRequiredIsBuffer=1,function(s,o){var F0=_root,L0=requireStubFalse(),B0=o&&!o.nodeType&&o,q0=B0&&!0&&s&&!s.nodeType&&s,W0=q0&&q0.exports===B0,X0=W0?F0.Buffer:void 0,K0=X0?X0.isBuffer:void 0,D_=K0||L0;s.exports=D_}(isBuffer,isBuffer.exports)),isBuffer.exports}var _baseIsTypedArray,hasRequired_baseIsTypedArray;function require_baseIsTypedArray(){if(hasRequired_baseIsTypedArray)return _baseIsTypedArray;hasRequired_baseIsTypedArray=1;var s=_baseGetTag,o=requireIsLength(),F0=isObjectLike_1,L0="[object Arguments]",B0="[object Array]",q0="[object Boolean]",W0="[object Date]",X0="[object Error]",K0="[object Function]",D_="[object Map]",I_="[object Number]",F_="[object Object]",R_="[object RegExp]",z_="[object Set]",H_="[object String]",Oy="[object WeakMap]",qv="[object ArrayBuffer]",Lv="[object DataView]",S1="[object Float32Array]",iv="[object Float64Array]",Yv="[object Int8Array]",_x="[object Int16Array]",Qv="[object Int32Array]",Fx="[object Uint8Array]",jx="[object Uint8ClampedArray]",K7="[object Uint16Array]",g7="[object Uint32Array]",iT={};iT[S1]=iT[iv]=iT[Yv]=iT[_x]=iT[Qv]=iT[Fx]=iT[jx]=iT[K7]=iT[g7]=!0,iT[L0]=iT[B0]=iT[qv]=iT[q0]=iT[Lv]=iT[W0]=iT[X0]=iT[K0]=iT[D_]=iT[I_]=iT[F_]=iT[R_]=iT[z_]=iT[H_]=iT[Oy]=!1;function $7(F7){return F0(F7)&&o(F7.length)&&!!iT[s(F7)]}return _baseIsTypedArray=$7,_baseIsTypedArray}var _baseUnary,hasRequired_baseUnary;function require_baseUnary(){if(hasRequired_baseUnary)return _baseUnary;hasRequired_baseUnary=1;function s(o){return function(F0){return o(F0)}}return _baseUnary=s,_baseUnary}var _nodeUtil={exports:{}};_nodeUtil.exports;var hasRequired_nodeUtil;function require_nodeUtil(){return hasRequired_nodeUtil||(hasRequired_nodeUtil=1,function(s,o){var F0=_freeGlobal,L0=o&&!o.nodeType&&o,B0=L0&&!0&&s&&!s.nodeType&&s,q0=B0&&B0.exports===L0,W0=q0&&F0.process,X0=function(){try{var K0=B0&&B0.require&&B0.require("util").types;return K0||W0&&W0.binding&&W0.binding("util")}catch{}}();s.exports=X0}(_nodeUtil,_nodeUtil.exports)),_nodeUtil.exports}var isTypedArray_1,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray_1;hasRequiredIsTypedArray=1;var s=require_baseIsTypedArray(),o=require_baseUnary(),F0=require_nodeUtil(),L0=F0&&F0.isTypedArray,B0=L0?o(L0):s;return isTypedArray_1=B0,isTypedArray_1}var _arrayLikeKeys,hasRequired_arrayLikeKeys;function require_arrayLikeKeys(){if(hasRequired_arrayLikeKeys)return _arrayLikeKeys;hasRequired_arrayLikeKeys=1;var s=require_baseTimes(),o=requireIsArguments(),F0=isArray_1,L0=requireIsBuffer(),B0=_isIndex,q0=requireIsTypedArray(),W0=Object.prototype,X0=W0.hasOwnProperty;function K0(D_,I_){var F_=F0(D_),R_=!F_&&o(D_),z_=!F_&&!R_&&L0(D_),H_=!F_&&!R_&&!z_&&q0(D_),Oy=F_||R_||z_||H_,qv=Oy?s(D_.length,String):[],Lv=qv.length;for(var S1 in D_)(I_||X0.call(D_,S1))&&!(Oy&&(S1=="length"||z_&&(S1=="offset"||S1=="parent")||H_&&(S1=="buffer"||S1=="byteLength"||S1=="byteOffset")||B0(S1,Lv)))&&qv.push(S1);return qv}return _arrayLikeKeys=K0,_arrayLikeKeys}var _isPrototype,hasRequired_isPrototype;function require_isPrototype(){if(hasRequired_isPrototype)return _isPrototype;hasRequired_isPrototype=1;var s=Object.prototype;function o(F0){var L0=F0&&F0.constructor,B0=typeof L0=="function"&&L0.prototype||s;return F0===B0}return _isPrototype=o,_isPrototype}var _nativeKeysIn,hasRequired_nativeKeysIn;function require_nativeKeysIn(){if(hasRequired_nativeKeysIn)return _nativeKeysIn;hasRequired_nativeKeysIn=1;function s(o){var F0=[];if(o!=null)for(var L0 in Object(o))F0.push(L0);return F0}return _nativeKeysIn=s,_nativeKeysIn}var _baseKeysIn,hasRequired_baseKeysIn;function require_baseKeysIn(){if(hasRequired_baseKeysIn)return _baseKeysIn;hasRequired_baseKeysIn=1;var s=isObject_1,o=require_isPrototype(),F0=require_nativeKeysIn(),L0=Object.prototype,B0=L0.hasOwnProperty;function q0(W0){if(!s(W0))return F0(W0);var X0=o(W0),K0=[];for(var D_ in W0)D_=="constructor"&&(X0||!B0.call(W0,D_))||K0.push(D_);return K0}return _baseKeysIn=q0,_baseKeysIn}var keysIn_1,hasRequiredKeysIn;function requireKeysIn(){if(hasRequiredKeysIn)return keysIn_1;hasRequiredKeysIn=1;var s=require_arrayLikeKeys(),o=require_baseKeysIn(),F0=requireIsArrayLike();function L0(B0){return F0(B0)?s(B0,!0):o(B0)}return keysIn_1=L0,keysIn_1}var defaults_1,hasRequiredDefaults$1;function requireDefaults$1(){if(hasRequiredDefaults$1)return defaults_1;hasRequiredDefaults$1=1;var s=require_baseRest(),o=requireEq(),F0=require_isIterateeCall(),L0=requireKeysIn(),B0=Object.prototype,q0=B0.hasOwnProperty,W0=s(function(X0,K0){X0=Object(X0);var D_=-1,I_=K0.length,F_=I_>2?K0[2]:void 0;for(F_&&F0(K0[0],K0[1],F_)&&(I_=1);++D_<I_;)for(var R_=K0[D_],z_=L0(R_),H_=-1,Oy=z_.length;++H_<Oy;){var qv=z_[H_],Lv=X0[qv];(Lv===void 0||o(Lv,B0[qv])&&!q0.call(X0,qv))&&(X0[qv]=R_[qv])}return X0});return defaults_1=W0,defaults_1}var _stackClear,hasRequired_stackClear;function require_stackClear(){if(hasRequired_stackClear)return _stackClear;hasRequired_stackClear=1;var s=require_ListCache();function o(){this.__data__=new s,this.size=0}return _stackClear=o,_stackClear}var _stackDelete,hasRequired_stackDelete;function require_stackDelete(){if(hasRequired_stackDelete)return _stackDelete;hasRequired_stackDelete=1;function s(o){var F0=this.__data__,L0=F0.delete(o);return this.size=F0.size,L0}return _stackDelete=s,_stackDelete}var _stackGet,hasRequired_stackGet;function require_stackGet(){if(hasRequired_stackGet)return _stackGet;hasRequired_stackGet=1;function s(o){return this.__data__.get(o)}return _stackGet=s,_stackGet}var _stackHas,hasRequired_stackHas;function require_stackHas(){if(hasRequired_stackHas)return _stackHas;hasRequired_stackHas=1;function s(o){return this.__data__.has(o)}return _stackHas=s,_stackHas}var _stackSet,hasRequired_stackSet;function require_stackSet(){if(hasRequired_stackSet)return _stackSet;hasRequired_stackSet=1;var s=require_ListCache(),o=require_Map(),F0=require_MapCache(),L0=200;function B0(q0,W0){var X0=this.__data__;if(X0 instanceof s){var K0=X0.__data__;if(!o||K0.length<L0-1)return K0.push([q0,W0]),this.size=++X0.size,this;X0=this.__data__=new F0(K0)}return X0.set(q0,W0),this.size=X0.size,this}return _stackSet=B0,_stackSet}var _Stack,hasRequired_Stack;function require_Stack(){if(hasRequired_Stack)return _Stack;hasRequired_Stack=1;var s=require_ListCache(),o=require_stackClear(),F0=require_stackDelete(),L0=require_stackGet(),B0=require_stackHas(),q0=require_stackSet();function W0(X0){var K0=this.__data__=new s(X0);this.size=K0.size}return W0.prototype.clear=o,W0.prototype.delete=F0,W0.prototype.get=L0,W0.prototype.has=B0,W0.prototype.set=q0,_Stack=W0,_Stack}var _arrayEach,hasRequired_arrayEach;function require_arrayEach(){if(hasRequired_arrayEach)return _arrayEach;hasRequired_arrayEach=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length;++L0<B0&&F0(o[L0],L0,o)!==!1;);return o}return _arrayEach=s,_arrayEach}var _copyObject,hasRequired_copyObject;function require_copyObject(){if(hasRequired_copyObject)return _copyObject;hasRequired_copyObject=1;var s=_assignValue,o=_baseAssignValue;function F0(L0,B0,q0,W0){var X0=!q0;q0||(q0={});for(var K0=-1,D_=B0.length;++K0<D_;){var I_=B0[K0],F_=W0?W0(q0[I_],L0[I_],I_,q0,L0):void 0;F_===void 0&&(F_=L0[I_]),X0?o(q0,I_,F_):s(q0,I_,F_)}return q0}return _copyObject=F0,_copyObject}var _nativeKeys,hasRequired_nativeKeys;function require_nativeKeys(){if(hasRequired_nativeKeys)return _nativeKeys;hasRequired_nativeKeys=1;var s=_overArg,o=s(Object.keys,Object);return _nativeKeys=o,_nativeKeys}var _baseKeys,hasRequired_baseKeys;function require_baseKeys(){if(hasRequired_baseKeys)return _baseKeys;hasRequired_baseKeys=1;var s=require_isPrototype(),o=require_nativeKeys(),F0=Object.prototype,L0=F0.hasOwnProperty;function B0(q0){if(!s(q0))return o(q0);var W0=[];for(var X0 in Object(q0))L0.call(q0,X0)&&X0!="constructor"&&W0.push(X0);return W0}return _baseKeys=B0,_baseKeys}var keys_1,hasRequiredKeys;function requireKeys(){if(hasRequiredKeys)return keys_1;hasRequiredKeys=1;var s=require_arrayLikeKeys(),o=require_baseKeys(),F0=requireIsArrayLike();function L0(B0){return F0(B0)?s(B0):o(B0)}return keys_1=L0,keys_1}var _baseAssign,hasRequired_baseAssign;function require_baseAssign(){if(hasRequired_baseAssign)return _baseAssign;hasRequired_baseAssign=1;var s=require_copyObject(),o=requireKeys();function F0(L0,B0){return L0&&s(B0,o(B0),L0)}return _baseAssign=F0,_baseAssign}var _baseAssignIn,hasRequired_baseAssignIn;function require_baseAssignIn(){if(hasRequired_baseAssignIn)return _baseAssignIn;hasRequired_baseAssignIn=1;var s=require_copyObject(),o=requireKeysIn();function F0(L0,B0){return L0&&s(B0,o(B0),L0)}return _baseAssignIn=F0,_baseAssignIn}var _cloneBuffer={exports:{}};_cloneBuffer.exports;var hasRequired_cloneBuffer;function require_cloneBuffer(){return hasRequired_cloneBuffer||(hasRequired_cloneBuffer=1,function(s,o){var F0=_root,L0=o&&!o.nodeType&&o,B0=L0&&!0&&s&&!s.nodeType&&s,q0=B0&&B0.exports===L0,W0=q0?F0.Buffer:void 0,X0=W0?W0.allocUnsafe:void 0;function K0(D_,I_){if(I_)return D_.slice();var F_=D_.length,R_=X0?X0(F_):new D_.constructor(F_);return D_.copy(R_),R_}s.exports=K0}(_cloneBuffer,_cloneBuffer.exports)),_cloneBuffer.exports}var _copyArray,hasRequired_copyArray;function require_copyArray(){if(hasRequired_copyArray)return _copyArray;hasRequired_copyArray=1;function s(o,F0){var L0=-1,B0=o.length;for(F0||(F0=Array(B0));++L0<B0;)F0[L0]=o[L0];return F0}return _copyArray=s,_copyArray}var _arrayFilter,hasRequired_arrayFilter;function require_arrayFilter(){if(hasRequired_arrayFilter)return _arrayFilter;hasRequired_arrayFilter=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length,q0=0,W0=[];++L0<B0;){var X0=o[L0];F0(X0,L0,o)&&(W0[q0++]=X0)}return W0}return _arrayFilter=s,_arrayFilter}var stubArray_1,hasRequiredStubArray;function requireStubArray(){if(hasRequiredStubArray)return stubArray_1;hasRequiredStubArray=1;function s(){return[]}return stubArray_1=s,stubArray_1}var _getSymbols,hasRequired_getSymbols;function require_getSymbols(){if(hasRequired_getSymbols)return _getSymbols;hasRequired_getSymbols=1;var s=require_arrayFilter(),o=requireStubArray(),F0=Object.prototype,L0=F0.propertyIsEnumerable,B0=Object.getOwnPropertySymbols,q0=B0?function(W0){return W0==null?[]:(W0=Object(W0),s(B0(W0),function(X0){return L0.call(W0,X0)}))}:o;return _getSymbols=q0,_getSymbols}var _copySymbols,hasRequired_copySymbols;function require_copySymbols(){if(hasRequired_copySymbols)return _copySymbols;hasRequired_copySymbols=1;var s=require_copyObject(),o=require_getSymbols();function F0(L0,B0){return s(L0,o(L0),B0)}return _copySymbols=F0,_copySymbols}var _arrayPush,hasRequired_arrayPush;function require_arrayPush(){if(hasRequired_arrayPush)return _arrayPush;hasRequired_arrayPush=1;function s(o,F0){for(var L0=-1,B0=F0.length,q0=o.length;++L0<B0;)o[q0+L0]=F0[L0];return o}return _arrayPush=s,_arrayPush}var _getSymbolsIn,hasRequired_getSymbolsIn;function require_getSymbolsIn(){if(hasRequired_getSymbolsIn)return _getSymbolsIn;hasRequired_getSymbolsIn=1;var s=require_arrayPush(),o=_getPrototype,F0=require_getSymbols(),L0=requireStubArray(),B0=Object.getOwnPropertySymbols,q0=B0?function(W0){for(var X0=[];W0;)s(X0,F0(W0)),W0=o(W0);return X0}:L0;return _getSymbolsIn=q0,_getSymbolsIn}var _copySymbolsIn,hasRequired_copySymbolsIn;function require_copySymbolsIn(){if(hasRequired_copySymbolsIn)return _copySymbolsIn;hasRequired_copySymbolsIn=1;var s=require_copyObject(),o=require_getSymbolsIn();function F0(L0,B0){return s(L0,o(L0),B0)}return _copySymbolsIn=F0,_copySymbolsIn}var _baseGetAllKeys,hasRequired_baseGetAllKeys;function require_baseGetAllKeys(){if(hasRequired_baseGetAllKeys)return _baseGetAllKeys;hasRequired_baseGetAllKeys=1;var s=require_arrayPush(),o=isArray_1;function F0(L0,B0,q0){var W0=B0(L0);return o(L0)?W0:s(W0,q0(L0))}return _baseGetAllKeys=F0,_baseGetAllKeys}var _getAllKeys,hasRequired_getAllKeys;function require_getAllKeys(){if(hasRequired_getAllKeys)return _getAllKeys;hasRequired_getAllKeys=1;var s=require_baseGetAllKeys(),o=require_getSymbols(),F0=requireKeys();function L0(B0){return s(B0,F0,o)}return _getAllKeys=L0,_getAllKeys}var _getAllKeysIn,hasRequired_getAllKeysIn;function require_getAllKeysIn(){if(hasRequired_getAllKeysIn)return _getAllKeysIn;hasRequired_getAllKeysIn=1;var s=require_baseGetAllKeys(),o=require_getSymbolsIn(),F0=requireKeysIn();function L0(B0){return s(B0,F0,o)}return _getAllKeysIn=L0,_getAllKeysIn}var _DataView,hasRequired_DataView;function require_DataView(){if(hasRequired_DataView)return _DataView;hasRequired_DataView=1;var s=_getNative,o=_root,F0=s(o,"DataView");return _DataView=F0,_DataView}var _Promise,hasRequired_Promise;function require_Promise(){if(hasRequired_Promise)return _Promise;hasRequired_Promise=1;var s=_getNative,o=_root,F0=s(o,"Promise");return _Promise=F0,_Promise}var _Set,hasRequired_Set;function require_Set(){if(hasRequired_Set)return _Set;hasRequired_Set=1;var s=_getNative,o=_root,F0=s(o,"Set");return _Set=F0,_Set}var _WeakMap,hasRequired_WeakMap;function require_WeakMap(){if(hasRequired_WeakMap)return _WeakMap;hasRequired_WeakMap=1;var s=_getNative,o=_root,F0=s(o,"WeakMap");return _WeakMap=F0,_WeakMap}var _getTag,hasRequired_getTag;function require_getTag(){if(hasRequired_getTag)return _getTag;hasRequired_getTag=1;var s=require_DataView(),o=require_Map(),F0=require_Promise(),L0=require_Set(),B0=require_WeakMap(),q0=_baseGetTag,W0=require_toSource(),X0="[object Map]",K0="[object Object]",D_="[object Promise]",I_="[object Set]",F_="[object WeakMap]",R_="[object DataView]",z_=W0(s),H_=W0(o),Oy=W0(F0),qv=W0(L0),Lv=W0(B0),S1=q0;return(s&&S1(new s(new ArrayBuffer(1)))!=R_||o&&S1(new o)!=X0||F0&&S1(F0.resolve())!=D_||L0&&S1(new L0)!=I_||B0&&S1(new B0)!=F_)&&(S1=function(iv){var Yv=q0(iv),_x=Yv==K0?iv.constructor:void 0,Qv=_x?W0(_x):"";if(Qv)switch(Qv){case z_:return R_;case H_:return X0;case Oy:return D_;case qv:return I_;case Lv:return F_}return Yv}),_getTag=S1,_getTag}var _initCloneArray,hasRequired_initCloneArray;function require_initCloneArray(){if(hasRequired_initCloneArray)return _initCloneArray;hasRequired_initCloneArray=1;var s=Object.prototype,o=s.hasOwnProperty;function F0(L0){var B0=L0.length,q0=new L0.constructor(B0);return B0&&typeof L0[0]=="string"&&o.call(L0,"index")&&(q0.index=L0.index,q0.input=L0.input),q0}return _initCloneArray=F0,_initCloneArray}var _Uint8Array,hasRequired_Uint8Array;function require_Uint8Array(){if(hasRequired_Uint8Array)return _Uint8Array;hasRequired_Uint8Array=1;var s=_root,o=s.Uint8Array;return _Uint8Array=o,_Uint8Array}var _cloneArrayBuffer,hasRequired_cloneArrayBuffer;function require_cloneArrayBuffer(){if(hasRequired_cloneArrayBuffer)return _cloneArrayBuffer;hasRequired_cloneArrayBuffer=1;var s=require_Uint8Array();function o(F0){var L0=new F0.constructor(F0.byteLength);return new s(L0).set(new s(F0)),L0}return _cloneArrayBuffer=o,_cloneArrayBuffer}var _cloneDataView,hasRequired_cloneDataView;function require_cloneDataView(){if(hasRequired_cloneDataView)return _cloneDataView;hasRequired_cloneDataView=1;var s=require_cloneArrayBuffer();function o(F0,L0){var B0=L0?s(F0.buffer):F0.buffer;return new F0.constructor(B0,F0.byteOffset,F0.byteLength)}return _cloneDataView=o,_cloneDataView}var _cloneRegExp,hasRequired_cloneRegExp;function require_cloneRegExp(){if(hasRequired_cloneRegExp)return _cloneRegExp;hasRequired_cloneRegExp=1;var s=/\w*$/;function o(F0){var L0=new F0.constructor(F0.source,s.exec(F0));return L0.lastIndex=F0.lastIndex,L0}return _cloneRegExp=o,_cloneRegExp}var _cloneSymbol,hasRequired_cloneSymbol;function require_cloneSymbol(){if(hasRequired_cloneSymbol)return _cloneSymbol;hasRequired_cloneSymbol=1;var s=_Symbol,o=s?s.prototype:void 0,F0=o?o.valueOf:void 0;function L0(B0){return F0?Object(F0.call(B0)):{}}return _cloneSymbol=L0,_cloneSymbol}var _cloneTypedArray,hasRequired_cloneTypedArray;function require_cloneTypedArray(){if(hasRequired_cloneTypedArray)return _cloneTypedArray;hasRequired_cloneTypedArray=1;var s=require_cloneArrayBuffer();function o(F0,L0){var B0=L0?s(F0.buffer):F0.buffer;return new F0.constructor(B0,F0.byteOffset,F0.length)}return _cloneTypedArray=o,_cloneTypedArray}var _initCloneByTag,hasRequired_initCloneByTag;function require_initCloneByTag(){if(hasRequired_initCloneByTag)return _initCloneByTag;hasRequired_initCloneByTag=1;var s=require_cloneArrayBuffer(),o=require_cloneDataView(),F0=require_cloneRegExp(),L0=require_cloneSymbol(),B0=require_cloneTypedArray(),q0="[object Boolean]",W0="[object Date]",X0="[object Map]",K0="[object Number]",D_="[object RegExp]",I_="[object Set]",F_="[object String]",R_="[object Symbol]",z_="[object ArrayBuffer]",H_="[object DataView]",Oy="[object Float32Array]",qv="[object Float64Array]",Lv="[object Int8Array]",S1="[object Int16Array]",iv="[object Int32Array]",Yv="[object Uint8Array]",_x="[object Uint8ClampedArray]",Qv="[object Uint16Array]",Fx="[object Uint32Array]";function jx(K7,g7,iT){var $7=K7.constructor;switch(g7){case z_:return s(K7);case q0:case W0:return new $7(+K7);case H_:return o(K7,iT);case Oy:case qv:case Lv:case S1:case iv:case Yv:case _x:case Qv:case Fx:return B0(K7,iT);case X0:return new $7;case K0:case F_:return new $7(K7);case D_:return F0(K7);case I_:return new $7;case R_:return L0(K7)}}return _initCloneByTag=jx,_initCloneByTag}var _baseCreate,hasRequired_baseCreate;function require_baseCreate(){if(hasRequired_baseCreate)return _baseCreate;hasRequired_baseCreate=1;var s=isObject_1,o=Object.create,F0=function(){function L0(){}return function(B0){if(!s(B0))return{};if(o)return o(B0);L0.prototype=B0;var q0=new L0;return L0.prototype=void 0,q0}}();return _baseCreate=F0,_baseCreate}var _initCloneObject,hasRequired_initCloneObject;function require_initCloneObject(){if(hasRequired_initCloneObject)return _initCloneObject;hasRequired_initCloneObject=1;var s=require_baseCreate(),o=_getPrototype,F0=require_isPrototype();function L0(B0){return typeof B0.constructor=="function"&&!F0(B0)?s(o(B0)):{}}return _initCloneObject=L0,_initCloneObject}var _baseIsMap,hasRequired_baseIsMap;function require_baseIsMap(){if(hasRequired_baseIsMap)return _baseIsMap;hasRequired_baseIsMap=1;var s=require_getTag(),o=isObjectLike_1,F0="[object Map]";function L0(B0){return o(B0)&&s(B0)==F0}return _baseIsMap=L0,_baseIsMap}var isMap_1,hasRequiredIsMap;function requireIsMap(){if(hasRequiredIsMap)return isMap_1;hasRequiredIsMap=1;var s=require_baseIsMap(),o=require_baseUnary(),F0=require_nodeUtil(),L0=F0&&F0.isMap,B0=L0?o(L0):s;return isMap_1=B0,isMap_1}var _baseIsSet,hasRequired_baseIsSet;function require_baseIsSet(){if(hasRequired_baseIsSet)return _baseIsSet;hasRequired_baseIsSet=1;var s=require_getTag(),o=isObjectLike_1,F0="[object Set]";function L0(B0){return o(B0)&&s(B0)==F0}return _baseIsSet=L0,_baseIsSet}var isSet_1,hasRequiredIsSet;function requireIsSet(){if(hasRequiredIsSet)return isSet_1;hasRequiredIsSet=1;var s=require_baseIsSet(),o=require_baseUnary(),F0=require_nodeUtil(),L0=F0&&F0.isSet,B0=L0?o(L0):s;return isSet_1=B0,isSet_1}var _baseClone,hasRequired_baseClone;function require_baseClone(){if(hasRequired_baseClone)return _baseClone;hasRequired_baseClone=1;var s=require_Stack(),o=require_arrayEach(),F0=_assignValue,L0=require_baseAssign(),B0=require_baseAssignIn(),q0=require_cloneBuffer(),W0=require_copyArray(),X0=require_copySymbols(),K0=require_copySymbolsIn(),D_=require_getAllKeys(),I_=require_getAllKeysIn(),F_=require_getTag(),R_=require_initCloneArray(),z_=require_initCloneByTag(),H_=require_initCloneObject(),Oy=isArray_1,qv=requireIsBuffer(),Lv=requireIsMap(),S1=isObject_1,iv=requireIsSet(),Yv=requireKeys(),_x=requireKeysIn(),Qv=1,Fx=2,jx=4,K7="[object Arguments]",g7="[object Array]",iT="[object Boolean]",$7="[object Date]",F7="[object Error]",aE="[object Function]",gS="[object GeneratorFunction]",eS="[object Map]",lT="[object Number]",UT="[object Object]",pT="[object RegExp]",D7="[object Set]",WT="[object String]",A7="[object Symbol]",U7="[object WeakMap]",OS="[object ArrayBuffer]",wE="[object DataView]",xT="[object Float32Array]",mS="[object Float64Array]",bE="[object Int8Array]",R7="[object Int16Array]",W3="[object Int32Array]",bT="[object Uint8Array]",Z7="[object Uint8ClampedArray]",JS="[object Uint16Array]",XE="[object Uint32Array]",rS={};rS[K7]=rS[g7]=rS[OS]=rS[wE]=rS[iT]=rS[$7]=rS[xT]=rS[mS]=rS[bE]=rS[R7]=rS[W3]=rS[eS]=rS[lT]=rS[UT]=rS[pT]=rS[D7]=rS[WT]=rS[A7]=rS[bT]=rS[Z7]=rS[JS]=rS[XE]=!0,rS[F7]=rS[aE]=rS[U7]=!1;function OT(T7,E7,VT,kS,_T,LS){var hE,yS=E7&Qv,BD=E7&Fx,wT=E7&jx;if(VT&&(hE=_T?VT(T7,kS,_T,LS):VT(T7)),hE!==void 0)return hE;if(!S1(T7))return T7;var dT=Oy(T7);if(dT){if(hE=R_(T7),!yS)return W0(T7,hE)}else{var RT=F_(T7),KS=RT==aE||RT==gS;if(qv(T7))return q0(T7,yS);if(RT==UT||RT==K7||KS&&!_T){if(hE=BD||KS?{}:H_(T7),!yS)return BD?K0(T7,B0(hE,T7)):X0(T7,L0(hE,T7))}else{if(!rS[RT])return _T?T7:{};hE=z_(T7,RT,yS)}}LS||(LS=new s);var sE=LS.get(T7);if(sE)return sE;LS.set(T7,hE),iv(T7)?T7.forEach(function(uE){hE.add(OT(uE,E7,VT,uE,T7,LS))}):Lv(T7)&&T7.forEach(function(uE,_C){hE.set(_C,OT(uE,E7,VT,_C,T7,LS))});var B3=wT?BD?I_:D_:BD?_x:Yv,yC=dT?void 0:B3(T7);return o(yC||T7,function(uE,_C){yC&&(_C=uE,uE=T7[_C]),F0(hE,_C,OT(uE,E7,VT,_C,T7,LS))}),hE}return _baseClone=OT,_baseClone}var clone_1,hasRequiredClone$1;function requireClone$1(){if(hasRequiredClone$1)return clone_1;hasRequiredClone$1=1;var s=require_baseClone(),o=4;function F0(L0){return s(L0,o)}return clone_1=F0,clone_1}var _createBaseFor,hasRequired_createBaseFor;function require_createBaseFor(){if(hasRequired_createBaseFor)return _createBaseFor;hasRequired_createBaseFor=1;function s(o){return function(F0,L0,B0){for(var q0=-1,W0=Object(F0),X0=B0(F0),K0=X0.length;K0--;){var D_=X0[o?K0:++q0];if(L0(W0[D_],D_,W0)===!1)break}return F0}}return _createBaseFor=s,_createBaseFor}var _baseFor,hasRequired_baseFor;function require_baseFor(){if(hasRequired_baseFor)return _baseFor;hasRequired_baseFor=1;var s=require_createBaseFor(),o=s();return _baseFor=o,_baseFor}var _baseForOwn,hasRequired_baseForOwn;function require_baseForOwn(){if(hasRequired_baseForOwn)return _baseForOwn;hasRequired_baseForOwn=1;var s=require_baseFor(),o=requireKeys();function F0(L0,B0){return L0&&s(L0,B0,o)}return _baseForOwn=F0,_baseForOwn}var _createBaseEach,hasRequired_createBaseEach;function require_createBaseEach(){if(hasRequired_createBaseEach)return _createBaseEach;hasRequired_createBaseEach=1;var s=requireIsArrayLike();function o(F0,L0){return function(B0,q0){if(B0==null)return B0;if(!s(B0))return F0(B0,q0);for(var W0=B0.length,X0=L0?W0:-1,K0=Object(B0);(L0?X0--:++X0<W0)&&q0(K0[X0],X0,K0)!==!1;);return B0}}return _createBaseEach=o,_createBaseEach}var _baseEach,hasRequired_baseEach;function require_baseEach(){if(hasRequired_baseEach)return _baseEach;hasRequired_baseEach=1;var s=require_baseForOwn(),o=require_createBaseEach(),F0=o(s);return _baseEach=F0,_baseEach}var _baseFilter,hasRequired_baseFilter;function require_baseFilter(){if(hasRequired_baseFilter)return _baseFilter;hasRequired_baseFilter=1;var s=require_baseEach();function o(F0,L0){var B0=[];return s(F0,function(q0,W0,X0){L0(q0,W0,X0)&&B0.push(q0)}),B0}return _baseFilter=o,_baseFilter}var _setCacheAdd,hasRequired_setCacheAdd;function require_setCacheAdd(){if(hasRequired_setCacheAdd)return _setCacheAdd;hasRequired_setCacheAdd=1;var s="__lodash_hash_undefined__";function o(F0){return this.__data__.set(F0,s),this}return _setCacheAdd=o,_setCacheAdd}var _setCacheHas,hasRequired_setCacheHas;function require_setCacheHas(){if(hasRequired_setCacheHas)return _setCacheHas;hasRequired_setCacheHas=1;function s(o){return this.__data__.has(o)}return _setCacheHas=s,_setCacheHas}var _SetCache,hasRequired_SetCache;function require_SetCache(){if(hasRequired_SetCache)return _SetCache;hasRequired_SetCache=1;var s=require_MapCache(),o=require_setCacheAdd(),F0=require_setCacheHas();function L0(B0){var q0=-1,W0=B0==null?0:B0.length;for(this.__data__=new s;++q0<W0;)this.add(B0[q0])}return L0.prototype.add=L0.prototype.push=o,L0.prototype.has=F0,_SetCache=L0,_SetCache}var _arraySome,hasRequired_arraySome;function require_arraySome(){if(hasRequired_arraySome)return _arraySome;hasRequired_arraySome=1;function s(o,F0){for(var L0=-1,B0=o==null?0:o.length;++L0<B0;)if(F0(o[L0],L0,o))return!0;return!1}return _arraySome=s,_arraySome}var _cacheHas,hasRequired_cacheHas;function require_cacheHas(){if(hasRequired_cacheHas)return _cacheHas;hasRequired_cacheHas=1;function s(o,F0){return o.has(F0)}return _cacheHas=s,_cacheHas}var _equalArrays,hasRequired_equalArrays;function require_equalArrays(){if(hasRequired_equalArrays)return _equalArrays;hasRequired_equalArrays=1;var s=require_SetCache(),o=require_arraySome(),F0=require_cacheHas(),L0=1,B0=2;function q0(W0,X0,K0,D_,I_,F_){var R_=K0&L0,z_=W0.length,H_=X0.length;if(z_!=H_&&!(R_&&H_>z_))return!1;var Oy=F_.get(W0),qv=F_.get(X0);if(Oy&&qv)return Oy==X0&&qv==W0;var Lv=-1,S1=!0,iv=K0&B0?new s:void 0;for(F_.set(W0,X0),F_.set(X0,W0);++Lv<z_;){var Yv=W0[Lv],_x=X0[Lv];if(D_)var Qv=R_?D_(_x,Yv,Lv,X0,W0,F_):D_(Yv,_x,Lv,W0,X0,F_);if(Qv!==void 0){if(Qv)continue;S1=!1;break}if(iv){if(!o(X0,function(Fx,jx){if(!F0(iv,jx)&&(Yv===Fx||I_(Yv,Fx,K0,D_,F_)))return iv.push(jx)})){S1=!1;break}}else if(!(Yv===_x||I_(Yv,_x,K0,D_,F_))){S1=!1;break}}return F_.delete(W0),F_.delete(X0),S1}return _equalArrays=q0,_equalArrays}var _mapToArray,hasRequired_mapToArray;function require_mapToArray(){if(hasRequired_mapToArray)return _mapToArray;hasRequired_mapToArray=1;function s(o){var F0=-1,L0=Array(o.size);return o.forEach(function(B0,q0){L0[++F0]=[q0,B0]}),L0}return _mapToArray=s,_mapToArray}var _setToArray,hasRequired_setToArray;function require_setToArray(){if(hasRequired_setToArray)return _setToArray;hasRequired_setToArray=1;function s(o){var F0=-1,L0=Array(o.size);return o.forEach(function(B0){L0[++F0]=B0}),L0}return _setToArray=s,_setToArray}var _equalByTag,hasRequired_equalByTag;function require_equalByTag(){if(hasRequired_equalByTag)return _equalByTag;hasRequired_equalByTag=1;var s=_Symbol,o=require_Uint8Array(),F0=requireEq(),L0=require_equalArrays(),B0=require_mapToArray(),q0=require_setToArray(),W0=1,X0=2,K0="[object Boolean]",D_="[object Date]",I_="[object Error]",F_="[object Map]",R_="[object Number]",z_="[object RegExp]",H_="[object Set]",Oy="[object String]",qv="[object Symbol]",Lv="[object ArrayBuffer]",S1="[object DataView]",iv=s?s.prototype:void 0,Yv=iv?iv.valueOf:void 0;function _x(Qv,Fx,jx,K7,g7,iT,$7){switch(jx){case S1:if(Qv.byteLength!=Fx.byteLength||Qv.byteOffset!=Fx.byteOffset)return!1;Qv=Qv.buffer,Fx=Fx.buffer;case Lv:return!(Qv.byteLength!=Fx.byteLength||!iT(new o(Qv),new o(Fx)));case K0:case D_:case R_:return F0(+Qv,+Fx);case I_:return Qv.name==Fx.name&&Qv.message==Fx.message;case z_:case Oy:return Qv==Fx+"";case F_:var F7=B0;case H_:var aE=K7&W0;if(F7||(F7=q0),Qv.size!=Fx.size&&!aE)return!1;var gS=$7.get(Qv);if(gS)return gS==Fx;K7|=X0,$7.set(Qv,Fx);var eS=L0(F7(Qv),F7(Fx),K7,g7,iT,$7);return $7.delete(Qv),eS;case qv:if(Yv)return Yv.call(Qv)==Yv.call(Fx)}return!1}return _equalByTag=_x,_equalByTag}var _equalObjects,hasRequired_equalObjects;function require_equalObjects(){if(hasRequired_equalObjects)return _equalObjects;hasRequired_equalObjects=1;var s=require_getAllKeys(),o=1,F0=Object.prototype,L0=F0.hasOwnProperty;function B0(q0,W0,X0,K0,D_,I_){var F_=X0&o,R_=s(q0),z_=R_.length,H_=s(W0),Oy=H_.length;if(z_!=Oy&&!F_)return!1;for(var qv=z_;qv--;){var Lv=R_[qv];if(!(F_?Lv in W0:L0.call(W0,Lv)))return!1}var S1=I_.get(q0),iv=I_.get(W0);if(S1&&iv)return S1==W0&&iv==q0;var Yv=!0;I_.set(q0,W0),I_.set(W0,q0);for(var _x=F_;++qv<z_;){Lv=R_[qv];var Qv=q0[Lv],Fx=W0[Lv];if(K0)var jx=F_?K0(Fx,Qv,Lv,W0,q0,I_):K0(Qv,Fx,Lv,q0,W0,I_);if(!(jx===void 0?Qv===Fx||D_(Qv,Fx,X0,K0,I_):jx)){Yv=!1;break}_x||(_x=Lv=="constructor")}if(Yv&&!_x){var K7=q0.constructor,g7=W0.constructor;K7!=g7&&"constructor"in q0&&"constructor"in W0&&!(typeof K7=="function"&&K7 instanceof K7&&typeof g7=="function"&&g7 instanceof g7)&&(Yv=!1)}return I_.delete(q0),I_.delete(W0),Yv}return _equalObjects=B0,_equalObjects}var _baseIsEqualDeep,hasRequired_baseIsEqualDeep;function require_baseIsEqualDeep(){if(hasRequired_baseIsEqualDeep)return _baseIsEqualDeep;hasRequired_baseIsEqualDeep=1;var s=require_Stack(),o=require_equalArrays(),F0=require_equalByTag(),L0=require_equalObjects(),B0=require_getTag(),q0=isArray_1,W0=requireIsBuffer(),X0=requireIsTypedArray(),K0=1,D_="[object Arguments]",I_="[object Array]",F_="[object Object]",R_=Object.prototype,z_=R_.hasOwnProperty;function H_(Oy,qv,Lv,S1,iv,Yv){var _x=q0(Oy),Qv=q0(qv),Fx=_x?I_:B0(Oy),jx=Qv?I_:B0(qv);Fx=Fx==D_?F_:Fx,jx=jx==D_?F_:jx;var K7=Fx==F_,g7=jx==F_,iT=Fx==jx;if(iT&&W0(Oy)){if(!W0(qv))return!1;_x=!0,K7=!1}if(iT&&!K7)return Yv||(Yv=new s),_x||X0(Oy)?o(Oy,qv,Lv,S1,iv,Yv):F0(Oy,qv,Fx,Lv,S1,iv,Yv);if(!(Lv&K0)){var $7=K7&&z_.call(Oy,"__wrapped__"),F7=g7&&z_.call(qv,"__wrapped__");if($7||F7){var aE=$7?Oy.value():Oy,gS=F7?qv.value():qv;return Yv||(Yv=new s),iv(aE,gS,Lv,S1,Yv)}}return iT?(Yv||(Yv=new s),L0(Oy,qv,Lv,S1,iv,Yv)):!1}return _baseIsEqualDeep=H_,_baseIsEqualDeep}var _baseIsEqual,hasRequired_baseIsEqual;function require_baseIsEqual(){if(hasRequired_baseIsEqual)return _baseIsEqual;hasRequired_baseIsEqual=1;var s=require_baseIsEqualDeep(),o=isObjectLike_1;function F0(L0,B0,q0,W0,X0){return L0===B0?!0:L0==null||B0==null||!o(L0)&&!o(B0)?L0!==L0&&B0!==B0:s(L0,B0,q0,W0,F0,X0)}return _baseIsEqual=F0,_baseIsEqual}var _baseIsMatch,hasRequired_baseIsMatch;function require_baseIsMatch(){if(hasRequired_baseIsMatch)return _baseIsMatch;hasRequired_baseIsMatch=1;var s=require_Stack(),o=require_baseIsEqual(),F0=1,L0=2;function B0(q0,W0,X0,K0){var D_=X0.length,I_=D_,F_=!K0;if(q0==null)return!I_;for(q0=Object(q0);D_--;){var R_=X0[D_];if(F_&&R_[2]?R_[1]!==q0[R_[0]]:!(R_[0]in q0))return!1}for(;++D_<I_;){R_=X0[D_];var z_=R_[0],H_=q0[z_],Oy=R_[1];if(F_&&R_[2]){if(H_===void 0&&!(z_ in q0))return!1}else{var qv=new s;if(K0)var Lv=K0(H_,Oy,z_,q0,W0,qv);if(!(Lv===void 0?o(Oy,H_,F0|L0,K0,qv):Lv))return!1}}return!0}return _baseIsMatch=B0,_baseIsMatch}var _isStrictComparable,hasRequired_isStrictComparable;function require_isStrictComparable(){if(hasRequired_isStrictComparable)return _isStrictComparable;hasRequired_isStrictComparable=1;var s=isObject_1;function o(F0){return F0===F0&&!s(F0)}return _isStrictComparable=o,_isStrictComparable}var _getMatchData,hasRequired_getMatchData;function require_getMatchData(){if(hasRequired_getMatchData)return _getMatchData;hasRequired_getMatchData=1;var s=require_isStrictComparable(),o=requireKeys();function F0(L0){for(var B0=o(L0),q0=B0.length;q0--;){var W0=B0[q0],X0=L0[W0];B0[q0]=[W0,X0,s(X0)]}return B0}return _getMatchData=F0,_getMatchData}var _matchesStrictComparable,hasRequired_matchesStrictComparable;function require_matchesStrictComparable(){if(hasRequired_matchesStrictComparable)return _matchesStrictComparable;hasRequired_matchesStrictComparable=1;function s(o,F0){return function(L0){return L0==null?!1:L0[o]===F0&&(F0!==void 0||o in Object(L0))}}return _matchesStrictComparable=s,_matchesStrictComparable}var _baseMatches,hasRequired_baseMatches;function require_baseMatches(){if(hasRequired_baseMatches)return _baseMatches;hasRequired_baseMatches=1;var s=require_baseIsMatch(),o=require_getMatchData(),F0=require_matchesStrictComparable();function L0(B0){var q0=o(B0);return q0.length==1&&q0[0][2]?F0(q0[0][0],q0[0][1]):function(W0){return W0===B0||s(W0,B0,q0)}}return _baseMatches=L0,_baseMatches}var _baseHasIn,hasRequired_baseHasIn;function require_baseHasIn(){if(hasRequired_baseHasIn)return _baseHasIn;hasRequired_baseHasIn=1;function s(o,F0){return o!=null&&F0 in Object(o)}return _baseHasIn=s,_baseHasIn}var _hasPath,hasRequired_hasPath;function require_hasPath(){if(hasRequired_hasPath)return _hasPath;hasRequired_hasPath=1;var s=_castPath,o=requireIsArguments(),F0=isArray_1,L0=_isIndex,B0=requireIsLength(),q0=_toKey;function W0(X0,K0,D_){K0=s(K0,X0);for(var I_=-1,F_=K0.length,R_=!1;++I_<F_;){var z_=q0(K0[I_]);if(!(R_=X0!=null&&D_(X0,z_)))break;X0=X0[z_]}return R_||++I_!=F_?R_:(F_=X0==null?0:X0.length,!!F_&&B0(F_)&&L0(z_,F_)&&(F0(X0)||o(X0)))}return _hasPath=W0,_hasPath}var hasIn_1,hasRequiredHasIn;function requireHasIn(){if(hasRequiredHasIn)return hasIn_1;hasRequiredHasIn=1;var s=require_baseHasIn(),o=require_hasPath();function F0(L0,B0){return L0!=null&&o(L0,B0,s)}return hasIn_1=F0,hasIn_1}var _baseMatchesProperty,hasRequired_baseMatchesProperty;function require_baseMatchesProperty(){if(hasRequired_baseMatchesProperty)return _baseMatchesProperty;hasRequired_baseMatchesProperty=1;var s=require_baseIsEqual(),o=get_1,F0=requireHasIn(),L0=_isKey,B0=require_isStrictComparable(),q0=require_matchesStrictComparable(),W0=_toKey,X0=1,K0=2;function D_(I_,F_){return L0(I_)&&B0(F_)?q0(W0(I_),F_):function(R_){var z_=o(R_,I_);return z_===void 0&&z_===F_?F0(R_,I_):s(F_,z_,X0|K0)}}return _baseMatchesProperty=D_,_baseMatchesProperty}var _baseProperty,hasRequired_baseProperty;function require_baseProperty(){if(hasRequired_baseProperty)return _baseProperty;hasRequired_baseProperty=1;function s(o){return function(F0){return F0==null?void 0:F0[o]}}return _baseProperty=s,_baseProperty}var _basePropertyDeep,hasRequired_basePropertyDeep;function require_basePropertyDeep(){if(hasRequired_basePropertyDeep)return _basePropertyDeep;hasRequired_basePropertyDeep=1;var s=_baseGet;function o(F0){return function(L0){return s(L0,F0)}}return _basePropertyDeep=o,_basePropertyDeep}var property_1,hasRequiredProperty;function requireProperty(){if(hasRequiredProperty)return property_1;hasRequiredProperty=1;var s=require_baseProperty(),o=require_basePropertyDeep(),F0=_isKey,L0=_toKey;function B0(q0){return F0(q0)?s(L0(q0)):o(q0)}return property_1=B0,property_1}var _baseIteratee,hasRequired_baseIteratee;function require_baseIteratee(){if(hasRequired_baseIteratee)return _baseIteratee;hasRequired_baseIteratee=1;var s=require_baseMatches(),o=require_baseMatchesProperty(),F0=requireIdentity(),L0=isArray_1,B0=requireProperty();function q0(W0){return typeof W0=="function"?W0:W0==null?F0:typeof W0=="object"?L0(W0)?o(W0[0],W0[1]):s(W0):B0(W0)}return _baseIteratee=q0,_baseIteratee}var filter_1,hasRequiredFilter;function requireFilter(){if(hasRequiredFilter)return filter_1;hasRequiredFilter=1;var s=require_arrayFilter(),o=require_baseFilter(),F0=require_baseIteratee(),L0=isArray_1;function B0(q0,W0){var X0=L0(q0)?s:o;return X0(q0,F0(W0,3))}return filter_1=B0,filter_1}var _baseMap,hasRequired_baseMap;function require_baseMap(){if(hasRequired_baseMap)return _baseMap;hasRequired_baseMap=1;var s=require_baseEach(),o=requireIsArrayLike();function F0(L0,B0){var q0=-1,W0=o(L0)?Array(L0.length):[];return s(L0,function(X0,K0,D_){W0[++q0]=B0(X0,K0,D_)}),W0}return _baseMap=F0,_baseMap}var map_1,hasRequiredMap;function requireMap(){if(hasRequiredMap)return map_1;hasRequiredMap=1;var s=require_arrayMap(),o=require_baseIteratee(),F0=require_baseMap(),L0=isArray_1;function B0(q0,W0){var X0=L0(q0)?s:F0;return X0(q0,o(W0,3))}return map_1=B0,map_1}var choice,hasRequiredChoice;function requireChoice(){return hasRequiredChoice||(hasRequiredChoice=1,choice=class t3t{constructor(o,F0){if(o instanceof t3t||o.type==="separator")return o;typeof o=="string"||typeof o=="number"?(this.name=String(o),this.value=o,this.short=String(o)):Object.assign(this,o,{name:o.name||o.value,value:"value"in o?o.value:o.name,short:o.short||o.name||o.value}),typeof o.disabled=="function"?this.disabled=o.disabled(F0):this.disabled=o.disabled}}),choice}var choices,hasRequiredChoices;function requireChoices(){if(hasRequiredChoices)return choices;hasRequiredChoices=1;const s=require$$2$2,o={filter:requireFilter(),map:requireMap()},F0=separator,L0=requireChoice();return choices=class{constructor(q0,W0){this.choices=q0.map(X0=>X0.type==="separator"?(X0 instanceof F0||(X0=new F0(X0.line)),X0):new L0(X0,W0)),this.realChoices=this.choices.filter(F0.exclude).filter(X0=>!X0.disabled),Object.defineProperty(this,"length",{get(){return this.choices.length},set(X0){this.choices.length=X0}}),Object.defineProperty(this,"realLength",{get(){return this.realChoices.length},set(){throw new Error("Cannot set `realLength` of a Choices collection")}})}getChoice(q0){return s(typeof q0=="number"),this.realChoices[q0]}get(q0){return s(typeof q0=="number"),this.choices[q0]}where(q0){return o.filter(this.realChoices,q0)}pluck(q0){return o.map(this.realChoices,q0)}indexOf(...q0){return this.choices.indexOf(...q0)}forEach(...q0){return this.choices.forEach(...q0)}filter(...q0){return this.choices.filter(...q0)}reduce(...q0){return this.choices.reduce(...q0)}find(q0){return this.choices.find(q0)}push(...q0){const W0=q0.map(X0=>new L0(X0));return this.choices.push(...W0),this.realChoices=this.choices.filter(F0.exclude).filter(X0=>!X0.disabled),this.choices}},choices}var cliWidth={exports:{}},hasRequiredCliWidth;function requireCliWidth(){return hasRequiredCliWidth||(hasRequiredCliWidth=1,function(s,o){var F0={};s.exports=B0;function L0(q0){let W0={defaultWidth:0,output:process.stdout,tty:require$$2$2};return q0?(Object.keys(W0).forEach(function(X0){q0[X0]||(q0[X0]=W0[X0])}),q0):W0}function B0(q0){let W0=L0(q0);if(W0.output.getWindowSize)return W0.output.getWindowSize()[0]||W0.defaultWidth;if(W0.tty.getWindowSize)return W0.tty.getWindowSize()[1]||W0.defaultWidth;if(W0.output.columns)return W0.output.columns;if(F0.CLI_WIDTH){let X0=parseInt(F0.CLI_WIDTH,10);if(!isNaN(X0)&&X0!==0)return X0}return W0.defaultWidth}}(cliWidth)),cliWidth.exports}var stringWidth={exports:{}},ansiRegex,hasRequiredAnsiRegex;function requireAnsiRegex(){return hasRequiredAnsiRegex||(hasRequiredAnsiRegex=1,ansiRegex=({onlyFirst:s=!1}={})=>{const o=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(o,s?void 0:"g")}),ansiRegex}var stripAnsi,hasRequiredStripAnsi;function requireStripAnsi(){if(hasRequiredStripAnsi)return stripAnsi;hasRequiredStripAnsi=1;const s=requireAnsiRegex();return stripAnsi=o=>typeof o=="string"?o.replace(s(),""):o,stripAnsi}var isFullwidthCodePoint={exports:{}},hasRequiredIsFullwidthCodePoint;function requireIsFullwidthCodePoint(){if(hasRequiredIsFullwidthCodePoint)return isFullwidthCodePoint.exports;hasRequiredIsFullwidthCodePoint=1;const s=o=>Number.isNaN(o)?!1:o>=4352&&(o<=4447||o===9001||o===9002||11904<=o&&o<=12871&&o!==12351||12880<=o&&o<=19903||19968<=o&&o<=42182||43360<=o&&o<=43388||44032<=o&&o<=55203||63744<=o&&o<=64255||65040<=o&&o<=65049||65072<=o&&o<=65131||65281<=o&&o<=65376||65504<=o&&o<=65510||110592<=o&&o<=110593||127488<=o&&o<=127569||131072<=o&&o<=262141);return isFullwidthCodePoint.exports=s,isFullwidthCodePoint.exports.default=s,isFullwidthCodePoint.exports}var emojiRegex,hasRequiredEmojiRegex;function requireEmojiRegex(){return hasRequiredEmojiRegex||(hasRequiredEmojiRegex=1,emojiRegex=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}),emojiRegex}var hasRequiredStringWidth;function requireStringWidth(){if(hasRequiredStringWidth)return stringWidth.exports;hasRequiredStringWidth=1;const s=requireStripAnsi(),o=requireIsFullwidthCodePoint(),F0=requireEmojiRegex(),L0=B0=>{if(typeof B0!="string"||B0.length===0||(B0=s(B0),B0.length===0))return 0;B0=B0.replace(F0()," ");let q0=0;for(let W0=0;W0<B0.length;W0++){const X0=B0.codePointAt(W0);X0<=31||X0>=127&&X0<=159||X0>=768&&X0<=879||(X0>65535&&W0++,q0+=o(X0)?2:1)}return q0};return stringWidth.exports=L0,stringWidth.exports.default=L0,stringWidth.exports}var wrapAnsi_1,hasRequiredWrapAnsi;function requireWrapAnsi(){if(hasRequiredWrapAnsi)return wrapAnsi_1;hasRequiredWrapAnsi=1;const s=requireStringWidth(),o=requireStripAnsi(),F0=ansiStylesExports,L0=new Set(["\x1B","›"]),B0=39,q0="\x07",W0="[",X0="]",K0="m",D_=`${X0}8;;`,I_=qv=>`${L0.values().next().value}${W0}${qv}${K0}`,F_=qv=>`${L0.values().next().value}${D_}${qv}${q0}`,R_=qv=>qv.split(" ").map(Lv=>s(Lv)),z_=(qv,Lv,S1)=>{const iv=[...Lv];let Yv=!1,_x=!1,Qv=s(o(qv[qv.length-1]));for(const[Fx,jx]of iv.entries()){const K7=s(jx);if(Qv+K7<=S1?qv[qv.length-1]+=jx:(qv.push(jx),Qv=0),L0.has(jx)&&(Yv=!0,_x=iv.slice(Fx+1).join("").startsWith(D_)),Yv){_x?jx===q0&&(Yv=!1,_x=!1):jx===K0&&(Yv=!1);continue}Qv+=K7,Qv===S1&&Fx<iv.length-1&&(qv.push(""),Qv=0)}!Qv&&qv[qv.length-1].length>0&&qv.length>1&&(qv[qv.length-2]+=qv.pop())},H_=qv=>{const Lv=qv.split(" ");let S1=Lv.length;for(;S1>0&&!(s(Lv[S1-1])>0);)S1--;return S1===Lv.length?qv:Lv.slice(0,S1).join(" ")+Lv.slice(S1).join("")},Oy=(qv,Lv,S1={})=>{if(S1.trim!==!1&&qv.trim()==="")return"";let iv="",Yv,_x;const Qv=R_(qv);let Fx=[""];for(const[K7,g7]of qv.split(" ").entries()){S1.trim!==!1&&(Fx[Fx.length-1]=Fx[Fx.length-1].trimStart());let iT=s(Fx[Fx.length-1]);if(K7!==0&&(iT>=Lv&&(S1.wordWrap===!1||S1.trim===!1)&&(Fx.push(""),iT=0),(iT>0||S1.trim===!1)&&(Fx[Fx.length-1]+=" ",iT++)),S1.hard&&Qv[K7]>Lv){const $7=Lv-iT,F7=1+Math.floor((Qv[K7]-$7-1)/Lv);Math.floor((Qv[K7]-1)/Lv)<F7&&Fx.push(""),z_(Fx,g7,Lv);continue}if(iT+Qv[K7]>Lv&&iT>0&&Qv[K7]>0){if(S1.wordWrap===!1&&iT<Lv){z_(Fx,g7,Lv);continue}Fx.push("")}if(iT+Qv[K7]>Lv&&S1.wordWrap===!1){z_(Fx,g7,Lv);continue}Fx[Fx.length-1]+=g7}S1.trim!==!1&&(Fx=Fx.map(H_));const jx=[...Fx.join(`
5079
5079
  `)];for(const[K7,g7]of jx.entries()){if(iv+=g7,L0.has(g7)){const{groups:$7}=new RegExp(`(?:\\${W0}(?<code>\\d+)m|\\${D_}(?<uri>.*)${q0})`).exec(jx.slice(K7).join(""))||{groups:{}};if($7.code!==void 0){const F7=Number.parseFloat($7.code);Yv=F7===B0?void 0:F7}else $7.uri!==void 0&&(_x=$7.uri.length===0?void 0:$7.uri)}const iT=F0.codes.get(Number(Yv));jx[K7+1]===`
5080
5080
  `?(_x&&(iv+=F_("")),Yv&&iT&&(iv+=I_(iT))):g7===`
5081
5081
  `&&(Yv&&iT&&(iv+=I_(Yv)),_x&&(iv+=F_(_x)))}return iv};return wrapAnsi_1=(qv,Lv,S1)=>String(qv).normalize().replace(/\r\n/g,`